Re: [JBoss-user] [Clustering/JBoss] - New to clustering

2004-10-13 Thread Pete Gajria
Chris,
  jboss just did a webex presentation on clustering this morning
scott did a great job in explaining stuff

look on the main web site under online education
& replay the presentation when its available

Pete



On Wednesday 13 October 2004 08:48 am, cfrostrun wrote:
> I'm going to start getting into the clustering aspects of jboss, and would
> like some information from an architectural point of view.
>
> If I'm using local BMP entity beans, and want to continue to have the
> entity cache turned on... can that be clustered?
>
> mainly i guess my question is.. does local entity beans cluster, or do i
> have to expose remote interfaces to have them cluster?
>
> Chris
>
> View the original post :
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851312#3851312
>
> Reply to the post :
> http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851312
>
>
> ---
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Re: Farming documentation

2004-08-16 Thread Lennart Petersson
Don't think that is possible, but I could be wrong...
/L
lac_raz wrote:
but what if I want to control the deployment order of the nodes (e.g. first deploy to 
second node and then to the third one)?
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845222#3845222
Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845222
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()

2004-04-01 Thread Sacha Labourey
Bela, the message seems to indicate that a layer is missing in his stack.
Georgel, can you please post your OLD and NEW XML snippet (just the Jgroups
part).

Thanks.

BTW, please post in the forums otherwise people will not see your e-mail
(this was not a post on JBoss-user)

sacha 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bela Ban
> Sent: Friday, April 02, 2004 5:27 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] [Clustering/JBoss] - Re: [ERROR] 
> NAKACK.handleXmitReq()
> 
> It should work
> 
> georgel wrote:
> 
> >Hi,
> >
> >I tried what you/Bela suggested in the other thread,
> >
> >http://jboss.org/index.html?module=bb&op=viewtopic&t=47563
> >
> >Server is JBoss 3.2.1, Linux, Java 1.4.2-b28. Got the 
> following errors, and went back to the old configuration. 
> Should your fix work for 3.2.1 or do I get to upgrade?
> >
> >thanks!
> >
> >George
> >
> >
> >  | 13:02:42,729 INFO  [MainDeployer] Starting deployment of 
> package: 
> file:/home/jboss/jboss-3.2.1/server/all/deploy/cluster-service.xml
> >  | 13:02:42,954 INFO  [ClusterPartition] Creating
> >  | 13:02:43,059 INFO  [STDOUT] Thu Apr 01 13:02:43 CST 2004 
> Listening for connections ...
> >  | 13:02:43,324 ERROR [ClusterPartition] Initialization failed
> >  | ChannelException: JChannel(): java.lang.Exception: 
> Configurator.sanityCheck(): event GET_DIGEST is required by 
> STABLE, but not provided by any of the layers above
> >  | at org.javagroups.JChannel.(JChannel.java:141)
> >  | at 
> org.jboss.ha.framework.server.ClusterPartition.createService(C
> lusterPartition.java:202)
> >  | at 
> org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSuppor
> t.java:158)
> >  | at 
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> >  | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> >  | 
> >
> >
> >  | 13:02:43,327 WARN  [ServiceController] Problem creating 
> service jboss:service=DefaultPartition
> >  | ChannelException: JChannel(): java.lang.Exception: 
> Configurator.sanityCheck(): event GET_DIGEST is required by 
> STABLE, but not provided by any of the layers above
> >  | at org.javagroups.JChannel.(JChannel.java:141)
> >  | at 
> org.jboss.ha.framework.server.ClusterPartition.createService(C
> lusterPartition.java:202)
> >  | at 
> org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSuppor
> t.java:158)
> >  | 
> >
> >
> >
> >  | Depends On Me: , ObjectName: jboss:service=DefaultPartition
> >  |  state: FAILED
> >  |  I Depend On:
> >  |  Depends On Me:   jboss:service=HASessionState
> >  |   jboss:service=HAJNDI
> >  |   jboss.cache:service=InvalidationBridge,type=JavaGroups
> >  |   jboss:service=FarmMember,partition=DefaultPartition
> >  |   jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession
> >  | ChannelException: JChannel(): java.lang.Exception: 
> Configurator.sanityCheck(): event GET_DIGEST is required by 
> STABLE, but not provided by any of the layers above, 
> ObjectName: jboss:service=HASessionState
> >  |  state: CONFIGURED
> >  |  I Depend On:   jboss:service=DefaultPartition
> >  | 
> >
> >View the original post : 
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38286
> 83#3828683
> >
> >Reply to the post : 
> http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
> y&p=3828683
> >
> >
> >---
> >This SF.Net email is sponsored by: IBM Linux Tutorials
> >Free Linux tutorial presented by Daniel Robbins, President and CEO of
> >GenToo technologies. Learn everything from fundamentals to system
> >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >  
> >
> 
> 
> -- 
> Bela Ban
> Lead JGroups / JBossCache
> Cell: (408) 316-4459
> 
> 
> 
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()

2004-04-01 Thread Bela Ban
It should work

georgel wrote:

Hi,

I tried what you/Bela suggested in the other thread,

http://jboss.org/index.html?module=bb&op=viewtopic&t=47563

Server is JBoss 3.2.1, Linux, Java 1.4.2-b28. Got the following errors, and went back to the old configuration. Should your fix work for 3.2.1 or do I get to upgrade?

thanks!

George

 | 13:02:42,729 INFO  [MainDeployer] Starting deployment of package: file:/home/jboss/jboss-3.2.1/server/all/deploy/cluster-service.xml
 | 13:02:42,954 INFO  [ClusterPartition] Creating
 | 13:02:43,059 INFO  [STDOUT] Thu Apr 01 13:02:43 CST 2004 Listening for connections ...
 | 13:02:43,324 ERROR [ClusterPartition] Initialization failed
 | ChannelException: JChannel(): java.lang.Exception: Configurator.sanityCheck(): event GET_DIGEST is required by STABLE, but not provided by any of the layers above
 | at org.javagroups.JChannel.(JChannel.java:141)
 | at org.jboss.ha.framework.server.ClusterPartition.createService(ClusterPartition.java:202)
 | at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
 | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 | 

 | 13:02:43,327 WARN  [ServiceController] Problem creating service jboss:service=DefaultPartition
 | ChannelException: JChannel(): java.lang.Exception: Configurator.sanityCheck(): event GET_DIGEST is required by STABLE, but not provided by any of the layers above
 | at org.javagroups.JChannel.(JChannel.java:141)
 | at org.jboss.ha.framework.server.ClusterPartition.createService(ClusterPartition.java:202)
 | at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
 | 



 | Depends On Me: , ObjectName: jboss:service=DefaultPartition
 |  state: FAILED
 |  I Depend On:
 |  Depends On Me:   jboss:service=HASessionState
 |   jboss:service=HAJNDI
 |   jboss.cache:service=InvalidationBridge,type=JavaGroups
 |   jboss:service=FarmMember,partition=DefaultPartition
 |   jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession
 | ChannelException: JChannel(): java.lang.Exception: Configurator.sanityCheck(): event GET_DIGEST is required by STABLE, but not provided by any of the layers above, ObjectName: jboss:service=HASessionState
 |  state: CONFIGURED
 |  I Depend On:   jboss:service=DefaultPartition
 | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828683#3828683

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828683

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
 



--
Bela Ban
Lead JGroups / JBossCache
Cell: (408) 316-4459


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - Re: JMSCacheInvalidationBri dge depends on ConnectionFactory

2004-03-30 Thread Bruce Ashton
I am using the JMS bridge for a particular reason - I want to be able to
send JMS messages from other applications to invalidate entity beans in
JBoss.  Is it possible to do this with the clustering bridge?


> -Original Message-
> From: Sacha Labourey [mailto:[EMAIL PROTECTED]
> Sent: 30 March 2004 12:32
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] [Clustering/JBoss] - Re:
> JMSCacheInvalidationBridge depends on ConnectionFactory
> 
> 
> could you please try with the clustering bridge before trying 
> the less-flexible JMS bridge?
> 
> thanks. Cheers,
> 
> 
> sacha
> 
> View the original post : 
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38280
> 77#3828077
> 
> Reply to the post : 
> http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
> y&p=3828077
> 
> 
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


Please note that:
 
1. This e-mail may constitute privileged information. If you are not the intended 
recipient, you have received this confidential email and any attachments transmitted 
with it in error and you must not disclose, copy, circulate or in any other way use or 
rely on this information.
2. E-mails to and from the company are monitored for operational reasons and in 
accordance with lawful business practices.
3. The contents of this email are those of the individual and do not necessarily 
represent the views of the company.
4. The company does not conclude contracts by email and all negotiations are subject 
to contract.
5. The company accepts no responsibility once an e-mail and any attachments is sent.

http://www.activis.com


This annotation was added by the e-scan service.
http://www.activis.com
--
This message has been checked for all known viruses by e:)scan.
For further information please contact [EMAIL PROTECTED]


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - restart jboss in cluster

2004-03-23 Thread Vladyslav Kosulin
zhangj wrote:

I read some articles regarding apache+jk2+jboss saying that:you have to start jboss 
servers before start apache web server.
what's the reason for this order?
According to my experience ,the reason is that if Apache during jk2 
initialization does not find some JBoss node, it exclude it from the list and 
will not try it again.

what happen if one of jboss server failed in the cluser,I have to restart this jboss server while the apache and all of others jboss server are still runing? do I have to stop the apache,wait for this jboss server started,the restart the apache? if so,the web site has to stop for a moment.
If JBoss after some successful period failed to respond to jk2 request, Apache 
will try it again, so you can safely restart failed JBoss instance, and it will 
be recognized by Apache without Apache restart.

Also, instead of Apache restart you can reinitialize only mod_jk2.

Vlad

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - farm-service.xml Question

2004-03-10 Thread Vladyslav Kosulin
remrick wrote:

Hello,

I'm using JBoss 3.2.3.  I'm currently in the middle of setting up clustering and have a question that's related to the farm-service.xml file.

I notice that in the server/all/deploy folder that there exists a deploy.last folder which contains farm-service.xml.  Reading the docs it tells me place a farm-service.xml file in the server/all/deploy folder.  

