4 Replies Latest reply on Oct 15, 2002 2:58 AM by Alexey Loubyansky

    DeploymentException: expected one true-mapping tag

    Laureano Ruiz Newbie

      Hi. I am getting this error when deploying the CMP Beans under JBoss 3.0.3, I recently upgraded from 3.0.0. The DB is MySQL and I am generating the classes using XDoclet.

      I have verified that all the files needed to use MySql were correct. The login-config for the MySQLDBRealm, standardjbosscmp-jdbc to have MySql as the default DB, the build.xml to tell XDoclet to use MySql, and mysql-service.xml in the deploy folder. Also, the mm.mysql-2.0.14-bin in the lib folder.

      Below is the full description of the error:

      11:27:17,452 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=XRP/TemplateEjercicio,service=EJB
      org.jboss.deployment.DeploymentException: expected one true-mapping tag

      Also, I am getting an MBeanException with the following:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=LocalTxCM,name=MySqlDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxDS,name=MySqlDS