RE: [JBoss-user] Clustering Problem in Jboss3.2.3Rc1_Jetty4.2.14

2004-01-05 Thread Sacha Labourey
Ok, then if it simply hangs, I need a full thread stack dump (CTRL+BREAK
on Windows)

Cheers,


sacha 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Nishant Aggarwal
 Sent: mercredi, 31. décembre 2003 05:34
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem in 
 Jboss3.2.3Rc1_Jetty4.2.14
 
 Hi Sacha,
 Thanks for the response!
 Actually ,there is no error from cluster.log as I can see from it.I
 thought that the below scenario would have explained the 
 situation. But,
 nevertheless ,here's the whole problem description:
 -
 I am running JBoss server as a thread in my application and 
 one more thread
 is waiting for it to complete for a time period of 5 
 minutes.There is a ping
 java thread running in my system which just ping on a machine 
 after some
 time interval and returns.
 Above scenario used to work fine in clustering mode for
 JBoss3.2.2RC3_Jetty4.2.11,except for additional data issue.All my
 application ears(2 in number) used to deploy successfully in 
 the given time.
 Now since we needed to move to 
 JBoss3.2.3RC1_Jetty4.2.11[JDK1.4.2],JBoss
 server itself fails to start itself completely.
 It only deploys one of my ear file and the other one never gets any
 chance.One particular observation was that ,it waits for a 
 considerable
 amount of time once, it starts deploying cluster-service 
 xml. I am seeing
 only my ping thread output after the cluster-service.xml 
 deployment.
 Before cluster-service.xml file deployment,everything 
 deploys as it used
 to do as I can see from server.log.
 -
 
 Pls let me know in case of any more inputs!
 
 Thanks in advance,
 Nishant.
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sacha
 Labourey
 Sent: Tuesday, December 30, 2003 6:38 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem in
 Jboss3.2.3Rc1_Jetty4.2.14
 
 
 We need the stacktrace of the errors at least.
 
 sacha
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Nishant Aggarwal
  Sent: mercredi, 31. décembre 2003 05:03
  To: [EMAIL PROTECTED]
  Subject: [JBoss-user] Clustering Problem in 
 Jboss3.2.3Rc1_Jetty4.2.14
 
  Hi,
  I have an application which used to run on JBoss3.2.2RC3_jetty4.2.11
  [JDK1.3.1_08].
  Since there was some problem in clustering[(additional data)
  not coming]
  with the above version,we had decided to move to
  JBoss3.2.3RC1_jetty4.2.14[JDK1.4.2].
  But in this release(3.2.3RC1),we have encountered another
  problem ,due to
  which my application ears fail to deploy completely,if the
  cluster-service is run.
  Here is the problem description:
  1.If the cluster-service.xml is there,then one of my 
 application ear
  deploys successfully,but other one fails.
  2.If I remove cluster-service.xml,both of my application
  ears get deployed
  successfully ,no probs,like the way they used to do in 
 Jboss3.2.2RC3.
 
  NOTE:I used to run the above application in Jboss3.2.2RC3
  in cluster mode
  without any deployment issues as mentioned above.
 
  Any help would be greatly appreciated!
 
  Thanks in advance,
  Nishant.
 
 
 
 
  ---
  This SF.net email is sponsored by: IBM Linux Tutorials.
  Become an expert in LINUX or just sharpen your skills.  Sign
  up for IBM's
  Free Linux Tutorials.  Learn everything from the bash shell
  to sys admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign 
 up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell 
 to sys admin.
 Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign 
 up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell 
 to sys admin.
 Click now! http://ads.osdn.com/?ad_id78alloc_id371op=ick
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http

RE: [JBoss-user] Clustering Problem in Jboss3.2.3Rc1_Jetty4.2.14

2003-12-30 Thread Sacha Labourey
We need the stacktrace of the errors at least.

sacha 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Nishant Aggarwal
 Sent: mercredi, 31. décembre 2003 05:03
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Clustering Problem in Jboss3.2.3Rc1_Jetty4.2.14
 
 Hi,
 I have an application which used to run on JBoss3.2.2RC3_jetty4.2.11
 [JDK1.3.1_08].
 Since there was some problem in clustering[(additional data) 
 not coming]
 with the above version,we had decided to move to
 JBoss3.2.3RC1_jetty4.2.14[JDK1.4.2].
 But in this release(3.2.3RC1),we have encountered another 
 problem ,due to
 which my application ears fail to deploy completely,if the
 cluster-service is run.
 Here is the problem description:
 1.If the cluster-service.xml is there,then one of my application ear
 deploys successfully,but other one fails.
 2.If I remove cluster-service.xml,both of my application 
 ears get deployed
 successfully ,no probs,like the way they used to do in Jboss3.2.2RC3.
 
 NOTE:I used to run the above application in Jboss3.2.2RC3 
 in cluster mode
 without any deployment issues as mentioned above.
 
 Any help would be greatly appreciated!
 
 Thanks in advance,
 Nishant.
 
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign 
 up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell 
 to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Clustering Problem in Jboss3.2.3Rc1_Jetty4.2.14

2003-12-30 Thread Nishant Aggarwal
Hi Sacha,
Thanks for the response!
Actually ,there is no error from cluster.log as I can see from it.I
thought that the below scenario would have explained the situation. But,
nevertheless ,here's the whole problem description:
-
I am running JBoss server as a thread in my application and one more thread
is waiting for it to complete for a time period of 5 minutes.There is a ping
java thread running in my system which just ping on a machine after some
time interval and returns.
Above scenario used to work fine in clustering mode for
JBoss3.2.2RC3_Jetty4.2.11,except for additional data issue.All my
application ears(2 in number) used to deploy successfully in the given time.
Now since we needed to move to JBoss3.2.3RC1_Jetty4.2.11[JDK1.4.2],JBoss
server itself fails to start itself completely.
It only deploys one of my ear file and the other one never gets any
chance.One particular observation was that ,it waits for a considerable
amount of time once, it starts deploying cluster-service xml. I am seeing
only my ping thread output after the cluster-service.xml deployment.
Before cluster-service.xml file deployment,everything deploys as it used
to do as I can see from server.log.
-

