-
1. Re: CAN'T JBOSS DEPLOY EXPLODED EAR?
erezharari Oct 12, 2004 4:36 AM (in response to erezharari)any ideas?
-
2. Re: CAN'T JBOSS DEPLOY EXPLODED EAR?
starksm64 Oct 12, 2004 10:08 AM (in response to erezharari)Exploded ears work fine from within the deploy directory. Describe how you are deploying this ear outside of the default server structure.
-
3. Re: CAN'T JBOSS DEPLOY EXPLODED EAR?
erezharari Oct 13, 2004 4:40 AM (in response to erezharari)ok,
i deploy the EAR outside JBoss:
Jboss/
MyEAR/
in jboss-service.xml:<attribute name="URLs"> deploy/ ,file:/${portal.home}/IBP.ear </attribute>
thanks -
4. Re: CAN'T JBOSS DEPLOY EXPLODED EAR?
jfaerman Oct 13, 2004 8:53 AM (in response to erezharari)I tried:
file:///D:\devel\teste\teste.ear
And i also got:
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
The URL is a regular directory, with a sub-dir META-INF and a proper application.xml.
Any clue ? -
5. Re: CAN'T JBOSS DEPLOY EXPLODED EAR?
darranl Oct 14, 2004 10:25 AM (in response to erezharari)Inside the jboss-service.xml you will need to reference the directory that contains the exploded ear not the ear itself.
There is a comment that suggests this: -
Scanning is supported for remote URLs but unpacked deployment units are not.
I also had a look at the jboss-minimal.xml which contains a better comment on this: -
Any referenced directories cannot be unpackaged archives, use the parent directory of the unpacked archive. -
6. Re: CAN'T JBOSS DEPLOY EXPLODED EAR?
erezharari Oct 17, 2004 4:50 AM (in response to erezharari)GREAT!
this actually works!
i guss that is why it works under the /deploy folder..
mind u, EAR modules are not loaded in the order they are specified in application.xml..
anyone?