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

    Problem starting service jboss.j2ee:jndiName

    baudouin Newbie


      hello,

      i have a small problem when starting to deploy my
      ear file.

      i work with jboss 3.0.4/jetty and use mysql database.
      I have one entity bean called saison which doesn't work.
      my console look like this :

      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)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)


      I think i have well configured mysql (very good info in this forum) and i don't understant what's wrong with this entity bean.

      if anybodu have a small idea, it will be a pleasure.

      Thanks.