Pls let me know in case of any more inputs!

Thanks in advance,
Nishant.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sacha
Labourey
Sent: Tuesday, December 30, 2003 6:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Clustering Problem in
Jboss3.2.3Rc1_Jetty4.2.14


We need the stacktrace of the errors at least.

sacha

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Nishant Aggarwal
 Sent: mercredi, 31. décembre 2003 05:03
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Clustering Problem in Jboss3.2.3Rc1_Jetty4.2.14

 Hi,
 I have an application which used to run on JBoss3.2.2RC3_jetty4.2.11
 [JDK1.3.1_08].
 Since there was some problem in clustering[(additional data)
 not coming]
 with the above version,we had decided to move to
 JBoss3.2.3RC1_jetty4.2.14[JDK1.4.2].
 But in this release(3.2.3RC1),we have encountered another
 problem ,due to
 which my application ears fail to deploy completely,if the
 cluster-service is run.
 Here is the problem description:
 1.If the cluster-service.xml is there,then one of my application ear
 deploys successfully,but other one fails.
 2.If I remove cluster-service.xml,both of my application
 ears get deployed
 successfully ,no probs,like the way they used to do in Jboss3.2.2RC3.

 NOTE:I used to run the above application in Jboss3.2.2RC3
 in cluster mode
 without any deployment issues as mentioned above.

 Any help would be greatly appreciated!

 Thanks in advance,
 Nishant.




 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign
 up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell
 to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering problem with starting nodes in cluster

2003-11-20 Thread Rafal Kedziorski
At 14:51 20.11.2003, Rafal Kedziorski wrote:
hi,

we have some problems with clustering. Our buyed clustering docs, can't 
help us. We are working with JBoss 3.2.2 and Jetty 4.2.11. We are testing 
on Windows XP. JGroups is using TCP for sending messages.

We have two nodes. If we start our second node after the first is 
deployed, than this is sometimes successfully. We have no idea why this 
happens. This is our configuration:

attribute name=PartitionConfig
  Config
TCP start_port=7800 /
TCPPING initial_hosts=prog-01[7800],prog-02[7800]
port_range=5 timeout=3000 num_initial_members=2
up_thread=true down_thread=true /
MERGE2 min_interval=5000 max_interval=1 /
FD shun=true up_thread=true down_thread=true
timeout=2500 max_tries=5 /
VERIFY_SUSPECT timeout=3000 num_msgs=3
up_thread=true down_thread=true /
pbcast.NAKACK gc_lag=50 
retransmit_timeout=300,600,1200,2400,4800
   up_thread=true down_thread=true /
pbcast.STABLE desired_avg_gossip=2
   up_thread=true down_thread=true /
UNICAST timeout=5000 window_size=100 min_threshold=10
 down_thread=true /
FRAG frag_size=8192
  down_thread=true up_thread=true /
pbcast.GMS join_timeout=5000 join_retry_timeout=2000
shun=true print_local_addr=true /
pbcast.STATE_TRANSFER up_thread=true down_thread=true /
  /Config
/attribute
  /mbean

What means initial_hosts in TCPPING tag? Whould there be all hosts in 
cluster (included myself)?
With UDP it works fine.

Rafal 



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering problem with starting nodes in cluster

2003-11-20 Thread Bela Ban


Rafal Kedziorski wrote:

hi,

we have some problems with clustering. Our buyed clustering docs, 
can't help us. We are working with JBoss 3.2.2 and Jetty 4.2.11. We 
are testing on Windows XP. JGroups is using TCP for sending messages.

We have two nodes. If we start our second node after the first is 
deployed, than this is sometimes successfully. We have no idea why 
this happens. This is our configuration:

attribute name=PartitionConfig
  Config
TCP start_port=7800 /
TCPPING initial_hosts=prog-01[7800],prog-02[7800]
port_range=5 timeout=3000 num_initial_members=2
up_thread=true down_thread=true /
MERGE2 min_interval=5000 max_interval=1 /
FD shun=true up_thread=true down_thread=true
timeout=2500 max_tries=5 /
VERIFY_SUSPECT timeout=3000 num_msgs=3
up_thread=true down_thread=true /
pbcast.NAKACK gc_lag=50 
retransmit_timeout=300,600,1200,2400,4800
   up_thread=true down_thread=true /
pbcast.STABLE desired_avg_gossip=2
   up_thread=true down_thread=true /
UNICAST timeout=5000 window_size=100 min_threshold=10
 down_thread=true /
FRAG frag_size=8192
  down_thread=true up_thread=true /
pbcast.GMS join_timeout=5000 join_retry_timeout=2000
shun=true print_local_addr=true /
pbcast.STATE_TRANSFER up_thread=true down_thread=true /
  /Config
/attribute
  /mbean

What means initial_hosts in TCPPING tag? Whould there be all hosts in 
cluster (included myself)? 


