OS Authentication using JDBC Thin driver

Hi
I have a problem while connecting to Oracle database using JDBC Thin Driver, Basically I am trying to connect using OS Authentication. The following explains clearly what I am trying to do.
String connectionURL = "jdbc:oracle:thin:@localhost:1521:XYZ";
String userName = "/";
String password = "";
java.util.Properties info = new java.util.Properties();
info.setProperty("user",userName);
info.setProperty("password",password);
conn = DriverManager.getConnection(connectionURL,info);
When executing the code I am getting an exception as follows.
java.sql.SQLException: Null user or password not supported in THIN driver
When i searched in the Oracle site i got the below information
Note:
By default, the JDBC driver retrieves the OS username from the user.name system property, which is set by the JVM. If the JDBC driver is unable to retrieve this system property or if you want to override the value of this system property, then you can use the OracleConnection.CONNECTION_PROPERTY_THIN_VSESSION_OSUSER connection property. For more information, see Oracle Javadoc.
I want to know how to set the OracleConnection.CONNECTION_PROPERTY_THIN_VSESSION_OSUSER connection property.
Advance Thanks

Based on your code, when you try to connect your username is null and the password is "/". You are not going to be able to get the OS password using Java.

Similar Messages

  • How can I see KSC5602 character set using JDBC thin driver

    After I change character set from USASCII7 to KO16KSC5601, I
    cannot see korean from the clients
    using JDBC thin driver.
    But, I can see korean clearly using sqlplus at serer, or
    application using SQLNet.
    I use Oracle Enterprise Server 8.0.4.1.0, jdbc thin driver
    8.0.4.0.6 on Windows 98. I read that all bugs realated
    to multibyte language are fixed in Oracle8. What can I do to
    solve this problem?
    PS.server: Oracle 8.0.4.1 on Digital Unix 4.0b, client: jdk1.1.8
    on Windows98. I used the command.
    null

    The easiest thing to do is download it as an archive with your applet.
    Otherwise, you have to have the files on every client machine.
    For netscape, put the classes111.jar in the java classes folder typically:
    c:\ProgramFiles\Netscape\Communicator\Program\java\classes.
    I'd expect that IE would be setup in a similar way.

  • Connection error to 9i database using JDBC thin driver

    When trying to connect to a new 9i database using the JDBC thin driver, I received the following error:
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
    at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java)
    at oracle.jdbc.driver.OracleDatabaseMetaData.getTables(OracleDatabaseMetaData.java)
    I have no problem with my code connecting to an Oracle 8 database, just 9i.
    I'm trying to debug in Visual Cafe (JDK 1.1.7) and have both the classes111.zip and the nls_charset11.zip in my CLASSPATH.
    Any suggestions would be appreciated. Thanks

    If you're using 8i 8.1.7.1 or 8i 8.1.7.0 thin JDBC drivers on NT, then you can get them to connect to 9i by applying the 8i 8.1.7.1 Patch available at:
    http://technet.oracle.com/software/tech/java/sqlj_jdbc/htdocs/solsoft.html
    You might have to register/login first.
    Basically, it's just a case of replacing a class already in your classes111.zip or classes12.zip with the class in the patch.
    Took me a while to find this, but it worked first time after patching. Hope this helps.

  • Problem using JDBC Thin driver with Oracle 8i Personal Edition

    Hi all, I have an issue I have been unable to figure out. In order to make my code as portable as possible I am using the JDBC thin driver to access my database. I have been able to connect to an instance of Oracle 8i on a Sun box by hardcoding the following string into getConnection() call:
    conn = DriverManager.getConnection("jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=<myhostname>)(Port=1521))(ADDRESS=(COMMUNITY=tcp.w orld)(PROTOCOL=TCP)(Host = <myhostname>)(Port = 1526)))(CONNECT_DATA = (SID = <mysidname>)))", <myuser>, <mypassword>);
    My problem is that I cannot figure out what string to use to connect to my local instance of Oracle 8i Personal. I used the following string (the sid I got from the looking at the init.ora file):
    conn = DriverManager.getConnection("jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=localhost)(Port=1521))(ADDRESS=(COMMUNITY=tcp.world)(PRO TOCOL=TCP)(Host = localhost)(Port = 1526)))(CONNECT_DATA = (SID = orcl)))", "scott", "tiger");
    That didn't work, so I took the only entry found in my tnsnames.ora file in as:
    conn = DriverManager.getConnection("jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)))(CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO)))", "scott", "tiger");
    I am not knowing what is wrong, but that didn't work neither. Any suggestions would be highly appreciated.
    Thanks....
    null

    try this:
    conn = DriverManager.getConnection("jdbc:oracle:thin:scott/tiger:@hostname:1521:sid");
    or use system/manager as username/passward
    null

  • Using JDBC-thin driver

    Hello,
    I am using CMSDK on a propretary software, after the upgrade to version 9.0.3, it seems that the API uses by default the OCI driver and it looks for the db url from the domain url when starting the IFS service.
    The problem with that is the JDBC-OCI driver character encoding of utf-8 charaters in C which transforms the characters in an unwanted form (I use arabic characters in input and get garbage stored in the database).
    Is there a way to make CMSDK uses the jdbc-thin driver instead of jdbc-oci driver?
    I hope so, and I would like to know how to do it.
    Thanks in advance.
    Amin AZZI
    AAcom Algérie.
    Algiers/Algeria

    Hello everybody,
    I could finally use the JDBC-THIN driver by directly changing the IFS.SERVICE.JDBC.DriverType property in the database repository to thin (by default it is oci8).
    Since there are three different services configurations someone must change the correct one.
    Amine.

  • Alphanumeric sort & comparation using JDBC thin driver

    I'm executing this query from java through a JDBC thin driver
    SELECT COD
    FROM TABLE
    ORDER BY COD
    and the result is 'A','B','C','D','1','2','3'
    If I execute the query
    SELECT COD
    FROM TABLE
    WHERE COD > '1'
    ORDER BY COD
    the result is 'A','B','C','D','2','3' when the result expected is '2','3'
    I think the problem is in the value of NLS_SORT AND NLS_COMP but I don't know the solution. Could you help me?
    Thank you

    The easiest thing to do is download it as an archive with your applet.
    Otherwise, you have to have the files on every client machine.
    For netscape, put the classes111.jar in the java classes folder typically:
    c:\ProgramFiles\Netscape\Communicator\Program\java\classes.
    I'd expect that IE would be setup in a similar way.

  • Memory Leak when TOMCAT connects to Oracle 10g RAC using JDBC Thin driver.

    We had experienced Memory leak when a Oracle 10g (10.2.0.3) RAC node was evicted. TOMCAT app server is connecting to the Oracle 10g RAC database instances using JDBC 10.2.0.3 thin driver.
    Anyone had similar experience?
    Any ideas? Any bugs reported/fixed?
    Thanks,
    Raj

    If you're doing XA, we absolutely do not support
    driver-level load-balancing OR failover. Use neither.
    For non-XA, you can use driver-level failover. For
    non-XA, you could set load-balancing, but it won't
    help because we get connections from the driver,
    and keep them indefinitely, so the driver never gets
    the chance to affect which connections the pool
    uses after that.

  • Retrieving XMLType using JDBC(THIN DRIVER)

    Oracle Database: 10g R2
    Java version: 1.4+
    Hi All,
    I have a column of type XMLType in a database table . I have to retrieve it using Oracle XDK APIs as an instance of oracle.xdb.XMLType. How to go about this using thin driver?
    Thanks

    Hello,
    Download the oracle xdk for your platform and copy the jars xdb.jar and xmlparserv2.jar from it to your classpath. Then download the latest ojdbc14.jar driver and add it to your classpath.
    Then use the following example code snippet to extract the xml from the xml-column in the resultset:
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import oracle.xdb.XMLType;
    import org.w3c.dom.Document;
    Object     object = resultSet.getObject("xmlcolumnname");
    if (object instanceof XMLType) {
         Document          document = ((XMLType)object).getDOM();
         Transformer          transformer = TransformerFactory.newInstance().newTransformer();
         transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION,"yes");
         transformer.setOutputProperty(OutputKeys.INDENT,"no");
         transformer.transform(new DOMSource(document),new StreamResult(System.out));
    } else {
    In your query that produces the resultset, it's important to add the procedure ".createNonSchemaBasedXML()" to your xml-value so there is no schema attached to it.
    For example: select myxmlcolumn.createNonSchemaBasedXML() as myxml from mytable;
    or select extract(myxmlcolumn,'//somexpath').createNonSchemaBasedXML() as myxml from mytable;
    Regards, Micha

  • ClassNotFoundException using jdbc thin driver & JDK 1.2.2

    Hi
    I have written an applet to connect to an Oracle 8.0 Data Base
    using the OracleDriver.class, and compiled it using JDK1.1.8.
    However, when I switched to the later JDK1.2.2 (to use the swing
    libraries) I found that I could no longer use the Oracle
    Driver. I get an error:
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    I know that my ClassPath is set correctly, so can anyone suggest
    the cause?
    Regards,
    Rich
    null

    Rich (guest) wrote:
    : Hi
    : I have written an applet to connect to an Oracle 8.0 Data Base
    : using the OracleDriver.class, and compiled it using JDK1.1.8.
    : However, when I switched to the later JDK1.2.2 (to use the
    swing
    : libraries) I found that I could no longer use the Oracle
    : Driver. I get an error:
    : java.lang.ClassNotFoundException:
    oracle.jdbc.driver.OracleDriver
    : I know that my ClassPath is set correctly, so can anyone
    suggest
    : the cause?
    : Regards,
    : Rich
    I had to unzip the file and then it worked.
    null

  • Infinite wait for connection using JDBC thin driver.

    Hi,
    I am using an OracleDataSource and an OracleConnectionCacheManager to manage my connection pool from my stand alone Java application. I am using ojdbc14.jar for my Oracle drivers. The database is Oracle 10g RAC. Java version is 1.5. I am using thin client.
    The problem I have experienced is that upon calling the getConnection() method on the OracleDataSource object, my application waits infinitely for a connection. As my application is not checking how long it takes to retrieve a connection, the application effectively hangs.
    Has anyone else witnessed this behaviour?? I have observed this behaviour in two seperate stand alone Java applications that are both talking to Oracle RAC databases.
    When I create the OracleDataSource, I am considering calling the setLoginTimeout() method to specify a timeout when trying to connect to the database. Does anyone know if this will throw an SQLException if the infinite wait occurs again??
    Thanks, Kenny.

    OK, I have the JVM stack trace at last!!! Here it is. This actually uses the following code every single time a database connection is required.
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn = (OracleConnection)DriverManager.getConnection(url, username, password);Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.5.0_15-b04 mixed mode):
    "pool-2-thread-3" prio=10 tid=0x0000000100fd2500 nid=0x68 waiting for monitor entry [0xffffffff1cdfe000..0xffffffff1cdff628]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-2-thread-2" prio=10 tid=0x0000000100ecfb00 nid=0x67 waiting for monitor entry [0xffffffff1d0fe000..0xffffffff1d0ff7a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-21" prio=10 tid=0x0000000100fa9180 nid=0x66 waiting for monitor entry [0xffffffff1e4fe000..0xffffffff1e4ff728]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-20" prio=10 tid=0x0000000100f832b0 nid=0x65 waiting for monitor entry [0xffffffff1e6fe000..0xffffffff1e6ff8a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-19" prio=10 tid=0x0000000100f82240 nid=0x64 runnable [0xffffffff1e8fe000..0xffffffff1e8ff828]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at oracle.net.ns.Packet.receive(Unknown Source)
         at oracle.net.ns.NSProtocol.connect(Unknown Source)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:707)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:218)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:343)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:147)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         - locked <0xffffffff2045e108> (a java.lang.Class)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         - locked <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-18" prio=10 tid=0x0000000100f905a0 nid=0x63 waiting for monitor entry [0xffffffff1ebfe000..0xffffffff1ebff9a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-17" prio=10 tid=0x0000000101a531b0 nid=0x62 waiting for monitor entry [0xffffffff1edfe000..0xffffffff1edff928]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-16" prio=10 tid=0x000000010171ced0 nid=0x61 waiting for monitor entry [0xffffffff1f0fe000..0xffffffff1f0ff6a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-15" prio=10 tid=0x0000000100ea6a70 nid=0x60 waiting for monitor entry [0xffffffff1f2fe000..0xffffffff1f2ff628]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-14" prio=10 tid=0x0000000101a520b0 nid=0x5f waiting for monitor entry [0xffffffff1f4fe000..0xffffffff1f4ff7a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-13" prio=10 tid=0x0000000100e7a870 nid=0x5e waiting for monitor entry [0xffffffff1f6fe000..0xffffffff1f6ff728]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-12" prio=10 tid=0x0000000100ea7430 nid=0x5d waiting for monitor entry [0xffffffff1f8fe000..0xffffffff1f8ff8a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-11" prio=10 tid=0x0000000101262330 nid=0x5c waiting for monitor entry [0xffffffff1fafe000..0xffffffff1faff828]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-10" prio=10 tid=0x0000000100b66160 nid=0x5b waiting for monitor entry [0xffffffff1fcfe000..0xffffffff1fcff9a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-9" prio=10 tid=0x0000000100b47ff0 nid=0x5a waiting for monitor entry [0xffffffff1fefe000..0xffffffff1feff928]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-8" prio=10 tid=0x0000000101a7ac70 nid=0x59 waiting for monitor entry [0xffffffff65afe000..0xffffffff65aff6a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-7" prio=10 tid=0x0000000101212460 nid=0x58 waiting for monitor entry [0xffffffff65cfe000..0xffffffff65cff628]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-6" prio=10 tid=0x0000000100f8f6f0 nid=0x57 waiting for monitor entry [0xffffffff65efe000..0xffffffff65eff7a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-5" prio=10 tid=0x0000000100c7c420 nid=0x56 waiting for monitor entry [0xffffffff660fe000..0xffffffff660ff728]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-2-thread-1" prio=10 tid=0x0000000101a41370 nid=0x55 waiting for monitor entry [0xffffffff662fe000..0xffffffff662ff8a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-4" prio=10 tid=0x0000000101a28ef0 nid=0x54 waiting for monitor entry [0xffffffff664fe000..0xffffffff664ff828]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-3" prio=10 tid=0x00000001009a1850 nid=0x53 waiting for monitor entry [0xffffffff666fe000..0xffffffff666ff9a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-2" prio=10 tid=0x0000000100f8e980 nid=0x52 waiting for monitor entry [0xffffffff668fe000..0xffffffff668ff928]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "pool-1-thread-1" prio=10 tid=0x0000000100bd86f0 nid=0x51 waiting for monitor entry [0xffffffff67afe000..0xffffffff67aff6a8]
         at java.sql.DriverManager.registerDriver(DriverManager.java:259)
         - waiting to lock <0xffffffff2045e108> (a java.lang.Class)
         at com.jpm.mra.common.DBUtil.getDBConnection(Unknown Source)
         at com.jpm.mra.bulking.BaseBulker.openConnection(Unknown Source)
         at com.jpm.mra.bulking.GenericBulker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    "Thread-5" prio=10 tid=0x0000000100b66b90 nid=0x50 waiting on condition [0xffffffff67cff000..0xffffffff67cff628]
         at java.lang.Thread.sleep(Native Method)
         at com.jpm.mra.bulking.IntervalBulker.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    "Thread-3" prio=10 tid=0x0000000100f36860 nid=0x4f waiting on condition [0xffffffff67eff000..0xffffffff67eff7a8]
         at java.lang.Thread.sleep(Native Method)
         at com.jpm.mra.bulking.ClockBulker.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    "Thread-1" prio=10 tid=0x0000000100a4b300 nid=0x4e waiting on condition [0xffffffff680ff000..0xffffffff680ff728]
         at java.lang.Thread.sleep(Native Method)
         at com.jpm.mra.bulking.DepthBulker.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    "Thread-4" prio=10 tid=0x0000000100a4c380 nid=0x4d waiting on condition [0xffffffff682ff000..0xffffffff682ff8a8]
         at java.lang.Thread.sleep(Native Method)
         at com.jpm.mra.bulking.IntervalBulkerStaticDataPoller.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    "Thread-2" prio=10 tid=0x0000000100bcf260 nid=0x4c waiting on condition [0xffffffff684ff000..0xffffffff684ff828]
         at java.lang.Thread.sleep(Native Method)
         at com.jpm.mra.bulking.ClockBulkerStaticDataPoller.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    "Thread-0" prio=10 tid=0x0000000100a1b2d0 nid=0x4b waiting on condition [0xffffffff689ff000..0xffffffff689ff9a8]
         at java.lang.Thread.sleep(Native Method)
         at com.jpm.mra.bulking.MRABulking.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    "Low Memory Detector" daemon prio=10 tid=0x00000001006db880 nid=0x49 runnable [0x0000000000000000..0x0000000000000000]
    "CompilerThread1" daemon prio=10 tid=0x00000001006da9e0 nid=0x48 waiting on condition [0x0000000000000000..0xffffffff6b6fdcc8]
    "CompilerThread0" daemon prio=10 tid=0x00000001006d72a0 nid=0x47 waiting on condition [0x0000000000000000..0xffffffff6b8fde58]
    "AdapterThread" daemon prio=10 tid=0x00000001006d6370 nid=0x46 waiting on condition [0x0000000000000000..0x0000000000000000]
    "Signal Dispatcher" daemon prio=10 tid=0x00000001006d5440 nid=0x45 waiting on condition [0x0000000000000000..0x0000000000000000]
    "Finalizer" daemon prio=10 tid=0x00000001006bf6b0 nid=0x44 in Object.wait() [0xffffffff6beff000..0xffffffff6beff828]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xffffffff2544e010> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
         - locked <0xffffffff2544e010> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x00000001006bd500 nid=0x43 in Object.wait() [0xffffffff6c0ff000..0xffffffff6c0ff9a8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xffffffff2544e000> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Object.java:474)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
         - locked <0xffffffff2544e000> (a java.lang.ref.Reference$Lock)
    "main" prio=10 tid=0x000000010011ed20 nid=0x1 in Object.wait() [0xffffffff7fff5000..0xffffffff7fff56e0]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xffffffff25456218> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1095)
         - locked <0xffffffff25456218> (a java.lang.Thread)
         at java.lang.Thread.join(Thread.java:1148)
         at com.jpm.mra.bulking.MRABulking.main(Unknown Source)
    "VM Thread" prio=10 tid=0x00000001006b9790 nid=0x42 runnable
    "GC task thread#0 (ParallelGC)" prio=10 tid=0x00000001001d47d0 nid=0x2 runnable
    "GC task thread#1 (ParallelGC)" prio=10 tid=0x00000001001d5270 nid=0x3 runnable
    "GC task thread#2 (ParallelGC)" prio=10 tid=0x00000001001d5d70 nid=0x4 runnable
    "GC task thread#3 (ParallelGC)" prio=10 tid=0x00000001001d6870 nid=0x5 runnable
    "GC task thread#4 (ParallelGC)" prio=10 tid=0x00000001001d7370 nid=0x6 runnable
    "GC task thread#5 (ParallelGC)" prio=10 tid=0x00000001001d7e70 nid=0x7 runnable
    "GC task thread#6 (ParallelGC)" prio=10 tid=0x00000001001d8970 nid=0x8 runnable
    "GC task thread#7 (ParallelGC)" prio=10 tid=0x00000001001d9470 nid=0x9 runnable
    "GC task thread#8 (ParallelGC)" prio=10 tid=0x00000001001d9f70 nid=0xa runnable
    "GC task thread#9 (ParallelGC)" prio=10 tid=0x00000001001daa70 nid=0xb runnable
    "GC task thread#10 (ParallelGC)" prio=10 tid=0x00000001001db570 nid=0xc runnable
    "GC task thread#11 (ParallelGC)" prio=10 tid=0x00000001001dc070 nid=0xd runnable
    "GC task thread#12 (ParallelGC)" prio=10 tid=0x00000001001dcb70 nid=0xe runnable
    "GC task thread#13 (ParallelGC)" prio=10 tid=0x00000001001dd670 nid=0xf runnable
    "GC task thread#14 (ParallelGC)" prio=10 tid=0x00000001001de170 nid=0x10 runnable
    "GC task thread#15 (ParallelGC)" prio=10 tid=0x00000001001dec70 nid=0x11 runnable
    "GC task thread#16 (ParallelGC)" prio=10 tid=0x00000001001df7b0 nid=0x12 runnable
    "GC task thread#17 (ParallelGC)" prio=10 tid=0x00000001001e02b0 nid=0x13 runnable
    "GC task thread#18 (ParallelGC)" prio=10 tid=0x00000001001e0db0 nid=0x14 runnable
    "GC task thread#19 (ParallelGC)" prio=10 tid=0x00000001001e18b0 nid=0x15 runnable
    "GC task thread#20 (ParallelGC)" prio=10 tid=0x00000001001e23b0 nid=0x16 runnable
    "GC task thread#21 (ParallelGC)" prio=10 tid=0x00000001001e2eb0 nid=0x17 runnable
    "GC task thread#22 (ParallelGC)" prio=10 tid=0x00000001001e39b0 nid=0x18 runnable
    "GC task thread#23 (ParallelGC)" prio=10 tid=0x00000001001e44b0 nid=0x19 runnable
    "GC task thread#24 (ParallelGC)" prio=10 tid=0x00000001001e4fb0 nid=0x1a runnable
    "GC task thread#25 (ParallelGC)" prio=10 tid=0x00000001001e5ab0 nid=0x1b runnable
    "GC task thread#26 (ParallelGC)" prio=10 tid=0x00000001001e65b0 nid=0x1c runnable
    "GC task thread#27 (ParallelGC)" prio=10 tid=0x00000001001e70b0 nid=0x1d runnable
    "GC task thread#28 (ParallelGC)" prio=10 tid=0x00000001001e7bb0 nid=0x1e runnable
    "GC task thread#29 (ParallelGC)" prio=10 tid=0x00000001001e86b0 nid=0x1f runnable
    "GC task thread#30 (ParallelGC)" prio=10 tid=0x00000001001e91b0 nid=0x20 runnable
    "GC task thread#31 (ParallelGC)" prio=10 tid=0x00000001001e9cb0 nid=0x21 runnable
    "GC task thread#32 (ParallelGC)" prio=10 tid=0x00000001001ea7b0 nid=0x22 runnable
    "GC task thread#33 (ParallelGC)" prio=10 tid=0x00000001001eb2b0 nid=0x23 runnable
    "GC task thread#34 (ParallelGC)" prio=10 tid=0x00000001001ebdb0 nid=0x24 runnable
    "GC task thread#35 (ParallelGC)" prio=10 tid=0x00000001001ec8b0 nid=0x25 runnable
    "GC task thread#36 (ParallelGC)" prio=10 tid=0x00000001001ed3b0 nid=0x26 runnable
    "GC task thread#37 (ParallelGC)" prio=10 tid=0x00000001001edeb0 nid=0x27 runnable
    "GC task thread#38 (ParallelGC)" prio=10 tid=0x00000001001f09c0 nid=0x28 runnable
    "GC task thread#39 (ParallelGC)" prio=10 tid=0x00000001001f14c0 nid=0x29 runnable
    "GC task thread#40 (ParallelGC)" prio=10 tid=0x00000001001f1fc0 nid=0x2a runnable
    "GC task thread#41 (ParallelGC)" prio=10 tid=0x00000001001f2ac0 nid=0x2b runnable
    "GC task thread#42 (ParallelGC)" prio=10 tid=0x00000001001f35c0 nid=0x2c runnable
    "GC task thread#43 (ParallelGC)" prio=10 tid=0x00000001001f40c0 nid=0x2d runnable
    "GC task thread#44 (ParallelGC)" prio=10 tid=0x00000001001f4bc0 nid=0x2e runnable
    "GC task thread#45 (ParallelGC)" prio=10 tid=0x00000001001f56c0 nid=0x2f runnable
    "GC task thread#46 (ParallelGC)" prio=10 tid=0x00000001001f61c0 nid=0x30 runnable
    "GC task thread#47 (ParallelGC)" prio=10 tid=0x00000001001f6cc0 nid=0x31 runnable
    "GC task thread#48 (ParallelGC)" prio=10 tid=0x00000001001f7810 nid=0x32 runnable
    "GC task thread#49 (ParallelGC)" prio=10 tid=0x00000001001f8310 nid=0x33 runnable
    "GC task thread#50 (ParallelGC)" prio=10 tid=0x00000001001f8e10 nid=0x34 runnable
    "GC task thread#51 (ParallelGC)" prio=10 tid=0x00000001001f9910 nid=0x35 runnable
    "GC task thread#52 (ParallelGC)" prio=10 tid=0x00000001001fa410 nid=0x36 runnable
    "GC task thread#53 (ParallelGC)" prio=10 tid=0x00000001001faf10 nid=0x37 runnable
    "GC task thread#54 (ParallelGC)" prio=10 tid=0x00000001001fba10 nid=0x38 runnable
    "GC task thread#55 (ParallelGC)" prio=10 tid=0x00000001001fc510 nid=0x39 runnable
    "GC task thread#56 (ParallelGC)" prio=10 tid=0x00000001001fd010 nid=0x3a runnable
    "GC task thread#57 (ParallelGC)" prio=10 tid=0x00000001001fdb10 nid=0x3b runnable
    "GC task thread#58 (ParallelGC)" prio=10 tid=0x00000001001fe610 nid=0x3c runnable
    "GC task thread#59 (ParallelGC)" prio=10 tid=0x00000001001ff110 nid=0x3d runnable
    "GC task thread#60 (ParallelGC)" prio=10 tid=0x00000001001ffc10 nid=0x3e runnable
    "GC task thread#61 (ParallelGC)" prio=10 tid=0x0000000100200710 nid=0x3f runnable
    "GC task thread#62 (ParallelGC)" prio=10 tid=0x0000000100201210 nid=0x40 runnable
    "GC task thread#63 (ParallelGC)" prio=10 tid=0x0000000100201d10 nid=0x41 runnable
    "VM Periodic Task Thread" prio=10 tid=0x00000001001c93f0 nid=0x4a waiting on condition
    Edited by: krodman on 08-Jan-2010 04:03

  • Reading CLOB data using jdbc thin driver

    Hi,
    When I try reading data for a CLOB column using thin jdbc driver, I get the following error message
    "Exception: ORA-06550: line 1, column 22:
    PLS-00302: component 'GETCHUNKSIZE' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored".
    This error message is displayed when the call is made to get the character stream from the Clob object.
    Do I need to any server side setup before I can access CLOB data from the database?
    thanks.
    Puru Balakrishnan

    I updated to the latest jdbc drivers, 816classes12b.zip, and the problem went away.
    null

  • JDBC CONNECTION TO ORACLE9i DB USING JDBC THIN DRIVER 9.2.0

    Hi everyone,
    I have have set my classpath:
    set classpath=.;c:/oracle/ora92/jdbc/lib/ojdbc14.jar;c:/oracle/ora92/jdbc/lib/nls_charset11.zip;c:/oracle/ora92/jdbc/lib/nls_charset12.zip
    i have also specified the jdbc url:
    String url = "jdbc:oracle:thin:@//chuksnb/javanb;
    where chuksnb is the oracle server host and javanb is my oracle service name
    somewhere in the code i have specified the driver class:
    class.forName("ojdbc14.jar")
    please what are the things that i have not done correctly because when i compile my program, i get 31 errors.
    thanks

    "I have have set my classpath:
    set classpath=.;c:/oracle/ora92/jdbc/lib/ojdbc14.jar;c:/oracle/ora92/jdbc/lib/nls_charset11.zip;c:/oracle/ora92/jdbc/lib/nls_charset12.zip"
    This is probably wrong or not going to help you one bit. This isn't the best way to deal with CLASSPATH.
    I don't have an environment variable named CLASSPATH on any machine that I work on. It's not the way to do things, IMO.
    %

  • Connect to oracle 8i using jdbc thin driver

    Hi developers....
    I am a new for java. jdk1.5.1,oracle 8i these are installed in my system.those are working well.Now i want to connect oracle database using Thindriver.I have no idea to write a code.Any one give an example for me.
    My system name:developer
    java :jdk1.5.1
    oracle :8i
    Thank u
    with reguards
    sure....:)

    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html

  • Java.lang.OutOfMemoryError using JDBC thin driver (classes12.zip)

    I am facing a strange situation trying to reading an Oracle User Defined Type.
    First I have defined the following UDT:
    TYPE FILE_COMP AS OBJECT
    NOME_FILE VARCHAR2(1024)
    , FLAG_COMPRESS CHAR(1)
    Then I wrote a Java class that implements the CustomDatum, CustomDatumFactory interfaces in order to read FILE_COMP columns from the database.
    When I try to read data from the table I get the following error:
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError:
    at oracle.jdbc.oracore.UnpickleContext.read_bytes(UnpickleContext.java:72)
    at oracle.jdbc.oracore.UnpickleContext.apply_patches_per_type(UnpickleContext.java:159)
    at oracle.jdbc.oracore.UnpickleContext.apply_patches(UnpickleContext.java, Compiled Code)
    at oracle.jdbc.oracore.OracleTypeADT.unpickle(OracleTypeADT.java:728)
    at oracle.jdbc.oracore.OracleTypeADT.unpickle(OracleTypeADT.java:684)
    at oracle.jdbc.oracore.OracleTypeADT.unlinearize(OracleTypeADT.java:665)
    at oracle.sql.StructDescriptor.toArray(StructDescriptor.java:275)
    at oracle.sql.STRUCT.getOracleAttributes(STRUCT.java:250)
    at oracle.jpub.runtime.MutableStruct.getLazyDatums(MutableStruct.java, Compiled Code)
    at oracle.jpub.runtime.MutableStruct.getAttribute(MutableStruct.java:76)
    at sctra.ValConfig.FileCompDatum.getNomeFile(FileCompDatum.java)
    at sctra.ValConfig.FileCompRenderer.getTableCellRendererComponent(FileCompRenderer.java, Compiled Code)
    at javax.swing.JTable.prepareRenderer(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paintRow(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source) ...
    The strange thing is that all works fine if I run the same code against the test database (I have two databases, one for tests and one for operations).
    The two databases are identical (same version, same content).
    The only difference is that the operation database is 64 bit.

    sounds like you have a memory leak
    i doubt MySQL has anything to do with it
    make sure you are releasing database and other
    resources properly?
    if that's not the case, maybe you are literally
    piling up too many records in memory? how many
    records are you dealing with?Hi,
    thanks for your answer. At this moment I found my (dumb ;-) mistake.
    I tried to release database resources properly but it did not work because of a NullPointerException.
    Regards
    Hendrik

  • JDBC thin driver connection problems using cybersafe authentication

    Hi
    i am trying to use jdbc thin driver to connect to oracle 8.1.7 DB using ASO and cybersafe authentication.
    Question:
    Does the oracle jdbc thin driver in 8.1.7.0.0 support third-party authentication features supported by Oracle Advanced Security--such
    as those provided by RADIUS, Kerberos, or SecurID
    i am getting the following error.
    Exception in thread "main" java.sql.SQLException: invalid arguments in call
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at ASOJdbc.main(ASOJdbc.java:43)
    Following is the program i am trying.
    public class ASOJdbc {
         public static void main(String args[]) throws SQLException {
              String url = "jdbc:oracle:thin:@son1129:1521:sonias";
              Connection con;
              String query = "select EMPNO, ENAME from EMP";
              Statement stmt;
              // ASO Stuff
                   Properties props = new Properties();
                   try {
                   props.put("oracle.net.authentication_services", "CYBERSAFE");
                   props.put("oracle.net.authentication_gssapi_service", "oracle/[email protected]");                    
                   props.put("oracle.net.encryption_types_client", "DES");
                   props.put("oracle.net.encryption_types_server", "DES");               
                   props.put("oracle.net.crypto_seed", "4fhXXXX");               
                   } catch (Exception e) { e.printStackTrace();
                   DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                   // ASO
                   con = DriverManager.getConnection(url, props);
                   stmt = con.createStatement();
                   ResultSet rs = stmt.executeQuery(query);
                   stmt.close();
                   con.close();          
    jdk version: jdk 1.3.1
    Oracle jdbc driver information, which i obtained as per Note 94091.1
    =============
    Database Product Name is Oracle
    Database Product Version is Oracle8i Enterprise Edition Release 8.1.7.1.1 - Production With the Partitioning option
    JServer Release 8.1.7.1.1 - Production
    JDBC Driver Name is Oracle JDBC driver
    JDBC Driver Version is 8.1.7.0.0
    JDBC Driver Major Version is 8
    JDBC Driver Minor Version is 1

    1. What JDBC Thin client Driver are you using? (version) If you don't know, open up the Manifest.
    2. the JDBC/OCI driver is a thick driver. It uses the oracle client, and therefore should read the tnsnames.ora
    3. You have yet to give us any ORA- errors, which would help immensely in troubleshooting.

Maybe you are looking for

  • July TechNet Guru Winners Announced

    Below are the results for last month's Guru Competition - TechNet Guru Awards, July 2014 The full version can be found here: http://blogs.technet.com/b/wikininjas/archive/2014/08/19/the-microsoft-technet-guru-awards-july-2014.aspx We can only show th

  • Transfer data from a pc to an IPhone

    Hello there, can anybody tell me how I can transfer data from a pc (Linux Ubuntu) to an IPhone? Thank you very much in advance. Regards Wolfgang

  • Cant Find PTG Dir

    Hi: I've installed 9iAS latest version (1.0.2.2) and i can't find PTG directory on my 9iAS home (ISUITES)! What do I need to start a WAP SERVER and to put it running... I Cant find any documentation on CD's too... HELP Appreciated :) Ricardo

  • Why did all my messages delete when i restarted my phone

    I was on facetime and I wasn't receiving any of my messages so I went to my message app and i seen all the unread messages but they were blank and all i could see was the name of who sent it. So i restarted my phone and all my messages were gone !

  • Trigger email if source file i not placed at the src folder every morning

    Hi All. I have a file to rfc scenario... the file is place at the source folder every morning... If the file is not place can we trigger an alert? or email? I was thiking of adapter scheduling but in case the file is not persent will it send an alert