-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002
7:23 AM
To:
[EMAIL PROTECTED]
Subject: Re: [JBoss-user] Farm
drops app on redeploy
To Jeff Schnitzer
As
I see it, you have an EAR deployer that you want to make dependant on your
datasource?
I've
just tried editing my conf/jboss-service.xml, before it was:
<!--
EAR deployer -->
<mbean
code="org.jboss.deployment.EARDeployer"
name="jboss.j2ee:service=EARDeployer">
</mbean>
Now
it's:
<!--
EAR deployer -->
<mbean
code="org.jboss.deployment.EARDeployer"
name="jboss.j2ee:service=EARDeployer">
<depends>jboss.jca:service=LocalTxCM,name=DefaultDS</depends>
</mbean>
Not
that I've had any troubles before - but imho this should have the effect that
your EAR deployer depends on your datasource (this way you make a dependancy
from "conf/" into "deploy/" - which might not be that nice
- but that's just aesthetics). From my feeble attempts it seems to have the
correct effect on my system - but that might just be coincidental.
I
haven't played that much around with this setup, but one effect might be that
if you edit the xml for your datasource, and hence redeploy your connection
pool, then your EAR deployer gets redeployed, and with it, all your EAR's
Jakob
PS:
so you're the guy to talk to for all us europeans that can get the Sims Online
Beta test CD shipped over the pond?!
(just kidding)
Jakob
Dalsgaard
Udvikler
e-mail: [EMAIL PROTECTED]
Vesterbrogade 149
1620 København V
Tlf.: 70 25 80 30
Fax.: 70 25 80 31
|
"Schnitzer, Jeff"
<[EMAIL PROTECTED]>
Sent
by: [EMAIL PROTECTED]
10/08/02 05:08 AM
Please
respond to jboss-user
|
To: <[EMAIL PROTECTED]>
cc:
Subject: [JBoss-user] Farm
drops app on redeploy
|
Hi! I have a JBoss (3.0.2/tomcat 4.0.4)
cluster (right now just 2
machines) which is farmed. For the most part, farming works (although
it seems to like to pick up my EAR before the oracle-service.xml which
provides the data source), but I just started experiencing a peculiar
bit of behavior.
A normal deploy from scratch farms out my EAR just fine; it's picked up
by both JBoss instances and all is well.
If I redeploy the application, it installs to both instances and then is
immediately removed from both instances (!)
What may have something to do with this is that my app now takes a long
time (a couple minutes) to load and initialize. Back when it was almost
instantaneous, I didn't notice this problem.
Is there something I can do about this? Also, is there some way of
forcing my EAR to deploy _after_ my oracle-service.xml?
Thanks,
Jeff Schnitzer
[EMAIL PROTECTED]
(JBoss is finding its way into The Sims Online :-)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user