You can (but don't need to) include yourself. initial_hosts is used to 
lookup the members when a new node joins. You may want to used bind_addr 
in TCP if you have multi-homed boxes. Other than that I didn't 
understand what your problem was ... ?

--
Bela Ban
http://www.jgroups.org
Cell: (408) 316-4459


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering problem with starting nodes in cluster

2003-11-20 Thread Rafal Kedziorski
At 09:56 20.11.2003 -0800, Bela Ban wrote:


Rafal Kedziorski wrote:

hi,

we have some problems with clustering. Our buyed clustering docs, can't 
help us. We are working with JBoss 3.2.2 and Jetty 4.2.11. We are testing 
on Windows XP. JGroups is using TCP for sending messages.

We have two nodes. If we start our second node after the first is 
deployed, than this is sometimes successfully. We have no idea why this 
happens. This is our configuration:

attribute name=PartitionConfig
  Config
TCP start_port=7800 /
TCPPING initial_hosts=prog-01[7800],prog-02[7800]
port_range=5 timeout=3000 num_initial_members=2
up_thread=true down_thread=true /
MERGE2 min_interval=5000 max_interval=1 /
FD shun=true up_thread=true down_thread=true
timeout=2500 max_tries=5 /
VERIFY_SUSPECT timeout=3000 num_msgs=3
up_thread=true down_thread=true /
pbcast.NAKACK gc_lag=50 
retransmit_timeout=300,600,1200,2400,4800
   up_thread=true down_thread=true /
pbcast.STABLE desired_avg_gossip=2
   up_thread=true down_thread=true /
UNICAST timeout=5000 window_size=100 min_threshold=10
 down_thread=true /
FRAG frag_size=8192
  down_thread=true up_thread=true /
pbcast.GMS join_timeout=5000 join_retry_timeout=2000
shun=true print_local_addr=true /
pbcast.STATE_TRANSFER up_thread=true down_thread=true /
  /Config
/attribute
  /mbean

What means initial_hosts in TCPPING tag? Whould there be all hosts in 
cluster (included myself)?


You can (but don't need to) include yourself. initial_hosts is used to 
lookup the members when a new node joins. You may want to used bind_addr 
in TCP if you have multi-homed boxes. Other than that I didn't understand 
what your problem was ... ?
thx. This is now working thru UDP.

Rafal 



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Clustering Problem

2003-07-30 Thread Sacha Labourey
What are you trying to do when you do this. Here, I suspect that you have
either:
 - mixed different JBoss versions/releases in the same cluster
 - have deployed different versions of some EJB in each node of your cluster

Please, check again.

Cheers,


Sacha

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Nishant Aggarwal
 Sent: mercredi, 30 juillet 2003 19:09
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem
 
 
 Hi Sacha,
 Thanks for the help! It's working on NFS system in the 
 3.2.2RC2 release available!
 
 But I am getting the following ClassCastException in the 
 server log for
 3.2.2RC2:
 -
 09:33:51,658 INFO  [ClusteredHTTPSessionService] Starting 
 09:33:51,784 WARN  [HAJNDI] Problem restoring state to 
 HA-JNDI java.lang.ClassCastException
 at org.jboss.ha.jndi.HAJNDI.setCurrentState(HAJNDI.java:101)
 at
 org.jboss.ha.framework.server.HAPartitionImpl.setState(HAParti
 tionImpl.java:
 342)
 at 
 org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.passUp
 (MessageDispat
 cher.java:468)
 at
 org.javagroups.blocks.RequestCorrelator.receive(RequestCorrela
 tor.java:294)
 at 
 org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.up(Mes
 sageDispatcher
 .java:513)
 at org.javagroups.JChannel.up(JChannel.java:841)
 at 
 org.javagroups.stack.ProtocolStack.up(ProtocolStack.java:302)
 at
 org.javagroups.stack.ProtocolStack.receiveUpEvent(ProtocolStac
 k.java:318)
 at org.javagroups.stack.Protocol.passUp(Protocol.java:470)
 at 
 org.javagroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(
 STATE_TRANSFER
 .java:316)
 at
 org.javagroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSF
 ER.java:123)
 at org.javagroups.stack.UpHandler.run(Protocol.java:55)
 09:33:51,961 INFO  [ClusteredHTTPSessionService] Started
 --
 --
 
 Can you pls help on this?
 
 Thanks in advance,
 Nishant.
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of 
 Sacha Labourey
 Sent: Tuesday, July 29, 2003 6:33 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem
 
 
 I just did exactly that with:
  - 3.2.2RC2
  - Branch_3_2 (future RC3)
 
 And it works as expected. Could you please try again on a 
 non-NFS filesystem?
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf 
 Of Nishant 
  Aggarwal
  Sent: lundi, 28. juillet 2003 21:24
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  Hello Sacha,
  Following is the procedure:
  1.Install JBoss3.2.2RC1 in /user/sacha/Jboss3.2.2 and another 
  instance in /user/sacha/server2/Jboss3.2.2 dir.
  2.
  a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss instance
  on one Solaris
  machine and
  b)After server 1 comes up,start server 2 jboss
  instance(/user/sacha/server2/Jboss3.2.2) on some other
  Solaris machine on
  the same NFS system.The jboss server deploy mode is all.
  3.Now,put the jar(Hello.jar) attached under server 1 all/farm
  directory.Server 2 picks it up and it deploys in server 2
  all/farm dir
  also.
  4.Delete the Hello.jar from all/farm dir of server 1.It is
  successfully
  undeployed from
  server 1 and server 2.
  5.Now,put the same jar in server 2.Only server 2 deploys
  it.Server 1(which
  was brought
  up first) doesn't get any notification of this and its
  oblivious of this
  deployment.
 
  I am attaching the sample jar I used for my testing!
 
  HTH,
  Nishant.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Sacha 
  Labourey
  Sent: Sunday, July 27, 2003 11:16 PM
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  If you have a small example and procedure (starting from a raw JBoss
  installation) that consistently fails, please send it to me.
 
  Cheers,
 
 
  Sacha
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf 
 Of Nishant 
   Aggarwal
   Sent: lundi, 28 juillet 2003 18:47
   To: [EMAIL PROTECTED]
   Subject: RE: [JBoss-user] Clustering Problem
  
  
   Hi Kevin,
   Thanks for the info!
   I don't know if 3.2.2RC2 will sort out this 
 issue.Becaz,the problem 
   seems to be with order in which the servers in cluster were 
   started. As asked by you,I had put the jar in server 2 after 
   removing the jar from one of the servers.Thus undeploying 
 it before 
   deploying it!
  
   Any help would be appreciated!
  
   Thanks  Regards,
   Nishant.
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of Kevin 
   Duffey
   Sent: Friday, July 25, 2003 10:10 AM
   To: [EMAIL PROTECTED]
   Subject: Re: [JBoss-user] Clustering Problem

