Hi Keon,
Thanks once again for the prompt reply.I will try the option of removing classes12.jar . I have tried options of using ojdbc14dms.jar in the past,but did not find any success.I can try the same again.
Also I have a couple of questions regarind the error ,
1)When I try to view the contents of ojdbc14dms.jar ,I do not find the package (oracle/dms/instrument) nor the class (ExecutionContextForJDBC) in it ?
2) I also have classes12dms.jar present under the library along with classes12.jar.There is a jar by name dms.jar itself (no clue where this is distributed,but as per my reading it looks like it is supplied along with Oracle application server).But none of these jars have the package 'oracle/dms/instrument' at all .I am wondering how this is not coming up in my old environment(Oracle 10g with 32-bit java compiler)
Pasting the complete Exception Trace: This error does not come up always,it is intermittent and the failure rate is sometimes 1 out of 10 or even 1 out of 5 at times
--------------------------------------------
java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:340)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
Once again ,your help on this is very much appreciated.
Many thanks,
Abilash