[Clustering/JBoss] - load balancing and fail over services using jboss4.0.2
by mvali
Hi,
We are having 200 members, all those 200 members will use our jboss Application, which we are maintaing total 7 Jboss servers for better performance. we have divided all 200 in to 7 jboss servers manually. so every jboss server will handle around 30 members.
Now if any of the server goes worng then all the 30 persons are not able to work. and few jboss servers are very busy and few are free. bec., in few servers all the 30 members will work at a time and few servers only 10 or 15 members will work.
now we are looking for load balencing and fail over features in jboss 4.0.2. please send me a example how to make loadbalencing and how to make fail over service in jboss. if possible please send me the java code how to send requests from one server to another server, and how to check which server is busy and which one is free.
Than Q
vali
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973674#3973674
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973674
19 years, 7 months
[JBoss Messaging] - Does JBoss Messaging need JBoss App Server to work
by shivi911
I just downloaded JBoss Messaging and am trying to run the QueueExample.java example. I am able to compile them via Eclipse -- just jboss-messaging-client.jar was in my classpath.
I don't have JBoss Application Server (our application here needs just messaging, not ejbs) and I intend to consume messages via Listeners instead of mdbs. Does JBoss Messaging require that an app server be up and running?
When I run the QueueExample, I get the following exception. How do I resolve it.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.nspin.jbossmsg.Util.doesDestinationExist(Util.java:26)
at com.xora.jbossmsg.ExampleSupport.setup(ExampleSupport.java:141)
at com.nspin.jbossmsg.ExampleSupport.run(ExampleSupport.java:52)
at com.nspin.jbossmsg.QueueExample.main(QueueExample.java:133)
#####################
### FAILURE! ###
#####################
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973672#3973672
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973672
19 years, 7 months