RE: [JBoss-user] Clustering Problem

2003-07-30 Thread Nishant Aggarwal
Hi Sacha,
Thanks for the help! One more jboss of different version was running
before on NFS!!
Its working fine now after changing AutoDiscovery address and group as
well as multicast address in cluster-service.xml ,for my JBoss version.

Thanks a ton,
Nishant.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sacha
Labourey
Sent: Wednesday, July 30, 2003 12:28 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Clustering Problem


What are you trying to do when you do this. Here, I suspect that you have
either:
 - mixed different JBoss versions/releases in the same cluster
 - have deployed different versions of some EJB in each node of your cluster

Please, check again.

Cheers,


Sacha

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Nishant Aggarwal
 Sent: mercredi, 30 juillet 2003 19:09
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem


 Hi Sacha,
 Thanks for the help! It's working on NFS system in the
 3.2.2RC2 release available!

 But I am getting the following ClassCastException in the
 server log for
 3.2.2RC2:
 -
 09:33:51,658 INFO  [ClusteredHTTPSessionService] Starting
 09:33:51,784 WARN  [HAJNDI] Problem restoring state to
 HA-JNDI java.lang.ClassCastException
 at org.jboss.ha.jndi.HAJNDI.setCurrentState(HAJNDI.java:101)
 at
 org.jboss.ha.framework.server.HAPartitionImpl.setState(HAParti
 tionImpl.java:
 342)
 at
 org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.passUp
 (MessageDispat
 cher.java:468)
 at
 org.javagroups.blocks.RequestCorrelator.receive(RequestCorrela
 tor.java:294)
 at
 org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.up(Mes
 sageDispatcher
 .java:513)
 at org.javagroups.JChannel.up(JChannel.java:841)
 at
 org.javagroups.stack.ProtocolStack.up(ProtocolStack.java:302)
 at
 org.javagroups.stack.ProtocolStack.receiveUpEvent(ProtocolStac
 k.java:318)
 at org.javagroups.stack.Protocol.passUp(Protocol.java:470)
 at
 org.javagroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(
 STATE_TRANSFER
 .java:316)
 at
 org.javagroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSF
 ER.java:123)
 at org.javagroups.stack.UpHandler.run(Protocol.java:55)
 09:33:51,961 INFO  [ClusteredHTTPSessionService] Started
 --
 --

 Can you pls help on this?

 Thanks in advance,
 Nishant.





 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Sacha Labourey
 Sent: Tuesday, July 29, 2003 6:33 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem


 I just did exactly that with:
  - 3.2.2RC2
  - Branch_3_2 (future RC3)

 And it works as expected. Could you please try again on a
 non-NFS filesystem?

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
 Of Nishant
  Aggarwal
  Sent: lundi, 28. juillet 2003 21:24
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  Hello Sacha,
  Following is the procedure:
  1.Install JBoss3.2.2RC1 in /user/sacha/Jboss3.2.2 and another
  instance in /user/sacha/server2/Jboss3.2.2 dir.
  2.
  a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss instance
  on one Solaris
  machine and
  b)After server 1 comes up,start server 2 jboss
  instance(/user/sacha/server2/Jboss3.2.2) on some other
  Solaris machine on
  the same NFS system.The jboss server deploy mode is all.
  3.Now,put the jar(Hello.jar) attached under server 1 all/farm
  directory.Server 2 picks it up and it deploys in server 2
  all/farm dir
  also.
  4.Delete the Hello.jar from all/farm dir of server 1.It is
  successfully
  undeployed from
  server 1 and server 2.
  5.Now,put the same jar in server 2.Only server 2 deploys
  it.Server 1(which
  was brought
  up first) doesn't get any notification of this and its
  oblivious of this
  deployment.
 
  I am attaching the sample jar I used for my testing!
 
  HTH,
  Nishant.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Sacha
  Labourey
  Sent: Sunday, July 27, 2003 11:16 PM
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  If you have a small example and procedure (starting from a raw JBoss
  installation) that consistently fails, please send it to me.
 
  Cheers,
 
 
  Sacha
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf
 Of Nishant
   Aggarwal
   Sent: lundi, 28 juillet 2003 18:47
   To: [EMAIL PROTECTED]
   Subject: RE: [JBoss-user] Clustering Problem
  
  
   Hi Kevin,
   Thanks for the info!
   I don't know if 3.2.2RC2 will sort out this
 issue.Becaz,the problem
   seems to be with order in which the servers in cluster were
   started. As asked

RE: [JBoss-user] Clustering Problem

2003-07-29 Thread Sacha Labourey

 I have also seen this behavior.
 
 Sacha, any idea when re-deploying without first
 deleting is going to work? It seems odd to me that it
 works locally just fine, but it can't seem to
 propogate the change to other nodes in the cluster. 

Was that on NFS? I've just tried now and it works (3.2.2RC2 and Branch_3_2)




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Clustering Problem

2003-07-29 Thread Sacha Labourey
I just did exactly that with:
 - 3.2.2RC2
 - Branch_3_2 (future RC3)

