[Installation, Configuration & Deployment] - Deploying a war with a dependency to an ear
by seeger@sitewaerts.de
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#3994295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994295
19 years, 4 months
[JBoss Seam] - Re: Basic Seam questions
by lightbulb432
That's right, I did notice a "cid" request parameter in the address bar. However, what confuses me is if I hit CONTROL+N (for a new window) or open a new tab, how does Seam know that you are now in a new conversation and not the same one? After all, isn't it the same "cid" in the request parameter?
Similarly, with the back button, how does Seam know when it builds the component tree that these components belong to a NEW conversation and not an existing one? After all, if you click back and resubmit (with the same cid in the browser bar), wouldn't it "overwrite" the current conversation?
So if I were to look at what's within the HTTP Session, would I see multiple "cid" parameters? (By the way, if not using JSP how can you manipulate and view the HTTPSession? I'm guessing that the seam Session context isn't the same object as JSP's HTTPSession?)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994291#3994291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994291
19 years, 4 months
[JBoss Seam] - Re: Cannot run Seam on Tomcat
by quilleashm
You'll probably chase your tail for a while here. If you don't want to put all the jars into the deploy you'll probably need to deactivate some of the seam built in components.
For example the one you are having trouble with now is the remoting component which you can deactivate like this
| <component class="org.jboss.seam.remoting.messaging.SubscriptionRegistry" installed="false"/>
|
inside your components.xml file. A lot of the components are installed by default but if they have functionality you don't need you can just mark this as not installed. Obviously if you do that you will lose a piece of the Seam functionality.
Look at the stack trace when you get a NoClassDefFoundError to see which component is causing the problem and then decide if you need it or not.
Cheers.
Mike.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994290#3994290
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994290
19 years, 4 months