Hi all,
I have an ear and a extra webapp. This webapp needs the ear to be deployed. I try to
ensure this with the depends tag in jboss-web.xml.
I have:
|
<depends>jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=myapp.ear</depends>
|
But during startup of JBoss I get:
| [java] 2006-12-15 18:03:27,750 INFO deployment.EARDeployer.start() (330) -
Started J2EE application: file:/opt/jboss/server/myapp/deploy/myapp/myapp.ear
| [java] 2006-12-15 18:03:27,753 ERROR scanner.URLDeploymentScanner.scan() (660) -
Incomplete Deployment listing:
|
| [java] --- MBeans waiting for other MBeans ---
| [java] ObjectName: jboss.web.deployment:id=1719582844,war=myapp-web-1.0.war
| [java] State: NOTYETINSTALLED
| [java] I Depend On:
| [java]
jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=myapp.ear
|
| [java] --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| [java] ObjectName:
jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=myapp.ear
| [java] State: NOTYETINSTALLED
| [java] Depends On Me:
| [java] jboss.web.deployment:id=1719582844,war=myapp-web-1.0.war
|
If I start JBoss with the ear and throw in the .war file after my applications are started
my webapps works fine.
I guess I have misunderstood the usage of "depends"... Any Ideas ?
Thanks a lot
Felix
P.S. I use Jboss 4.0.5.GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994295#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...