2 Replies Latest reply on May 6, 2003 2:51 AM by andrea.fontanelli

    ava.lang.LinkageError: loader constraints violated when link

    fonta

      Hi all,
      I'm trying to configure MySQL 3.23.38 on JBoss 3.0.4 but I catched the error reported i ìn subject.
      Below the steps I followed:

      1. I Inserted mysql-service.xml file in
      <JBOSS_HOME>/server/default/deploy directory
      setting the connection to DB:
      .....
      <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost:3306/jbossdb</config-property>
      <config-property name="DriverClass" type="java.lang.String">com.mysql.jdbc.Driver</config-property>

      ....

      2. I put mySQL driver under <JBOSS_HOME>/server/default/lib directory

      3. I Updated standardjbosscmp-jdbc.xml file like this:
      ...
      java:/MySqlDS
      <datasource-mapping>mySQL....

      I' ve searched over Internet a similar Error but I have not found nothing that could helps me.

      Could you tell me any suggests about that?

      Thanks,

      Andrea