RE: [JBoss-user] Farm drops app on redeploy

2002-10-15 Thread Bill Burke



I 
rewrote the farming service in 3.2 and beyond.  Should solve a lot of 
issues.  The farming service in 3.0.x is a bit limited.
 
Sorry,
 
Bill

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Schnitzer, 
  JeffSent: Tuesday, October 15, 2002 8:19 PMTo: 
  [EMAIL PROTECTED]Subject: RE: [JBoss-user] Farm 
  drops app on redeploy
  
  Thanks!  That’s 
  just what I was looking for.  At the moment I have disabled formal 
  clustering and am simply running the application as a collection of 
  independent loadbalanced nodes, but this will come in handy when I’m feeling 
  masochistic and start playing with farming again :-)
   
  Thanks,
  Jeff 
  Schnitzer
  (You can get The Sims 
  Online beta CD from Amazon for $5; I’ll bet you could convince them to ship it 
  overseas :-)
   
   
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:23 
  AMTo: 
  [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:
  Now it's: 
  
  jboss.jca:service=LocalTxCM,name=DefaultDS 
   
  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 
  DalsgaardUdviklere-mail:   
  [EMAIL PROTECTED]Vesterbrogade 1491620 København VTlf.: 
    70 25 80 30Fax.: 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 2machines) which is farmed. 
   For the most part, farming works (althoughit seems to like to pick 
  up my EAR before the oracle-service.xml whichprovides the data source), 
  but I just started experiencing a peculiarbit of behavior.A normal 
  deploy from scratch farms out my EAR just fine; it's picked upby both 
  JBoss instances and all is well.If I redeploy the application, it 
  installs to both instances and then isimmediately removed from both 
  instances (!)What may have something to do with this is that my app 
  now takes a longtime (a couple minutes) to load and initialize.  Back 
  when it was almostinstantaneous, I didn't notice this problem.Is 
  there something I can do about this?  Also, is there some way 
  offorcing 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:ThinkGeekWelcome to geek 
  heaven.http://thinkgeek.com/sf___JBoss-user 
  mailing 
  list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Farm drops app on redeploy

2002-10-15 Thread Schnitzer, Jeff








Thanks!  That’s just what I was
looking for.  At the moment I have disabled formal clustering and am simply
running the application as a collection of independent loadbalanced nodes, but
this will come in handy when I’m feeling masochistic and start playing
with farming again :-)

 

Thanks,

Jeff Schnitzer

(You can get The Sims Online beta CD from
Amazon for $5; I’ll bet you could convince them to ship it overseas :-)

 

 



-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: 

 
 



Now
it's: 

 
 
 
jboss.jca:service=LocalTxCM,name=DefaultDS




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












Re: [JBoss-user] Farm drops app on redeploy

2002-10-15 Thread jakob . dalsgaard

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:





Now it's:



  jboss.jca:service=LocalTxCM,name=DefaultDS


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




Re: [JBoss-user] Farm drops app on redeploy

2002-10-10 Thread David Jencks

On 2002.10.08 16:51:47 -0400 "Schnitzer, Jeff" wrote:
> That's good to know.  Unfortunately this application is deployed to
> several different environments (dev, qa, production) each of which must
> connect to a completely different database.  I can't really put
> oracle-service.xml in the ear.

Why not?  Include a replaceable token in your source oracle-service.xml
file, and replace it with ant copy+filtering to the appropriate db.  You
need to do something like this anyway to get the different dbs, why not do
it before constructing the .ear.  You can include something about option in
the name of the .ear to avoid confusion about what you are dealing with.

david jencks
> 
> Out of curiosity, what is the problem causing this?  Is it that farmed
> apps are automatically deployed when the farm-service starts?  If so, is
> there some magic dependency I can put in the farm-service.xml that will
> guarantee that it starts last?  Or at least after oracle-service?
> 
> Does anyone out there have a working farm?
> 
> Thanks,
> Jeff Schnitzer
> [EMAIL PROTECTED]
> 
> > -Original Message-
> > From: David Jencks [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 08, 2002 5:06 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] Farm drops app on redeploy
> > 
> > I don't know about the farm service.
> > 
> > I'd suggest including oracle-service.xml in the .ear.  You need a
> > jboss-app.xml with it listed as a module
> > 
> > 
> >   
> >  oracle-service.xml
> >   
> > 
> > 
> > This syntax is from memory.  I think this feature is in the 3.0
> branch.
> > 
> > david jencks
> > 
> > On 2002.10.07 23:08:26 -0400 "Schnitzer, Jeff" wrote:
> > > 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
> > >
> > >
> > 
> > 
> > ---
> > 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
> 
> 
> ---
> 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
> 
> 


---
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



RE: [JBoss-user] Farm drops app on redeploy

2002-10-08 Thread Schnitzer, Jeff

That's good to know.  Unfortunately this application is deployed to
several different environments (dev, qa, production) each of which must
connect to a completely different database.  I can't really put
oracle-service.xml in the ear.

Out of curiosity, what is the problem causing this?  Is it that farmed
apps are automatically deployed when the farm-service starts?  If so, is
there some magic dependency I can put in the farm-service.xml that will
guarantee that it starts last?  Or at least after oracle-service?

Does anyone out there have a working farm?

Thanks,
Jeff Schnitzer
[EMAIL PROTECTED]

> -Original Message-
> From: David Jencks [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 5:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Farm drops app on redeploy
> 
> I don't know about the farm service.
> 
> I'd suggest including oracle-service.xml in the .ear.  You need a
> jboss-app.xml with it listed as a module
> 
> 
>   
>  oracle-service.xml
>   
> 
> 
> This syntax is from memory.  I think this feature is in the 3.0
branch.
> 
> david jencks
> 
> On 2002.10.07 23:08:26 -0400 "Schnitzer, Jeff" wrote:
> > 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
> >
> >
> 
> 
> ---
> 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


---
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



Re: [JBoss-user] Farm drops app on redeploy

2002-10-08 Thread David Jencks

I don't know about the farm service.

I'd suggest including oracle-service.xml in the .ear.  You need a
jboss-app.xml with it listed as a module


  
 oracle-service.xml
  


This syntax is from memory.  I think this feature is in the 3.0 branch.

david jencks

On 2002.10.07 23:08:26 -0400 "Schnitzer, Jeff" wrote:
> 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
> 
> 


---
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



[JBoss-user] Farm drops app on redeploy

2002-10-07 Thread Schnitzer, Jeff

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