[JBoss-user] [Clustering/JBoss] - Re: java.net.NoRouteToHostException: No route to host
Yes, if you run on the VPN route, then kill the VPN session while you are still connected. You could set the interface (NIC) to use explicitly by setting UDP(bind_addr="1.2.3.4") or -Dbind.address=1.2.3.4 Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855677#3855677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855677 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.net.NoRouteToHostException: No route to host
This means the routing table changed *while* you were running JBoss. Did you pull a plug ? On Windows, 'media sense' will unplumb that interface. You can set UDP(loopback="true";...) to work around the problem. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=388#388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=388 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: UDP bind_addr vs. -Dbind.address JBoss 3.2.6
So do you want me to add that 'ignore.bind.address' system prop now, or not ? Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854618#3854618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854618 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: getChannel method on ClusterPartition MBean for JBoss ca
Yes, this is on the roadmap, we'll do it for 1.2 if we finish this before end of November, otherwise it will be the first task on the 1.3 roadmap. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854592#3854592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854592 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: UDP bind_addr vs. -Dbind.address JBoss 3.2.6
"sheckler" wrote : Yes, that is exactely my problem. I want the clustering bind to an other lan address than the jboss instance does to and this is working with 3.2.5. The -b option should n o t override the UDP.bind_addr for my purpose. | | May be the physical network configuration I have to consider shoud better be changed. If the new behaviour of JBoss 3.2.6 is the correct, planned behaviour I will have talk to my network people. Will this behaviour stay like this in future? | | Thanks fir Your answer in advance | Stefan | | | Yes, as I said: n 3.2.6, if you use -b or --host, then this *overrides* the UDP.bind_addr property in the cluster-service.xml . Let me know if this is a problem for you. An option might be to add another system prop that ignore the -Dbind.address property. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854255#3854255 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854255 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering across sub-nets?
Yes. Multiple subnets: make sure IP multicasting is enabled and set the ip_ttl high enough WANs: use a TCP-based configuration. Check out the docs at jgroups.org for details on how to do that. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852684#3852684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852684 --- 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
[JBoss-user] [Clustering/JBoss] - Re: UDP bind_addr vs. -Dbind.address JBoss 3.2.6
I just re-ran 3.2.6: run.sh -b 127.0.0.1 -c all and it *did* bind to the correct address. In 3.2.6, if you use -b or --host, then this *overrides* the UDP.bind_addr property in the cluster-service.xml Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852416#3852416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852416 --- 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
[JBoss-user] [Clustering/JBoss] - Re: non multicating(TCP) does not work and throws ChannelExc
Post your cluster-service.xml Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852401#3852401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852401 --- 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
[JBoss-user] [Clustering/JBoss] - Re: JGroups Protocol Stack Configutation - Total Token
Have a look at total_token.xml in JGroups/conf (JGroups distro). Note that I will start rewriting (or improve) TOTAL_TOKEN early next year. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850500#3850500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850500 --- 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
[JBoss-user] [Clustering/JBoss] - Re: Stack protocol configurations problem...
You need to switch NAKACK and STABLE, like below: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850354#3850354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850354 --- 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
[JBoss-user] [Clustering/JBoss] - Re: java.net.SocketException: The message is larger than the
Hmm, please enable logging (as described). I cannot find the "larger message" error in any of the newer JGroups versions (starting from 2.2.4). Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849923#3849923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849923 --- 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
[JBoss-user] [Clustering/JBoss] - Re: java.net.SocketException: The message is larger than the
Hmm, this is strange because the message size is *0* ! So this is probably caused by another exception. You could enable logging: add a category for org.jgroups.protocols.UDP at the TRACE level. What version of JGroups ? java -jar server/all/lib/jgroups.jar org.jgroups.Version Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849873#3849873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849873 --- 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
[JBoss-user] [Clustering/JBoss] - Re: java.net.SocketException: The message is larger than the
Post your cluster-service.xml. You probably need to defined a frag_size in FRAG. Use JGroups/bin/frag_size.sh to determine the optimal fragmentation size. Bela P.S.: you'll also need to specify the frag size in NAKACK View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849863#3849863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849863 --- 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
[JBoss-user] [Clustering/JBoss] - Re: TCP JGroups stack
In initial_hosts, just list *all* hosts, or most of them. Simply add the STATE_TRANSFER protocol from the UDP config, you'll need it for JBoss. There's a tcp.xml in JGroups/conf (from the JGroups (src) distro) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848994#3848994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848994 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: TCP JGroups stack
http://www.jgroups.org/javagroupsnew/docs/newuser/node63.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848951#3848951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848951 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - JBossCache/Clustering tasks available
I have been asked my a number of people whether they could help with development. Below are some tasks that I have decided to outsource (if we find the right people). All tasks require a good knowledege of JBoss, and *excellent* knowledege of JBossCache and Clustering. Anyone tackling one of these tasks has to be self-driven - I don't have much time for hand holding. Successful completion / good work leads to a preferred position when we look to employ people... Here are the tasks (copied&pasted from the roadmap, contact me ([EMAIL PROTECTED]) for details): - DistributedState (clustering) replacement - Porting to JBossCache implementation - dev1, 4 weeks * [Independent of JBossCache development] - Run JBossCache in WebLogic/Websphere - JBossTransactionManagerLookup plugin - We can run JBCache under StartupClass in WL - Documentation, how-to - Dev2, 6 weeks (possible dependecy on JBossMX) * [Independent of JBossCache development] - HAJNDI implementation - Dev1, 6 weeks [Independent of JBossCache development] Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848929#3848929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848929 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: 2 node cluster
This should *not* happen ! You should be able to access node2 immediately. Can you take a stack trace on node2 when it hangs for the 60 secs ? Also post your cluster-service.xml. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848281#3848281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848281 --- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: setsockopt IP_ADD_MEMBERSHIP failed
If you run a *TCP* based configuration, you will *not* see this problem. At least not in JChannel, but HAJNDI uses multicast as well. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847775#3847775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847775 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI bind taking 60s
I just ran this with the latest CVS from the 3.2 branch (a.k.a JBoss 3.2.6RC3, and it worked without problems. Are you sure you have a cluster, ie. could you check in jmx-console --> DefaultPartition --> CurrentView attribute should show 2 instances. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847714#3847714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847714 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: setsockopt IP_ADD_MEMBERSHIP failed
post your cluster-service.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847704#3847704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847704 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: How to minimize the traffic in a cluster.
If you use the default config, and replace FD with FD_SOCK, then traffic will be *null* when there is no data between the nodes (e.g. replication messages). Isn't it the case that you're seeing lots of trafic because you are making a lot of changes, thus replicating a lot ? Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847083#3847083 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847083 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering issue with JGroups on JBoss 3.2.5
Sorry, incorrect information: you set the invalidation mode in the InvalidationManager MBean; it is called "AsynchronousInvalidation". By default it is *asynchronous* not synchronous. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846469#3846469 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846469 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering issue with JGroups on JBoss 3.2.5
1. If you want to use the InvalidationManager directly, all invalidateXXX() calls have a 'async' boolean parameter. 2. If you use the EntityBeanCacheBatchInvalidatorInterceptor, then all invalidations are synchronous by default (a.k.a hard-coded). Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846464#3846464 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846464 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering issue with JGroups on JBoss 3.2.5
Yes, you can make this asynchronous, depending on what you use. E.g. in HTTP session clustering you can switch from "instant" replication to "interval" replication. For the TCP-based config, check out jgroups.org -> User's Guide for an example Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846401#3846401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846401 --- 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
[JBoss-user] [Clustering/JBoss] - Re: running two clusters on the same network
No, there's no system property for mcast_addr. The problem is that a JBoss node can be member of multiple clusters, then you wouldn't be able to use a single system prop. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845795#3845795 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845795 --- 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
[JBoss-user] [Clustering/JBoss] - Re: How(when) detects the cluster the dead members?
Pulling the plug should result in a viewAccepted() callback. Depending on the parameters of FD it will take more or less time. I have done this before on various systems, and it has always worked. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845587#3845587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845587 --- 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
[JBoss-user] [Clustering/JBoss] - Re: How(when) detects the cluster the dead members?
The dead member should be removed from the membership, but only if you use FD rather than FD_SOCK in (cluster-service.xml) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845573#3845573 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845573 --- 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
[JBoss-user] [Clustering/JBoss] - Re: Clusternodes talking in separate network, clients connec
use bind_addr in in cluster-service.xml (search this forum for bind_addr) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845216#3845216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845216 --- 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
[JBoss-user] [Clustering/JBoss] - Re: Election of Master Node
afaik. The HASingleton simply relies on callbacks received by the underlying JGroups. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845188#3845188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845188 --- 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
[JBoss-user] [Clustering/JBoss] - Re: Election of Master Node
This is part of JGroups, MERGE2 protocol plus GMS. You could write your own JGroups protocol to replace the existing algorithm. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845138#3845138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845138 --- 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
[JBoss-user] [Clustering/JBoss] - Re: bind_addr ignored?
BTW: the --host switch suffices here, no need for bind_addr in the parameters for JGroups. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844937#3844937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844937 --- 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
[JBoss-user] [Clustering/JBoss] - Re: bind_addr ignored?
I fixed this in the CVS. Did it for UDP, but apparently forgot TCP... Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844936#3844936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844936 --- 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
[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
JGroups dev list View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842487#3842487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842487 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Help required setting up TCP based cluster
Change the bind_addr from "localhost" to a real IP address. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842323#3842323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842323 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
"jiwils" wrote : | Basically, I ended up making the XMLConfigurator parse(InputStream) method call the parse(Element) method, fixed a possible ClassCastException causing situation in ConfiguratorFactory (I caused one), and added File as a possible parameter for the JChannel constructor that is used in ConfiguratorFactory. | anonymous wrote : | So, how should I get these changes to you: post forums diffs (like last time, but longer), via CVS checkin ("jiwils" is my sourceforge account name), or some other method? | I gave you CVS r/w, could you check in your changes ? Please read the RULES file for all new developers. anonymous wrote : | One other question: why does the JChannel constructor takes one Object parameter rather than having overloaded constructors? Because most args ars String, which can mean: - old style plain string configuration - filename - URL - filename on classpath So I have to have some logic to handle these in the same method anyway. Also, I don't want to have 5 constructors for JChannel. 2-3 maybe, but you have to convince me first :-) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842307#3842307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842307 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
"jiwils" wrote : Could I also get the source for JGroups 2.2.4? What tag (if any) could I pull from CVS? I would like to apply these changes to that version (they seem unlikely to affect any other part of the code) since we are using JBoss 3.2.4 and my seperate client code (JGroups 2.2.5+) throws an exception when it sees the 2.2.4 version. - Look into jboss-3.2/thirdparty/javagroups/lib/README. The tag used to create JGroups is in there (possibly JG_2_2_4). - Check out JGroups (co -r JG_2_2_4 JGroups) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842128#3842128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842128 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
Done (in CVS). If you happen to have some spare time, you could merge the 2 parse methods into 1, I think we could easily extract a common method used by the 2 parse() methods... Bela "jiwils" wrote : Your XMLConfigurator changes added a bug, and it makes your changes unlikely to work. | | The try block at line 323 in the parse method that takes an Element as a parameter starts like this: | | try { | | Node root=null; | | | | NodeList roots=root_element.getChildNodes(); | | for(int i =0; i < roots.getLength(); i++) { | | root=roots.item(i); | | if(root.getNodeType() != Node.ELEMENT_NODE) | | continue; | | } | | | | String root_name=root.getNodeName(); | | Considering that the Element passed is likely the "config" element, this code would not work, and since the root node is always assigned regardless of its node type in the for loop, who knows what node you will end up with. | | I made the following changes in order to get the expected behavior: | | try { | | Node root=root_element; | | | | //NodeList roots=root_element.getChildNodes(); | | //for(int i =0; i < roots.getLength(); i++) { | | //root=roots.item(i); | | //if(root.getNodeType() != Node.ELEMENT_NODE) | | //continue; | | //} | | | | String root_name=root.getNodeName(); | | Can you commit this change (or something like it) to CVS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842125#3842125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842125 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
My bad - XmlConfigurator.parse(Element) was still using the old format. I changed it, essentially copied XmlConfigurator.parse(InputStream). Try it out now, need to get JGroups from the CVS. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841968#3841968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841968 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Why is this logged with the WARN level?
Randomly selecting mcast ports doesn't work, because the mcast ports have to be the same across a cluster ! This technique works for unicast sockets, however, and there is an example in UDP.java. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840552#3840552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840552 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Why is this logged with the WARN level?
No benefits. Just change the mcast_addr/port, so you don't have to change the partition name everywhere. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840551#3840551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840551 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Why is this logged with the WARN level?
No, I consider this an error: same IP mcast address, same port, but different partition name. I suggest changing the port and/or address instead of - or in addition to - the partition name Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840504#3840504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840504 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.2 Clustering Issues After Servers are Running
You could also replace FD with FD_SOCK, so you establish sockets between peers rather than use messaging/heartbeating to detect a crashed server. Note, however, that this will *not* exclude a hung server. Also search for my more detailed expl on this forum earlier. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840494#3840494 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840494 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Windows XP cluster on one machine
bind_addr=127.0.0.1 will bind to the loopback, even if both nodes are on the same machine this may be flakey. Try without the bind_addr, or set it to a well-known interface. You could also try with the latest JGroups, which I want to put out this weekend. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839986#3839986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839986 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: 3.2.4 cluster problem
So you're saying the *same* program with the *same* config (cluster-service.xml) worked under 3.2.3, but *not* under 3.2.4 ? Can you - post your JGroups configuration - enable tracing Let's do Draw first so we can determine whether it is a JGroups problem. Copy your attribute from cluster-service.xml into a file, e.g. test.xml, and start Draw like this: java -Dlog4j.configuration=file:c:\log4j.properties org.jgroups.demos.Draw -props c:\\test.xml c:\log4j.properties needs to have an entry for org.jgroups set to DEBUG. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839432#3839432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839432 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jboss multiple nodes on same machine
To make JGroups bind to a specific NIC, use the bind_addr parameter to the JGroups configuration in cluster-service.xml for now. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838164#3838164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838164 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Wrong Multicast IP UDP address
"hbaxmann" wrote : You are as kind with me as my mother was :-)) | | Thanks a lot. | | [ rant ] | But unfortunately, putting the other quaintnesses of the build&test aside, I am disappointed. Is it not normal to have an exceptable result for an mostly out-of-the-box used product? If yes where are they and which is the canon? | | At the very moment, I am relatively alone with 153 errors (unanticipated !) in the reference environment. | And I know what I am doing here - since then. | | [ rant ] | | could not resist | | bax come again ? I don't know what you are talking about ... Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838163#3838163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838163 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Wrong Multicast IP UDP address
"hbaxmann" wrote : Looks ok so far. But why does JGroups rely on a reverse DNS lookup: | | 18:10:26,918 INFO [DefaultPartition] Initializing | 18:10:27,128 INFO [UDP] unicast sockets will use interface 192.168.1.102 | 18:10:27,128 INFO [UDP] socket information: | local_addr=tabletti:1479 (additional data: 18 bytes), mcast_addr=228.1.2.3:45566, bind_addr=/192.168.1.102, ttl=32 | socket: bound to 192.168.1.102:1479, receive buffer size=15, send buffer size=80 | multicast socket: bound to 192.168.1.102:45566, send buffer size=80, receive buffer size=15 | 18:10:27,138 INFO [STDOUT] | --- | GMS: address is tabletti:1479 (additional data: 18 bytes) | --- | | thank you | | bax Okay, just for you: :-) I added a system property resolve.dns, which disables DNS resolving. By default it is "true" (resolving enabled). Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838007#3838007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838007 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Wrong Multicast IP UDP address
"hbaxmann" wrote : Looks ok so far. But why does JGroups rely on a reverse DNS lookup: | | 18:10:26,918 INFO [DefaultPartition] Initializing | 18:10:27,128 INFO [UDP] unicast sockets will use interface 192.168.1.102 | 18:10:27,128 INFO [UDP] socket information: | local_addr=tabletti:1479 (additional data: 18 bytes), mcast_addr=228.1.2.3:45566, bind_addr=/192.168.1.102, ttl=32 | socket: bound to 192.168.1.102:1479, receive buffer size=15, send buffer size=80 | multicast socket: bound to 192.168.1.102:45566, send buffer size=80, receive buffer size=15 | 18:10:27,138 INFO [STDOUT] | --- | GMS: address is tabletti:1479 (additional data: 18 bytes) | --- | | thank you | | bax Okay, just for you: :-) I added a system property resolve.dns, which disables DNS resolving. By default it is "true" (resolving enabled). Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838006#3838006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838006 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Wrong Multicast IP UDP address
"hbaxmann" wrote : Hi Bela, | | thanks a lot, I was hoping to demonstrate this kind of functionality to a customer, than he has to wait till the next (3.2.5 ??) release :-( | | Any timeframe for this? | | wbr | bax | | You can use -DUDP.bind_addr for now, e.g. provide your own script (copy of run.sh). The change will be part of 3.2.5. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838003#3838003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838003 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Wrong Multicast IP UDP address
JGroups conveniently ignores -b, you have to set it manually in cluster-service.xml. Add a bind_addr=x.x.x.102 to the UDP properties. I just changed JGroups, and JBoss head and 3.2 so JGroups actually does use jboss.bind.address if it is set (via -b or --host). This will be in the next release. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837988#3837988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837988 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final
Here's a quick build of jbossha.jar: www.jgroups.org/jbossha.jar. No guarantees it will work with your version of JBoss, you're on your own. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837879#3837879 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837879 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final
You don't need a jgroups.jar, but a jbossha.jar Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837878#3837878 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837878 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Two questions: failover, persistent distributed state
Yes - this will be JBossCache configured with a CacheLoader. Stay tuned for JavaOne. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837804#3837804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837804 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final
"tbauer" wrote : Thanks Bela and Scott...I appreciate you prompt reply... | I will keep an eye out for an updated version on sourceforge (I'm not savy enough to build everything myself). | | cheers, | | tim | It is actually quite simple, but we'll put out a patch soon. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837796#3837796 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837796 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final
My mistake, I'm changing it in 3.2 and CVS head. Oops, cannot access the CVS right now, Scott, can you change JGCacheInvalidationBridge.java line 64, change it to protected final Class[] rpc_batch_invalidate_types=new Class[]{BatchInvalidation[].class}; The parameter is an *array* of BatchInvalidations, rather than a single object. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837654#3837654 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837654 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: how many servers are in cluster
ClusterPartitionMBean.getCurrentView().size() Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836170#3836170 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836170 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: heterogeneous cluster nodes
this works, but you have to have the same versions of the JDKs. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835395#3835395 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835395 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jgroups in 3.2.4RC2 ?? How to turn off logging?!?!?!
set the category "org.jboss.ejb.plugins to WARN (or INFO should work too in that case) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835305#3835305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835305 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jgroups in 3.2.4RC2 ?? How to turn off logging?!?!?!
"tbauer" wrote : Okay, seems to work now...but one question?? I have ALWAYS gotten | this message on the console... | How (or what) is a valid multicaset address/port given I want to | hardcode the IP address in the HANamingService section of the .xml | | | 18:35:14,978 INFO [HANamingService] Listening on /63.193.224.220:1100 | 18:35:14,994 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) | What's the value of your 230.0.0.4 ? (in cluster-service.xml). It needs to be between 224.x.x.x and 239.2x.x.x View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835287#3835287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835287 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jgroups in 3.2.4RC2 ?? How to turn off logging?!?!?!
"tbauer" wrote : | | | | | what are the valid values for priority value?? DEBUG, WARNING, ERROR? | | I want to quiet jgroups except for errors?? | | thx, | | tim | Valid values are fatal, error, warn, trace, debug, info You want to set the tracing level for org.jgroups.protocols.{TCP,TCPPING} to WARN because they still use INFO, which is too verbose. I just checked in the changes which now uses TRACE as logging level. So setting the 2 cats is a temp solution, until the new version of JGroups is shipped with JBoss (3.2.4RC3). Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835284#3835284 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835284 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jgroups in 3.2.4RC2 ?? How to turn off logging?!?!?!
"tbauer" wrote : okay, so I have tcp.xml, but how and where do I put this file (or it's contents) in JB 3.2.4FC2 to make it work?? server//deploy/cluster-service.xml. Just replace the matching tag with the contents of tcp.xml, e.g. XSAM_Partition_XSAM26B_partition False View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835286#3835286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835286 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jgroups in 3.2.4RC2 ?? How to turn off logging?!?!?!
// 1. Why do you NEVER give a good example of // using TCP in the cluster-service.xml file... Coming. For now you can just copy tcp.xml from JGroups/conf. // UDP is lame, and probably used in production // environments. you're saying ? // 2. The documentation on the javagroups // (jgroup.org) site is 2 YEARS out of // date...PLEASE UPDATE IT I hear you (and others). Documentation is on the todo list // 3. How the heck do a turn off the REAMS of // information coming out of FIND_INITIAL_MBRS in your log4j.xml file: Sorry about that, this was caused by the conversion from trace to commons-logging. I already changed this in the JGroups CVS, but for now excluding these cats is the only way to solve this. I'll be at JavaOne, come to my BOF and you can bang my head with a baseball bat to let off some steam ... :-) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835280#3835280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835280 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Jboss multiple nodes on same machine
No, this works. I use the BindingService on node-2, and it works perfectly. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835217#3835217 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835217 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HTTP session clustering in jboss 3.2.1 causing memory pr
I plan to add a flow-control based configuration to JBoss soon. However, this requires some stuff in JGroups that's fairly new. This will be available in JBoss 3.2.4 (or 3.2.5), but you will most probably be able to just take the config file and jgroups.jar from 3.2.4 and copy it to 3.2.1. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832203#3832203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832203 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Bound objects in your HA-JNDI
Yes, there is a listBindings method Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832180#3832180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832180 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: OutOfMemory exception on a 2 node cluster freezes the cl
This is probably due to you using the default configuration and banging the system with messages. In this case, I suggest you use the high-performance (flow-control) based configuration that I will add to JBoss within the next couple of weeks. In the meantime you can check out JGroups/conf/fc.xml or fc-fast.xml, and convert them to the format required by cluster-service.xml yourself. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832172#3832172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832172 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()
Okay, I fixed the ConcurrentModificationException, fix is in head and 3.2 I also think I fixed the NAKACK problem (in JGroups head). Anyone who wants to try this out, please check out the latest JGroups CVS and give it a shot. If this turns out to fix the bug, I'll create a new kgroups.jar and update JBoss head and 3.2. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832016#3832016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832016 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Data Replication / Integrity through clustering ....
This cannot be done yet. Unless you use DB replication. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831426#3831426 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831426 --- 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
[JBoss-user] [Clustering/JBoss] - Re: HTTP session clustering in jboss 3.2.1 causing memory pr
You don't have a very aggressive STABLE layer, and no flow control. I suggest you start out with fc.xml (from JGroups distro), and replace the bottom 2 protocols, minus UNICAST. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831149#3831149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831149 --- 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
[JBoss-user] [Clustering/JBoss] - Re: Independent clusters on same network with same partition
That's doable: change either mcast_addr or mcast_port, or both in cluster-service.xml Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830890#3830890 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830890 --- 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
[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()
Can you try this with the latest JGroups and logging enabled (trace) for org.jgroups.* ? This has not solved the problem, but I would be able to narrow the problem down. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830093#3830093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830093 --- 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
[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()
Does the NAKACK error only occur when the 2nd node is shunned, forced to leave the cluster and the rejoins ? Does this happen *immediately* after rejoining (and failing to get the state) ? Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829726#3829726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829726 --- 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
[JBoss-user] [Clustering/JBoss] - Re: Long messages when machines are cluster in heavy load
Looks like this is a bug in JGroups with the STABLE message garbage collection protocol. You can increase the value of NAKACK.gc_lag to minimize the occurrence of this bug, e.g. set it to 1000. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829725#3829725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829725 --- 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()
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
[JBoss-user] [Clustering/JBoss] - Re: problem in Hot deploying the exploded war file.
exploded wars/sars are currently not supported (as stated in the docs). Regards, Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827652#3827652";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827652>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
[JBoss-user] [Clustering/JBoss] - Re: Long messages when machines are cluster in heavy load
Move your STABLE protocol on top of UNICAST, see cluster-service.xml in JBoss 3.2.4 for an example (or copy that config). Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827651#3827651";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827651>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
anonymous wrote : NW - 10 mbit but the tests are just on my local machine | 10Mpbs ? You're going to get 1MB/sec throughput max. If you run only on the local box, set UDP.bind_addr to 127.0.0.1, to circumvent the NIC entirely. Also add a multicast route that actually points to your loopback device. I suggest you take the NIC down for the duration of the tests to make sure you don't send anything via the 10Mbps link. Also, I suggest to set UDP.loopback=true. anonymous wrote : | - will have gigabit within the next few weeks with dual 3.0ghz xeon machines if that will make a big impact? A huge difference ! JGroups is CPU-bound with 1 CPU, with 2 CPUs I saw a huge diff in my tests. I was actually able to almost saturate the network (9MB/sec on a 100Mbps switched ethernet), with 10K msgs. I haven't tested GB ethernet yet, but the numbers there should actually be even better. Here's another one: you may want to adjust the compression level in COMPRESS (9 = best). anonymous wrote : 1 pub - 1 sub | 678 messages/second at 10,000 text messages sent | | 1 pub - 2 sub | 460 messages/second at 10,000 text messages sent | | 1 pub - 3 sub | 345 messages/second at 10,000 text messages sent I would expect about the same msg rate. What happens though, is that you could have a lot of retransmissions (which are unicast). Can you run tcpdump/snoop/ntop to see what your traffic is ? I'd expect mostly multicast; if you have a large number of unicast UDP traffic, then you have too many xmits. anonymous wrote : For Object messages using my implementation of the ObjectMessage (all of which use the fc-fast.xml stack) | These messages are a series of state vectors packed in a java.util.Arraylist (written to a file as an ObjectOutputStream each fille Arraylist produced 1.8kb of data) Same test, with ObjectMessages ? I have to conclude it is serialization then. Can you do some intelligent marshalling of the vectors, and then use BytesMessage ? Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827500#3827500";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827500>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
anonymous wrote : If I add that then it complains of another dependency: | ChannelException: JChannel(): java.lang.Exception: Configurator.sanityCheck(): event GET_DIGEST_STATE is required by STATE_TRANSFER, but not provided by any of the layers below I see. Maybe hold off a bit more, until Ovidiu has experimented with it some more; he does have JGroups knowledge. So how important is the bare-bones stack to you right now ? Can you live with fc-fast.xml for now (of course, after you get 1000 msgs/sec) ? anonymous wrote : I have gone through the tedious exercise of removing as many of the protocol layers as I could and going through several permutations from the fc-fast.xml. The problem is, sometimes when I remove a protocol layer, things run even slower. Since I don't fully understand the functionality (dependencies) of all these various layers I haven't a clue how to make them more optimal. Don't start removing/adding protocols unless you know what you do. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827466#3827466";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827466>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
anonymous wrote : | class ObjectMessageImpl extends MessageImpl implements ObjectMessage, Serializable { Use of Serializable will probably be removed from MessageImpl (replaced by Externalizable, if possible). Serialization will exert some penalty, but what numbers did you get anyway for the pubsub test ? I'm also curious about HW/SW/JDK/NW. For smaller messages (e.g. 1-2K), you should get at least 1000 msgs/sec. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827465#3827465";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827465>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
"ggimler" wrote : I just tried a quick test with just text messages with the fc-fast.xml. Messages/second decrease with each subscriber. This seems counter-intuitive to using multicast. It's behaving like TCP. Am I the only one seeing this? You should see almost no degradation. Maybe we're acking (postitive acks) messages, so we're not really seeing async behavior ? Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827443#3827443";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827443>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
"ggimler" wrote : anonymous wrote : | | Use the fc-fast protocol; I tested this on my home system, and got about 1600 msgs/sec. | | fc-fast uses flow control, so it is very good when having *sustained* load over an extended period of time. But I'm sure you could optimize even more if you know the type of app (which you do). | | That's excellent - I'd be happy to have even half of that. I used the fc-fast.xml protocol stack and while I had good results for sending text messages, sending object messages didn't yield encouraging results. I maxed out at 100 messages/sec and it seemed the performance was like TCP - whenever I added another subscriber the messages/sec started decreasing. Maybe there's something else I'm doing wrong? I wasn't aware Ovidiu has added ObjectMsg support yet. Are you using serialization or externalization ? You mentioned you have ca 1-2K worth of data/msg ? Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827436#3827436";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827436>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
"ggimler" wrote : I tried the bare-bones.xml file for jgroups - it doesn't work for sljms. I get the following: | | [java] WARN 10:18:16,964 [main] (Trace.java:387) - fetching state will fail as state transfer is not supported. Add one of the STATE_TRANSFER protocols to your protocol specification Hmm, it takes a bit of experimenting with this. Ovidiu, do you want to do it ? Regarding state transfer: just add STATE_TRANSFER on top of your bare bones stack (copy the tag from, say, fc-fast.xml). Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827434#3827434";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827434>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
"ggimler" wrote : I guess another way of posing my question would be. If I didn't care about reliability and only about performance, how would I configure these protocol stacks with the optimal configuration? What is the bare bones required? There is a bare-bone.xml file in the JGroups distro, but I haven't tested it with SLJMS. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827317#3827317";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827317>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
"ggimler" wrote : If describing my data may help with optimizing the protocol stack... | | I'm primarily sending radar state information. Just for a rough estimate, I serialized the objects to a file (I know this isn't the most accurate way of getting the true size of the objects) but they range from 1.3kb - 2.0kb serialized. | | I was pretty happy with the rates I was sending out the text messages (I was able to get ~800 messages/second). Sending these objects I've been getting significantly less performance at ~100 messages/second and if I add more subscribers performance seems to degrade. | | Perhaps if Bela could elucicate how I may optimize my protocol configuration for this type of data distribution? | | Thanks. Use the fc-fast protocol; I tested this on my home system, and got about 1600 msgs/sec. fc-fast uses flow control, so it is very good when having *sustained* load over an extended period of time. But I'm sure you could optimize even more if you know the type of app (which you do). Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827316#3827316";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827316>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Serverless JMS
ServerlessJMS can be used inside JBoss, or standalone. Yes, you should be able to integrate it easily into Tomcat. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827123#3827123";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827123>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
Re: [JBoss-user] JBossCache
JAYARAM, Sujay, FM wrote: Hi all, I've been looking at incorporating caching into our middleware, and I wanted to ask a very naive question about the JBossCache product: Does incorporating JBossCache have to involve code modification in all cases - the examples I've seen require that code is aware of the TreeCache/TreeCacheAOP classes, however is there a way to get caching to occur transparently (as happens with products such as LiveStore???) Yes and no. Yes in the cases where you use middleware that in turn uses JBossCache, e.g. EntityBeans (based on Hibernate and JBossCache) or HTTP sessions. No in cases where you access JBossCache directly, because we do expose the interface. As I understand, LiveStore is a JDBC driver (or datasource), so that's a level deeper in the hierarchy. -- 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
[JBoss-user] [Clustering/JBoss] - Re: Clustering failing under heavy load?
"danhanley" wrote : "danhanley" wrote : Hi | | We're testing a cluster of 3 intel boxes running jBoss 3.2.3 on RedHat 9. | | One box in particular is very heavily loaded by our application. Occasionaly (perhaps once a day) the box stops communicating with the rest of the cluster and fills its logs with the following message: | | | | 2004-01-22 09:29:36,458 DEBUG [org.javagroups.MDC3TestPartition] [Thu Jan 22 09:29:36 GMT 2004] [ERROR] UDP.sendUdpMessage() | | : (unicast) send_sock is null. Message is [dst: 213.86.178.88:44305, src: dev4:32947 (3 headers), size = 1723 bytes], headers are {UNICAST=[UNICAST: DATA, seqno=47],UDP=UDP:group_addr=MDC3TestPartition], MessageDispatcher=[Header: name=MessageDispatcher, type=RSP, id=1074701665445, rsp_expected=false]} | | | | Stopping and restarting jboss clears the problem, but obviously is not something we want to be doing when we go to production. | | | | Do you have the logs for this ? Also, can you post your cluster-service.xml ? You may have to increase the values for FD, or use FD_SOCK instead. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826884#3826884";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826884>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
[JBoss-user] [Clustering/JBoss] - Re: Remove node from cluster at runtime?
You could also call the stopService() method of ClusterPartition (via JMX), or use jmx-console. startService() will cause it to rejoin the cluster again. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826701#3826701";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826701>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
[JBoss-user] [Clustering/JBoss] - Re: non multicating(TCP), server dont see each other.
Yes, for multihomed systems you need the bind_addr parameter. Also, by enabling the logs (in log4j.xml) you might have seen what the problem was. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826184#3826184";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826184>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
[JBoss-user] [Clustering/JBoss] - Re: Exceptions for callMethodOnCluster
This is a known bug that was fixed in JGroups 2.2.1 on Feb 20 2004. This new release is in JBoss head (JBoss 4.0) and the upcoming JBoss 3.2.4 (coming out in 1-2 weeks). Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825289#3825289";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825289>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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multicast JMS
Don't use the old impl; Ovidiu is working on a new implementation. He will post a first prototype in 1-2 weeks (I'm actually playing with it as we speak). Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825004#3825004";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825004>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
[JBoss-user] [Clustering/JBoss] - Re: Clustering on two different machine(Jboss 3.2.3)
That's telnet localhost 1100, not telnet 1100 ! Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824048#3824048";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824048>Reply to the post --- 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
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem with master node selection
The 2nd node doesn't find the first one, so it thinks it is the first node and becomes Singleton. Use the basic tests in JGroups to ensure the 2 members find each other. Bela http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823857#3823857";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823857>Reply to the post --- 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
[JBoss-user] [Testimonials] - Re: JCache copatibility status?
No, mainly because JCache is not yet out. (I'm on the JCache JSR) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823696#3823696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823696 --- 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
[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem
Are you multihomed ? Then you need to set the bind_addr to a *valid* NIC. Note that on Solaris 8 for example, binding to 127.0.0.1 for multicast doesn't work (this was fixed on Solaris 9). 1. Check what address is printed for each member. 2. Verify that that name resolves to the same IP address (check /etc/hosts). Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823428#3823428 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823428 --- 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
[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem
Lose the bind_addr=127.0.0.1. I have some code that shows how to access the TreeCache MBean from servlets, I will post a document soon. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823392#3823392 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823392 --- 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
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
[JBoss-user] [Clustering/JBoss] - Re: TCPGOSSIP clustering problem with server restart
This problem was fixed in JGroups on Feb 9th. You can create your own jgroups.jar by checking out the CVS head from JGroups. I intend to release a new version of JGroups in 2-3 weeks, this will then also make it into JBoss. BTW: if you use TCP, you can remove FRAG and UNICAST from your stack config Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822719#3822719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822719 --- 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
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
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