3 Replies Latest reply on Jun 14, 2013 2:02 AM by sfcoy

    JBOSS7 EAR deploy

    tineasydevel

      Hi All.

       

      I'm trying to deploy a EAR file toi jboss7.1.1 standalone mode.

      The ear estructure:

       

      Kore2GestJboss7.ear

      |--META-INF/

      |--META-INF/MANIFEST.MF

      |--META-INF/application.xml

      |--ejb/

      |--ejb/Kore2EJB.jar

      l--ib/

      l--ib/facturacion.jar

       

      The application.xml (Can't be more simple)

       

      <?xml version="1.0"?>

      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">

        <display-name>Kore</display-name>

        <module>

          <ejb>ejb/Kore2EJB.jar</ejb>

        </module>

        <library-directory>lib</library-directory>

      </application>

       

       

      I get always the following error.

       

      JBAS015870: Deploy of deployment "Kore2GestJboss7.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"Kore2GestJboss7.ear\".PARSEjboss.deployment.subunit.\"Kore2GestJboss7.ear\".\"ejb/Kore2EJB.jar\".STRUCTUREMissing[jboss.deployment.unit.\"Kore2GestJboss7.ear\".PARSEjboss.deployment.subunit.\"Kore2GestJboss7.ear\".\"ejb/Kore2EJB.jar\".STRUCTURE]"]}

       

      Any Ideas, i'va read a lot and i can't get through this error.

       

      Thanks in advance.

        • 1. Re: JBOSS7 EAR deploy
          sfcoy

          What happens if you put the Kore2EJB.jar in the root of the EAR (with adjusted application.xml)?

           

          Please attach the whole server.log as the useful messages often occur before the eventual failure.

          • 2. Re: JBOSS7 EAR deploy
            tineasydevel

            Hello Stephen

             

            If I move the .jar to the ROOT of the ear, the error is different, it's about other dependencies i will try to solve. adding the jatr files to the /lib folder.

            I have attached 2 logs,

             

            log_jboss7_1 -> the EJB module in the /ejb/folder

            log_jboss7_2 -> The EJB module at the root

             

            META-INF/

            META-INF/MANIFEST.MF

            META-INF/application.xml

            Kore2EJB.jar

            lib/

            lib/facturacion.jar

             

            Thanks in advance for any details you could give.

            • 3. Re: JBOSS7 EAR deploy
              sfcoy

              According to WFLY-788, it looks like a relative path problem has been resolved since the 7.1.1.Final release.

               

              So, if you want to stick with this version you will have to forgo the ejb/ sub directory in your EAR.