Guest User

Hello, I have a question..
I am using both the JENNIFER server and agent.
Everything is ok but
When I call the indi name that acceses mysql, the following message appears and I can’t make a connection to the mysql db.
If I omit the JENNIFER related parameters when starting resin, then everything goes ok..
What should I do now? Looking forward to your answer.

WAS Server : Resin 3.0 Pro
DB access method : jndi
WAS JNDI configuration information :

jdbc/XXXXX OR ? ? ????.
jdbc:mysql://XXX.XXX.XXX.XXX:3306/XXX XXX XXX
8 50 30s

Parameters added when starting RESIN. :-Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar -javaagent:/home/jennifer/agent/lwst.javaagent.jar -Djennifer.config=/home/jennifer/agent/T01.conf \

— If I omit this part, it easily finds the mysql class and makes a connection easily.

JDK Version : 1.5.0_15 (32bit)

O/S Version : Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

MySQL library : mysql-connector-java-5.1.14-bin.jar

Log shown when accessing the actual web service :
2011-01-20 16:11:56,119 ERROR (XXXXXXXXXXXX) – com.caucho.sql.SQLExceptionWrapper: javax.resource.ResourceException: java.lang.NoClassDefFoundError
I am looking forward to your reply.

Khalid Saeed

The problem occurs while checking JDBC 4 in the Mysql jdbc driver.
The bug is now fixed. Simply, upgrade your agent.