Re: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
Posted by: mysql
Date: June 20, 2005 03:00PM

Mark Matthews wrote:
>
> How are you deploying the driver? If you use only
> the "-bin.jar" and not the "-bin-g.jar" file, you
> _should_not_ be getting this error.
>
> -Mark
>

Mark, the problem I have is the same as above, but under JBoss 4.0.1SP1, using connector/J 3.1.8a.

The -bin.jar file does not contain the Jboss integration MysqlValidConnectionChecker and ExtendedMysqlExceptionSorter, yet the -bin-g.jar file does. Is this correct? or an oversight in the packaging. It obviously means the documentation at http://dev.mysql.com/doc/connector/j/en/cj-jboss-config.html is incorrect as it tells you to use these classes in the -ds.xml deployment file :
<exception-sorter-class-name>com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter</exception-sorter-class-name>
<valid-connection-checker-class-name>com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker</valid-connection-checker-class-name>

I have corrected the problem by commenting out the use of these classes, but it would be nice to be able to use them.

Options: ReplyQuote


Subject
Written By
Posted
Re: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
June 20, 2005 03:00PM
March 14, 2007 04:02AM


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.