RE: [Mx4j-devel] Regarding RemoteException

"Bordet, Simone" <[email protected]>
Newsgroups gmane.comp.java.mx4j.user,gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Hi,

> I am using Solaris machine to start a remote MBean server. 
> Then from another local machine I remotely bring the data 
> from the remote server. I am successfully starting up the 
> remote server, but when I start local server, I get the 
> following exception:
>
> [java] Exception in thread "main" java.rmi.ServerError: 
>        Error occurred in server thread; nested exception is:
>     [java] java.lang.NoClassDefFoundError: java/util/IdentityHashMap
>     [java] java.lang.NoClassDefFoundError: java/util/IdentityHashMap
>     [java]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
>     [java]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
>     [java]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
>     [java]     at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
>     [java]     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:258)

You're not using MX4J, since RMIConnector has only 205 lines.
You're probably using RJMXRI, please ask insights at [email protected], but it seems to me that RJMXRI just works with JDK 1.4 and you're probably not running it.

Simon



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&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.