So... my question is "which is it?".  Do I keep the file in the deploy.last folder or moce it to server/all/deploy?
Keep it there. Docs are outdated :-(

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-08 Thread Sacha Labourey
Ah, ok, because I am pretty sure mod_jk2 doesn't work with the "fork"
threading model. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Vladyslav Kosulin
> Sent: Monday, March 08, 2004 4:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] [Clustering/JBoss] - 
> Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo
> 
> Sacha Labourey wrote:
> 
> > Which OS do you use with mod_jk2? Linux? If yes, with 
> threading model?
> 
> Yes, Red Hat 7.3/LinuxThreads. Apache worker MPM. Sun Hotspot 
> server 1.4.2.
> Hope to move to NPTL this year after migrating to a recent 
> Linux release.
> 
> Vlad
> 
> >>-Original Message-
> >>From: [EMAIL PROTECTED] 
> >>[mailto:[EMAIL PROTECTED] On Behalf Of 
> >>Vladyslav Kosulin
> >>Sent: Monday, March 08, 2004 3:42 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: Re: [JBoss-user] [Clustering/JBoss] - 
> >>Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo
> >>
> >>Bill Burke wrote:
> >>
> >>
> >>>But what are advantages of modjk2 over modjk?  modjk 
> support sticky 
> >>>sessions at least with Tomcat.
> >>
> >>I don't know ;-)
> >>I use mod-jk2 from beginning, and it works.
> >>
> >>Vlad
> >>
> >>
> >>>Vladyslav Kosulin wrote:
> >>>
> >>>
> >>>>Another note: which MPM does your Apache httpd use? Again, 
> >>
> >>according 
> >>
> >>>>to my experience, the default prefork MPM for UNIX/Linux does not 
> >>>>support sticky sessions with mod_jk/mod_jk2. You should recompile 
> >>>>Apache with worker MPM instead of prefork:
> >>>>
> >>>>./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
> >>>>make
> >>>>make install
> >>>>
> >>>>Vladyslav Kosulin wrote:
> >>>>
> >>>>
> >>>>>dhartford wrote:
> >>>>>
> >>>>>
> >>>>>>Hey all, After going through all the posts, I'm still a 
> >>
> >>little hazy 
> >>
> >>>>>>on why I
> >>>>>>still can not setup simple load-balancing WITH sticky 
> >>
> >>sessions based 
> >>
> >>>>>>on the
> >>>>>>environment above (and also referenced the pay-for 
> >>
> >>Clustering doc).
> >>
> >>>>>>1. Is there a sticky_session or stickySession flag for 
> >>
> >>mod_jk2 in the
> >>
> >>>>>>workers2.properties file?
> >>>>>
> >>>>>There is not.
> >>>>>
> >>>>>
> >>>>>>2. Is it required to change the TomcatSAR 
> >>
> >>jboss-service.xml to add in a
> >>
> >>>>>>jvmRoute to the following default fragment:   { }?
> >>>>>>
> >>>>>>3. What else may be missing?  This looks trivial as a 
> >>
> >>lot of people 
> >>
> >>>>>>have put
> >>>>>>in some good work to make it so, but must be something 
> >>
> >>I'm missing 
> >>
> >>>>>>somewhere
> >>>>>>as the 'sticky session' just is not working.
> >>>>>>
> >>>>>>(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default 
> >>
> >>w/standard embedded 
> >>
> >>>>>>tomcat41
> >>>>>
> >>>>>According to my experience with Jetty, sticky sessions 
> >>
> >>did not work 
> >>
> >>>>>for  (web.xml) web applications by 
> >>
> >>default. May be 
> >>
> >>>>>the same is valid for Tomcat. Do you use this tag?
> >>
> >>
> >>
> >>---
> >>This SF.Net email is sponsored by: IBM Linux Tutorials
> >>Free Linux tutorial presented by Daniel Robbins, President 
> and CEO of
> >>GenToo technologies. Learn everything from fundamentals to system
> >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638
> &op=click
> >>___
> >>JBoss-user mailing list
> >>[EMAIL PROTECTED]
> 

Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-08 Thread Vladyslav Kosulin
Sacha Labourey wrote:

Which OS do you use with mod_jk2? Linux? If yes, with threading model?
Yes, Red Hat 7.3/LinuxThreads. Apache worker MPM. Sun Hotspot server 1.4.2.
Hope to move to NPTL this year after migrating to a recent Linux release.
Vlad

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Vladyslav Kosulin
Sent: Monday, March 08, 2004 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [Clustering/JBoss] - 
Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

Bill Burke wrote:


But what are advantages of modjk2 over modjk?  modjk support sticky 
sessions at least with Tomcat.
I don't know ;-)
I use mod-jk2 from beginning, and it works.
Vlad


Vladyslav Kosulin wrote:


Another note: which MPM does your Apache httpd use? Again, 
according 

to my experience, the default prefork MPM for UNIX/Linux does not 
support sticky sessions with mod_jk/mod_jk2. You should recompile 
Apache with worker MPM instead of prefork:

./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
make
make install
Vladyslav Kosulin wrote:


dhartford wrote:


Hey all, After going through all the posts, I'm still a 
little hazy 

on why I
still can not setup simple load-balancing WITH sticky 
sessions based 

on the
environment above (and also referenced the pay-for 
Clustering doc).

1. Is there a sticky_session or stickySession flag for 
mod_jk2 in the

workers2.properties file?
There is not.


2. Is it required to change the TomcatSAR 
jboss-service.xml to add in a

jvmRoute to the following default fragment:   { }?

3. What else may be missing?  This looks trivial as a 
lot of people 

have put
in some good work to make it so, but must be something 
I'm missing 

somewhere
as the 'sticky session' just is not working.
(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default 
w/standard embedded 

tomcat41
According to my experience with Jetty, sticky sessions 
did not work 

for  (web.xml) web applications by 
default. May be 

the same is valid for Tomcat. Do you use this tag?


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-08 Thread Sacha Labourey
Which OS do you use with mod_jk2? Linux? If yes, with threading model?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Vladyslav Kosulin
> Sent: Monday, March 08, 2004 3:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] [Clustering/JBoss] - 
> Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo
> 
> Bill Burke wrote:
> 
> > 
> > But what are advantages of modjk2 over modjk?  modjk support sticky 
> > sessions at least with Tomcat.
> 
> I don't know ;-)
> I use mod-jk2 from beginning, and it works.
> 
> Vlad
> 
> > Vladyslav Kosulin wrote:
> > 
> >> Another note: which MPM does your Apache httpd use? Again, 
> according 
> >> to my experience, the default prefork MPM for UNIX/Linux does not 
> >> support sticky sessions with mod_jk/mod_jk2. You should recompile 
> >> Apache with worker MPM instead of prefork:
> >>
> >> ./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
> >> make
> >> make install
> >>
> >> Vladyslav Kosulin wrote:
> >>
> >>> dhartford wrote:
> >>>
> >>>> Hey all, After going through all the posts, I'm still a 
> little hazy 
> >>>> on why I
> >>>> still can not setup simple load-balancing WITH sticky 
> sessions based 
> >>>> on the
> >>>> environment above (and also referenced the pay-for 
> Clustering doc).
> >>>>
> >>>> 1. Is there a sticky_session or stickySession flag for 
> mod_jk2 in the
> >>>> workers2.properties file?
> >>>
> >>> There is not.
> >>>
> >>>> 2. Is it required to change the TomcatSAR 
> jboss-service.xml to add in a
> >>>> jvmRoute to the following default fragment:   { }?
> >>>>
> >>>> 3. What else may be missing?  This looks trivial as a 
> lot of people 
> >>>> have put
> >>>> in some good work to make it so, but must be something 
> I'm missing 
> >>>> somewhere
> >>>> as the 'sticky session' just is not working.
> >>>>
> >>>> (1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default 
> w/standard embedded 
> >>>> tomcat41
> >>>
> >>> According to my experience with Jetty, sticky sessions 
> did not work 
> >>> for  (web.xml) web applications by 
> default. May be 
> >>> the same is valid for Tomcat. Do you use this tag?
> 
> 
> 
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-08 Thread Vladyslav Kosulin
Bill Burke wrote:

But what are advantages of modjk2 over modjk?  modjk support sticky 
sessions at least with Tomcat.
I don't know ;-)
I use mod-jk2 from beginning, and it works.
Vlad

Vladyslav Kosulin wrote:

Another note: which MPM does your Apache httpd use? Again, according 
to my experience, the default prefork MPM for UNIX/Linux does not 
support sticky sessions with mod_jk/mod_jk2. You should recompile 
Apache with worker MPM instead of prefork:

./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
make
make install
Vladyslav Kosulin wrote:

dhartford wrote:

Hey all, After going through all the posts, I'm still a little hazy 
on why I
still can not setup simple load-balancing WITH sticky sessions based 
on the
environment above (and also referenced the pay-for Clustering doc).

1. Is there a sticky_session or stickySession flag for mod_jk2 in the
workers2.properties file?
There is not.

2. Is it required to change the TomcatSAR jboss-service.xml to add in a
jvmRoute to the following default fragment:   { }?
3. What else may be missing?  This looks trivial as a lot of people 
have put
in some good work to make it so, but must be something I'm missing 
somewhere
as the 'sticky session' just is not working.

(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default w/standard embedded 
tomcat41
According to my experience with Jetty, sticky sessions did not work 
for  (web.xml) web applications by default. May be 
the same is valid for Tomcat. Do you use this tag?


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - requred basic properties f or clustering with jboss-3.2.3+mo

2004-03-08 Thread Egger Lothar
hi suresh

for session clustering start jboss with -c all

store workers.properties in the apache conf dir.

cheers
lothar

> -Original Message-
> From: gsureshbabu [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 08, 2004 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] [Clustering/JBoss] - requred basic 
> properties for
> clustering with jboss-3.2.3+mo
> 
> 
> hi all 
> i have been trying to establish clustering with jboss-3.2.3 
> with two nodes. 
> 
> 1.which properties i have to chnage in the jboss-service.xml in the 
> jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/META-I
> NF/jboss-service.xml for clustering. 
> 
> 2. where we will store workers.properties in jboss-3.2.3. for 
> mod_jk+apache 
> Kindly help me (Urgent) 
> 
> Thanks 
> suresh 
> 
> 
>  href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p
> =3824674#3824674">View the original post
> 
>  href="http://www.jboss.org/index.html?module=bb&op=posting&mod
> e=reply&p=3824674>Reply to the post
> 
> 
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-05 Thread Bill Burke
But what are advantages of modjk2 over modjk?  modjk support sticky 
sessions at least with Tomcat.

Vladyslav Kosulin wrote:

Another note: which MPM does your Apache httpd use? Again, according to 
my experience, the default prefork MPM for UNIX/Linux does not support 
sticky sessions with mod_jk/mod_jk2. You should recompile Apache with 
worker MPM instead of prefork:

./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
make
make install
Vladyslav Kosulin wrote:

dhartford wrote:

Hey all, After going through all the posts, I'm still a little hazy 
on why I
still can not setup simple load-balancing WITH sticky sessions based 
on the
environment above (and also referenced the pay-for Clustering doc).

1. Is there a sticky_session or stickySession flag for mod_jk2 in the
workers2.properties file?


There is not.

2. Is it required to change the TomcatSAR jboss-service.xml to add in a
jvmRoute to the following default fragment:   { }?
3. What else may be missing?  This looks trivial as a lot of people 
have put
in some good work to make it so, but must be something I'm missing 
somewhere
as the 'sticky session' just is not working.

(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default w/standard embedded 
tomcat41




According to my experience with Jetty, sticky sessions did not work 
for  (web.xml) web applications by default. May be the 
same is valid for Tomcat. Do you use this tag?

Vlad

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Inc.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-05 Thread Vladyslav Kosulin
Another note: which MPM does your Apache httpd use? Again, according to my 
experience, the default prefork MPM for UNIX/Linux does not support sticky 
sessions with mod_jk/mod_jk2. You should recompile Apache with worker MPM 
instead of prefork:

./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
make
make install
Vladyslav Kosulin wrote:

dhartford wrote:

Hey all, After going through all the posts, I'm still a little hazy on 
why I
still can not setup simple load-balancing WITH sticky sessions based 
on the
environment above (and also referenced the pay-for Clustering doc).

1. Is there a sticky_session or stickySession flag for mod_jk2 in the
workers2.properties file?


There is not.

2. Is it required to change the TomcatSAR jboss-service.xml to add in a
jvmRoute to the following default fragment:   { }?
3. What else may be missing?  This looks trivial as a lot of people 
have put
in some good work to make it so, but must be something I'm missing 
somewhere
as the 'sticky session' just is not working.

(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default w/standard embedded 
tomcat41


According to my experience with Jetty, sticky sessions did not work for 
 (web.xml) web applications by default. May be the same 
is valid for Tomcat. Do you use this tag?

Vlad

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=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
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-05 Thread Vladyslav Kosulin
dhartford wrote:

Hey all, After going through all the posts, I'm still a little hazy on why I
still can not setup simple load-balancing WITH sticky sessions based on the
environment above (and also referenced the pay-for Clustering doc).
1. Is there a sticky_session or stickySession flag for mod_jk2 in the
workers2.properties file?
There is not.

2. Is it required to change the TomcatSAR jboss-service.xml to add in a
jvmRoute to the following default fragment:   { }?
3. What else may be missing?  This looks trivial as a lot of people have put
in some good work to make it so, but must be something I'm missing somewhere
as the 'sticky session' just is not working.
(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default w/standard embedded tomcat41


According to my experience with Jetty, sticky sessions did not work for 
 (web.xml) web applications by default. May be the same is valid 
for Tomcat. Do you use this tag?

Vlad

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - Re: javax.naming.Communicat ionException when calling a clust

2004-02-25 Thread Finn, Michael
Title: RE: [JBoss-user] [Clustering/JBoss] - Re: javax.naming.CommunicationException when calling a clust





True - I was (wrongly, I guess) assuming client and server not on same subnet. Here, servers are on dedicated subnets (GigaEthernet) and rarely, if ever reachable via multicast from our clients.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 20, 2004 12:13 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [Clustering/JBoss] - Re:
javax.naming.CommunicationException when calling a clust



Actually you can leave it blank (or not defined)


The client will try to contact HAJNDI using a multicast.
i.e. it will look for any jboss server on the network.


The timeout messages says it couldn't find such a server
within the configured timeout (default 5 seconds).


Regards,
Adrian


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822257#3822257


Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822257



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





Re: [JBoss-user] [Clustering/JBoss] - Re: JMS queues started on both nodes in a cluster after temp

2004-02-24 Thread Bela Ban
Not exactly the same issue because you use a TCP-based stack, whereas 
JBoss Clustering by default uses UDP (IP multicast).

crobert wrote:

Hello,

That looks like the same problem I'm having in 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45855 
with JBoss 3.2.3. Unfortunately no one answered.

I don't use JMS, but the behaviour seems similar: if I kill one of the servers, the cluster is not always formed back. If I gracefully shut it down, the cluster is formed back.

Regards,
Robert
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822707#3822707

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822707

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
 



--
Bela Ban
Lead JGroups / JBossCache
Cell: (408) 316-4459


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - TCPGOSSIP clustering problem with server restart

2004-02-23 Thread Bela Ban
That is a well-known bug. I have fixed this in JGroups (CVS head), and 
will release a new version hopefully within the next 2-3 weeks.

If you can't wait, simply checkout JGroups from CVS, do a build.sh 
jar-1.4 and copy the resulting jgroups-all.jar into your server dir as 
jgroups.jar.

Regards,
Bela
crobert wrote:

Hello,

I'm having the following clustering problem:

I have two JBoss 3.2.3 servers in a local network, clustering uses:

--> TCP and TCPGOSSIP with the following settings (in cluster-service.xml)
   
   
   gossip_refresh_rate="1" num_initial_members="2" 
   up_thread="true" down_thread="true" />
   
   
   
   up_thread="true" down_thread="true" />
   
  up_thread="true" down_thread="true" />
   
  up_thread="true" down_thread="true" />
   
down_thread="true" />
   
 down_thread="true" up_thread="true" />
   
   shun="true" print_local_addr="true" />
   

where "myserver" is the DNS name for the server that runs the GOSSIP service (and on which a JBoss instance will be started)

--> GOSSIP is started with the following command line arguments:

-port 7500 -expiry 3 -bindaddress myserver

In most of the cases, the two servers see each other and everything goes well. However I noticed that in the following scenario, the cluster is not always formed:

1. Start GOSSIP server
2. Start JBoss on my first machine
3. (after the first machine JBoss starts successfully) Start JBoss on my seconds 
machine.
4. The cluster is formed and I get load balancing.
5. If I kill server 1 and restart it before the GOSSIP server detects that the first 
node is dead, in most of the cases, the cluster is not formed back, although the 
GOSSIP server on trace mode detects as having two servers in the cluster (and accepts 
connections from both of the servers). The two nodes no not see each other and I don't 
have failover or loadbalancing: all requests go to only one server.
Is this the expected behavior ?

I also noticed that in some cases JBoss is blocked for quite a while after the  "GMS: address is ..." line (usually when it cannot find the cluster and probably awaits for a timeout to expire)

Robert

Windows XP SP1
JBoss 3.2.3 with Jetty (jboss-3.2.3_jetty-4.2.14.zip)
Sun J2SE 1.4.2_03


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822513#3822513

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822513

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
 



--
Bela Ban
Lead JGroups / JBossCache
Cell: (408) 316-4459


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread Bela Ban
kaobe wrote:

Hello again,

I don't know why, but I'm still (again?) facing problems concerning 
cluster node auto detection.
I have now the following properties for the InitialContext:

Properties prop = System.getProperties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
prop.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
prop.put(Context.PROVIDER_URL, "");

I think these are right because sometimes I get a connection and am 
able to lookup my stateless session bean.

But most of the times it doesn't work. I think it works more often 
when I started the cluster nodes freshly, but I don't know if that is 
just my imagination.

It would be really great if somebody could help me with this problem. 
Perhaps someone out of the JGroups team.

By the way, here is the stacktrace of the exception when my client 
doesn't get a connection.

javax.naming.CommunicationException: Receive timed out. Root exception 
is java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:671)
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at de.kaobe.client.TestClient.(TestClient.java:54)
at de.kaobe.client.TestClient.main(TestClient.java:85)


HA-JNDI discovery is *not* done by JGroups. Can you increase the timeout 
value for jnp.discoveryTimeout, to e.g. 1 ? Also, try putting a list 
of at least some of your servers in PROVIDER_URL. If none are found, 
only then do we use multicast discovery.



--
Bela Ban
Lead JGroups / JBossCache
Cell: (408) 316-4459


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Clustering/JBoss] - HANaming service always throws java.net.SocketException: Not

2004-02-05 Thread Peter Ondruska
http://www.iana.org/assignments/multicast-addresses

Original Message Follows
From: tbauer <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [Clustering/JBoss] - HANaming service always throws 
java.net.SocketException: Not
Date: Wed, 4 Feb 2004 18:10:30 -0500 (EST)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820232#3820232

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820232

I've tried to configure the HANamingService in cluster-service.xml several 
ways, but I always get an error saying java.net.SocketException: Not a 
multicast address



What SHOULD a valid multicast address be??



config snippet from cluster-service.xml:



  

 name="jboss:service=HAJNDI">

 jboss:service=DefaultPartition



DefaultPartition



adsl-63-193-224-220.dsl.snfc21.pacbell.net



0



1100



50





adsl-63-193-224-220.dsl.snfc21.pacbell.net

1102





---

GMS: address is adsl-63-193-224-220:11800 (additional data: 19 bytes)

---

15:34:14,491 INFO  [ClusterPartition] Starting channel

15:34:14,493 INFO  [DefaultPartition] Number of cluster members: 1

15:34:14,494 INFO  [DefaultPartition] Other members: 0

15:34:14,520 INFO  [ClusterPartition] Started ClusterPartition: 
DefaultPartition

15:34:14,522 INFO  [ClusterPartition] Started jboss:service=DefaultPartition

15:34:14,645 INFO  [EntityInstancePool] Started 
jboss.j2ee:jndiName=clustering/HTTPSession,plugin=pool,service=EJB

15:34:14,647 INFO  [EntityContainer] Started 
jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB

15:34:14,749 INFO  [ClusteredHTTPSessionService] Started 
jboss:service=ClusteredHttpSession

15:34:15,371 INFO  [HAILSharedState] Started 
jboss.mq:service=HAILSharedState

15:34:15,373 INFO  [HASessionStateService] Started 
jboss:service=HASessionState

15:34:15,431 INFO  [HANamingService] Listening on localhost/127.0.0.1:1100

15:34:15,442 WARN  [HANamingService] Failed to start AutomaticDiscovery

java.net.SocketException: Not a multicast address

at java.net.MulticastSocket.joinGroup(MulticastSocket.java:271)

at 
org.jboss.ha.jndi.HANamingService$AutomaticDiscovery.start(HANamingService.java:479)

at 
org.jboss.ha.jndi.HANamingService.startService(HANamingService.java:261)

at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)

at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
_
Online hry! Spousta zabavy s MSN Messenger 6.1 
http://www.msn.cz/procmessenger



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
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

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=1278&alloc_id=3371&op=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

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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=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_id78&alloc_id371&op=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 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=1278&alloc_id=3371&op=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_id78&alloc_id371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering problem:jboss3.2.2RC3/RedHat9.2

2003-12-18 Thread Adrian Brock
You should get a message like:
---
GMS: address is htimes2:32967 (additional data: 17 bytes)
---

If it is missing the additional data, you've hit a bug
that was fixed for 3.2.2 final

Regards,
Adrian

On Thu, 2003-12-18 at 22:21, Nishant Aggarwal wrote:
> Hi All,
> I am having problems running "Jboss3.2.2RC3-jetty4.2.11" on "Red-Hat
> Linux9.2" with "JDK1.3.1_08" in cluster mode.
> I have attempted the following things:
> 
> 1.Installed "Jboss3.2.2RC3-jetty4.2.11" on two linux machines on the same
> NFS.
> 2.Added the "multicast" enabling string on both the machines as:
> 
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 224.0.0.0   0.0.0.0 240.0.0.0   U 0  00 eth0
> 
> 3.Tested using javagroups test client(McastReceiverTest/MCastSenderTest).Its
> working fine.
> 4.Now , I ran one of the Jbosses on one of the machine in "all" mode.
> 5.When the first one came up, then started jboss on the other machine as
> well in "all" mode.
> 6.Both the jbosses seem not to recognize the presence of the other,ie,I am
> getting the following
> output in logs of both of the jboss.
> -
> [ClusterPartition] Starting channel
> [DefaultPartition] Number of cluster members: 1
> [DefaultPartition] Other members: 0
> [ClusterPartition] Started ClusterPartition: DefaultPartition
> -
> None of the jboss instances are able to recognize the presence of
> other,though the cluster-service is deployed successfully on both the
> machines.
> 
> 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=1278&alloc_id=3371&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
 



---
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=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] clustering vs. sticky session using SLSB

2003-11-25 Thread Sacha Labourey



web client or fat java 
client?

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  ECYSent: mercredi, 26. novembre 2003 04:40To: 
  [EMAIL PROTECTED]Subject: [JBoss-user] clustering 
  vs. sticky session using SLSB
  
  Sorry for this stupid question, but if I NEED load distribution 
  and DOESN'T NEED fail-over feature (fault tolerance), do I have to 
  cluster the jboss instances when using SLSB?   Or will load-balancer 
  + sticky session be more appropriate for this scenario?
   
  Thanks in advance!
   
  Regards,
  Shotie
   
<>

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:


  


port_range="5" timeout="3000" num_initial_members="2"
up_thread="true" down_thread="true" />


timeout="2500" max_tries="5" />

up_thread="true" down_thread="true" />

   up_thread="true" down_thread="true" />

   up_thread="true" down_thread="true" />

 down_thread="true" />

  down_thread="true" up_thread="true" />

shun="true" print_local_addr="true" />

  

  

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


  


port_range="5" timeout="3000" num_initial_members="2"
up_thread="true" down_thread="true" />


timeout="2500" max_tries="5" />

up_thread="true" down_thread="true" />

   up_thread="true" down_thread="true" />

   up_thread="true" down_thread="true" />

 down_thread="true" />

  down_thread="true" up_thread="true" />

shun="true" print_local_addr="true" />

  

  

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


  


port_range="5" timeout="3000" num_initial_members="2"
up_thread="true" down_thread="true" />


timeout="2500" max_tries="5" />

up_thread="true" down_thread="true" />

   up_thread="true" down_thread="true" />

   up_thread="true" down_thread="true" />

 down_thread="true" />

  down_thread="true" up_thread="true" />

shun="true" print_local_addr="true" />

  

  

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 memory usage, can we use more agressiveGC settings?

2003-09-17 Thread Sacha Labourey
Well, I don't have anything in mind except that there may have a "leak"
somewhere in the GC of sessions. You've used tomcat or Jetty? Which http
session replication implementation? Optimize-it would give you that
information.

Cheers,


Sacha

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Joao Clemente
> Sent: mercredi, 17. septembre 2003 19:07
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Clustering memory usage, can we use 
> more agressiveGC settings?
> 
> 
> Bela, if you check my thread "Cluster replica absurd memory 
> usage" I figured
> out I am doing a 1.6 requests per second to the cluster. If 
> every request
> issued 10-20 interactions between my application components, 
> it yould be
> 16-32 cluster msgs/sec, way far from being too much I guess...
> Thank you but I think the problem lies elsewere... let's see 
> what Bill and
> Sacha have in mind...
> Thanks again!
> Joao
> 
> - Original Message -
> From: "Bela Ban" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 6:18 PM
> Subject: Re: [JBoss-user] Clustering memory usage, can we use more
> agressiveGC settings?
> 
> 
> [snip]
> 
> > No, I'm not suggesting that. I don't know exactly what you 
> are doing,
> > but if you pound JGroups with (say) more than 300 cluster msgs/sec
> > *sustained*, the default protocol stack will grow in memory. fc.xml
> > (flow control) won't.
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.518 / Virus Database: 316 - Release Date: 11-09-2003
> 
> 
> 
> ---
> 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] Clustering memory usage, can we use more agressive GC settings?

2003-09-17 Thread Bela Ban
I just realized what I said is pointless - you would have to use JGroups 
2.1 or higher and I would have to make changes to the JBoss Clustering 
in order for you to use the new optimized flow control for JGroups.

I will make these changes once I join JBoss (Oct 6th):
- Update JGroups to the latest stable version
- Change package names from org.javagroups to org.jgroups
- Update the X-service.xml files affected (cluster-service.xml) and
- Provide an example of an efficient high-throughput protocol stack for 
JGroups in cluster-service.xml
- Plus: documentation of how to use the newer stack

This will be relevant for high-throughput high load situations, but I'm 
not sure if this is applicable to you. You mentioned you only send 
around 30-40msgs/sec right ?

Joao Clemente wrote:

Bela, could you point me to some documentation or provide a little better
explanation of what to do?
I'm a bit lost here... : I downloaded javagroups 2.1.1, found a fc.xml 
file
inside (btw, there's a flow-control.xml file aswell, that seems to be 
a copy
of fc.xml), checked what was inside my cluster-service.xml and the only
thing I could think of was to copy the values of "mcast_addr", 
"mcast_port",
..., "ip_ttl"
from fc.xml to cluster-service.xml... but I'm not sure if that is what you
were suggesting me...

- Original Message -
From: "Bela Ban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 5:55 PM

You should try to run JGroups with the fc.xml properties: copy them from
the JGroups distro, and modify you cluster-service.xml.

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


---
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] Clustering memory usage, can we use more agressiveGC settings?

2003-09-17 Thread Adrian Brock
On Wed, 2003-09-17 at 18:07, Joao Clemente wrote:
> Bela, if you check my thread "Cluster replica absurd memory usage" I figured
> out I am doing a 1.6 requests per second to the cluster. If every request
> issued 10-20 interactions between my application components, it yould be
> 16-32 cluster msgs/sec, way far from being too much I guess...
> Thank you but I think the problem lies elsewere... let's see what Bill and
> Sacha have in mind...
> Thanks again!
> Joao
> 

Rather than let everybody guess, since you don't seem to have
a profiler, why don't you try this free one?
http://www.khelekore.org/jmp/

Regards,
Adrian

> - Original Message -
> From: "Bela Ban" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 6:18 PM
> Subject: Re: [JBoss-user] Clustering memory usage, can we use more
> agressiveGC settings?
> 
> 
> [snip]
> 
> > No, I'm not suggesting that. I don't know exactly what you are doing,
> > but if you pound JGroups with (say) more than 300 cluster msgs/sec
> > *sustained*, the default protocol stack will grow in memory. fc.xml
> > (flow control) won't.
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.518 / Virus Database: 316 - Release Date: 11-09-2003
> 
> 
> 
> ---
> 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
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
 



---
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] Clustering memory usage, can we use more agressiveGC settings?

