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

How many times may an objects finalize() method be invoked by the garbage collector?

0 Answers  


What are preemptive scheduling and time slicing and what is the difference between them?

1 Answers  


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

0 Answers  


Should synchronization primitives be used on bean methods?

0 Answers  


Is the infobus client side only?

0 Answers  






How do you iterate in Hashmap?

1 Answers   HCL, Infotech,


In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another client is making request how it will work

3 Answers  


What are the advanatages of RMI ?

1 Answers   HGS,


what is Static binding?

2 Answers   Wipro,


What is private static final long serialVersionUID = 1L;

3 Answers   Google,


How are the elements of a borderlayout organized?

0 Answers  


what is the difference between System.out.println and out.println in java

10 Answers   CTS,


Categories