0 Replies Latest reply on Dec 9, 2010 6:58 AM by Sindhuri Manne

    Deployment on EAR file in JBOSS

    Sindhuri Manne Newbie

      Hii I'm trying to deploy Oracle Retail Back Office in JBOSS Application Server but I got an issue during deployment i.e., a Bean class ReportRecipientEB is defined in jboss.xml and ejb-jar.xml but I got an exception that the bean is defined in jboss.xml but not in ejb-jar.xml.I'm sure that it is defined in both the xml files and I'm using JBOSS 4.2.2 and ORBO 13.2.Both the products are using EJB 3.0 so I think there is no compatibility issue with EJB also.

       

      2010-12-09 16:59:03,123 ERROR [org.jboss.metadata.XmlFileLoader] failed to load jboss.xml.  There could be a syntax error.
      org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean ReportRecipientEB: found in jboss.xml but not in ejb-jar.xml
          at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:956)
          at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:200)
          at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541)
          at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)