-
1. Re: Running 2 server configurations
darranl Sep 20, 2004 6:51 AM (in response to syam)Have a look around for information on the BindingService, this allows you to specify the ports to be used for multiple JBoss configurations so that they can be started concurrently.
-
2. Re: Running 2 server configurations
achayan Sep 21, 2004 1:57 AM (in response to syam)Hi,
I am also facing a similar problem. I need to run 2 instances of JBoss in 1 machine. Also I want to deploy the same appplication (ear) in these two servers with the only difference that the two applications point to two different databases.
Is it possible to have 2 instance running on a single machine? Is it possible to deploy the same application in that with the above mentioned manner?
Is it a right method? Can anybody suggest a better approach?
Thanks in anticipation...
achayan -
3. Re: Running 2 server configurations
darranl Sep 21, 2004 4:01 AM (in response to syam)Is it possible to run two instances of JBoss on one machine?
Yes, look for information on the binding service.
Can you run the same application on both instanced?
Yes the two instances are not related to each other. -
4. Re: Running 2 server configurations
syam Sep 21, 2004 5:52 AM (in response to syam)Hi
Thanks for ur response..Where we can find this binding sevice?Can u make it clear?
Syam -
5. Re: Running 2 server configurations
frito Sep 21, 2004 6:23 AM (in response to syam)Read the conf/jboss-service.xml. It comes with an example.
-
6. Re: Running 2 server configurations
mtuckah Sep 21, 2004 11:34 AM (in response to syam)how would you shut down the second instance?
-
7. Re: Running 2 server configurations
syam Sep 22, 2004 6:45 AM (in response to syam)Hai
I tried it by giving different bindings..and now i am able to run 2 instances ..But accessing the 2nd application after running the first, it gives me a error like
javax.servlet.ServletException
at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:541) -
8. Re: Running 2 server configurations
achayan Sep 22, 2004 8:43 AM (in response to syam)Hi darranl,
Thanks for the information. Does it mean that we have to change all the binding ports in the jboss-service.xml?
If we change the JNDI port, then the look up needs to be changed, right? If it is like that, can you give a sample code for that?
thanks,
achayan