2003-09-17 Thread Joao Clemente
Bela, if you check my thread "Cluster replica absurd memory usage" I figured
out I am doing a 1.6 requests per second to the cluster. If every request
issued 10-20 interactions between my application components, it yould be
16-32 cluster msgs/sec, way far from being too much I guess...
Thank you but I think the problem lies elsewere... let's see what Bill and
Sacha have in mind...
Thanks again!
Joao

- Original Message -
From: "Bela Ban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 6:18 PM
Subject: Re: [JBoss-user] Clustering memory usage, can we use more
agressiveGC settings?


[snip]

> No, I'm not suggesting that. I don't know exactly what you are doing,
> but if you pound JGroups with (say) more than 300 cluster msgs/sec
> *sustained*, the default protocol stack will grow in memory. fc.xml
> (flow control) won't.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11-09-2003



---
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] Clustering experiences ...

2003-09-17 Thread Bill Burke
Disregard this.  I replied to wrong post.

Bill Burke wrote:

Maybe because you are creating new sessions every request and those 
sessions haven't timed out?  I think the default HTTP session timeout is 
15 minutes.

Rafal Kedziorski wrote:

hi,

we starting develop a new system. to release the first version of the 
application we have about 4 months. we have good experiences with 
JBoss 3.2.1 and 3.2.2RC2 in single mode. the new project should run in 
a JBoss cluster (2-3 instances in cluster. each instance on own 
hardware.). which experiences with clustering have you? good or bad? 
how is the performance (get down or stay the same over the time) in an 
cluster? we don't have any idea how many users (50, 100, 200 or more) 
will be used our service concurrently.

