4 Replies Latest reply on Sep 22, 2011 4:37 AM by mign

    jboss-deployment-structure.xml not loaded

    mign Newbie

      I placed jboss-deployment-structure.xml in META-INF in my ear, but it is NOT read at all. At least if I enter any nonsense in this file it does not lead to an exception...

        • 1. Re: jboss-deployment-structure.xml not loaded
          jaikiran pai Master

          Post the output of

           

          jar -tf yourapp.ear

          • 2. Re: jboss-deployment-structure.xml not loaded
            mign Newbie

            META-INF/

            META-INF/MANIFEST.MF

            META-INF/maven/

            META-INF/maven/de.xy.asep.system.asepdemo.ear/

            META-INF/maven/de.xy.asep.system.asepdemo.ear/asepdemo-ear/

            lib/

            META-INF/jboss-deployment-structure.xml

            META-INF/maven/de.xy.asep.system.asepdemo.ear/asepdemo-ear/pom.properties

            META-INF/maven/de.xy.asep.system.asepdemo.ear/asepdemo-ear/pom.xml

            asepcomponents-server-1.4.4-SNAPSHOT.jar

            aseplib-server-1.4.4-SNAPSHOT.jar

            businessmasterdata-server.jar

            lib/activeio-core-3.1.0.jar

            lib/activemq-core-5.2.0.jar

            lib/aopalliance-1.0.jar

            lib/asep-common-1.0.3.jar

            lib/asepcomponents-client-core-1.4.4-SNAPSHOT.jar

            lib/asepcomponents-common-1.4.4-SNAPSHOT.jar

            lib/aseplib-common-1.4.4-SNAPSHOT.jar

            lib/asm-3.1.jar

            lib/backport-util-concurrent-2.1.jar

            lib/bcprov-jdk16-1.45.jar

            lib/businessmasterdata-common-0.0.1-SNAPSHOT.jar

            lib/camel-core-1.5.0.jar

            lib/cglib-2.2.jar

            lib/classmate-0.5.2.jar

            lib/classworlds-1.1-alpha-2.jar

            lib/commons-beanutils-1.7.0.jar

            lib/commons-codec-1.3.jar

            lib/commons-collections-3.2.jar

            lib/commons-lang-2.4.jar

            lib/commons-logging-1.1.1.jar

            lib/commons-logging-api-1.1.jar

            lib/ehcache-core-1.7.0.jar

            lib/facadeconnector-1.0.3.jar

            lib/geronimo-j2ee-management_1.0_spec-1.0.jar

            lib/geronimo-jms_1.1_spec-1.1.1.jar

            lib/hibernate-commons-annotations-3.2.0.Final.jar

            lib/hibernate-core-4.0.0.Beta5.jar

            lib/hibernate-jpa-2.0-api-1.0.1.Final.jar

            lib/hibernate-validator-4.2.0.Final.jar

            lib/imqjmsra-2.1.1.jar

            lib/jandex-1.0.0.Beta7.jar

            lib/javaee-5.0.1.jar

            lib/javassist-3.12.0.GA.jar

            lib/jboss-annotations-api_1.1_spec-1.0.0.Final.jar

            lib/jboss-ejb-api_3.1_spec-1.0.1.Final.jar

            lib/jboss-interceptors-api_1.1_spec-1.0.0.Final.jar

            lib/jboss-jms-api_1.1_spec-1.0.0.Final.jar

            lib/jboss-logging-3.0.0.Beta5.jar

            lib/jdbcappender-2.1.1.jar

            lib/jdom-1.0.jar

            lib/jnlp-6.jar

            lib/jta-1.1.jar

            lib/license-common-1.0.6.jar

            lib/license-encrypter-1.0.2.jar

            lib/licenseserver-api-1.0.3.jar

            lib/log4j-1.2.12.jar

            lib/picketbox-4.0.1.jar

            lib/plexus-container-default-1.0-alpha-8.jar

            lib/plexus-utils-1.0.4.jar

            lib/slf4j-log4j12-1.5.8.jar

            lib/spring-aop-3.0.5.RELEASE.jar

            lib/spring-asm-3.0.5.RELEASE.jar

            lib/spring-beans-3.0.5.RELEASE.jar

            lib/spring-context-3.0.5.RELEASE.jar

            lib/spring-core-3.0.5.RELEASE.jar

            lib/spring-expression-3.0.5.RELEASE.jar

            lib/spring-jdbc-3.0.5.RELEASE.jar

            lib/spring-orm-3.0.5.RELEASE.jar

            lib/spring-security-acl-2.0.4.jar

            lib/spring-security-core-2.0.4.jar

            lib/spring-support-2.0.8.jar

            lib/spring-tx-3.0.5.RELEASE.jar

            lib/validation-api-1.0.0.GA.jar

            lib/xml-apis-1.0.b2.jar

            lib/persistence.jar

            • 3. Re: jboss-deployment-structure.xml not loaded
              jaikiran pai Master

              It does appear at the right location with the right name. Can you post the contents on that file and also attach the server.log?

              • 4. Re: jboss-deployment-structure.xml not loaded
                mign Newbie

                I found the problem. Don't use ark (zipper) from Linux to manipulate ear artifacts. If I do it proerly with the jar tool it works as expected.