[Mc4j-development] [Update] Error while connecting using MC4J with Tomcat 4.1.24
Brought to you by:
ghinkl
From: Alex R. M. <ale...@ap...> - 2006-08-23 01:29:44
|
Hi, I was able to successfully move ahead and get to this error pasted below now. Can someone please let me know what am I doing wrong. I have all the jar files copied at the server and client locations. Where is this mx4j.adaptor.rmi.RMIAdaptor_Stub located? Please let me know if I should not be emailing at this id and at the same note it will be appreciated if you could point me to the right one. Regards, Robin java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: mx4j.adaptor.rmi.RMIAdaptor_Stub] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java :247) at org.mc4j.console.connection.JSR160ConnectionNode.connect(JSR160ConnectionNod e.java:132) at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAction.ja va:47) at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) at org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed (CallableSystemAction.java:247) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAct ion.java:179) at org.openide.util.actions.CallableSystemAction.access$000(CallableSystemActio n.java:31) at org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableS ystemAction.java:241) at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.jav a:111) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686) Caused by: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: mx4j.adaptor.rmi.RMIAdaptor_Stub] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:92) at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185 ) at javax.naming.InitialContext.lookup(InitialContext.java:347) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java :1785) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:175 1) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259) ... 17 more Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: mx4j.adaptor.rmi.RMIAdaptor_Stub at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:88) ... 22 more Caused by: java.lang.ClassNotFoundException: mx4j.adaptor.rmi.RMIAdaptor_Stub at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [catch] ... 24 more |