And it works as expected. Could you please try again on a non-NFS
filesystem?

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Nishant Aggarwal
 Sent: lundi, 28. juillet 2003 21:24
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem
 
 
 Hello Sacha,
 Following is the procedure:
 1.Install JBoss3.2.2RC1 in /user/sacha/Jboss3.2.2 and 
 another instance in
 /user/sacha/server2/Jboss3.2.2 dir.
 2.
 a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss instance 
 on one Solaris
 machine and
 b)After server 1 comes up,start server 2 jboss
 instance(/user/sacha/server2/Jboss3.2.2) on some other 
 Solaris machine on
 the same NFS system.The jboss server deploy mode is all.
 3.Now,put the jar(Hello.jar) attached under server 1 all/farm
 directory.Server 2 picks it up and it deploys in server 2 
 all/farm dir
 also.
 4.Delete the Hello.jar from all/farm dir of server 1.It is 
 successfully
 undeployed from
 server 1 and server 2.
 5.Now,put the same jar in server 2.Only server 2 deploys 
 it.Server 1(which
 was brought
 up first) doesn't get any notification of this and its 
 oblivious of this
 deployment.
 
 I am attaching the sample jar I used for my testing!
 
 HTH,
 Nishant.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sacha
 Labourey
 Sent: Sunday, July 27, 2003 11:16 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem
 
 
 If you have a small example and procedure (starting from a raw JBoss
 installation) that consistently fails, please send it to me.
 
 Cheers,
 
 
   Sacha
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Nishant Aggarwal
  Sent: lundi, 28 juillet 2003 18:47
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  Hi Kevin,
  Thanks for the info!
  I don't know if 3.2.2RC2 will sort out this issue.Becaz,the
  problem seems to be with order in which the servers in
  cluster were started. As asked by you,I had put the jar in
  server 2 after removing the jar from one of the servers.Thus
  undeploying it before deploying it!
 
  Any help would be appreciated!
 
  Thanks  Regards,
  Nishant.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  Kevin Duffey
  Sent: Friday, July 25, 2003 10:10 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Clustering Problem
 
 
  Did you put it in node 2 when both were clean?
  Re-deploying of apps in the /farm dir doesn't seem to
  work in RC1. You may want to get the very latest RC2
  that just came out two days or so ago. That may have
  fixed it, but I haven't tried yet. Anywho, I also note
  that the only thing that works with farming is if you
  first deploy it (clean deploy), it propery farms. If
  you delete it out of one node, it then properly
  undeletes it out of other nodes. So, as of now, to
  redeploy, first delete it, then add it again.
  Shouldn't be this way, so hopefully RC2 fixes that
  problem.
 
  --- Nishant Aggarwal [EMAIL PROTECTED]
  wrote:
   Hi All,
   I am working on JBoss 3.2.2RC1 and trying out
   clustering!
   I am running 2 different JBoss on different machines
   in clustering mode,ie,
   the 2 JBoss servers are started as run.sh -c all.
   Now , I have a simple SLSB Hello.jar with
   clusteredtrue/clustered specified
   in jboss.xml file.
  
   Now, I tested 2 cases:
   1.I try to put the above jar in the directory
   (all/farm) of the server
   started first.The Hello.jar gets deployed in both
   the servers and I can
   see it in
   corresponding all/farm dirs.
   2.I try to put the above jar in the directory
   (all/farm) of the server
   started second.The Hello.jar gets deployed only
   in second server and
   first
   server doesn't have any clue!
  
   Can you pls help me out?Is there concept of
   Master/Slave etc?
   Thanks in advance,
   Nish
  
  
  
  
  ---
   This SF.Net email sponsored by: Free pre-built
   ASP.NET sites including
   Data Reports, E-commerce, Portals, and Forums are
   available now.
   Download today and enter to win an XBOX or Visual
   Studio .NET.
  
  http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet
  _072303_01/01
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
  
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
  __
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site design
  software http://sitebuilder.yahoo.com
 
 
  ---
  This SF.Net email sponsored by: Free pre-built ASP.NET sites
  including Data Reports, E-commerce, Portals, and Forums are
  available now. Download today and enter to win an XBOX or
  Visual Studio .NET

RE: [JBoss-user] Clustering Problem

2003-07-29 Thread Nishant Aggarwal
Hi Sacha,
Thanks for the help! It's working on NFS system in the 3.2.2RC2 release
available!

But I am getting the following ClassCastException in the server log for
3.2.2RC2:
-
09:33:51,658 INFO  [ClusteredHTTPSessionService] Starting
09:33:51,784 WARN  [HAJNDI] Problem restoring state to HA-JNDI
java.lang.ClassCastException
at org.jboss.ha.jndi.HAJNDI.setCurrentState(HAJNDI.java:101)
at
org.jboss.ha.framework.server.HAPartitionImpl.setState(HAPartitionImpl.java:
342)
at
org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispat
cher.java:468)
at
org.javagroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:294)
at
org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher
.java:513)
at org.javagroups.JChannel.up(JChannel.java:841)
at org.javagroups.stack.ProtocolStack.up(ProtocolStack.java:302)
at
org.javagroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:318)
at org.javagroups.stack.Protocol.passUp(Protocol.java:470)
at
org.javagroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(STATE_TRANSFER
.java:316)
at
org.javagroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:123)
at org.javagroups.stack.UpHandler.run(Protocol.java:55)
09:33:51,961 INFO  [ClusteredHTTPSessionService] Started


Can you pls help on this?

Thanks in advance,
Nishant.





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sacha
Labourey
Sent: Tuesday, July 29, 2003 6:33 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Clustering Problem


I just did exactly that with:
 - 3.2.2RC2
 - Branch_3_2 (future RC3)

