Hello,
I've been experimenting with JSW 3.0.1 internally and
have had great success with my JBoss svc on 1 Win2K
server. Tonight, I was attempting to get the clustered
server cfg up and I'm having a problem.
I run clustering with the run.bat -c all from a shell batch
file. when executed from the desktop, the other node
sees it and they sync-up. After setting up the service
on 1 server, I modified the wrapper.conf to point
at "run2.bat" instead of run.bat. When I launch the svc,
my other server still has a "dead member".
Am I missing some hidden information in the JBoss cfg
documentation, or is JBoss clustering supported?
Thanks for the helpful information in advance.
Regards,
Stan
stan@spicyneuron.com
Logged In: YES
user_id=228081
Stan,
Having never done clustering under JBoss, I am not 100% sure
I am answering your question correctly. But there should be
nothing with the Wrapper that should prevent clustering from
working with JBoss. If you have your run.bat and run2.bat
scripts working then you should be able to create
wrapper.conf files that do the same thing and all should
work correctly.
I was not sure you what you meant when you said that you
modified wrapper.conf to point to run2.bat? It does not
work that way. You could create a wrapper.conf that does
the same thing as run2.bat. Is that what you meant.
Have you read over the JBoss integration guide?
http://wrapper.tanukisoftware.org/doc/english/integrate.html
If you set the wrapper.logfile.loglevel to DEBUG (or
wrapper.console.logfile for the console output) You will be
able to see the full command that the Wrapper generates to
actually launch the JVM running JBoss. The first thing you
should do is to compare this with the command used in the
run.bat file. You can use echo in the bat file to display
the full command to the console.
Hope this helps.
Leif
Logged In: YES
user_id=772436
Leif,
Thanks for the information. With the help of our architect, we
were able to get it working! You may want to update your
JBoss setup guide, the app parameters section. Mention
something about clustering options. I set the app paremeter
to:
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=-c all
I reverted back to run.bat and am using the SimpleApp helper
class. Clustering works fine now. Onward to upgrading to
3.0.2! Donation from this client company will be forthcoming.
Thanks for the assistance and this valuable utility!
Stan...
Logged In: YES
user_id=228081
Stan,
Glad you got it working. The configuration that you
specified will work on windows but will fail if you attempt
to port to a UNIX platform. The parameters should actually
be as follows:
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=-c
wrapper.app.parameter.3=all
This is because the "-c" and "all" are actually two
different parameters.
Cheers,
Leif
The donation would be appreciated :-)