We want start to implements our service with JBoss 3.2.2RCx and switch 
maybe to the firt production release of JBoss 4.x. Is porting to JBoss 
4.x easy?

Regards,
Rafal


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


--

Bill Burke
Chief Architect
JBoss Group LLC.



---
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] Clustering experiences ...

2003-09-17 Thread Bill Burke
Maybe because you are creating new sessions every request and those 
sessions haven't timed out?  I think the default HTTP session timeout is 
15 minutes.

Rafal Kedziorski wrote:

hi,

we starting develop a new system. to release the first version of the 
application we have about 4 months. we have good experiences with JBoss 
3.2.1 and 3.2.2RC2 in single mode. the new project should run in a JBoss 
cluster (2-3 instances in cluster. each instance on own hardware.). 
which experiences with clustering have you? good or bad? how is the 
performance (get down or stay the same over the time) in an cluster? we 
don't have any idea how many users (50, 100, 200 or more) will be used 
our service concurrently.

We want start to implements our service with JBoss 3.2.2RCx and switch 
maybe to the firt production release of JBoss 4.x. Is porting to JBoss 
4.x easy?

Regards,
Rafal


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

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
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] Clustering memory usage, can we use more agressive GC settings?

2003-09-16 Thread Joao Clemente
Bela, could you point me to some documentation or provide a little better
explanation of what to do?
I'm a bit lost here... : I downloaded javagroups 2.1.1, found a fc.xml file
inside (btw, there's a flow-control.xml file aswell, that seems to be a copy
of fc.xml), checked what was inside my cluster-service.xml and the only
thing I could think of was to copy the values of "mcast_addr", "mcast_port",
..., "ip_ttl"
from fc.xml to cluster-service.xml... but I'm not sure if that is what you
were suggesting me...

