4 Replies Latest reply on Aug 27, 2009 7:31 AM by David Hippe

    Problems deploying ecploded ear Jboss 5

    David Hippe Newbie

      Hi,

      I have an ear containing several ejb-modules and a web-module.
      I want to deploy the app in exploded format.
      For the ejb-modules the deployment seems to work.
      But the webapp folder(webapp.war) is not deployed.

      In Jboss 4 and 3 the app deploys without problems.

      Can anyone push me to the right direction or give some hints?

      Any help appreciated.

      Thanks David

        • 1. Re: Problems deploying ecploded ear Jboss 5
          Peter Johnson Master

          Exploded deployment should work the same in 5 as in 3 and 4. Please provide the following info:
          1) The exact Boss AS version
          2) Any error messages you are seeing
          3) Is the xxx.war located within the xxx.ear directory? If so, is the xxx.war mentioned in META-INF/application.xml?
          4) A complete directory listing for the xxx.war directory and all of its subdirectories (of particular interest are the complete contents of the WEB-INF directory, for the other directories your can provide an abbreviated listing, example: "WEB-INF/lib/*.jar")

          • 2. Re: Problems deploying ecploded ear Jboss 5
            David Hippe Newbie

            Thanks for the quick reply.

            1) Server-Version: JBOSS 5.1.0-GA

            2) Error Message:

            DEPLOYMENTS IN ERROR:
             Deployment "vfsfile:/D:/devel/jboss-5.1.0.GA/server/default/deploy/maportal.ear/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/D:/devel/jboss-5.1.0.GA/server/default/deploy/maportal.ear/webapp.war/ deployment failed
            


            The beginning of the StackTrace in the log is this:
            2009-08-26 08:00:58,966 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfsfile:/D:/devel/jboss-5.1.0.GA/server/default/deploy/maportal.ear/ state=PreReal mode=Manual requiredState=Real
            org.jboss.deployers.spi.DeploymentException: URL file:/D:/devel/jboss-5.1.0.GA/server/default/deploy/maportal.ear/webapp.war/ deployment failed
            


            3) Is the xxx.war located within the xxx.ear directory? If so, is the xxx.war mentioned in META-INF/application.xml?
            Yes it is in the .ear directory and it is also exploded.
            And it is mentioned in application.xml.

            4) Directory listing for xxx.war:
            webapp.war/*.jsp
            webapp.war/*.html
            webapp.war/jspdirs/*.jsp
            webapp.war/jsdirs/*.js
            webapp.war/imgdirs/*.jpg
            webapp.war/cssdirs/*.css
            webapp.war/META-INF/context.xml
            webapp.war/META-INF/MANIFEST.MF
            webapp.war/WEB-INF/*.tld
            webapp.war/WEB-INF/*.xsl
            webapp.war/WEB-INF/hdiv*.xml
            webapp.war/WEB-INF/jboss-web.xml
            webapp.war/WEB-INF/struts-config.xml
            webapp.war/WEB-INF/web.xml
            webapp.war/WEB-INF/classes/dirswithclasses/*.class
            webapp.war/WEB-INF/lib/*.jar
            


            • 3. Re: Problems deploying ecploded ear Jboss 5
              Vicky Kak Master

              I did perform some of the test and could not see the similar behavior, I did test deploying the exploded EAR with multiple exploded war's in it. Things seem to be working fine.
              Can I see the entire log details which appear the server console while deploying the exploded EAR that is causing the issue?

              • 4. Re: Problems deploying ecploded ear Jboss 5
                David Hippe Newbie

                Hi thanks for your offer.

                fortunately i just noticed that there is a problem whit some xml jars in WEB-INF/lib which seem to conflict with the ones of jboss

                David