1 Reply Latest reply on May 17, 2004 3:29 AM by Sebastiaan Kortleven

    problem with jboss and mysql

    jbjsg Newbie

      when i deploy a entity bean, i encounter a error like this:

      2004-05-17 08:41:35,810 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=City,service=EJB
      org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping MYSQL not found
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:374)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:237)
      ...

      in standardjbosscmp-jdbc.xml i defined
      java:/MYSQLDS
      <datasource-mapping>MYSQL</datasource-mapping>
      and in standardjaws.xml i defined
      java:/MySqlDS
      <type-mapping>mySql</type-mapping>

      did i do anything wrong? what might cause such an error?