-
1. Re: Configuring 2 JBoss Servers on the same host
lviz Jan 26, 2005 5:39 AM (in response to endregaspar)hi endre
yes
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigurePorts
cheers
L -
2. Re: Configuring 2 JBoss Servers on the same host
darranl Jan 26, 2005 5:41 AM (in response to endregaspar)You can specify the 'jboss.bind.address' as a parameter to the run script.
http://www.jboss.org/wiki/Wiki.jsp?page=JBossRunParameters -
3. Re: Configuring 2 JBoss Servers on the same host
endregaspar Jan 26, 2005 7:07 AM (in response to endregaspar)Thank You for your answer,
I think that is a good site for my problem.
I'll try to set up the server 2.
Have a nice day!
Endre -
4. Re: Configuring 2 JBoss Servers on the same host
endregaspar Jan 26, 2005 7:11 AM (in response to endregaspar)"darranl" wrote:
You can specify the 'jboss.bind.address' as a parameter to the run script.
http://www.jboss.org/wiki/Wiki.jsp?page=JBossRunParameters
Thank you for your answer.
I've already tried to start JBoss with another ip-bind-address e.g.
0.0.0.1, but I got a huge of errors.
Have a nice day,
Endre -
5. Re: Configuring 2 JBoss Servers on the same host
darranl Jan 26, 2005 7:17 AM (in response to endregaspar)If you are going to start JBoss using a different bind address you must have a network adapter already configured with that address.
Do you really have a network adapter configured with the IP address 0.0.0.1, from another maching on your network can you ping 0.0.0.1? -
6. Re: Configuring 2 JBoss Servers on the same host
endregaspar Jan 26, 2005 7:36 AM (in response to endregaspar)"darranl" wrote:
If you are going to start JBoss using a different bind address you must have a network adapter already configured with that address.
Do you really have a network adapter configured with the IP address 0.0.0.1, from another maching on your network can you ping 0.0.0.1?
Yes, I didn't know that I need a network adapter!
I thought that it's something wrong, but I'm not really
familiar with server administration.
Thank You for the answer!
Endre -
7. Re: Configuring 2 JBoss Servers on the same host
endregaspar Jan 26, 2005 9:03 AM (in response to endregaspar)So, now I have it!
It wasn't necessary to change the bind address!
But it is a great file "sample-bindings.xml" in the
"JBOSS_HOME\docs\examples\binding-manager"
durectory, that describes what one have to change in this case,
appropriate to the JBoss release.
Best Wishes,
Endre -
8. Re: Configuring 2 JBoss Servers on the same host
lviz Jan 26, 2005 12:00 PM (in response to endregaspar)hi again endre
glad to hear you did it!
i hope you did not change the ports by "hand"?
you just have to edit the jboss-service.xml on the second instance.<mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager"> <attribute name="ServerName">ports-01</attribute> <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute> <attribute name="StoreFactoryClassName"> org.jboss.services.binding.XMLServicesStoreFactory </attribute> </mbean>
cheers
L -
9. Re: Configuring 2 JBoss Servers on the same host
lviz Jan 26, 2005 2:13 PM (in response to endregaspar)hi again endre
glad to hear you did it!
i hope you did not change the ports by "hand"?
you just have to edit the jboss-service.xml on the second instance.<mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager"> <attribute name="ServerName">ports-01</attribute> <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute> <attribute name="StoreFactoryClassName"> org.jboss.services.binding.XMLServicesStoreFactory </attribute> </mbean>
cheers
L -
10. Re: Configuring 2 JBoss Servers on the same host
endregaspar Jan 27, 2005 5:35 AM (in response to endregaspar)"Lviz" wrote:
hi again endre
glad to hear you did it!
i hope you did not change the ports by "hand"?
you just have to edit the jboss-service.xml on the second instance.<mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager"> <attribute name="ServerName">ports-01</attribute> <attribute name="StoreURL">../docs/examples/binding-manager/sample-bindings.xml</attribute> <attribute name="StoreFactoryClassName"> org.jboss.services.binding.XMLServicesStoreFactory </attribute> </mbean>
cheers
L
Thank you for the hint!
Really, I did it by hand!
It's quite easy so!
Greetings,
Endre