Oracle OCI 9.0.1 driver

Hi,
Due to past occurrances of "ORA-01002: fetch out of sequence", we switched to use Weblogic OCI driver.
This might have resolved the issue but introduced exceptions straight from the native code. We were recommended to use Oracle OCI 9.0.1 driver.
Our concern is does Oracle OCI resolves the ORA problem too? Appreciate for any feedback.
Best regards,
Pei Ling Tan

It sounds like the original poster is talking about a JDBC application (Java). Oracle provides two different JDBC drivers, one that is pure Java and one that makes calls to the OCI libraries on the client machine. The original poster probably meant "OCI JDBC driver". This has nothing to do with developing an OCI application in C yourself.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver

    Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
    Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
    Checks performed:
    RMS Application code location and directory contents:
    [oracle@test-rms-app application]$ pwd
    /binary_files/STAGING_DIR/rms/application
    [oracle@test-rms-app application]$ ls -ltr
    total 144
    -rw-r--r-- 1 oracle oinstall   272 Dec 7  2010 version.properties
    -rw-r--r-- 1 oracle oinstall   405 Jan 16 2011 expected-object-counts.properties
    -rw-r--r-- 1 oracle oinstall   892 May 13 2011 ant.install.properties.sample
    -rw-r--r-- 1 oracle oinstall 64004 Jun  6  2011 build.xml
    drwxr-xr-x 9 oracle oinstall  4096 Jun 16 2011 rms13
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 installer-resources
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 antinstall
    drwxr-xr-x 2 oracle oinstall  4096 Jun 16 2011 ant-ext
    drwxr-xr-x 5 oracle oinstall  4096 Jun 16 2011 ant
    -rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
    -rwxr-xr-x 1 oracle oinstall  4249 Dec 18 10:01 install.sh
    drwxr-xr-x 4 oracle oinstall  4096 Dec 18 10:06 common
    -rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
    -rw-r--r-- 1 oracle oinstall   689 Dec 19 10:37 ant.install.log
    [oracle@test-rms-app application]$
    Application installation:
    [oracle@test-rms-app application]$ ./install.sh
    THIS IS the driver directory
    Verified $ORACLE_SID.
    Verified SQL*Plus exists.
    Verified write permissions.
    Verified formsweb.cfg read permissions.
    Verified Registry.dat read permissions.
    Verified Java version 1.4.2.x or greater. Java version - 1.6.0
    Verified Tk2Motif.rgb settings.
    Verified frmcmp_batch.sh status.
    WARNING: Oracle Enterprise Linux not detected.  Some components may not install properly.
    Verified $DISPLAY - 172.16.129.82:0.0.
    This installer will ask for your "My Oracle Support" credentials.
    Preparing installer. This may take a few moments.
    Your internet connection type is: NONE
    Integrating My Oracle Support into the product installer workflow...
         [move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
    Installer preparation complete.
    MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
    ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
    ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
    DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
    WLS_INSTANCE=WLS_FORMS
    ORACLE_SID=rmsdbtst
    JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
    Launching installer...
    To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
    [oracle@test-rms-app application]$ tnsping rmsdbtst
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
    OK (0 msec)
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ ping test-rms-db
    PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
    --- test-rms-db.vonmaur.vmc ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ uname -a
    Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ cat /etc/*-release
    Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    [oracle@test-rms-app application]$
    The database is created and all the batch file scripts have been successfully deployed.  Now working on the application server.  The  Weblogic server is installed and 11g forms and reports are installed successfully.
    Any help would be helpful.
    Thanks,
    Ram.

    Please check MOS Notes:
    FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)

  • Oracle OCI driver stops working after a while of disuse

    I am using wl server 8.1, oracle oci driver (oracle 9i client), on solaris.
    When i create a connection pool using the oci driver, it connects, and i
    test it, and the tests run fine.
    The Application works for a few days. Then eventually after disuse, say over
    the weekend, I get exceptions in the log (the message is at end of email).
    This is because it gives me a sql exception saying it cannot resolve the
    service name. The database is up and running, confirmed.
    I tried testing the connection pool manually through the console, and it
    failed with the service name exception. But it would connect fine when i
    used sqlplus to connect to the databse, using the same service name.
    Why does this deteriorate over time? Is there a specific test that would
    prevent this from happening?
    Once i restart the weblogic server, the connection pool connects fine. But
    this is not a solution, since I can't be restarting the server all the time.
    Any one got any ideas?
    -Ayan
    ------------WEBLOGIC MANAGED SERVER LOG----------
    ####<Mar 27, 2004 4:20:57 AM EST> <Error> <JDBC><<WLS Kernel>> <>
    <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "CRCPool2" failed
    with exception: "java.sql.SQLException: ORA-03113: end-of-file on
    communication channel
    ".>
    ####<Mar 27, 2004 4:20:57 AM EST> <Info> <JDBC> <<WLS Kernel>> <>
    <BEA-001128> <Connection for pool "CRCPool2" closed.>
    ---------- and then eventually this----------
    ####<Mar 28, 2004 4:33:11 AM EST> <Warning> <JDBC> <<WLS Kernel>> <>
    <BEA-001129> <Received exception while creating connection for pool
    "CRCPool2": ORA-12154: TNS:could not resolve service name
    >

    Ayan wrote:
    I am using wl server 8.1, oracle oci driver (oracle 9i client), on solaris.
    When i create a connection pool using the oci driver, it connects, and i
    test it, and the tests run fine.
    The Application works for a few days. Then eventually after disuse, say over
    the weekend, I get exceptions in the log (the message is at end of email).
    This is because it gives me a sql exception saying it cannot resolve the
    service name. The database is up and running, confirmed.
    I tried testing the connection pool manually through the console, and it
    failed with the service name exception. But it would connect fine when i
    used sqlplus to connect to the databse, using the same service name.
    Why does this deteriorate over time? Is there a specific test that would
    prevent this from happening?
    Once i restart the weblogic server, the connection pool connects fine. But
    this is not a solution, since I can't be restarting the server all the time.
    Any one got any ideas?
    -AyanHi. Is there a firewall between the weblogic server and DBMS? There is
    a problem with OCI losing connectivity to the DBMS. OCI may be keeping
    a socket open as long as the process (weblogic) is running.
    Joe
    ------------WEBLOGIC MANAGED SERVER LOG----------
    ####<Mar 27, 2004 4:20:57 AM EST> <Error> <JDBC><<WLS Kernel>> <>
    <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "CRCPool2" failed
    with exception: "java.sql.SQLException: ORA-03113: end-of-file on
    communication channel
    ".>
    ####<Mar 27, 2004 4:20:57 AM EST> <Info> <JDBC> <<WLS Kernel>> <>
    <BEA-001128> <Connection for pool "CRCPool2" closed.>
    ---------- and then eventually this----------
    ####<Mar 28, 2004 4:33:11 AM EST> <Warning> <JDBC> <<WLS Kernel>> <>
    <BEA-001129> <Received exception while creating connection for pool
    "CRCPool2": ORA-12154: TNS:could not resolve service name

  • ORA-01401 error on char column with oracle oci driver

    Hello,
    We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
    shipped as source with Kodo:
    In newer Kodo versions (at least in 3.3.4), the method
    public void setString (PreparedStatement stmnt, int idx, String
    val,          Column col)
    has the following code block:
    // call setFixedCHAR for fixed width character columns to get padding
    // semantics
    if (col != null && col.getType () == Types.CHAR
    && val != null && val.length () != col.getSize ())
    ((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
    This block seems to be intended for select statements but is called on
    inserts/updates also. The latter causes a known problem with the Oracle
    oci driver when settings CHAR columns as FixedCHAR, which reports an
    ORA-01401 error (inserted value too large for column) when definitely no
    column is too long. This does not happen with the thin driver.
    We reproduced this with 8.1.7 and 9.2.0 drivers.
    For us we solved the problem by subclassing OracleDictionary and removing
    the new code block.
    Regards,
    Rainer Meyer
    ELAXY Financial Software & Solutions GmbH & Co. KG

    Rainer-
    I read at
    re:'ORA-01401 inserted value too large for column' - 9i that:
    "This is fixed in Oracle9i Release 2"
    Can you try that version of the driver? Also, does it fail in the Oracle
    10 OCI driver?
    Rainer Meyer wrote:
    Hello,
    We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
    shipped as source with Kodo:
    In newer Kodo versions (at least in 3.3.4), the method
    public void setString (PreparedStatement stmnt, int idx, String
    val,          Column col)
    has the following code block:
    // call setFixedCHAR for fixed width character columns to get padding
    // semantics
    if (col != null && col.getType () == Types.CHAR
    && val != null && val.length () != col.getSize ())
    ((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
    This block seems to be intended for select statements but is called on
    inserts/updates also. The latter causes a known problem with the Oracle
    oci driver when settings CHAR columns as FixedCHAR, which reports an
    ORA-01401 error (inserted value too large for column) when definitely no
    column is too long. This does not happen with the thin driver.
    We reproduced this with 8.1.7 and 9.2.0 drivers.
    For us we solved the problem by subclassing OracleDictionary and removing
    the new code block.
    Regards,
    Rainer Meyer
    ELAXY Financial Software & Solutions GmbH & Co. KG
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Using Oracle OCI Driver 8.1.6 in Compaq Tru64 fastVM

    Hi!
    I try to using Oracle OCI Driver in Compaq Tru64.
    I used fast VM (with -fast option weblogic startup) then the result
    during populating Connection Pool, weblogic server down with core dump
    I attached core file.
    is there anyone in this situation?
    [weblogicOCITest.txt]

    Try using the 8.1.7 Thin Driver (the 8.1.6 Thin driver is buggy).
    "jungil, kim" wrote:
    Hi!
    I try to using Oracle OCI Driver in Compaq Tru64.
    I used fast VM (with -fast option weblogic startup) then the result
    during populating Connection Pool, weblogic server down with core dump
    I attached core file.
    is there anyone in this situation?
    ^A^G^A^E}v^A^C^A^R^_!®.E^?^A@˜B^K!@”K!^W
    !°o!ðµ.Ei^A@°R!Ø.E^AX^M^G!@”K!È´.E9i!Iweblogic/common/internal/ResourceAllocato
    r_Descriptor.serX^M^G!@”K!.E"i!2/fsweblogic/weblogic/classes/boot/°R!.E[X^M^G!@-
    ”K!¶.E[^Ai!2/fsweblogic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/b
    oot/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!¶.E[i![/fsweblo
    gic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descriptor.
    ser^T^O!x$^R!p.E^A^A ¸.Eø¸.E`K^R!¸¸.Eظ.E@X^A!^D@X^A!^D^P^M!ðµ.E^Dp.Ei!^Dread—^
    M!ø¸.E0
    !ðµ.E^A˜…^H!^A.Eh@¹.E¹.E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descri
    ptor.ser'^A!^Br'^A![/fsweblogic/weblogic/classes/boot/weblogic/common/internal/R
    esourceAllocator_Descriptor.ser'^A![/fsweblogic/weblogic/classes/boot/weblogic/c
    ommon/internal/ResourceAllocator_Descriptor.ser°R!ø».E[H(^G!^AÀ».Eؤ@л.Eл.Ei!^
    A@X^A!^F0f^G!xB^G!`N^G!^P/^G!HZ^G!:^G!i![/fsweblogic/weblogic/classes/boot/weblo
    gic/common/internal/ResourceAllocator_Descriptor.ser^C!^A^G^B@0
    !H.E^AX^M^G!@”K!p.E[^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/weblog
    ic/classes/boot/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!p.E[
    ˜…^H!^A¾.Eh@ ¾.E ¾.E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descri
    ptor.ser'^A!^Br'^A![/fsweblogic/weblogic/classes/boot/weblogic/common/internal/R
    esourceAllocator_Descriptor.ser°R!p.E; T^M!À.E9^A!]^B^M^C^F^H^N^K^\^A^A^Ll^C
    ^M^V"^^^V&^OE^A^B^AE^A^C^Z^C'^V\^D^AYY^D^PV^D^D^_V^D^B^R(^D^A'^B
    ^A^G^A^E}v^A^C^AX^M^G!@”K!^H.EZ^Ai!^]getResource( i!FgetResource( weblogic/commo
    n/internal/ResourceAllocator_Descriptor.seri!getResource( weblogic/common/intern
    al/ResourceAllocator_Descriptor.ser ) found result null°R!^H.EZX^M^G!@”K!ÈÄ.EX^A
    i!-ServerClassFinder.getSource( i!\ServerClassFinder.getSource( weblogic/common/
    internal/ResourceAllocator_Descriptor.ser )°R!ÈÄ.EXè³^T!(.EV^Ai!,/fsweblogic/web
    logic/license/i!Z/fsweblogic/weblogic/license/weblogic/common/internal/ResourceA
    llocator_Descriptor.ser0
    !øÆ.E^A°R!^P.EVi!V/fsweblogic/weblogic/license/weblogic/common/internal/Resource
    Allocator_Descriptor.ser˜…^H!^AøÇ.Eh@^H.E^H.E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/license/weblogic/common/internal/ResourceAllocator_Descriptor.
    ser'^A!^Br'^A!V/fsweblogic/weblogic/license/weblogic/common/internal/ResourceAll
    ocator_Descriptor.ser°R!^P.E6 0
    !ØÊ.E^AX^M^G!@”K!^X.EV^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblogic/
    classes/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!^X.EV˜…^H!^A
    [email protected]'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/common/internal/ResourceAllocator_Descriptor.
    ser'^A!^Br'^A!V/fsweblogic/weblogic/classes/weblogic/common/internal/ResourceAll
    ocator_Descriptor.ser°R!^X.E6 0
    ! .E^AX^M^G!@”K!H.E\^Ai!2/fsdev/ver/bc/webapp/serverclasses/i!f/fsdev/ver/bc/web
    app/serverclasses/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!H.
    E\˜…^H!^[email protected]'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    dev/ver/bc/webapp/serverclasses/weblogic/common/internal/ResourceAllocator_Descr
    iptor.ser'^A!^Br'^A!\/fsdev/ver/bc/webapp/serverclasses/weblogic/common/internal
    /ResourceAllocator_Descriptor.ser°R!H.E< X^M^G!@”K! .E5^Ai!A[ServerClassFinder]f
    ound local classpath source: null°R! .E5i!9weblogic/common/internal/resourceallo
    cator_descriptor.ser°R!`.E9i!9weblogic/common/internal/resourceallocator_descrip
    tor.serX^M^G!@”K!ØÒ.EZ^Ai!^]getResource( i!FgetResource( weblogic/common/interna
    l/ResourceAllocator_Descriptor.seri!getResource( weblogic/common/internal/Resour
    ceAllocator_Descriptor.ser ) found source null°R!ØÒ.EZ ^_!H.E0.EX^M^G!@”K!Ô.EI
    ^Ai!^_Failed to find i!IFailed to find /weblogic/common/internal/ResourceAllocat
    or_Descriptor.ser°R!Ô.EI9^A!9\^D^AxY^D^PV^D^D^_V^D^B^R(^D^A'^B
    @^B ?6^D^HT8^D^B^Q6^D^Y^G^D^HN^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^AF*!Áå¼ ^PO.E/^\E!!/^\Eh.E°R!.E*i!*weblogic.common.internal.Resou
    rceAllocator¸î!!/^\EøÖ.E°R!^P.E*i!*weblogic.common.internal.ResourceAllocator°R!
    ˆ×.E i! weblogic.time.common.ScheduleDef°R!ˆ×.E^T°R!^H.E i! weblogic/time/common
    /ScheduleDefp^B!p.Eð×.E9^A!?^V^P^V^Q^F^V, ^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
    ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^AxA^M!pb^[email protected]! weblogic/time/common/ScheduleDef°R!ˆÙ.E i!&weblo
    gic/time/common/ScheduleDef.class°R!ðÙ.E&T^M!p.E9^A!N^B^M^C^F^H^N^K^\^A^Zl^E
    ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^
    D:^D^A'
    ^A^G^A^E}v^A^C^Ap^B!ÐÛ.Ep.E9^A!B^AEl^E ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^
    E ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    !°o!(.Ei^A@°R!`.EX^M^G!@”K!(.E&i!6weblogic/time/common/ScheduleDef.classX^M^G!@-
    ”K!¸Þ.E"i!2/fsweblogic/weblogic/classes/boot/°R!ðà.EHX^M^G!@”K!.EH^Ai!2/fsweblog
    ic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/boot/weblogic/time/comm
    on/ScheduleDef.class°R!.EHi!H/fsweblogic/weblogic/classes/boot/weblogic/time/com
    mon/ScheduleDef.class^T^O!0
    !^H.E^AX^M^G!@”K!0.EH^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/weblo
    gic/classes/boot/weblogic/time/common/ScheduleDef.class°R!0.EH˜…^H!^AP.Eh@`.E`.E
    '^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/boot/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!
    H/fsweblogic/weblogic/classes/boot/weblogic/time/common/ScheduleDef.class°R!0.E7
    ^QT^M!Èä.E9^A!K^B^M^C^F^H^N^K^\^A^Zl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
    ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^Ap^B!^X.Ep.E9^A!?^AEl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
    ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^AX^M^G!@”K!x.E+^Ai!^XLoading i!2Loading weblogic.time.common.Sche
    duleDef...°R!x.E+i! weblogic/time/common/ScheduleDef°R!.E X^M^G!@”K!.E&^Ai!0webl
    ogic/time/common/ScheduleDef.class°R!.E&X^M^G!@”K!ˆé.EE^Ai!-ServerClassFinder.ge
    tSource( i!\ServerClassFinder.getSource( weblogic/time/common/ScheduleDef.class
    )°R!ˆé.EEè³^T!èê.EC^Ai!,/fsweblogic/weblogic/license/i!Z/fsweblogic/weblogic/lic
    ense/weblogic/time/common/ScheduleDef.class0
    !¸ë.E^A°R!Ðë.ECi!C/fsweblogic/weblogic/license/weblogic/time/common/ScheduleDef.
    class˜…^H!^A˜ì.Eh@¨ì.E¨ì.E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/license/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
    eblogic/weblogic/license/weblogic/time/common/ScheduleDef.class°R!Ðë.E2^Q0
    [email protected]^AX^M^G!@”K!.EC^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblogic/cla
    sses/weblogic/time/common/ScheduleDef.class°R!.EC˜…^H!^Aˆï.Eh@˜ï.E˜ï.E'^A!^A?@X^
    A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
    eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class°R!.E2^Q˜í^S!ðí.E
    X^M^G!@”K!˜ñ.Et^Ai!A[ServerClassFinder]found local classpath source: i![ServerCl
    assFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/ti
    me/common/ScheduleDef.class°R!˜ñ.EtX^M^G!@”K!0.E2^Ai!"Found local class i!FFound
    local class weblogic.time.common.ScheduleDef°R!0.E2˜…^H!^A^P.Eh@ .E .E'^A!^A?@X
    ^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
    eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^AÊþº¾^C-^T^G
    ^S^G^O^G^M^G^N^A^MConstantValue^A"(Lweblogic/common/T3ServicesDef;)V^A
    Exceptions^A^LscheduleInit^A^OLineNumberTable^A
    SourceFile^A^NLocalVariables^A^DCode^A weblogic/time/common/ScheduleDef^A weblog
    ic/time/common/Schedulable^A^Pjava/lang/Object^A^](Lweblogic/common/ParamSet;)V^
    A^PScheduleDef.java^A^KsetServices^A!weblogic/common/ParamSetException^B^A^C^B^A
    ^D^B^D^A^R^F^D^A^H^P^A^G^D^A^A^A
    ^B^Q(!^D!øÜ^CA@^^.E^Y/Eèß^G!˜…^H!^AP.Eh@`.E`.E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
    eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class°R!ˆ×.E^TE^A!X^M^
    G!@”K!.Ep^Ai!^WLoaded i!0Loaded weblogic.time.common.ScheduleDef from i!pLoaded
    weblogic.time.common.ScheduleDef from /fsweblogic/weblogic/classes/weblogic/time
    /common/ScheduleDef.class°R!.Ep°R! ú.E^_i!^_weblogic.time.common.TriggerDef°R! ú
    .E^T°R! .E^_i!^_weblogic/time/common/TriggerDefp^B!ˆû.E^H.E9^A!?^V^P^V^Q^F^V, ^V
    ,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^AxA^M!pb^A@ˆú.Ei!^_weblogic/time/common/TriggerDef°R! ü.E^_i!%web
    logic/time/common/TriggerDef.class°R!^H.E%T^M!ˆý.E9^A!N^B^M^C^F^H^N^K^\^A^Zl^E
    ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^
    D:^D^A'
    ^A^G^A^E}v^A^C^Ap^B!èþ.Eˆú.E9^A!B^AEl^E ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^
    F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^AxA^M!^?^A@ˆú.Ei!^_weblogic/time/common/TriggerDef°R!^P/E^_i!%web
    logic/time/common/TriggerDef.class°R!x/E%˜B^K!@”K!^W
    !°o!@^B/Ei^A@°R!x/EX^M^G!@”K!@^A/E%i!5weblogic/time/common/TriggerDef.classX^M^G
    !@”K!^A/E"i!2/fsweblogic/weblogic/classes/boot/°R!^C/EGX^M^G!@”K!^B/EG^Ai!2/fswe
    blogic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/boot/weblogic/time/
    common/TriggerDef.class°R!^B/EGi!G/fsweblogic/weblogic/classes/boot/weblogic/tim
    e/common/TriggerDef.class^T^O!0
    !^E/E^AX^M^G!@”K!^P^E/EG^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/we
    blogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/EG˜…^H!^A0^F/Eh
    @@^F/E@^F/E'^A!^A?@X^A!
    !^E/E^AX^M^G!@”K!^P^E/EG^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/we
    blogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/EG˜…^H!^A0^F/Eh
    @@^F/E@^F/E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/boot/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!G
    /fsweblogic/weblogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/E
    7^PT^M!^G/E9^A!K^B^M^C^F^H^N^K^\^A^Zl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A
    "'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^Ap^B!^H/Eˆú.E9^A!?^AEl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A
    "'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
    ^A^G^A^E}v^A^C^AX^M^G!@”K!X
    /E*^Ai!^XLoadingi!2Loading weblogic.time.common.TriggerDef...°R!X
    /E*i!^_weblogic/time/common/TriggerDef°R!
    /E^_X^M^G!@”K!`^K/E%^Ai!/weblogic/time/common/TriggerDef.class°R!`^K/E%X^M^G!@”K
    !h^L/ED^Ai!-ServerClassFinder.getSource( i!\ServerClassFinder.getSource( weblogi
    c/time/common/TriggerDef.class )°R!h^L/EDè³^T!^M/EB^Ai!,/fsweblogic/weblogic/lic
    ense/i!Z/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.class0
    !^N/E^A°R!^N/EBi!B/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.c
    lass˜…^H!^Ap^O/Eh@^O/E^O/E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/license/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
    blogic/weblogic/license/weblogic/time/common/TriggerDef.class°R!^N/E2^P0
    !^N/E^A°R!^N/EBi!B/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.c
    lass˜…^H!^Ap^O/Eh@^O/E^O/E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/license/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
    blogic/weblogic/license/weblogic/time/common/TriggerDef.class°R!^N/E2^P0
    !^P^R/E^AX^M^G!@”K!P^Q/EB^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblog
    ic/classes/weblogic/time/common/TriggerDef.class°R!P^Q/EB˜…^H!^AX^R/Eh@h^R/Eh^R/
    E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
    blogic/weblogic/classes/weblogic/time/common/TriggerDef.class°R!P^Q/E2^P˜í^S!^P/
    EX^M^G!@”K!`^T/Es^Ai!A[ServerClassFinder]found local classpath source: i![Server
    ClassFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/
    time/common/TriggerDef.class°R!`^T/EsX^M^G!@”K!^U/E1^Ai!"Found local class i!FFo
    und local class weblogic.time.common.TriggerDef°R!^U/E1˜…^H!^A^V/Eh@^V/E^V/E'^A!
    ^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
    blogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^AÊþº¾^C-^T^G^S
    ^G^O^G^F^G^P^A^MConstantValue^A^_weblogic/time/common/TriggerDef^A^KtriggerInit^
    A"(Lweblogic/common/T3ServicesDef;)V^A
    Exceptions^A^OLineNumberTable^A
    ClassFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/
    time/common/TriggerDef.class°R!`^T/EsX^M^G!@”K!^U/E1^Ai!"Found local class i!FFo
    und local class weblogic.time.common.TriggerDef°R!^U/E1˜…^H!^A^V/Eh@^V/E^V/E'^A!
    ^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
    blogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^AÊþº¾^C-^T^G^S
    ^G^O^G^F^G^P^A^MConstantValue^A^_weblogic/time/common/TriggerDef^A^KtriggerInit^
    A"(Lweblogic/common/T3ServicesDef;)V^A
    Exceptions^A^OLineNumberTable^A
    SourceFile^A^NLocalVariables^A^DCode^A^OTriggerDef.java^A^Pjava/lang/Object^A we
    blogic/time/common/Triggerable^A^](Lweblogic/common/ParamSet;)V^A^KsetServices^A
    !weblogic/common/ParamSetException^B^A^C^B^A^D^B^D^A^R^H^D^A^G^Q^A ^D^A^A^A
    ^K^B^N(!^D!^H^CA@ðö.Eèß^G!˜…^H!^A^H^Z/Eh@^X^Z/E^X^Z/E'^A!^A?@X^A!
    H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
    weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
    blogic/weblogic/classes/weblogic/time/common/TriggerDef.class°R! ú.E^TE^A!X^M^G!
    @”K!0^\/En^Ai!^WLoaded i!0Loaded weblogic.time.common.TriggerDef from i!nLoaded
    weblogic.time.common.TriggerDef from /fsweblogic/weblogic/classes/weblogic/time/
    common/TriggerDef.class°R!0^\/En(B!CDh(/^\EhüëD/^\E^D^H˜âDX^M^G!@”K!^]/E
    ^Ai!^A+°R!^]/E^Ai!^Q+HncbPool°R!^]/E ^P#!^P^YE^]/E/^\E8R^E!;ˆØ^]/E^]/EX^M^G!@
    ”K!^^/E,^Ai!^XHncbPool created with 1i!^L01°R!^^/E^Ai!^A1i!2HncbPool created wit
    h 1 initial connections.°R!^^/E,^H4^E!@”K! /EK@?^^E!eøÑ6!^_/E /E^H4^E!@”K!!/EK@?
    ^^E!eøÑ6!!/E!/E

  • Problem in executing a SP in Java using Oracle OCI Driver...

    Hi,
    I have a installed the Oracle OCI driver on iPlanet Web Server 4.1. The application has been designed using the Jakarta Struts framework where the dom classes act as an interface between the database and the application(action classes). The dom classes execute stored procedures stored in an SP packages (eg. DDTS_PACK.setContact(..)). Now here's the problem. When a new record is being inserted, the dom executes the 'setContact' stored procedure using a java.sql.CallableStatement. The execution of this stored procedure is successful at times and fails at times. What could be the reason?? Could it be something to do with connection pooling. The default connection pooling class from oracle, oracle.jdbc.pool.OracleConnectionCacheImpl() is being used to get the connection. The funny thing is that the stored procedure gets executed both the time (success/failure) and returns a return status as 'N' when it fails and 'Y' when it is successful.
    I would be greatful to anybody who could give a solution to the above problem. Thanks and have a great day.
    Regards,
    Anand

    Since the pipe '|' is interpreted by the shell then you need the shell to invoke your command
            String[] command = {"sh","-c","find /tmp/reports1 -name " + "\"" + "*" + "\"" + " -mtime +" + strdaysback + " -print|xargs rm -r"};
            final Process process = Runtime.getRuntime().exec(command);
      You should also read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html at least twice and implement the recommendation regarding stdout and stderr.
    P.S. Why are you not using Java to find and delete these files?
    Message was edited by:
    sabre150

  • Can I create connection pool by oracle oci driver?

    Can I create connection pool by oracle oci driver?My weblogic's version is 6.1 sp2 and oracle is 9.0.1.2.
    I have some trouble with connection pool created by weblogic jDriver.
    I try to read Timestamp from table and I always get the exception.It told me that ORA-00932: inconsistent datatypes.
    So I created another pool by oracle thin driver and everything was right.Then I created other pool by oracle oci driver,but something were wrong. 'Could not create pool connection. The DBMS driver exception was:java.sql.SQLException: ORA-06401: NETCMN:Invalid driver designator'
    The oci pool's parameters are below lines.
    url: jdbc:oracle:oci:@COCO
    Driver Classname: oracle.jdbc.driver.OracleDriver
    Properties: user=scott;password=tiger;protocol=oci
    If I get connection directly,don't use connection pool,I can get right connection.But why didn't I create pool by oci driver?Maybe weblogic7 or weblogic8 will work good?

    Venkat Amirineni wrote:
    Hi Joe,
    I am also trying to create a connection pool using Oracle Oci XA. Weblogic
    type 2 oci threads hanging on native calls and suggested to go for thin drivers.
    But we want to try with Oracle Oci drivers.. Can you please tell us how to
    create a conn pool using Oracle Oci.. Just the driverclass and url is enough
    or need any classpath settings etc..
    Thanks in advance for your quick reply.Hi. As far as driver properties, just use what Oracle says to. Any pool properties
    that we recommend for XA would still apply. Note that Oracle themselves recommends
    the thin driver over their OCI one:
    http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979.pdf
    Joe

  • Unsatisfied Link Error when using Oracle OCI (Type II) driver

    Using Oracle OCI (Type II) driver on HPUX with Oracle 9.2.0.4.
    If when creating a connection pool via the console, using the Oracle OCI (Type
    II) driver, you get the error "Unsatisfied link error with library libocijdbc9.sl
    or format error" then check that the library included in the SHLIB_PATH is pointing
    at the $ORACLE_HOME/lib32 directory and not just the $ORACL_HOME/lib

    We do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
    do offer a type 4 driver for Linux.
    In version 5.1, I suggest trying the platform independent type 4 JDBC driver
    available for free from Oracle. It is supported (as is any JDBC driver)
    with WebLogic Server. To download it:
    Go to http://www.oracle.com and select the "Download" option.
    From the resulting page, use the "Select Utility or Driver" dropdown to
    select Oracle JDBC drivers
    From the resulting page, scroll down a little (since SQLJ stuff appears at
    the top).
    Or, to go directly there:
    http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
    Thanks,
    Michael
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Michael W. Warren, Sr." <[email protected]> wrote in message
    news:[email protected]..
    I have installed WebLogic 6.0 on Solaris platform and verified that the
    server comes up
    and that I can connect to it via Netscape. Next step was to verify
    installation of WebLogic
    jDriver for Oracle. When I run the following:
    java utils.dbping ORACLE scott tiger
    I get the following error:
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message
    '/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
    ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
    fatal: libgen.so.1: open failed: No such file or directory'.
    at
    weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:182)
    Anyone seen this? Help!!!
    Thanks in advance
    Mike Warren, Sr.
    [email protected]

  • Error in configuring Oracle OCI Driver in WLS

    My application uses Oracle OCI driver for making JDBC connection from the server application.I have installed Oracle client in the machine.Added the Oracle Bin directory to System Path.But when i try to create the connection Pool Weblogic throws the error saying DLL file is not found in System.Library.Path.Can you help in solving this problem,Config detailsOS - Windows 2000 ProfessionalWeblogic 5.1 serverOracle 8.1.7 clientDriver used Oracle OCI driver...Expecting a reply

    You need to set your path to point to the <wls-install-home>/bin/oci8xx_x/
    folder as well. I dont think 5.1 supports 817 type 2 driver, you may have to
    use the thin driver from oracle instead.
    sree
    "Varadharajan" <[email protected]> wrote in message
    news:3b8f070f$[email protected]..
    My application uses Oracle OCI driver for making JDBC connection from theserver application.I have installed Oracle client in the machine.Added the
    Oracle Bin directory to System Path.But when i try to create the connection
    Pool Weblogic throws the error saying DLL file is not found in
    System.Library.Path.Can you help in solving this problem,Config detailsOS -
    Windows 2000 ProfessionalWeblogic 5.1 serverOracle 8.1.7 clientDriver used
    Oracle OCI driver...Expecting a reply

  • Getting error  with oracle oci type driver

    Hi,
    while I'm using the oracle oci type driver I got the error but it works fine with the thin driver.
    so where should I the information regard this.I'm working with oracle 8i.
    with
    raghu

    while I'm using the oracle oci type driver I got the
    error but it works fine with the thin driver.What is the error ?
    so where should I the information regard this.I'm
    working with oracle 8i.As long as you have the 8i client set up properly, the JDBC OCI drivers will work. To test just go to the command prompt and try tnsping and/or sqlplus to connect to your DB.
    Post your JDBC URL and the exception you are getting if you are still having problems.

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • Oracle OCI connectivity issue

    Hi All,
    We have jave code, that resides in the same server as the Oracle DB( HP-Ux). It uses OCI driver to connect to the server.
    jdbc.url=jdbc:oracle:oci8:@
    jdbc.username=
    jdbc.password=
    These are the properties that had been set. The code was working fine in Oracle 9.i. On migrating the server to 10g we get an error saying that
    java.java.sql.SQLException: SimpleDataSource:connect - java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
    OfCourse the basic idea would be that userid/pwd is not being passed. But we have not been setting the user id and pwd in 9i and it is working there, but not in 10g. So does OCI driver use the os userid/pwd or something for connecting.
    Thanks in Advance,
    Vignesh

    No, we have no such file. In fact i just wrote a simple connection class. The code is as below.
    import java.sql.Connection;
    import java.sql.*;
    class SimpleCon {
         public static void main(String args[]){
              getConnection();
         public static void getConnection() {
         try {
              Connection con = connect();
              System.out.println("Connected");
         } catch(SQLException ex) {
              ex.printStackTrace();
         public static Connection connect() throws SQLException
         final String methodSig = "SimpleDataSource:connect";
         String jdbcUrl = "jdbc:oracle:oci:@"     ;
         String jdbcUsername = ""     ;
         String jdbcPassword = "";
         Connection conn = null;
         try
         Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
         conn = DriverManager.getConnection
         (jdbcUrl, jdbcUsername, jdbcPassword);
                   DatabaseMetaData dbm = conn.getMetaData();
                   System.out.println(dbm.getUserName());
                   System.out.println(dbm.getDriverName());
                   System.out.println(dbm.getDriverVersion());
         //setConnectionProperties(conn);
         return conn;
         catch (SQLException e) {
         e.printStackTrace();
              System.err.println("SQL error: " + e.getErrorCode());
              System.err.println("SQL state: " + e.getSQLState());
              throw(e);
         }catch(Exception ie){
                   ie.printStackTrace();
              return null;
    This particular code works in HP-UX - Oracle 9.i . If we do not pass userid/pwd it usually connects in as OS user, and Oracle has a User id Setup corresponding to the os user.
    But the same code does not work in Oracle 10g, even though we have the Oracle User corresponding to the OS user set up. If we pass that particular user id and pwd, it works fine.
    Does it throw and light.
    Thanks
    Vignesh

  • Problems storing CLOBs with build-in Oracle 8.1.6 thin driver of WebLogic 6.0 SP2

    Hi,
    I'm using the build-in Oracle 8.1.6 thin driver that comes with
    weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
    to use the class weblogic.jdbc.common.OracleClob. Why?
    WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
    use the class oracle.sql.CLOB.
    Must I use a OCI driver?
    Thanks,
    Juergen

    I'd also recommend to switch to 8.1.7 thin driver. It's more stable.
    Regards,
    Slava Imeshev
    "NhaBep" <[email protected]> wrote in message
    news:3b71bbcf$[email protected]..
    >
    You can use thin driver to persist CLOB. One thing you must be sure to setautocommit
    to false. Hope this help.
    [email protected] (Juergen) wrote:
    Hi,
    I'm using the build-in Oracle 8.1.6 thin driver that comes with
    weblogic.jar of WebLogic 6.0 SP2. It doesn't store CLOBs. Here I have
    to use the class weblogic.jdbc.common.OracleClob. Why?
    WebLogic 5.1 SP 9 + Oracle 8.1.6 thin driver (external) does. Here I
    use the class oracle.sql.CLOB.
    Must I use a OCI driver?
    Thanks,
    Juergen

  • Oracle OCI Connection Problem

    Could you please help me?
    When I try to access Oracle using TopLink and OCI this error occurred
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x10007774, pid=3504, tid=3716
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C [OCI.dll+0x7774]
    # An error report file with more information is saved as hs_err_pid3504.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    [error occurred during error reporting, step 270, id 0xc0000006]
    I have used these libraries
    - ojdbc14.jar
    - toplink-essentials.jar
    - toplink-essentials-agent.jar
    Also I used netbeans v6
    and Apache Tomcat 6.0.14
    The following code shows my persistence.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="RtsModelPU" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <class>com.xxx.rts.model.Responsibility</class>
        <class>com.xxx.rts.model.Person</class>
        <class>com.xxx.rts.model.WeeklyTask</class>
        <properties>
          <property name="toplink.jdbc.user" value="XXX"/>
          <property name="toplink.jdbc.password" value="XXX"/>
          <property name="toplink.jdbc.url" value="jdbc:oracle:oci:@XXX"/>
          <property name="toplink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
        </properties>
      </persistence-unit>
    </persistence>This is the server log file
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x10007774, pid=3504, tid=3716
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C [OCI.dll+0x7774]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x0aaaa000): JavaThread "Finalizer" daemon [_thread_in_native, id=3716]
    siginfo: ExceptionCode=0xc0000006, ExceptionInformation=0x00000000 0x10007774 0xc000020c
    Registers:
    EAX=0x00000003, EBX=0x00000000, ECX=0x0b837070, EDX=0x00000001
    ESP=0x0ac1f54c, EBP=0x0ac1f564, ESI=0x0b3cbc00, EDI=0x0b3cbc00
    EIP=0x10007774, EFLAGS=0x00010202
    Top of Stack: (sp=0x0ac1f54c)
    0x0ac1f54c: 0c6504d7 0b88ea34 0b88eae8 00000000
    0x0ac1f55c: 0b837070 00000000 0ac1f580 0c65d331
    0x0ac1f56c: 0b3cbc00 00000001 0b3cbc00 00000000
    0x0ac1f57c: 00000000 0ac1f5a0 0c644647 0b3cbc00
    0x0ac1f58c: 00000000 0b3cbc00 00000000 0b3cbc00
    0x0ac1f59c: 07c1b6b8 0ac1f5c4 0c6444d1 0b3cbc00
    0x0ac1f5ac: 00000000 0b3cbc00 00000000 00000000
    0x0ac1f5bc: 0c4f1348 0c4f1f38 0ac1f5e8 74327ed4
    Instructions: (pc=0x10007774)
    0x10007764:
    [error occurred during error reporting, step 100, id 0xc0000006]
    Stack: [0x0abd0000,0x0ac20000), sp=0x0ac1f54c, free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [OCI.dll+0x7774]
    C [SQORA32.DLL+0x1d331]
    C [SQORA32.DLL+0x4647]
    C [SQORA32.DLL+0x44d1]
    C [ODBC32.dll+0x7ed4]
    C [JdbcOdbc.dll+0x4d8b]
    j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
    j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
    j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
    j oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+35
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+7
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.disconnect()V+14
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.logout()V+25
    j oracle.toplink.essentials.threetier.ServerSession.logout()V+1
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager()V+21
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy()V+159
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close()V+13
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.finalize()V+8
    v ~StubRoutines::call_stub
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.jdbc.odbc.JdbcOdbc.disconnect(J[B)V+0
    j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
    j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
    j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
    j oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+35
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+7
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.disconnect()V+14
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.logout()V+25
    j oracle.toplink.essentials.threetier.ServerSession.logout()V+1
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager()V+21
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy()V+159
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close()V+13
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.finalize()V+8
    v ~StubRoutines::call_stub
    j java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
    j java.lang.ref.Finalizer.runFinalizer()V+45
    j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
    j java.lang.ref.Finalizer$FinalizerThread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0b0b0c00 JavaThread "JDWP Transport Listener: dt_shmem" daemon [_thread_in_native, id=5896]
    0x0b3d3400 JavaThread "http-8084-4" daemon [_thread_blocked, id=464]
    0x0af5a000 JavaThread "http-8084-3" daemon [_thread_blocked, id=5312]
    0x0b22d000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=6060]
    0x0b36b000 JavaThread "TP-Processor4" daemon [_thread_in_native, id=5300]
    0x0b33ec00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=636]
    0x0b33e400 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2364]
    0x0b127000 JavaThread "TP-Processor1" daemon [_thread_blocked, id=4616]
    0x0b264000 JavaThread "http-8084-2" daemon [_thread_blocked, id=2092]
    0x0b32b000 JavaThread "http-8084-1" daemon [_thread_in_native, id=784]
    0x0b097800 JavaThread "http-8084-Acceptor-0" daemon [_thread_in_native, id=4424]
    0x0b200800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3832]
    0x0aada000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4072]
    0x0aad8800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5492]
    0x0aacd800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5060]
    0x0aabcc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5980]
    0x0aabc000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6100]
    =>0x0aaaa000 JavaThread "Finalizer" daemon [_thread_in_native, id=3716]
    0x0aaa5800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3636]
    0x00299400 JavaThread "main" [_thread_in_native, id=876]
    Other Threads:
    0x0aaa2800 VMThread [id=5072]
    0x0aadb800 WatcherThread [id=4248]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 1280K, used 25K [0x02990000, 0x02af0000, 0x02e70000)
    eden space 1152K, 2% used [0x02990000, 0x02996470, 0x02ab0000)
    from space 128K, 0% used [0x02ab0000, 0x02ab0000, 0x02ad0000)
    to space 128K, 0% used [0x02ad0000, 0x02ad0000, 0x02af0000)
    tenured generation total 16728K, used 11763K [0x02e70000, 0x03ec6000, 0x06990000)
    the space 16728K, 70% used [0x02e70000, 0x039ecd70, 0x039ece00, 0x03ec6000)
    compacting perm gen total 36352K, used 36190K [0x06990000, 0x08d10000, 0x0a990000)
    the space 36352K, 99% used [0x06990000, 0x08ce7be8, 0x08ce7c00, 0x08d10000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINNT\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000      C:\WINNT\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINNT\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINNT\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINNT\system32\Secur32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll
    0x6d870000 - 0x6daba000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll
    0x7e410000 - 0x7e4a0000      C:\WINNT\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINNT\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINNT\system32\WINMM.dll
    0x629c0000 - 0x629c9000      C:\WINNT\system32\LPK.DLL
    0x74d90000 - 0x74dfb000      C:\WINNT\system32\USP10.dll
    0x77c10000 - 0x77c68000      C:\WINNT\system32\msvcrt.dll
    0x6d3c0000 - 0x6d3c8000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINNT\system32\PSAPI.DLL
    0x6d4b0000 - 0x6d4d9000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\jdwp.dll
    0x6d770000 - 0x6d776000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\npt.dll
    0x6d820000 - 0x6d82c000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\verify.dll
    0x6d460000 - 0x6d47f000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.dll
    0x6d860000 - 0x6d86f000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\zip.dll
    0x6d320000 - 0x6d328000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\dt_shmem.dll
    0x6d620000 - 0x6d633000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINNT\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINNT\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINNT\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINNT\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINNT\System32\wshtcpip.dll
    0x62f00000 - 0x62f13000      ...\Ora10gClient\BIN\ocijdbc10.dll
    0x10000000 - 0x10057000      ...\ora10gClient\bin\OCI.dll
    0x61c20000 - 0x61e72000      ...\ora10gClient\bin\OraClient10.Dll
    0x60870000 - 0x60953000      ...\ora10gClient\bin\oracore10.dll
    0x60a80000 - 0x60b44000      ...\ora10gClient\bin\oranls10.dll
    0x63690000 - 0x636a8000      ...\ora10gClient\bin\oraunls10.dll
    0x60eb0000 - 0x60eb7000      ...\ora10gClient\bin\orauts.dll
    0x774e0000 - 0x7761d000      C:\WINNT\system32\ole32.dll
    0x636b0000 - 0x636b6000      ...\ora10gClient\bin\oravsn10.dll
    0x60fa0000 - 0x61092000      ...\ora10gClient\bin\oracommon10.dll
    0x60300000 - 0x60857000      ...\ora10gClient\bin\orageneric10.dll
    0x63430000 - 0x63457000      ...\ora10gClient\bin\orasnls10.dll
    0x0c000000 - 0x0c160000      ...\ora10gClient\bin\oraxml10.dll
    0x0c160000 - 0x0c171000      C:\WINNT\system32\MSVCIRT.dll
    0x60960000 - 0x60a6d000      ...\ora10gClient\bin\oran10.dll
    0x62740000 - 0x6277d000      ...\ora10gClient\bin\oranl10.dll
    0x62790000 - 0x627a7000      ...\ora10gClient\bin\oranldap10.dll
    0x627f0000 - 0x628f9000      ...\ora10gClient\bin\orannzsbb10.dll
    0x62530000 - 0x62583000      ...\ora10gClient\bin\oraldapclnt10.dll
    0x62670000 - 0x6268b000      ...\ora10gClient\bin\orancrypt10.dll
    0x71ad0000 - 0x71ad9000      C:\WINNT\system32\WSOCK32.dll
    0x77120000 - 0x771ab000      C:\WINNT\system32\OLEAUT32.dll
    0x62920000 - 0x6296c000      ...\ora10gClient\bin\oranro10.dll
    0x626b0000 - 0x626b7000      ...\ora10gClient\bin\oranhost10.dll
    0x62660000 - 0x62666000      ...\ora10gClient\bin\orancds10.dll
    0x0acc0000 - 0x0acc8000      ...\ora10gClient\bin\orantns10.dll
    0x60b50000 - 0x60ea8000      ...\ora10gClient\bin\orapls10.dll
    0x0c180000 - 0x0c189000      ...\ora10gClient\bin\oraslax10.dll
    0x63080000 - 0x63284000      ...\ora10gClient\bin\oraplp10.dll
    0x61ed0000 - 0x61f5b000      ...\ora10gClient\bin\orahasgen10.dll
    0x62ab0000 - 0x62b1a000      ...\ora10gClient\bin\oraocr10.dll
    0x62b20000 - 0x62b60000      ...\ora10gClient\bin\oraocrb10.dll
    0x5b860000 - 0x5b8b4000      C:\WINNT\system32\NETAPI32.dll
    0x62980000 - 0x62990000      ...\ora10gClient\bin\orantcp10.dll
    0x0c190000 - 0x0c22a000      ...\ora10gClient\bin\orasql10.dll
    0x76f20000 - 0x76f47000      C:\WINNT\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINNT\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINNT\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINNT\system32\rasadhlp.dll
    0x5ad70000 - 0x5ada8000      C:\WINNT\system32\uxtheme.dll
    0x0c400000 - 0x0c407000      C:\Program Files\Logitech\MouseWare\System\LgWndHk.dll
    0x74720000 - 0x7476b000      C:\WINNT\system32\MSCTF.dll
    0x6d4a0000 - 0x6d4ad000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\JdbcOdbc.dll
    0x74320000 - 0x7435d000      C:\WINNT\system32\ODBC32.dll
    0x5d090000 - 0x5d12a000      C:\WINNT\system32\COMCTL32.dll
    0x7c9c0000 - 0x7d1d6000      C:\WINNT\system32\SHELL32.dll
    0x77f60000 - 0x77fd6000      C:\WINNT\system32\SHLWAPI.dll
    0x763b0000 - 0x763f9000      C:\WINNT\system32\comdlg32.dll
    0x773d0000 - 0x774d3000      C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x20000000 - 0x20017000      C:\WINNT\system32\odbcint.dll
    0x5fe80000 - 0x5fe9b000      C:\WINNT\system32\odbccp32.dll
    0x77c00000 - 0x77c08000      C:\WINNT\system32\VERSION.dll
    0x0c640000 - 0x0c6bd000      ...\Ora10gClient\BIN\SQORA32.DLL
    0x0c6c0000 - 0x0c6c9000      ...\ORA10GCLIENT\BIN\sqresUS.dll
    0x7c140000 - 0x7c245000      C:\WINNT\system32\MFC71.DLL
    0x5d360000 - 0x5d36e000      C:\WINNT\system32\MFC71ENU.DLL
    VM Arguments:
    jvm_args: -Dhttp.proxyHost= -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts= -Dhttps.proxyHost= -Dhttps.proxyPort=80 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Documents and Settings\...\.netbeans\6.0\apache-tomcat-6.0.14_base\conf\logging.properties -Xdebug -Xrunjdwp:transport=dt_shmem,address=tomcat_shared_memory_id,server=y,suspend=n -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\endorsed -Dcatalina.base=C:\Documents and Settings\XXX\.netbeans\6.0\apache-tomcat-6.0.14_base -Dcatalina.home=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14 -Djava.io.tmpdir=C:\Documents and Settings\...\.netbeans\6.0\apache-tomcat-6.0.14_base\temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03
    JRE_HOME=C:\Program Files\Java\jdk1.6.0_03
    CLASSPATH=C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\bootstrap.jar
    PATH=...\ora10gClient\bin;...\ora9i\bin;...\orant\ora8i\bin;...\orant\bin;C:\Program Files\Java\jre1.5.0_06\bin;C:\Program Files\Java\jre1.5.0_06\bin;C:\Program Files\Documentum\Shared;p:\pvcs813\vm\win32\bin;p:\pvcs813\vm\common\bin\win32;P:\PVCS81\vm\win32\bin;P:\PVCS81\vm\common\bin\win32;C:\Program Files\Common Files\Business Objects\3.0\bin\NOTES\;C:\Program Files\Common Files\Business Objects\3.0\bin\NOTES\DATA\;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\wbem;C:\Program Files\QuickTime\QTSystem";;C:\Program Files\QuickTime\QTSystem;C:\Borland\JBuilder2005\jdk1.4\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Documentum\Shared;C:\WINNT;C:\WINNT\system32
    USERNAME=XXX
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 3 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3
    Memory: 4k page, physical 1047536k(145972k free), swap 2996004k(1885868k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310
    Please if have a solution to this problem let me know,
    Please don't say use thin driver because OCI is required on my envirnoment

    Are you sure you are using the Oracle OCI JDBC driver? From you stack trace you are not, you are using the JDBC-ODBC bridge.
    >>
    sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
    j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
    j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
    Ensure you set your database url and driver class in your persistence XML (or DataSource config) to be the Oracle JDBC driver and the Oracle OCI url.
    i.e.
    toplink.jdbc.driver - oracle.jdbc.OracleDriver
    toplink.jdbc.url - jdbc:oracle:oci:@instance
    -- James : http://www.eclipselink.org

  • OS authentication in Oracle 10g via jdbc:oracle:oci

    I'm very much a newbie to Java / JDBC and I am trying, but failing, to connect with the database using OS authentication via jdbc, and hoping someone may help.
    My questions are:
    1. Is OS authentication supported for jdbc:oracle:oci with Oracle 10g ? I couldn't find a general statement of whether it works or not.
    (NB.The only information I managed to find, on another forum, is that it should be supported but there is a bug and so it does not work, but the author did not post all of his/her platform details, so the bug may only affect his/her situation. )
    2. If it is supported and works, could some one suggest what is wrong with my syntax . I could not find an example in any Oracle 10g/JDBC documentation.
    The details are as follows: -
    Database : - Oracle 10g Enterprise Edition 10.2.0.2.0 running on Solaris.
    Development platform : - NetBeans 6.1, JDK 1.6.
    Runtime environment: - JRE1.6 on Windows XP professional.
    OPS$ authentication : - the OPS$ accounts have been set-up and we use these successfully for PL/SQL and SQL Plus access.
    JDBC : - I can connect to the database with both jdbc:oracle:thin ( linking in ojdbc14.jar) and jdbc:oracle:oci by using username and password, so I know my JDBC library linkage is OK, eg. this works fine :
    final String url = new String("jdbc:oracle:oci:" + uname + "/" + pword + "@" + environment);
    where environment is the SID
    I have trawled the Oracle documentation which tells me that OS authentication is not supported for Oracle 10g for the jdbc:oracle:thin driver, so I have tried to connect with jdbc:oracle:oci driver using the following code :
    final String url = new String("jdbc:oracle:oci:/@" + environment);
    final Driver driver = new oracle.jdbc.OracleDriver();
    DriverManager.registerDriver(driver);
    final Properties props = new Properties();
    conn = DriverManager.getConnection(url);
    but this gives the following error :
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Other info: - The tnsnames.ora file contains nothing but there are entries in the ldap.ora and sqlnet.ora files.
    My questions are:
    1. Is OS authentication supported for jdbc:oracle:oci with Oracle 10g ? I couldn't find a general statement of whether it works or not.
    (NB.The only information I managed to find, on another forum, is that it should be supported but there is a bug and so it does not work, but the author did not post all of his/her platform details, so the bug may only affect his/her situation. )
    2. If it is supported and works, could some one suggest what is wrong with my syntax . I could not find an example in any Oracle 10g/JDBC documentation.

    If you specify the SID/service_name in the url, you are attempting to connect via SQL*NET and REMOTE_OS_AUTHENT must be set to true in the database. If you are connecting from the same host the database runs on, then just leave the SID off and make sure the ORACLE_SID environment variable is set.
    You can reproduce the same error you get in java with
    sqlplus /@SID
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Nov 7 12:14:08 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01017: invalid username/password; logon deniedSample Code:
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.sql.SQLException;
    public class conn {
      public static void main(String[] args) throws SQLException {
        OracleDataSource ods = new OracleDataSource();
        ods.setURL("jdbc:oracle:oci:/@");
        Connection conn = ods.getConnection();
        conn.close();
    }

Maybe you are looking for

  • Some fields missing in SD Standard Infocubes

    Hi, I have installed SD Cubes 0SD_C01, 0SD_C03 and 0SD_C05 for the customer. Now according to his latest requirements, he wants to see the values for Sales Document Number, Delivery Number and Billing Doc. number also in the reports. I have checked i

  • Methods in ALE/IDOC ?

    what r the diffrent methods& steps to tranfer the data from outbound to inbound ,viceversa in ale/idoc ? explain each and every method ? plzzz

  • Firefox downloads but does not install on my Win7 64 bit laptop and does not show any files in the software list of programs installed.

    I have installed and uninstalled several times with no success. I had a previous version installed in April 10 but it will not reinstall or run. This problem started about a month ago, in early July.

  • Wrong link to latest version of DPS App Builder?

    My installed DPS App Builder is in version 3.1.0 but still I have a message that the version have expired. Have tried to upgrade to latest version from the link, bouth in the login window in DPS builder and from Folio Producer but they are in the sam

  • Org and Staffing

    Hi All I create the structure in Org and staff. mode from 01.01.2008 to 31.12.9999. After saving and exiting and Reopening it, I cant see the same?, Again I create the same , again its happening. I tried for every search term. But it is not. Can anyb