And it works as expected. Could you please try again on a non-NFS
filesystem?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Nishant Aggarwal
 Sent: lundi, 28. juillet 2003 21:24
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem


 Hello Sacha,
 Following is the procedure:
 1.Install JBoss3.2.2RC1 in /user/sacha/Jboss3.2.2 and
 another instance in
 /user/sacha/server2/Jboss3.2.2 dir.
 2.
 a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss instance
 on one Solaris
 machine and
 b)After server 1 comes up,start server 2 jboss
 instance(/user/sacha/server2/Jboss3.2.2) on some other
 Solaris machine on
 the same NFS system.The jboss server deploy mode is all.
 3.Now,put the jar(Hello.jar) attached under server 1 all/farm
 directory.Server 2 picks it up and it deploys in server 2
 all/farm dir
 also.
 4.Delete the Hello.jar from all/farm dir of server 1.It is
 successfully
 undeployed from
 server 1 and server 2.
 5.Now,put the same jar in server 2.Only server 2 deploys
 it.Server 1(which
 was brought
 up first) doesn't get any notification of this and its
 oblivious of this
 deployment.

 I am attaching the sample jar I used for my testing!

 HTH,
 Nishant.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sacha
 Labourey
 Sent: Sunday, July 27, 2003 11:16 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem


 If you have a small example and procedure (starting from a raw JBoss
 installation) that consistently fails, please send it to me.

 Cheers,


   Sacha

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Nishant Aggarwal
  Sent: lundi, 28 juillet 2003 18:47
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  Hi Kevin,
  Thanks for the info!
  I don't know if 3.2.2RC2 will sort out this issue.Becaz,the
  problem seems to be with order in which the servers in
  cluster were started. As asked by you,I had put the jar in
  server 2 after removing the jar from one of the servers.Thus
  undeploying it before deploying it!
 
  Any help would be appreciated!
 
  Thanks  Regards,
  Nishant.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  Kevin Duffey
  Sent: Friday, July 25, 2003 10:10 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Clustering Problem
 
 
  Did you put it in node 2 when both were clean?
  Re-deploying of apps in the /farm dir doesn't seem to
  work in RC1. You may want to get the very latest RC2
  that just came out two days or so ago. That may have
  fixed it, but I haven't tried yet. Anywho, I also note
  that the only thing that works with farming is if you
  first deploy it (clean deploy), it propery farms. If
  you delete it out of one node, it then properly
  undeletes it out of other nodes. So, as of now, to
  redeploy, first delete it, then add it again.
  Shouldn't be this way, so hopefully RC2 fixes that
  problem.
 
  --- Nishant Aggarwal [EMAIL PROTECTED]
  wrote:
   Hi All,
   I am working on JBoss 3.2.2RC1

RE: [JBoss-user] Clustering Problem

2003-07-28 Thread Sacha Labourey
If you have a small example and procedure (starting from a raw JBoss
installation) that consistently fails, please send it to me.

Cheers,


Sacha

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Nishant Aggarwal
 Sent: lundi, 28 juillet 2003 18:47
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem
 
 
 Hi Kevin,
 Thanks for the info!
 I don't know if 3.2.2RC2 will sort out this issue.Becaz,the 
 problem seems to be with order in which the servers in 
 cluster were started. As asked by you,I had put the jar in 
 server 2 after removing the jar from one of the servers.Thus 
 undeploying it before deploying it!
 
 Any help would be appreciated!
 
 Thanks  Regards,
 Nishant.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of 
 Kevin Duffey
 Sent: Friday, July 25, 2003 10:10 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Clustering Problem
 
 
 Did you put it in node 2 when both were clean?
 Re-deploying of apps in the /farm dir doesn't seem to
 work in RC1. You may want to get the very latest RC2
 that just came out two days or so ago. That may have
 fixed it, but I haven't tried yet. Anywho, I also note
 that the only thing that works with farming is if you
 first deploy it (clean deploy), it propery farms. If
 you delete it out of one node, it then properly
 undeletes it out of other nodes. So, as of now, to
 redeploy, first delete it, then add it again.
 Shouldn't be this way, so hopefully RC2 fixes that
 problem.
 
 --- Nishant Aggarwal [EMAIL PROTECTED]
 wrote:
  Hi All,
  I am working on JBoss 3.2.2RC1 and trying out
  clustering!
  I am running 2 different JBoss on different machines
  in clustering mode,ie,
  the 2 JBoss servers are started as run.sh -c all.
  Now , I have a simple SLSB Hello.jar with 
  clusteredtrue/clustered specified
  in jboss.xml file.
 
  Now, I tested 2 cases:
  1.I try to put the above jar in the directory
  (all/farm) of the server
  started first.The Hello.jar gets deployed in both
  the servers and I can
  see it in
  corresponding all/farm dirs.
  2.I try to put the above jar in the directory
  (all/farm) of the server
  started second.The Hello.jar gets deployed only
  in second server and
  first
  server doesn't have any clue!
 
  Can you pls help me out?Is there concept of
  Master/Slave etc?
  Thanks in advance,
  Nish
 
 
 
 
 ---
  This SF.Net email sponsored by: Free pre-built
  ASP.NET sites including
  Data Reports, E-commerce, Portals, and Forums are
  available now.
  Download today and enter to win an XBOX or Visual
  Studio .NET.
 
 http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet
 _072303_01/01
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
 
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design 
 software http://sitebuilder.yahoo.com
 
 
 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites 
 including Data Reports, E-commerce, Portals, and Forums are 
 available now. Download today and enter to win an XBOX or 
 Visual Studio .NET. 
 http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet
_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Clustering Problem

2003-07-28 Thread Nishant Aggarwal
Hello Sacha,
Following is the procedure:
1.Install JBoss3.2.2RC1 in /user/sacha/Jboss3.2.2 and another instance in
/user/sacha/server2/Jboss3.2.2 dir.
2.
a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss instance on one Solaris
machine and
b)After server 1 comes up,start server 2 jboss
instance(/user/sacha/server2/Jboss3.2.2) on some other Solaris machine on
the same NFS system.The jboss server deploy mode is all.
3.Now,put the jar(Hello.jar) attached under server 1 all/farm
directory.Server 2 picks it up and it deploys in server 2 all/farm dir
also.
4.Delete the Hello.jar from all/farm dir of server 1.It is successfully
undeployed from
server 1 and server 2.
5.Now,put the same jar in server 2.Only server 2 deploys it.Server 1(which
was brought
up first) doesn't get any notification of this and its oblivious of this
deployment.