- Original Message - 
From: "Bela Ban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 5:55 PM


> You should try to run JGroups with the fc.xml properties: copy them from
> the JGroups distro, and modify you cluster-service.xml.
>



---
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] Clustering memory usage, can we use more agressive GC settings?

2003-09-15 Thread Bela Ban


Joao Clemente wrote:

So can I assume that the behavior I am seeing is a "feature" of jgroups
version shipped with jboss 3.0.8?


No, I'm not suggesting that. I don't know exactly what you are doing, 
but if you pound JGroups with (say) more than 300 cluster msgs/sec 
*sustained*, the default protocol stack will grow in memory. fc.xml 
(flow control) won't.

I was thinking it was related with old session state not being 
discarded or something...


It could be something else, I'm just looking at the JGroups part...

I suggest you run the tests in OptimizeIt, so we know for sure who's the 
culprit wrt memory increase.

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


---
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] Clustering memory usage, can we use more agressive GC settings?

2003-09-15 Thread Joao Clemente
So can I assume that the behavior I am seeing is a "feature" of jgroups
version shipped with jboss 3.0.8?
I was thinking it was related with old session state not being discarded or
something...
Ok, I'll do that and report my results...
Thank you Bela

- Original Message - 
From: "Bela Ban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 5:55 PM
Subject: Re: [JBoss-user] Clustering memory usage, can we use more agressive
GC settings?


> You should try to run JGroups with the fc.xml properties: copy them from
> the JGroups distro, and modify you cluster-service.xml.
>
> Joao Clemente wrote:
>
> >Hi! Load testing my application ( with Jboss 3.0.8 ) I had these strange
> >results:
> >
> >If using 1 jboss node, with cluster settings active but without another
> >machine, I runned a test scenario that consisted of 10, 100 and 200 users
> >navigating through my site.
> >I had this batch file that would do
> >"run 10x scenario with 10 users, then run 10x scenario with 100 users,
then
> >run 10x scenario with 200 users"
> >
> >I left this running over night, and got the results in the next day...
> >Then I added the second machine, with similar settings, to the cluster.
> >
> >I went home and left my batch test running... 50% of load to each
machine.
> >Each machine would see the load corresponding to the following batch
test:
> >"run 10x scenario with 5 users, then run 10x scenario with 50 users, then
> >run 10x scenario with 100 users"
> >(which would total a cluster load the same as above)
> >
> >Well... my test client locked soon after beginning the 50 users test...
> >there were exceptions thrown in JBoss because of "out of memory"
errors...
> >I changed my java memeory settings by using
> >"%JAVA%" -Xmx384m %JAVA_OPTS%
> >in my run.bat file.
> >
> >I went home once again, confident that now it would work... I rerun the
"10x
> >50users + 10x 100users" test
> >When I got back... it was locked soon after starting the 100 users test,
> >with exceptions on JBoss and the memory usage (measured by windows task
> >manager) was over 400Mb...
> >Well, I rerun the 100 users test, and it eventually locked again,
exceptions
> >and memory usage again over 400Mb after running 5x the 100 users test...
> >
> >
> >While I've not reached a conclusion, these questions are bothering me:
> > -  Why did the batch rest run completely when there was only 1 machine,
> >without exceeding the standard (128, right?) Mb memory usage?
> > -  Why do I triple the memory available to java and it still goes to
> >maximum usage, and after hours of not loading the server the memory usage
> >does not decrease?
> > -  Could I set more aggressive memory settings to java that could free
more
> >memory, making my app work without the "out of memory"?



---
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] Clustering memory usage, can we use more agressive GC settings?

2003-09-15 Thread Bela Ban
You should try to run JGroups with the fc.xml properties: copy them from 
the JGroups distro, and modify you cluster-service.xml.

Joao Clemente wrote:

Hi! Load testing my application ( with Jboss 3.0.8 ) I had these strange
results:
If using 1 jboss node, with cluster settings active but without another
machine, I runned a test scenario that consisted of 10, 100 and 200 users
navigating through my site.
I had this batch file that would do
"run 10x scenario with 10 users, then run 10x scenario with 100 users, then
run 10x scenario with 200 users"
I left this running over night, and got the results in the next day...
Then I added the second machine, with similar settings, to the cluster.
I went home and left my batch test running... 50% of load to each machine.
Each machine would see the load corresponding to the following batch test:
"run 10x scenario with 5 users, then run 10x scenario with 50 users, then
run 10x scenario with 100 users"
(which would total a cluster load the same as above)
Well... my test client locked soon after beginning the 50 users test...
there were exceptions thrown in JBoss because of "out of memory" errors...
I changed my java memeory settings by using
"%JAVA%" -Xmx384m %JAVA_OPTS%
in my run.bat file.
I went home once again, confident that now it would work... I rerun the "10x
50users + 10x 100users" test
When I got back... it was locked soon after starting the 100 users test,
with exceptions on JBoss and the memory usage (measured by windows task
manager) was over 400Mb...
Well, I rerun the 100 users test, and it eventually locked again, exceptions
and memory usage again over 400Mb after running 5x the 100 users test...
While I've not reached a conclusion, these questions are bothering me:
-  Why did the batch rest run completely when there was only 1 machine,
without exceeding the standard (128, right?) Mb memory usage?
-  Why do I triple the memory available to java and it still goes to
maximum usage, and after hours of not loading the server the memory usage
does not decrease?
-  Could I set more aggressive memory settings to java that could free more
memory, making my app work without the "out of memory"?
 

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


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

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

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

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

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

RE: [JBoss-user] Clustering Problem

2003-07-27 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
> > true 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.co

RE: [JBoss-user] Clustering Problem

2003-07-27 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 
> > true 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 and failover

2003-07-27 Thread Sacha Labourey
Can you please try with a recent snapshot
(http://jboss.sourceforge.net/snapshots/): download, extract, then go in the
build directory and type build.bat or build.sh depending on your OS. The
result will be in build/output/

sacha

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Russell Chan
> Sent: vendredi, 25 juillet 2003 16:02
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Clustering and failover
> 
> 
> Hi,
> 
> I'm trying to currently get a two node cluster and a client 
> work only in a failover setup.  I'm using jboss-3.2.1.
> 
> my jboss.xml file has entries such as:
> 
>true
>
>TestEJBPartition
>  
> org.jboss.ha.framework.interfaces.Fi
> rstAvailable
>  
> org.jboss.ha.framework.interfaces.Fi
> rstAvailable
>
> 
> 
> And, my client code has jndi.properties that look like:
> 
> java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
> java.naming.factory.url.pkgs=org.jboss.naming
> java.naming.provider.url=172.23.254.12:20100,172.23.254.11:20100
> 
> (20100 is the HA-JNDI port for these two machines).
> 
> 
> 
> 
> The behaviour that I'd like is for the client to use just the 
> first host 
> (172.23.254.12) until it fails, and then failover to host 2 
> (172.23.254.11).  However, no matter what I try, the client seems to 
> round-robin the calls.  I've read through the purchased 
> clustering docs, 
> and I'm failing to see something simple here.
> 
> The clustering DOES appear to work flawlessly, as I have stateful, 
> stateless, and entity beans all in this partition, which work.  My 
> problem is that I want fail-over really, not clustering per se.
> 
> Any pointers?
> 
> Thanks,
> Russ Chan
> 
> 
> 
> ---
> 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-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
> true
> 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
> true
> 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


RE: [JBoss-user] Clustering grins and woes

2003-07-11 Thread Kevin Duffey
Sorry, I always forget that. 3.2.2RC1. We are not
seeing this work. I see the nodes show up and talking
to each other, I just don't see the app being deployed
(when starting up a new clean node) from an already
running node. I also don't see re-deployment farming
working at all. At least the several times I have
tried it.


--- Bill Burke <[EMAIL PROTECTED]> wrote:
> What version of JBoss?  I thought I fixed that
> problem in 3.2.  All farm/
> dirs should be in synch no matter when a node is
> started.
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> Behalf Of Kevin Duffey
> > Sent: Friday, July 11, 2003 2:16 PM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Clustering grins and woes
> >
> >
> > Hey all,
> >
> > Is this a better place than the jboss forums to
> get
> > help?
> >
> > Anyway, I am most impressed with the feature set
> of
> > JBoss clustering. Bill/Sacha did a great job.
> >
> > There are some issues which I have come across
> though
> > and would like to point out, and possibly get help
> on
> > if I am doing it wrong.
> >
> > So lets start off on the list:
> >
> > 1) Hot-farming works great, but only on already
> > running nodes, and only if you drop in the .jar
> for
> > the first time. When I re-deploy the .jar into one
> > node, it redeploys on that server/node, but
> doesn't
> > farm out to the other nodes. Thus, the only way
> > currently to redeploy is delete (or move) the .jar
> out
> > of a node's farm dir, then put in the new version.
> I
> > don't see that this would be a hard fix. Some sort
> of
> > file comparison in the url checking routine that
> > already works when you drop a file in the farm dir
> (or
> > deploy dir). The code is already there to
> redeploy, so
> > I am not sure why it wont update the other nodes.
> >
> > But worse, is if you bring up a new "clean" node.
> I
> > actually think i saw a message saying it was
> looking
> > for node deployments, but I either get an error
> > indicating unfinsihed deployment, or nothing at
> all
> > occurs. Thus, if I bring on a new fresh node to
> > "expand" my cluster, I have to undeploy/deploy the
> app
> > for the new node to get it via farming. This
> should be
> > part of the normal process.. that is a new node
> comes
> > online, it automatically picks up any farming
> and/or
> > deploy files.
> >
> > 2) What is farm-sevice.xml really for? We have
> seen
> > that if we drop a file in the deploy dir, it gets
> > farmed out. Yet, if we put farm-service.xml which
> > seems to only indicate the ./farm dir, the farm
> dir
> > works. I don't have farm-service.xml in my deploy
> > folder and the farm directory still works. So I am
> a
> > bit confused as to the real purpose of this xml
> config
> > file, if it is still used, or does JBoss just
> > automatically deploy anything in deploy and if a
> farm
> > dir exists, that as well?
> >
> > Some things we have learned and might help others
> to
> > watch out for:
> >
> > We have been testing our client app with three
> nodes
> > at one time. We were seeing very odd round robin
> > behavior and finally realized that our single
> button
> > click was making several ejb calls. Also, we had
> > output in only one part of the ejb side, and not
> > everything, so we were mislead in not seeing all
> the
> > possible output that was going on. What I advise
> is
> > that if you are testing an app, watching the
> console
> > output of your nodes, make sure you have verbose,
> > debug and any other mode on, and make sure you
> know
> > specifically what you are testing to watch for. We
> > originally didn't think about this, it was
> something
> > pretty simple to miss. We had the "query" output,
> but
> > didn't think that the query may be cached, for
> > example, so sometimes it may not have been
> printed,
> > but did execute on a given server node and we
> thought
> > it wasn't working.
> >
> > Anyway, myself and another chap in the forums are
> > considering writing initially a simple, but
> eventually
> > a generic comprehensive J2ee clustering test
> > application where by various scenarios would be
> > handled to ensure clustering is working, and also
> > provide some sort of performance specs and
> graphing as
> > to a given setups scalability and so forth. Before
> we
> > venture on to this, is there any free or
> open-source
> > application that is already in progress like this?
> >
> > Thanks.
> >
> >
> > __
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
> >
>
---
> > This SF.Net email sponsored by: Parasoft
> > Error proof Web apps, automate testing & more.
> > Download & eval WebKing and get a free book.
> > www.parasoft.com/bulletproofapps1
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/j

