JDBC and JDK1.3RC1
Posted in 2000
Topics: Connectivity: ODBC / JDBC / .NET, Java & JDBC Development
I am having trouble running my application. The same application worked with the previous releases of the JDK and now it throws an exception - java.sql.SQLException: This release of JDBC requires to be run with JDK 1.2+. at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:240) at com.informix.jdbc.IfxDriver.checkURL(IfxDriver.java:425) at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:160) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:199) at CTSDBServer.initialize(CTSDBServer.java:58) at CTSApp._ICTSDBServerImplBase._execute(_ICTSDBServerImplBase.java:73) at CTSApp._ICTSDBServerImplBase._execute(_ICTSDBServerImplBase.java:63) at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelega teImpl.java:129) at com.visigenic.vbroker.orb.GiopProtocolAdapter.doRequest(GiopProtocolA dapter.java:290) at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopPro tocolAdapter.java:462) at com.visigenic.vbroker.orb.ThreadPoolDispatcher.run(ThreadPoolDispatch er.java:155) at com.visigenic.vbroker.orb.WorkerThread.run(WorkerThread.java:146) Is the problem with Infromix or Sun? I dont think the specification for theJDBC2.0 changed...Any help would be greatly appreciated... Thanks! Ashish
Hi Ashish, This was a problem in JDBC 2.0 which tested to see if you were using JDK 1.2.x or later and threw an exception if it did not work - unfortunately it also failed for versions of the JDK later than 1.2.x as well (i.e. != 1.2.x rather than < 1.2.x ;-). This has been fixed in JDBC 2.10JC1 which is available from Intraware. Go to http://www.intraware.com/informix and click on the [11-20] link for "By Product List" and then go to the Informix JDBC Driver link. From there click on the "Free Download" link and grab the JDBC 2.10JC1 version that is there (you will get prompted to login to Intraware somewhere along the line...). HTH ben. "Ashish Shrowty" <ashrowty@earthlink.net> wrote in message news:wuYr4.10174$O43.400416@newsread2.prod.itd.earthlink.net... > I am having trouble running my application. The same application worked with > the previous releases of the JDK and now it throws an exception - > > java.sql.SQLException: This release of JDBC requires to be run with JDK > 1.2+. > at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:240) > at com.informix.jdbc.IfxDriver.checkURL(IfxDriver.java:425) > at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:160) > at java.sql.DriverManager.getConnection(DriverManager.java:517) > at java.sql.DriverManager.getConnection(DriverManager.java:199) > at CTSDBServer.initialize(CTSDBServer.java:58) > at > CTSApp._ICTSDBServerImplBase._execute(_ICTSDBServerImplBase.java:73) > at > CTSApp._ICTSDBServerImplBase._execute(_ICTSDBServerImplBase.java:63) > at > com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelega > teImpl.java:129) > at > com.visigenic.vbroker.orb.GiopProtocolAdapter.doRequest(GiopProtocolA > dapter.java:290) > at > com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopPro > tocolAdapter.java:462) > at > com.visigenic.vbroker.orb.ThreadPoolDispatcher.run(ThreadPoolDispatch > er.java:155) > at com.visigenic.vbroker.orb.WorkerThread.run(WorkerThread.java:146) > > Is the problem with Infromix or Sun? I dont think the specification for > theJDBC2.0 changed...Any help would be greatly appreciated... > > Thanks! > Ashish > > > >