Hi,
I am using the ServiceBindingManager configuration to run multiple JBOSS instances on a single machine. The application makes use of JMS and is actually being ported from JBOSS 3.2.5 to JBOSS 4.0
With the default configuration, everything works well (after having copied over the missing bindingservice-plugin.jar into my config's lib directory).
With the standard configuration, I am getting 'Address already In Use' error messages relating to the OIL and OIL2 services:
Problem starting service jboss.mq:service=InvocationLayer,type=OIL java.net.BindException: Address already in use ...
<service-config name="jboss.mq:service=InvocationLayer,type=OIL2" delegateClass="org.jboss.services.binding.AttributeMappingDelegate" > <delegate-config portName="ServerBindPort"/> <binding port="8192"/> </service-config> <service-config name="jboss.mq:service=InvocationLayer,type=OIL" delegateClass="org.jboss.services.binding.AttributeMappingDelegate" > <delegate-config portName="ServerBindPort"/> <binding port="8190"/> </service-config>
Piero,
Thanks! I just ran into the same problem and your post saved me the effort of working the service-config out. Much appreciated.
/joel