I am attaching the sample jar I used for my testing!

HTH,
Nishant.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sacha
Labourey
Sent: Sunday, July 27, 2003 11:16 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Clustering Problem


If you have a small example and procedure (starting from a raw JBoss
installation) that consistently fails, please send it to me.

Cheers,


Sacha

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Nishant Aggarwal
 Sent: lundi, 28 juillet 2003 18:47
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem


 Hi Kevin,
 Thanks for the info!
 I don't know if 3.2.2RC2 will sort out this issue.Becaz,the
 problem seems to be with order in which the servers in
 cluster were started. As asked by you,I had put the jar in
 server 2 after removing the jar from one of the servers.Thus
 undeploying it before deploying it!

 Any help would be appreciated!

 Thanks  Regards,
 Nishant.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Kevin Duffey
 Sent: Friday, July 25, 2003 10:10 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Clustering Problem


 Did you put it in node 2 when both were clean?
 Re-deploying of apps in the /farm dir doesn't seem to
 work in RC1. You may want to get the very latest RC2
 that just came out two days or so ago. That may have
 fixed it, but I haven't tried yet. Anywho, I also note
 that the only thing that works with farming is if you
 first deploy it (clean deploy), it propery farms. If
 you delete it out of one node, it then properly
 undeletes it out of other nodes. So, as of now, to
 redeploy, first delete it, then add it again.
 Shouldn't be this way, so hopefully RC2 fixes that
 problem.

 --- Nishant Aggarwal [EMAIL PROTECTED]
 wrote:
  Hi All,
  I am working on JBoss 3.2.2RC1 and trying out
  clustering!
  I am running 2 different JBoss on different machines
  in clustering mode,ie,
  the 2 JBoss servers are started as run.sh -c all.
  Now , I have a simple SLSB Hello.jar with
  clusteredtrue/clustered specified
  in jboss.xml file.
 
  Now, I tested 2 cases:
  1.I try to put the above jar in the directory
  (all/farm) of the server
  started first.The Hello.jar gets deployed in both
  the servers and I can
  see it in
  corresponding all/farm dirs.
  2.I try to put the above jar in the directory
  (all/farm) of the server
  started second.The Hello.jar gets deployed only
  in second server and
  first
  server doesn't have any clue!
 
  Can you pls help me out?Is there concept of
  Master/Slave etc?
  Thanks in advance,
  Nish
 
 
 
 
 ---
  This SF.Net email sponsored by: Free pre-built
  ASP.NET sites including
  Data Reports, E-commerce, Portals, and Forums are
  available now.
  Download today and enter to win an XBOX or Visual
  Studio .NET.
 
 http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet
 _072303_01/01
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
 
 https://lists.sourceforge.net/lists/listinfo/jboss-user


 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design
 software http://sitebuilder.yahoo.com


 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites
 including Data Reports, E-commerce, Portals, and Forums are
 available now. Download today and enter to win an XBOX or
 Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet
_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave

RE: [JBoss-user] Clustering Problem

2003-07-28 Thread Kevin Duffey
I have also seen this behavior.

Sacha, any idea when re-deploying without first
deleting is going to work? It seems odd to me that it
works locally just fine, but it can't seem to
propogate the change to other nodes in the cluster. 

--- Nishant Aggarwal [EMAIL PROTECTED]
wrote:
 Hello Sacha,
 Following is the procedure:
 1.Install JBoss3.2.2RC1 in /user/sacha/Jboss3.2.2
 and another instance in
 /user/sacha/server2/Jboss3.2.2 dir.
 2.
 a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss
 instance on one Solaris
 machine and
 b)After server 1 comes up,start server 2 jboss
 instance(/user/sacha/server2/Jboss3.2.2) on some
 other Solaris machine on
 the same NFS system.The jboss server deploy mode is
 all.
 3.Now,put the jar(Hello.jar) attached under server 1
 all/farm
 directory.Server 2 picks it up and it deploys in
 server 2 all/farm dir
 also.
 4.Delete the Hello.jar from all/farm dir of server
 1.It is successfully
 undeployed from
 server 1 and server 2.
 5.Now,put the same jar in server 2.Only server 2
 deploys it.Server 1(which
 was brought
 up first) doesn't get any notification of this and
 its oblivious of this
 deployment.
 
 I am attaching the sample jar I used for my testing!
 
 HTH,
 Nishant.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Behalf Of Sacha
 Labourey
 Sent: Sunday, July 27, 2003 11:16 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Clustering Problem
 
 
 If you have a small example and procedure (starting
 from a raw JBoss
 installation) that consistently fails, please send
 it to me.
 
 Cheers,
 
 
   Sacha
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
 Behalf Of
  Nishant Aggarwal
  Sent: lundi, 28 juillet 2003 18:47
  To: [EMAIL PROTECTED]
  Subject: RE: [JBoss-user] Clustering Problem
 
 
  Hi Kevin,
  Thanks for the info!
  I don't know if 3.2.2RC2 will sort out this
 issue.Becaz,the
  problem seems to be with order in which the
 servers in
  cluster were started. As asked by you,I had put
 the jar in
  server 2 after removing the jar from one of the
 servers.Thus
  undeploying it before deploying it!
 
  Any help would be appreciated!
 
  Thanks  Regards,
  Nishant.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
 Behalf Of
  Kevin Duffey
  Sent: Friday, July 25, 2003 10:10 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Clustering Problem
 
 
  Did you put it in node 2 when both were clean?
  Re-deploying of apps in the /farm dir doesn't seem
 to
  work in RC1. You may want to get the very latest
 RC2
  that just came out two days or so ago. That may
 have
  fixed it, but I haven't tried yet. Anywho, I also
 note
  that the only thing that works with farming is if
 you
  first deploy it (clean deploy), it propery farms.
 If
  you delete it out of one node, it then properly
  undeletes it out of other nodes. So, as of now, to
  redeploy, first delete it, then add it again.
  Shouldn't be this way, so hopefully RC2 fixes that
  problem.
 
  --- Nishant Aggarwal
 [EMAIL PROTECTED]
  wrote:
   Hi All,
   I am working on JBoss 3.2.2RC1 and trying out
   clustering!
   I am running 2 different JBoss on different
 machines
   in clustering mode,ie,
   the 2 JBoss servers are started as run.sh -c
 all.
   Now , I have a simple SLSB Hello.jar with
   clusteredtrue/clustered specified
   in jboss.xml file.
  
   Now, I tested 2 cases:
   1.I try to put the above jar in the directory
   (all/farm) of the server
   started first.The Hello.jar gets deployed in
 both
   the servers and I can
   see it in
   corresponding all/farm dirs.
   2.I try to put the above jar in the directory
   (all/farm) of the server
   started second.The Hello.jar gets deployed
 only
   in second server and
   first
   server doesn't have any clue!
  
   Can you pls help me out?Is there concept of
   Master/Slave etc?
   Thanks in advance,
   Nish
  
  
  
  
 

