8 Replies Latest reply on Apr 17, 2007 4:47 PM by kuvera

    EAR deployer

    kuvera

      I have an exploded ear. All meta info is in place. At JBoss startup it is not deployed, but when I redeploy it manually with MainDeployer it IS deployed. What's wrong?

      ----------
      15:33:33,515 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Wk/prg/Java/Spekker/spekker.ear
      org.jboss.deployment.DeploymentException: No META-INF/application.xml found
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
      ...

      ----------

      <display-name>Spekker Ear</display-name>

      spekker-ejb.jar


        • 1. Re: EAR deployer
          kuvera

          The xml one more time :)

          <application>
           <display-name>Spekker Ear</display-name>
           <module>
           <ejb>spekker-ejb.jar</ejb>
           </module>
          </application>
          


          • 2. Re: EAR deployer
            peterj

            Your exploded ear directory is not located in the deploy directory. Or did you change the URLs attribute on the deployment mbean?

            • 3. Re: EAR deployer
              kuvera

              Yes, I did. I have several exploded wars, and currently this one EAR outside of deploy, and it seems OK. It is just that EAR does not deploy automatically on startup, only manually.

              • 4. Re: EAR deployer
                peterj

                What do you have the URLs attribute set to?

                • 5. Re: EAR deployer
                  kuvera

                  A little longer, but like this:

                   <attribute name="URLs">
                   deploy/,
                   file:/C:/Wk/prg/Java/Minta2/minta2.war,
                   file:/C:/Wk/prg/Java/Pdf/pdf.war,
                   file:/C:/Wk/prg/Java/Spekker/spekker.ear
                   </attribute>
                  


                  • 6. Re: EAR deployer
                    peterj

                    I wonder if you need to set the uRL to "file:///c:/..."? Seems I read somewhere that a single slash after "file:" was not enough.

                    • 7. Re: EAR deployer
                      peterj

                      Also, what version of JBoss AS are you using? The line number in the exception message does not match up with what is in 4.0.5.

                      • 8. Re: EAR deployer
                        kuvera

                        4.2.0 CR1