ch.n.v.ganesh


{ City } hyderabad
< Country > india
* Profession * sr.softwareengineer
User No # 2658
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 13
Users Marked my Answers as Wrong # 5
Questions / { ch.n.v.ganesh }
Questions Answers Category Views Company eMail




Answers / { ch.n.v.ganesh }

Question { 19522 }

what is the port number of RMI?


Answer

The default number for RMI is 1099.


The RMI registry that is started up by FUSE uses the
standard port number of 1099. In the event that this port
number is already in use by some other process, this port
number can be changed. To change this port number, simply
edit the components/jmx/jmx-xbean.xml file to change the
port number. Below is an example of changing the RMI
registry port attribute from 1099 to 1234:

class="org.logicblaze.soa.RmiRegistryFactoryBean">




In addition to changing the RMI registry port attribute,
the same port number will also need to be changed for the
bean named serverConnector which is located in the same
file. The serverConnector bean provides the ability to
connect to FUSE using a JMX management tool. Below is an
example of changing the RMI registry port number in the
serviceUrl attribute from 1099 to 1234:

class="org.apache.xbean.server.spring.jmx.ConnectorServerFac
toryBean"
depends-on="mbeanServer,registry">

value="service:jmx:rmi:///jndi/rmi://localhost:1234/jmxrmi"
/>



Is This Answer Correct ?    13 Yes 5 No