[jboss-user] [Clustering/JBoss] - Migration web application Listener to cluster mode
luuzz
do-not-reply at jboss.com
Mon Mar 16 16:57:42 EDT 2009
Hello Everybody
We plan to switch our application in a clustered mode in jboss 4.2.0.
We are migrating the web module.
Every time the application is deployed, we have to make some treatments. Right now, we do this using an application listener in the web module.
But if we switch in a clustered mode, each node of the cluster will launch the treatments, what can be dangerous.
We tried to do this using a singleton service. So we created a .sar which we deployed in the deploy-hasingleton folder. But we get NoClassDefFound errors because the service use ejbs which are only deployed later in an Ear file (which is clustered but not singleton).
How can we make the service start after that ear is deployed ?
Excuse my english. Ihope that it's clear enough.
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218434#4218434
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218434
More information about the jboss-user
mailing list