-
1. Re: Assigning RMI Port
juergenheidak Jan 10, 2002 6:11 AM (in response to iaguirre)In the file standardjboss.xml under the /conf/default directory of the jboss installation can you define the port look for a tag named RMIObjectPort.
Note that this tag ocurrs more than once. -
2. Re: Assigning RMI Port
iaguirre Jan 10, 2002 6:39 AM (in response to iaguirre)Thank you for your answer.
But, in older version of JBoss (v 2.2.1) JBoss used the following ports:
Nameserver: default 1099
RMI Used by Beans: default 4444
Nameserver RMI: default 0: anonymous
For the last port it was necesary to modify the jnp.properties configuration file adding a parameter:
jnp.rmiPort=xxxx
Do you know if something similar should be done with the actual versin of JBoss (v2.4.3). The jnp.properties doesn´t exist anymore.
TIA
Idoia
> In the file standardjboss.xml under the /conf/default
> directory of the jboss installation can you define
> the port look for a tag named RMIObjectPort.
>
> Note that this tag ocurrs more than once. -
3. Re: Assigning RMI Port
juergenheidak Jan 10, 2002 11:39 AM (in response to iaguirre)I'm sorry I know nothing about a jnp.rmiPort property :-(.
-
4. Re: Assigning RMI Port
conradt Mar 13, 2003 8:16 AM (in response to iaguirre)I'm using JBoss3.0.4 and had the same problem. I added the RmiPort attribute in the conf/jboss-service.xml like this:
<!-- ==================================================================== -->
<!-- JNDI -->
<!-- ==================================================================== -->
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
1099
4443 -
5. Re: Assigning RMI Port
jamoville Mar 13, 2003 11:24 AM (in response to iaguirre)I know how to do it with later builds of jboss so try this out and see if it works.
In your server/default/conf directory there should be a jboss-service.xml file. Open this file and look for this:
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
1099
You will need to add and attribute
1090
put this attribute directly under the "Port" attribute. The 1090 port can be any unused port.
Keep in mind that if you are using JMS through a firewall you will need to modify a different file. The jbossmq-service.xml file found in you deploy directory. You will have to change:
org.jboss.mq.il.oil.OILServerILService
to
org.jboss.mq.il.oil2.OIL2ServerILService
or don't modify this class name and use UIL -
6. Re: Assigning RMI Port
jamoville Mar 13, 2003 11:26 AM (in response to iaguirre)I know how to do it with later builds of jboss so try this out and see if it works.
In your server/default/conf directory there should be a jboss-service.xml file. Open this file and look for this:
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
1099
You will need to add and attribute
1090
put this attribute directly under the "Port" attribute. The 1090 port can be any unused port.
Keep in mind that if you are using JMS through a firewall you will need to modify a different file. The jbossmq-service.xml file found in you deploy directory. You will have to change:
org.jboss.mq.il.oil.OILServerILService
to
org.jboss.mq.il.oil2.OIL2ServerILService
or don't modify this class name and use UIL -
7. Re: Assigning RMI Port
jamoville Mar 13, 2003 11:27 AM (in response to iaguirre)I know how to do it with later builds of jboss so try this out and see if it works.
In your server/default/conf directory there should be a jboss-service.xml file. Open this file and look for this:
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
1099
You will need to add and attribute
1090
put this attribute directly under the "Port" attribute. The 1090 port can be any unused port.
Keep in mind that if you are using JMS through a firewall you will need to modify a different file. The jbossmq-service.xml file found in you deploy directory. You will have to change:
org.jboss.mq.il.oil.OILServerILService
to
org.jboss.mq.il.oil2.OIL2ServerILService
or don't modify this class name and use UIL -
8. Re: Assigning RMI Port
jamoville Mar 13, 2003 11:32 AM (in response to iaguirre)I know how to do it with later builds of jboss so try this out and see if it works.
In your server/default/conf directory there should be a jboss-service.xml file. Open this file and look for this:
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
1099
You will need to add and attribute
1090
put this attribute directly under the "Port" attribute. The 1090 port can be any unused port.
Keep in mind that if you are using JMS through a firewall you will need to modify a different file. The jbossmq-service.xml file found in you deploy directory. You will have to change:
org.jboss.mq.il.oil.OILServerILService
to
org.jboss.mq.il.oil2.OIL2ServerILService
or don't modify this class name and use UIL -
9. Re: Assigning RMI Port
jamoville Mar 13, 2003 11:34 AM (in response to iaguirre)I know how to do it with later builds of jboss so try this out and see if it works.
In your server/default/conf directory there should be a jboss-service.xml file. Open this file and look for this:
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
1099
You will need to add and attribute
1090
put this attribute directly under the "Port" attribute. The 1090 port can be any unused port.
Keep in mind that if you are using JMS through a firewall you will need to modify a different file. The jbossmq-service.xml file found in you deploy directory. You will have to change:
org.jboss.mq.il.oil.OILServerILService
to
org.jboss.mq.il.oil2.OIL2ServerILService
or don't modify this class name and use UIL