1 Reply Latest reply on Dec 31, 2002 9:26 AM by baudouin

    Deployment entity bean with mysql

    baudouin Newbie

      hello,

      I have a very simple bean writted with X-doclet with
      map a table in mysql but when i deploy it in an ear file,
      i have this message in the console :

      2002-12-27 11:30:33,395 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=true
      2002-12-27 11:30:33,395 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2002-12-27 11:30:33,365 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=orvault/entity/SaisonLocal,service=EJB
      org.jboss.deployment.DeploymentException: expected one true-mapping tag
      at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:101)
      at org.jboss.metadata.MetaData.getUniqueChildContent(MetaData.java:208)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCTypeMappingMetaData.(JDBCTypeMappingMetaData.java:136)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:202)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:67)

      if someone has a n idea about this, it will be very
      nice !