I'm running into the following exception when launching 1.1 within eclipse and I can't figure out what is the root cause. The actual launch of the server is ok but the plugin code checks for when geronimo is fully started by checking the kernelFullyStarted attribute. I'm hitting the following set of exceptions below in my call to...

AbstractNameQuery query = new AbstractNameQuery (PersistentConfigurationList.class.getName());
Set configLists = kernel.listGBeans(query);

IIRC this is the same set of exceptions when people launched eclipse in a 1.5 JVM, however in this case I'm launching in 1.4 and I verified that the 1.0 support still works when calling the same code... I verified the G 1.1 jars I'm repackaging are the same as the ones inside the 1.1 image I'm launching but I'm hitting this now every single time. :(

Does anyone have any ideas???

org.apache.geronimo.kernel.InternalKernelException: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.apache.geronimo.gbean.AbstractName (no security manager: RMI class loader disabled) at org.apache.geronimo.system.jmx.KernelDelegate.listGBeans (KernelDelegate.java:831) at org.apache.geronimo.st.v11.core.GeronimoServerBehaviour.isFullyStarted (GeronimoServerBehaviour.java:158)
        at org.apache.geronimo.st.core.PingThread.run(PingThread.java:57)
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.apache.geronimo.gbean.AbstractName (no security manager: RMI class loader disabled)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:169)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
        at mx4j.remote.rmi.ClientInvoker.invoke(ClientInvoker.java:207)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at mx4j.remote.ClientProxy.invoke(ClientProxy.java:32)
        at mx4j.remote.rmi.ClientUnmarshaller.chain(ClientUnmarshaller.java:65)
at mx4j.remote.rmi.ClientUnmarshaller.invoke(ClientUnmarshaller.java: 54)
        at $Proxy0.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at mx4j.remote.ClientProxy.invoke(ClientProxy.java:32)
at mx4j.remote.rmi.ClientExceptionCatcher.invoke (ClientExceptionCatcher.java:40)
        at $Proxy0.invoke(Unknown Source)
at org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel (KernelDelegate.java:880) at org.apache.geronimo.system.jmx.KernelDelegate.listGBeans (KernelDelegate.java:827)
        ... 2 more
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.gbean.AbstractName (no security manager: RMI class loader disabled)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
        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)
        at java.util.HashSet.readObject(HashSet.java:276)
        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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java: 838) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: 1746) at java.io.ObjectInputStream.readOrdinaryObject (ObjectInputStream.java:1646)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
        ... 19 more
org.apache.geronimo.kernel.InternalKernelException: java.io.IOException: java.lang.ClassNotFoundException: org.apache.geronimo.gbean.GBeanQuery (no security manager: RMI class loader disabled) at org.apache.geronimo.kernel.jmx.KernelDelegate.listGBeans (KernelDelegate.java:231) at org.apache.geronimo.st.v1.core.GeronimoServerBehaviour.isFullyStarted (GeronimoServerBehaviour.java:157) at org.apache.geronimo.st.core.UpdateServerStateTask.updateFromStopped (UpdateServerStateTask.java:70) at org.apache.geronimo.st.core.UpdateServerStateTask.run (UpdateServerStateTask.java:49)
        at java.util.TimerThread.mainLoop(Timer.java:432)
        at java.util.TimerThread.run(Timer.java:382)
Caused by: java.io.IOException: java.lang.ClassNotFoundException: org.apache.geronimo.gbean.GBeanQuery (no security manager: RMI class loader disabled)
        at mx4j.remote.rmi.RMIMarshaller.unmarshal(RMIMarshaller.java:155)
        at mx4j.remote.rmi.RMIMarshaller.unmarshal(RMIMarshaller.java:136)
at mx4j.remote.rmi.RMIConnectionInvoker.invoke (RMIConnectionInvoker.java:218)
        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 mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java: 34) at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain (RMIConnectionSubjectInvoker.java:99) at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000 (RMIConnectionSubjectInvoker.java:31) at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run (RMIConnectionSubjectInvoker.java:90)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
        at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke (RMIConnectionSubjectInvoker.java:86) at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke (RMIConnectionSubjectInvoker.java:80)
        at $Proxy0.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.invoke (RMIConnectionImpl.java:221)
        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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages (TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run (TCPTransport.java:701)
        at java.lang.Thread.run(Thread.java:552)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer (StreamRemoteCall.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.RMIConnectionImpl_Stub.invoke(Unknown Source)
        at mx4j.remote.rmi.ClientInvoker.invoke(ClientInvoker.java:207)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at mx4j.remote.ClientProxy.invoke(ClientProxy.java:32)
        at mx4j.remote.rmi.ClientUnmarshaller.chain(ClientUnmarshaller.java:65)
at mx4j.remote.rmi.ClientUnmarshaller.invoke(ClientUnmarshaller.java: 54)
        at $Proxy0.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at mx4j.remote.ClientProxy.invoke(ClientProxy.java:32)
at mx4j.remote.rmi.ClientExceptionCatcher.invoke (ClientExceptionCatcher.java:40)
        at $Proxy0.invoke(Unknown Source)
at org.apache.geronimo.kernel.jmx.KernelDelegate.invokeKernel (KernelDelegate.java:339) at org.apache.geronimo.kernel.jmx.KernelDelegate.listGBeans (KernelDelegate.java:227)
        ... 5 more

- sachin



Reply via email to