---
   This SF.Net email sponsored by: Free pre-built
   ASP.NET sites including
   Data Reports, E-commerce, Portals, and Forums
 are
   available now.
   Download today and enter to win an XBOX or
 Visual
   Studio .NET.
  
 

http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet
  _072303_01/01
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
  
 

https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
  __
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site
 design
  software http://sitebuilder.yahoo.com
 
 
 

---
  This SF.Net email sponsored by: Free pre-built
 ASP.NET sites
  including Data Reports, E-commerce, Portals, and
 Forums are
  available now. Download today and enter to win an
 XBOX or
  Visual Studio .NET.
 

http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet

RE: [JBoss-user] Clustering Problem

2003-07-27 Thread Nishant Aggarwal
Hi Kevin,
Thanks for the info!
I don't know if 3.2.2RC2 will sort out this issue.Becaz,the problem seems to
be with order in which the servers in cluster were started.
As asked by you,I had put the jar in server 2 after removing the jar from
one of the servers.Thus undeploying it before deploying it!

Any help would be appreciated!

Thanks  Regards,
Nishant.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin Duffey
Sent: Friday, July 25, 2003 10:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Clustering Problem


Did you put it in node 2 when both were clean?
Re-deploying of apps in the /farm dir doesn't seem to
work in RC1. You may want to get the very latest RC2
that just came out two days or so ago. That may have
fixed it, but I haven't tried yet. Anywho, I also note
that the only thing that works with farming is if you
first deploy it (clean deploy), it propery farms. If
you delete it out of one node, it then properly
undeletes it out of other nodes. So, as of now, to
redeploy, first delete it, then add it again.
Shouldn't be this way, so hopefully RC2 fixes that
problem.

--- Nishant Aggarwal [EMAIL PROTECTED]
wrote:
 Hi All,
 I am working on JBoss 3.2.2RC1 and trying out
 clustering!
 I am running 2 different JBoss on different machines
 in clustering mode,ie,
 the 2 JBoss servers are started as run.sh -c all.
 Now , I have a simple SLSB Hello.jar with
 clusteredtrue/clustered
 specified
 in jboss.xml file.

 Now, I tested 2 cases:
 1.I try to put the above jar in the directory
 (all/farm) of the server
 started first.The Hello.jar gets deployed in both
 the servers and I can
 see it in
 corresponding all/farm dirs.
 2.I try to put the above jar in the directory
 (all/farm) of the server
 started second.The Hello.jar gets deployed only
 in second server and
 first
 server doesn't have any clue!

 Can you pls help me out?Is there concept of
 Master/Slave etc?
 Thanks in advance,
 Nish




---
 This SF.Net email sponsored by: Free pre-built
 ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are
 available now.
 Download today and enter to win an XBOX or Visual
 Studio .NET.

http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering Problem

2003-07-25 Thread Kevin Duffey
Did you put it in node 2 when both were clean?
Re-deploying of apps in the /farm dir doesn't seem to
work in RC1. You may want to get the very latest RC2
that just came out two days or so ago. That may have
fixed it, but I haven't tried yet. Anywho, I also note
that the only thing that works with farming is if you
first deploy it (clean deploy), it propery farms. If
you delete it out of one node, it then properly
undeletes it out of other nodes. So, as of now, to
redeploy, first delete it, then add it again.
Shouldn't be this way, so hopefully RC2 fixes that
problem.

--- Nishant Aggarwal [EMAIL PROTECTED]
wrote:
 Hi All,
 I am working on JBoss 3.2.2RC1 and trying out
 clustering!
 I am running 2 different JBoss on different machines
 in clustering mode,ie,
 the 2 JBoss servers are started as run.sh -c all.
 Now , I have a simple SLSB Hello.jar with
 clusteredtrue/clustered
 specified
 in jboss.xml file.
 
 Now, I tested 2 cases:
 1.I try to put the above jar in the directory
 (all/farm) of the server
 started first.The Hello.jar gets deployed in both
 the servers and I can
 see it in
 corresponding all/farm dirs.
 2.I try to put the above jar in the directory
 (all/farm) of the server
 started second.The Hello.jar gets deployed only
 in second server and
 first
 server doesn't have any clue!
 
 Can you pls help me out?Is there concept of
 Master/Slave etc?
 Thanks in advance,
 Nish
 
 
 

---
 This SF.Net email sponsored by: Free pre-built
 ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are
 available now.
 Download today and enter to win an XBOX or Visual
 Studio .NET.

http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user