RE: [JBoss-user] Clustering grins and woes

2003-07-11 Thread Bill Burke
What version of JBoss?  I thought I fixed that problem in 3.2.  All farm/
dirs should be in synch no matter when a node is started.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kevin Duffey
> Sent: Friday, July 11, 2003 2:16 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Clustering grins and woes
>
>
> Hey all,
>
> Is this a better place than the jboss forums to get
> help?
>
> Anyway, I am most impressed with the feature set of
> JBoss clustering. Bill/Sacha did a great job.
>
> There are some issues which I have come across though
> and would like to point out, and possibly get help on
> if I am doing it wrong.
>
> So lets start off on the list:
>
> 1) Hot-farming works great, but only on already
> running nodes, and only if you drop in the .jar for
> the first time. When I re-deploy the .jar into one
> node, it redeploys on that server/node, but doesn't
> farm out to the other nodes. Thus, the only way
> currently to redeploy is delete (or move) the .jar out
> of a node's farm dir, then put in the new version. I
> don't see that this would be a hard fix. Some sort of
> file comparison in the url checking routine that
> already works when you drop a file in the farm dir (or
> deploy dir). The code is already there to redeploy, so
> I am not sure why it wont update the other nodes.
>
> But worse, is if you bring up a new "clean" node. I
> actually think i saw a message saying it was looking
> for node deployments, but I either get an error
> indicating unfinsihed deployment, or nothing at all
> occurs. Thus, if I bring on a new fresh node to
> "expand" my cluster, I have to undeploy/deploy the app
> for the new node to get it via farming. This should be
> part of the normal process.. that is a new node comes
> online, it automatically picks up any farming and/or
> deploy files.
>
> 2) What is farm-sevice.xml really for? We have seen
> that if we drop a file in the deploy dir, it gets
> farmed out. Yet, if we put farm-service.xml which
> seems to only indicate the ./farm dir, the farm dir
> works. I don't have farm-service.xml in my deploy
> folder and the farm directory still works. So I am a
> bit confused as to the real purpose of this xml config
> file, if it is still used, or does JBoss just
> automatically deploy anything in deploy and if a farm
> dir exists, that as well?
>
> Some things we have learned and might help others to
> watch out for:
>
> We have been testing our client app with three nodes
> at one time. We were seeing very odd round robin
> behavior and finally realized that our single button
> click was making several ejb calls. Also, we had
> output in only one part of the ejb side, and not
> everything, so we were mislead in not seeing all the
> possible output that was going on. What I advise is
> that if you are testing an app, watching the console
> output of your nodes, make sure you have verbose,
> debug and any other mode on, and make sure you know
> specifically what you are testing to watch for. We
> originally didn't think about this, it was something
> pretty simple to miss. We had the "query" output, but
> didn't think that the query may be cached, for
> example, so sometimes it may not have been printed,
> but did execute on a given server node and we thought
> it wasn't working.
>
> Anyway, myself and another chap in the forums are
> considering writing initially a simple, but eventually
> a generic comprehensive J2ee clustering test
> application where by various scenarios would be
> handled to ensure clustering is working, and also
> provide some sort of performance specs and graphing as
> to a given setups scalability and so forth. Before we
> venture on to this, is there any free or open-source
> application that is already in progress like this?
>
> Thanks.
>
>
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
> ---
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering broken in 3.0.6 again ?!?

2003-02-05 Thread jpcl
Thanks for your reply. I'll do it today.
In the meanwhile I've tried with a older version (3.0.5RC2) and I've got
the same behaviour... altought I had it working before (back in December).
I did had one change in my network: I now use DHCP to get my machine
addresses, when before I had it with fixed addresses...
Maybe the dhcp settings are blocking multicast? That would explain it..

Thanks again, I'll post my findings later.


> Have you read the JavaGroups doc and got e.g. the Draw demo working ? -
> do you know that you have multicast routed correctly between the nodes
> of your cluster ?





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Clustering broken in 3.0.6 again ?!?

2003-02-04 Thread Jules Gosnell
Have you read the JavaGroups doc and got e.g. the Draw demo working ? - 
do you know that you have multicast routed correctly between the nodes 
of your cluster ?

If not, then no amount of tinkering with Jetty config is going to get 
this going.

I haven't made any such changes to Jetty... maybe JavaGroups has changed ?

Works for me !


Jules


[EMAIL PROTECTED] wrote:

I am trying http clustering with jboss 3.0.6 (jetty)
[After seeing some bugs related to JavaGroups getting fixed in cvs before
3.0.6 being release I tought this "stable" would be ok too]

I just got 3 similar linux machines (2 with RedHat, 1 with Debian),
all using j2sdk1.4.1_01 and Jboss 3.0.6.
I uncommented jbossweb.sar/META-INF/jboss-service.xml to add
"distributable" support.

I've run all three with "run.sh -c all" and all three think they are alone.

([JGStore] could not retrieve current sessions from JavaGroups - assuming
this to be initial node)

It seems multicast messages are not going through... or that multicast
(javagroups) is disabled somehow..
Has there been any changes from 3.0.5 to 3.0.6 that need something to be
set up to get clustering running ?

Thanks
Joao Clemente




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user







This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering and MBean Failover Question

2002-10-04 Thread Sacha Labourey

Hello,

Nothing in the pipe. But if it had to be implemented, maybe it would be
something like the scheduleer mbean i.e. an mbean that would call the
appropriate method on any other mbean when it becomes a master.

Cheers,

Sacha

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de James
> Higginbotham
> Envoyé : vendredi, 4 octobre 2002 19:07
> À : [EMAIL PROTECTED]
> Objet : RE: [JBoss-user] Clustering and MBean Failover Question
>
>
> This sounds like an interesting solution. A question, though: Are
> there any plans to implement a way to define an mbean as being in
> a master/slave configuration from a -service.xml descriptor? Not
> that I'm asking you to implement it, but wanted to see if this is
> something the JBoss team has had requests for in the past and may
> be planning to implement. One of your "foes" supports mbeans at a
> domain level rather than a server level when in a clustered
> situtation (actual implemention success is unknown at this time,
> but the docs say so), so I was thinking something similar would
> be a nice jboss-specific feature as well.
>
> Also, does any part of Jboss use this approach already, or all
> deployed services assumed to be needed on all cluster nodes?
>
> Thanks,
> James
>
> > -Original Message-
> > From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 03, 2002 11:17 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] Clustering and MBean Failover Question
> >
> >
> > why not create a second mbean, which would be jboss specific,
> > doing all the clustering registration. When it detects it is
> > the master, it simply send a JMX notification (or any
> > invocation) to the non-jboss specific MBean saying "You are
> > the master". If you then need to port this to another
> > environment, you have one safe mbean and one non-portable
> > mbean: at least they are split.
> >
> > You can do that with any helper class aswell, it doesn't need
> > to be an mbean
> >
> > > -Message d'origine-
> > > De : [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]De la part
> > de McKnight,
> > > David Envoyé : jeudi, 3 octobre 2002 17:31
> > > À : '[EMAIL PROTECTED]'
> > > Objet : RE: [JBoss-user] Clustering and MBean Failover Question
> > >
> > >
> > > Sacha,
> > >
> > > First off, thanks to you, Marc, Scott, and everyone else there for
> > > such a cool product. We've been putting a very limited subset of
> > > features through its paces and it is working very well for us. Now,
> > > about the MBean services failover...can you think of *any* way to
> > > engineer this without having to put
> > > proprietary code in the MBean? I realize the .sar format is jboss
> > > specific,
> > > but was hoping to keep from making any jboss api calls if at all
> > > possible..
> > >
> > > thanks,
> > > David
> > >
> > >
> > >
> > >
> > > >Yes, take a look at the Distributed Replicant Manager
> > (DRM) on top of
> > > >the partition. Take a look at the very recent api change.>
> > > >
> > > >You simply register your mbean under a given name in this service,
> > > >and register for composition change (always in the DRM).
> > Inside the
> > > >event handler, you call somthing like DRM.iAmTheMasterNode
> > which will
> > > >return a boolean. If true, you are the master of the
> > cluster, if not,
> > > >you are a slave. Your mbean doesn't need to be started on
> > all nodes
> > > >of the cluster: the DRM can work with subset of a cluster.
> > >
> > >
> > > ---
> > > 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/j> boss-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] Clustering and MBean Failover Question

2002-10-04 Thread James Higginbotham

This sounds like an interesting solution. A question, though: Are there any plans to 
implement a way to define an mbean as being in a master/slave configuration from a 
-service.xml descriptor? Not that I'm asking you to implement it, but wanted to see if 
this is something the JBoss team has had requests for in the past and may be planning 
to implement. One of your "foes" supports mbeans at a domain level rather than a 
server level when in a clustered situtation (actual implemention success is unknown at 
this time, but the docs say so), so I was thinking something similar would be a nice 
jboss-specific feature as well. 

Also, does any part of Jboss use this approach already, or all deployed services 
assumed to be needed on all cluster nodes? 

Thanks,
James

