-
15. Re: 2 instances on same jBoss installation
prashant.ladha Feb 16, 2010 2:59 PM (in response to peterj)how do we find out the JNDI port for the other server?
-- Prashant.
-
16. Re: 2 instances on same jBoss installation
peterj Feb 16, 2010 4:24 PM (in response to prashant.ladha)The bindings service by default increases the port numbers by 100 for reach configuration,. Thus using ports-01 increases port numbers by 100, ports-02 by 200, etc. Since you used ports-01, then JNDI is bound to 1199 (1099 + 100). -
17. Re: 2 instances on same jBoss installation
prashant.ladha Feb 16, 2010 4:45 PM (in response to peterj)In which configuration we can find these details?
-- Prashant.
-
18. Re: 2 instances on same jBoss installation
peterj Feb 16, 2010 4:53 PM (in response to prashant.ladha)The bindings service config file is at server/xxx/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml -
19. Re: 2 instances on same jBoss installation
prashant.ladha Aug 11, 2010 12:34 PM (in response to prashant.ladha)I had implemented these changes but now I seeing the below exception.
So, I have 2 jBoss instances running on the same jBoss installation.
.e. default & defaultQS
defaultQS is using ./server/defaultQS/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml and has 8183 configured in it.
<bean>
<property name="serviceName">jboss:service=WebService</property>
<property name="port">8183</property>
<property name="description">Socket for dynamic class and resource loading</property>
</bean>But I can see in the console file that it is using 8283 as RMI server codebase.
Console file: 12:05:11,628 INFO [WebService] Using RMI server codebase: http://216.27.57.116:8283/
On, the other hand, I have no process on the linux machine occupying the 8083 port number but still the start-up of default, gives the below exception:
12:10:39,762 INFO [WebService] Using RMI server codebase: http://216.27.71.116:8083/
12:10:39,765 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=WebService state=Create mode=Manual requiredState=Installed
java.lang.Exception: Port 8083 already in use.Can you please advice, what we might be doing wrong?
-- Prashant.
-
20. Re: 2 instances on same jBoss installation
peterj Aug 11, 2010 1:16 PM (in response to prashant.ladha)How did you start the second instance? If you passed -Djboss.service.binding.set=ports-01, then 100 will be added to all of the ports. So if you want port 8183, set it to 8083.
If post 8083 the only port complianing? If so, then it must be used by something. I recommend that you try running nmap, and also run netstat after JBoss AS is up.