1 Reply Latest reply on Feb 13, 2003 12:03 PM by phunsberger

    Expand WAR inside of EAR

    phunsberger

      With JBoss 3 I understand that in order to have an expanded deployment you have to expand WAR files to a directory with x.war. Is the same true when deploying from an EAR?

      I've built an EAR with a x.war directory inside it that is essentially the expanded WAR file I would normally include in the EAR. When I deploy it from JBoss I get an error that module "x.war" cannot be found (presumably as application.xml is resolved). The strange thing is, that within the deploy directory under the ear-contents I indeed get a x.war directory created but only the lib subdirectory is populated from the expanded WAR inside the EAR...

        • 1. Re: Expand WAR inside of EAR
          phunsberger

          To follow up on this: I could not find a way to deploy a ear with an expanded war inside it. The only solution appears to be to deploy an expanded ear with an expanded war inside of it. A bit of a pain, but whether it's a bug is probably debatable...