> -Original Message-
> From: Sacha Labourey [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, October 03, 2002 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Clustering and MBean Failover Question
> 
> 
> why not create a second mbean, which would be jboss specific, 
> doing all the clustering registration. When it detects it is 
> the master, it simply send a JMX notification (or any 
> invocation) to the non-jboss specific MBean saying "You are 
> the master". If you then need to port this to another 
> environment, you have one safe mbean and one non-portable 
> mbean: at least they are split.
> 
> You can do that with any helper class aswell, it doesn't need 
> to be an mbean
> 
> > -Message d'origine-
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part 
> de McKnight, 
> > David Envoyé : jeudi, 3 octobre 2002 17:31
> > À : '[EMAIL PROTECTED]'
> > Objet : RE: [JBoss-user] Clustering and MBean Failover Question
> >
> >
> > Sacha,
> >
> > First off, thanks to you, Marc, Scott, and everyone else there for 
> > such a cool product. We've been putting a very limited subset of 
> > features through its paces and it is working very well for us. Now, 
> > about the MBean services failover...can you think of *any* way to 
> > engineer this without having to put
> > proprietary code in the MBean? I realize the .sar format is jboss
> > specific,
> > but was hoping to keep from making any jboss api calls if at all
> > possible..
> >
> > thanks,
> > David
> >
> >
> >
> >
> > >Yes, take a look at the Distributed Replicant Manager 
> (DRM) on top of 
> > >the partition. Take a look at the very recent api change.>
> > >
> > >You simply register your mbean under a given name in this service, 
> > >and register for composition change (always in the DRM). 
> Inside the 
> > >event handler, you call somthing like DRM.iAmTheMasterNode 
> which will 
> > >return a boolean. If true, you are the master of the 
> cluster, if not, 
> > >you are a slave. Your mbean doesn't need to be started on 
> all nodes 
> > >of the cluster: the DRM can work with subset of a cluster.
> >
> >
> > ---
> > 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/j> boss-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] Clustering and MBean Failover Question

2002-10-03 Thread Sacha Labourey

why not create a second mbean, which would be jboss specific, doing all the
clustering registration. When it detects it is the master, it simply send a
JMX notification (or any invocation) to the non-jboss specific MBean saying
"You are the master". If you then need to port this to another environment,
you have one safe mbean and one non-portable mbean: at least they are split.

You can do that with any helper class aswell, it doesn't need to be an mbean

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de McKnight,
> David
> Envoyé : jeudi, 3 octobre 2002 17:31
> À : '[EMAIL PROTECTED]'
> Objet : RE: [JBoss-user] Clustering and MBean Failover Question
>
>
> Sacha,
>
> First off, thanks to you, Marc, Scott, and everyone else there for such a
> cool product. We've been putting a very limited subset of features through
> its paces and it is working very well for us. Now, about the
> MBean services
> failover...can you think of *any* way to engineer this without
> having to put
> proprietary code in the MBean? I realize the .sar format is jboss
> specific,
> but was hoping to keep from making any jboss api calls if at all
> possible..
>
> thanks,
> David
>
>
>
>
> >Yes, take a look at the Distributed Replicant Manager (DRM) on top of the
> >partition. Take a look at the very recent api change.>
> >
> >You simply register your mbean under a given name in this service, and
> >register for composition change (always in the DRM). Inside the event
> >handler, you call somthing like DRM.iAmTheMasterNode which will return a
> >boolean. If true, you are the master of the cluster, if not, you are a
> >slave. Your mbean doesn't need to be started on all nodes of the cluster:
> >the DRM can work with subset of a cluster.
>
>
> ---
> 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] Clustering and MBean Failover Question

2002-10-03 Thread McKnight, David

Sacha,

First off, thanks to you, Marc, Scott, and everyone else there for such a
cool product. We've been putting a very limited subset of features through
its paces and it is working very well for us. Now, about the MBean services
failover...can you think of *any* way to engineer this without having to put
proprietary code in the MBean? I realize the .sar format is jboss specific,
but was hoping to keep from making any jboss api calls if at all possible..

thanks,
David




>Yes, take a look at the Distributed Replicant Manager (DRM) on top of the
>partition. Take a look at the very recent api change.>
>
>You simply register your mbean under a given name in this service, and
>register for composition change (always in the DRM). Inside the event
>handler, you call somthing like DRM.iAmTheMasterNode which will return a
>boolean. If true, you are the master of the cluster, if not, you are a
>slave. Your mbean doesn't need to be started on all nodes of the cluster:
>the DRM can work with subset of a cluster.


---
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] Clustering and MBean Failover Question

2002-10-02 Thread Sacha Labourey

Yes, take a look at the Distributed Replicant Manager (DRM) on top of the
partition. Take a look at the very recent api change.

You simply register your mbean under a given name in this service, and
register for composition change (always in the DRM). Inside the event
handler, you call somthing like DRM.iAmTheMasterNode which will return a
boolean. If true, you are the master of the cluster, if not, you are a
slave. Your mbean doesn't need to be started on all nodes of the cluster:
the DRM can work with subset of a cluster.

Cheers,


Sacha

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de McKnight,
> David
> Envoyé : mercredi, 2 octobre 2002 19:49
> À : '[EMAIL PROTECTED]'
> Objet : [JBoss-user] Clustering and MBean Failover Question
>
>
> Hopefully, this is the last question from me for awhile...maybe
> soon I'll be
> able to answer some!
>
> I have an app configured as an Mbean, working well. It can be started and
> stopped from the admin interface, etc. Also, I have set up clustering
> between two servers, and they do recognize each other and report
> when a new
> node comes online or dies. The problem is that the MBean is
> running on both
> servers at the same time. However, the way I would like this to
> work is for
> my Mbean to be active on only one node at a time. When that node
> goes down,
> the Mbean on a different node comes up - but only one active at a given
> time. As if the start() method of my Mbean only got called on 1 node. Is
> this possible? Or, will the MBean always start, and I need to
> cluster a bean
> that has been configured to have one and only one active instance? I have
> written FT apps with Tibco Rendezvous before, but this is quite different.
> Thanks for any assistance..
>
> David
>
>
>
> ---
> 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] Clustering: Possible to use a "backplane" to connect the servers??

2002-07-30 Thread Holger Baxmann

but at all, mind the gap!

... if you are the generating pk with your ejb's for example in a
PrimaryKeyGenerator and not database based like through triggers or
'autoincrement' and the clustering fails on one interface, but all nodes
are still alive ...

bax
- Original Message -
From: "Sacha Labourey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 8:38 AM
Subject: RE: [JBoss-user] Clustering: Possible to use a "backplane" to
connect the servers??


> Hello,
>
> > I am thinking if it's possible to use a 2nd network card to
implement a
> > interconnection backplane between the clustered servers.
> >
> > Let me "ascii-art" this :
> >
> >
> >   ||
> >  Load Balancer
> >   ||
> > SWITCH
> > | || |
> > | || |
> >JB1   JB2  JB4   JB5
> > | || |
> > --HUB----HUB--
> >
> >
> > In this example JB{1,2} are a cluster, and JB{3,4} are a second
cluster.
> > The replication messages would be contained in the backplane between
the
> > elements of each cluster and would not overload the other cluster.
> > The switch between the LoadBalancer and the JB instances would
redirect
> > the requests to the servers, not depending on the saturation of the
> > backplanes.
> >
> > Well, with this I'm asking 2 questions:
> >
> > 1 - Can JBoss use a topology like this?
>
> yes: in the JavaGroups properties, you can indicate which network
interface
> to use.
>
> > 2 - Someone else thinks that this (topology) can be usefull/more
> > efficient?
>
> (Could you explain me your topology first? how you use it? That's
> interesting. )
>
> First, it depends on your switch. If it has enough processing power
and a
> good backplane, you don't need a second set of interfaces. In this
case, you
> must either configure your switch to not forward multicast (of a
particular
> port) from one side to the other => you need a switch working a the
OSI
> layer 4 (=> a router) or you need to change the JavaGroups properties
to use
> TCP instead of multicast. Only membership discovery paquets will then
travel
> from one side to the other => low traffic.
>
> If you have a "slow switch" (or a very big inter-node communication),
it
> will certainly help to split the load yes.
>
> Cheers,
>
> Sacha
>
>
> P.S.: could you please use the clustering online forums? So we have a
> unified access for archives. Thank you.
>
>
>
> ---
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering: Possible to use a "backplane" to connect the servers??

2002-07-29 Thread Sacha Labourey

Hello,

> I am thinking if it's possible to use a 2nd network card to implement a
> interconnection backplane between the clustered servers.
>
> Let me "ascii-art" this :
>
>
>   ||
>  Load Balancer
>   ||
> SWITCH
> | || |
> | || |
>JB1   JB2  JB4   JB5
> | || |
> --HUB----HUB--
>
>
> In this example JB{1,2} are a cluster, and JB{3,4} are a second cluster.
> The replication messages would be contained in the backplane between the
> elements of each cluster and would not overload the other cluster.
> The switch between the LoadBalancer and the JB instances would redirect
> the requests to the servers, not depending on the saturation of the
> backplanes.
>
> Well, with this I'm asking 2 questions:
>
> 1 - Can JBoss use a topology like this?

yes: in the JavaGroups properties, you can indicate which network interface
to use.

> 2 - Someone else thinks that this (topology) can be usefull/more
> efficient?

(Could you explain me your topology first? how you use it? That's
interesting. )

First, it depends on your switch. If it has enough processing power and a
good backplane, you don't need a second set of interfaces. In this case, you
must either configure your switch to not forward multicast (of a particular
port) from one side to the other => you need a switch working a the OSI
layer 4 (=> a router) or you need to change the JavaGroups properties to use
TCP instead of multicast. Only membership discovery paquets will then travel
from one side to the other => low traffic.

If you have a "slow switch" (or a very big inter-node communication), it
will certainly help to split the load yes.

Cheers,

Sacha


P.S.: could you please use the clustering online forums? So we have a
unified access for archives. Thank you.



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering

2002-05-27 Thread Sacha Labourey

Hello Unmesh,

Well, it should ;)

More seriously, we have received some feedback from users having problems
with DHCP on Windows OSes. But we thing that this is more related to the JVM
implementation than anything. Consequently, you may have no problem in your
environment.

Do no hesitate to use the online forums (there is a clustering forum) first.

Cheers,


