Hi,
> Hello,
> I'm using your technology MantaRay project Console
> (http://www.mantamq.org <http://www.mantamq.org/> ) and enjoy it very
> much.
Never heard of MantaRay before.
> I have run into a problem while remotely connecting through RMI, using
> the "naming:type=rmiregistry" MBean.
> It seems that if the network is disconnected for more than 10 minutes,
> the RMI client throws the following exception:
> java.rmi.NoSuchObjectException: no such object in table.
> at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
> oteCall.java:247)
> at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223
> )
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
> at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown
> Source)
> at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:122)
> at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.
> java:40)
> at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.
> java:34)
> Looking for the problem in different resources, I have read there is a
> need to re-acquiring the stub.
Uhm, this is normally not necessary.
> How should this be done using your technology?
If by "your" you mean MantaRay, I have no idea, since I don't know it.
> Is there a need for me to detail the problem more?
Yes, please specify the JMXServiceURL you use, eventually the content of
jndi.properties in classpath, how many naming services have been started.
It is probable that the JMXServiceURL points to a wrong naming service ?
Do you have any exception on server side ?
> Just to clarify, I'm using the MX4J version 2.0.1.
We recommend to upgrade to the latest release, 3.0.1.
Simon
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.