Re: JDBC connection from websphere studio application dev 5.1.2
Posted by: Mark Matthews
Date: February 22, 2005 08:52AM

99115982 wrote:
> I'm getting the problem "IWAS0126E. Problems
> encountered while trying to establish connection.
> Reason 'java.sql.savepoint'" when trying a set up
> a new JDBC in Websphere. The documentation to J
> Connector refers to switching off the class
> verifier, but it doesn't give instuctions for
> doing this!
> My config settings are:
> jdk - j2sdk1.4.2_04
> J Connector - 3.1.6
> MySQL server - 4.1
> Webphere dev - 5.1.2
> Any help most appreciate as this problem is doing
> my head in.

Actually, the instructions _do_ say how to turn off the verifier:

"Because of the implementation of java.sql.Savepoint, Connector/J 3.1.0 and newer will not run on JDKs older than 1.4 unless the class verifier is turned off (-Xverify:none), as the class verifier will try to load the class definition for java.sql.Savepoint even though it is not accessed by the driver unless you actually use savepoint functionality."

You need to pass '-Xverify:none' as a startup option to your JVM.


Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.