epesh
I'm Joseph Ottinger, editor of TheServerSide.com.

Calendar

««Nov 2009»»
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
2930

My Bookmarks

My Top Tags

                                       

Mailing List

My RSS Feeds








Search Box

 

JBoss Clustering installation issues

posted Monday, 5 June 2006
At a recent JUG, Matt Quinlan dropped by to show off JBoss' clustering capabilities. Really neat stuff: just enable the clustering, start the servers, and run. It doesn't install that way in the real world, but golly, it works.

Matt showed off a drop-and-run demo, basically loading JBoss on a thumb drive, loading it on a set of laptops (unfortunately, mine was at home - and I would have wanted my Sparc laptop there in any case, and I don't normally travel with that puppy.) The demo itself went flawlessly, really impressive stuff, and Matt discussed a number of issues around clustering that actually made sense. He was a bit frenetic, but very sensible. Good on you, mate.

However, since I was all inspirationalizationed, I went out the next morning and installed JBoss 4.0.4.GA on my Sparc and my working laptop. I installed the "clustered ejb3" package, because that's what I wanted (duhhrrrr), and cranked it up... only to see various failures on clustering. Not really big failures, they were pretty silent... but no clustering. The problem was that I didn't have a farm-service.xml. Easy enough to fix, right? Just create one!

Well, no. "Just create one" ignores the reality of the mechanism; just creating one doesn't work. I looked up the clustering documentation, only to find an incomplete XML file - using it doesn't work. I ended up searching high and low to find a complete example, wasted an hour or so doing it, and I'm still lost as to why it's either not part of the installation process or - at the very least - the documentation doesn't show a complete workable configuration file. (If you need the farm-service.xml, mail me and I'll send it to you. If enough people do it, I'll post it on a server for you to download.)

It's really neat stuff, though: it really is very simple to create a working cluster. It's a great way to find out if frameworks have a problem with being set as distributable. :)

tags:        




1. Matthew Quinlan left...
Tuesday, 6 June 2006 5:16 pm :: http://www.jboss.com

Thanks for the kudos Joe. I enjoyed the event immensely and look forward to returning the next time I'm in Indy.

Regarding your EJB3 & farming issue:

Our (optional) installer is rather new and we still have some wrinkles to iron out. However, if you just download and unzip the non-installer-driven 4.0.4 GA (http://tinyurl.com/pkrxm) and then do the same for our EJB3 release candidate (http://tinyurl.com/oykc5) you can easily get a clustered EJB3 working (with the farm feature) by following the instructions included in the EJB3 download (INSTALL.html).

I appreciate you finding this bug and hope that, in the spirit of open-source, you will submit the bug to our development community at http://jira.jboss.com to ensure that it gets fixed.

Cheers!

-Quin' (now wearing a red hat ;)

email: quin-at-jboss-dot-com


2. google left...
Sunday, 9 July 2006 3:18 am

Do you want to improve your love life and boost you confience? You should try using Viagra. It will help extend your extend your sessions, or if you suffer from impotence than it will help you beat that. Make you and your partner happier.www.viagrapages.com