what is the port number of RMI?

Answers were Sorted based on User's Feedback



what is the port number of RMI?..

Answer / devarathnam c,kotagudibanda(po

I think 1099.

Is This Answer Correct ?    17 Yes 4 No

what is the port number of RMI?..

Answer / ch.n.v.ganesh

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:

<bean id="registry"
class="org.logicblaze.soa.RmiRegistryFactoryBean">
<property name="port" value="1234" />
<property name="testRegistry" value="false" />
</bean>

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:

<bean id="serverConnector"
class="org.apache.xbean.server.spring.jmx.ConnectorServerFac
toryBean"
depends-on="mbeanServer,registry">
<property name="objectName" value="connector:name=rmi" />
<property name="serviceUrl"
value="service:jmx:rmi:///jndi/rmi://localhost:1234/jmxrmi"
/>
<property name="threaded" value="true" />
<property name="daemon" value="true" />
</bean>

Is This Answer Correct ?    13 Yes 5 No

Post New Answer

More Advanced Java Interview Questions

Can we define constructors in Servlet?

3 Answers   Accenture, Opus, Wipro,


What is Remote Interface?

1 Answers  


What are the design considerations while making a choice between using interface and abstract class?

0 Answers  


To make an object to begin executing as a separate thread, what method is used?

2 Answers  


Can I import same package/class twice? Will the jvm load the package twice at runtime?

0 Answers  






What are the different approaches to represent an inheritance hierarchy?

0 Answers  


what is the life cycle of jsp?

1 Answers   HCL, ITC Infotech,


What are the purpose of introspection?

0 Answers  


What’s jboss cache in short?

0 Answers  


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

0 Answers   Ducat,


Is multiple try block is possible in single java Application......

3 Answers  


Why RMI required an interface?

1 Answers  


Categories