Sacha

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Unmesh S
> Malvankar
> Envoye : mardi, 28 mai 2002 07:04
> A : [EMAIL PROTECTED]
> Objet : RE: [JBoss-user] Clustering
>
>
>  Does JBoss clustering work if the nodes are configured in a DHCP
> environment?
> --
>
> On Wed, 22 May 2002 17:55:46
>  Bill Burke wrote:
> >Yes, JBoss supports clustering now.
> >
> >http://www.jboss.org/developers/jboss-jbossClustering.jsp
> >
> >JBoss clustering only requires some additional configuring of
> the deployment
> >descriptors.
> >
> >Bill
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED]]On Behalf Of
> bryan hansen
> >> Sent: Wednesday, May 22, 2002 5:21 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: [JBoss-user] Clustering
> >>
> >>
> >> It is my understanding that JBoss supports clustering
> >> now, correct? When I was looking a while back it
> >> didn't.
> >>
> >> I guess this is more of a J2EE question, but code
> >> shouldn't have to be written differently to run on a
> >> cluster should it? As long as the code is written to
> >> the J2EE spec and runs on a single instance, it should
> >> run on a cluster just fine, if I understand this
> >> correctly.
> >>
> >> Thanks,
> >>
> >> Bryan
> >>
> >> __
> >> Do You Yahoo!?
> >> LAUNCH - Your Yahoo! Music Experience
> >> http://launch.yahoo.com
> >>
> >> ___
> >>
> >> Don't miss the 2002 Sprint PCS Application Developer's Conference
> >> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >>
> >> ___
> >> JBoss-user mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >___
> >
> >Don't miss the 2002 Sprint PCS Application Developer's Conference
> >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> 
> Outgrown your current e-mail service?
> Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS
> MAIL PLUS.
> http://login.mail.lycos.com/brandPage.shtml?pageId=plus
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering

2002-05-27 Thread Unmesh S Malvankar

 Does JBoss clustering work if the nodes are configured in a DHCP environment?
--

On Wed, 22 May 2002 17:55:46  
 Bill Burke wrote:
>Yes, JBoss supports clustering now.
>
>http://www.jboss.org/developers/jboss-jbossClustering.jsp
>
>JBoss clustering only requires some additional configuring of the deployment
>descriptors.
>
>Bill
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of bryan hansen
>> Sent: Wednesday, May 22, 2002 5:21 PM
>> To: [EMAIL PROTECTED]
>> Subject: [JBoss-user] Clustering
>>
>>
>> It is my understanding that JBoss supports clustering
>> now, correct? When I was looking a while back it
>> didn't.
>>
>> I guess this is more of a J2EE question, but code
>> shouldn't have to be written differently to run on a
>> cluster should it? As long as the code is written to
>> the J2EE spec and runs on a single instance, it should
>> run on a cluster just fine, if I understand this
>> correctly.
>>
>> Thanks,
>>
>> Bryan
>>
>> __
>> Do You Yahoo!?
>> LAUNCH - Your Yahoo! Music Experience
>> http://launch.yahoo.com
>>
>> ___
>>
>> Don't miss the 2002 Sprint PCS Application Developer's Conference
>> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>>
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>___
>
>Don't miss the 2002 Sprint PCS Application Developer's Conference
>August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user
>



Outgrown your current e-mail service?
Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering

2002-05-22 Thread Bill Burke

Yes, JBoss supports clustering now.

http://www.jboss.org/developers/jboss-jbossClustering.jsp

JBoss clustering only requires some additional configuring of the deployment
descriptors.

Bill

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of bryan hansen
> Sent: Wednesday, May 22, 2002 5:21 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Clustering
>
>
> It is my understanding that JBoss supports clustering
> now, correct? When I was looking a while back it
> didn't.
>
> I guess this is more of a J2EE question, but code
> shouldn't have to be written differently to run on a
> cluster should it? As long as the code is written to
> the J2EE spec and runs on a single instance, it should
> run on a cluster just fine, if I understand this
> correctly.
>
> Thanks,
>
> Bryan
>
> __
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] clustering question

2002-04-30 Thread Andrew Scherpbier

I know this is OT, but the thread reminded me of this...
Has anyone looked at using something like "JSR-107: JCACHE - Java 
Temporary Caching API" to help in keeping cached entity beans in a 
cluster synchronized instead of relying solely on the database?

David Jencks wrote:

>I don't see a response yet from the experts...so I will jump in.
>
>Don't use commit option A with clustering, and do use whatever your
>database supplies for select for update.  The clustering implemention
>relies on database locking to synchronize the different copies of entities.
>
>I actually don't know of any other way to get consistency, but would be
>interested in finding out if there are other ways.
>
>david jencks
>



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] clustering question

2002-04-30 Thread Sacha Labourey


> I don't see a response yet from the experts...so I will jump in.

Sometimes, I sleep ;)
 
> Don't use commit option A with clustering, and do use whatever your
> database supplies for select for update.  The clustering implemention
> relies on database locking to synchronize the different copies of 
> entities.

exact. See specific case for read-only beans.

> I actually don't know of any other way to get consistency, but would be
> interested in finding out if there are other ways.

Distributed cache is one way, but you already knew that :)

Cheers,



Sacha


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] clustering question

2002-04-30 Thread Sacha Labourey

Hello Dennis,

For now, for entity beans, we use pessimistic locking at the database level i.e. we 
use the ~"SELECT ... FOR UPDATE" features of databases to lock database rows. 
Consequently, you need to run in commit option C (or B if you have a kid whose name 
starts with a B... it won't make a huge difference.)

Now, if you use commit option A, it means that you have read-only beans. In this case, 
it makes perfect sense.

Then, if you want caching + commit option C, then you will either have to:
1°) wait on a future release of JBoss that may have distributed cache (nothing 
planed)
2°) use one of JBoss' partners distributed cache (see the partner page on 
JBoss web site)

Anyway, read the clustering doco, you will understand all this very easily ;)

Cheers,


Sacha


> Let's say I cluster two jboss servers and I have an Entity Bean with
> commit option A.
> 
> Are the attributes of the Entity Bean clustered?  ie: user on server 1
> calls a set Method, then user on server 2 calls the get method for that
> attribute.  Can I expect the attribute to be current on server 2?
> 
> If the data wasn't clustered I would say no because server 2 would think
> it has exclusive access to the data (commit option A) so it wouldn't
> load it.  I want to know if the clustering broadcasts the attribute
> changes??
> 
> Thanks
> Dennis
> 
> 
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] clustering question

2002-04-29 Thread David Jencks

I don't see a response yet from the experts...so I will jump in.

Don't use commit option A with clustering, and do use whatever your
database supplies for select for update.  The clustering implemention
relies on database locking to synchronize the different copies of entities.

I actually don't know of any other way to get consistency, but would be
interested in finding out if there are other ways.

david jencks


On 2002.04.29 17:14:51 -0400 Dennis Muhlestein wrote:
> Let's say I cluster two jboss servers and I have an Entity Bean with
> commit option A.
> 
> Are the attributes of the Entity Bean clustered?  ie: user on server 1
> calls a set Method, then user on server 2 calls the get method for that
> attribute.  Can I expect the attribute to be current on server 2?
> 
> If the data wasn't clustered I would say no because server 2 would think
> it has exclusive access to the data (commit option A) so it wouldn't
> load it.  I want to know if the clustering broadcasts the attribute
> changes??
> 
> Thanks
> Dennis
> 
> 
> 

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering (failover) works but not RoundRobin load-balancing policy

2002-04-08 Thread Sacha Labourey

Hello Michel,

I've just made some test yesterday with the latest CVS version (plus fixed a bug). Can 
you please try the CVS HEAD and if it doesn't work, send me your code. 

Thank you. Cheers,



Sacha



> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Michael
> Arena
> Envoye : lundi, 8 avril 2002 21:09
> A : [EMAIL PROTECTED]
> Objet : [JBoss-user] Clustering (failover) works but not RoundRobin
> load-balancing policy
> 
> 
> I have read the other forum threads related to RoundRobin 
> load-balancing and 
> they did not solve the problem where the EJB request is always 
> sent to the 
> last node to join the cluster.
> I have clustering running (using the default cluster-service.xml 
> provided) and 
> I confirmed that failover does work.
> But load-balancing does not.
> I have a SLSB with the True tag in the jboss.xml 
> descriptor (but I did not add a cluster-config tag since the 
> default policy is 
> RoundRobin).
> I put the same MyBean.jar in the deploy directory of both servers (one on 
> Win2K and one on Solaris 8).
> For the JNDI lookup, it does not seem to matter which node of the 
> cluster or 
> which port I use (jnp or HA):
> jnp://localhost:1099 -> calls bean on remote node of cluster
> localhost:1100 -> calls bean on remote node of cluster
> localhost:1100,otherhost:1100 -> calls bean on remote node of cluster
> 
> These are the only messages I get when deploying the bean:
> 12:52:58,005 INFO [MainDeployer] Deploying: 
> file:/usr/users/cluster/jboss-3.0.0beta/deploy/MyBean.jar
> 12:52:58,463 INFO [EJBDeployer] Deploying com.lightbridge.xyz.ejb.MyBean
> 
> BTW, what is the deploy/farm directory for?
> ---
> Michael Arena, Chief Architect   [EMAIL PROTECTED]
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Clustering with JBoss

2001-06-13 Thread Keerthi P

wait till jBoss3.0 is released !
--- kevin1 <[EMAIL PROTECTED]> wrote:
> 
> Hello all, 
>   I have my app servers running in a clustered
> environment.  What support does
> JBoss have for this?  If there is no such support -
> what steps would I need to
> take to add it?
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering with JBoss

2001-06-13 Thread Sacha Labourey

Hello,

A first test release of HA features for JBoss is available from here:
http://194.38.95.241/jboss/

It provides only HA features for Stateless Session Beans and should be
included in Jboss 3.0.

I will shortly (I do not have much time these days) post a written proposal
for the next version of HA.

Anyway, depending on what you want to achieve, you can already built some
"cluster" of JBoss servers. Check the archives for some recent posts
describing such configurations.

Cheers,


Sacha



> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de kevin1
> Envoyé : jeudi, 14 juin 2001 01:33
> À : [EMAIL PROTECTED]
> Objet : [JBoss-user] Clustering with JBoss
>
>
>
> Hello all,
>   I have my app servers running in a clustered environment.
> What support does
> JBoss have for this?  If there is no such support - what steps
> would I need to
> take to add it?
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Clustering

2001-04-23 Thread Sacha Labourey

Hello Gajendra,

You will find Stacy's work directly in the CVS tree (or last source daily snapshot 
available from JBoss web site).

As for the HA features for SLSB, you will get everything needed here : 
http://194.38.95.241/jboss/

Feedback is welcome!

Cheers,



Sacha




> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Gajendra
> Deshmukh
> Envoye : mardi, 24 avril 2001 06:41
> A : [EMAIL PROTECTED]
> Objet : [JBoss-user] Clustering
> 
> 
> 
> 
> From the Jboss Site ---
> HA/Failover: Stacy Curl submits HA/Failover JMX
> which becomes JBossMX module. 
> 
> Clustering: Sacha Labourey posts a first
> implementation of HA features for stateless
> session beans for testing. 
> 
> Question --
> 
> Where do I find the JBossMX Module?
> 
> Where do I find Sacha Labourey post?
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user