[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-46?page=all ]
Kathy Chan updated GERONIMODEVTOOLS-46: --------------------------------------- Summary: ClassNotFound when publishing to Geronimo when Eclipse is launched with JDK1.5 (was: ClassNotFound when running) > ClassNotFound when publishing to Geronimo when Eclipse is launched with JDK1.5 > ------------------------------------------------------------------------------ > > Key: GERONIMODEVTOOLS-46 > URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-46 > Project: Geronimo-Devtools > Type: Bug > Environment: Windows XP > Reporter: Kathy Chan > > Driver: > - WTP 1.0 > - Geronimo 1.0 server > - Geronimo 01/11 plugins > Launch Eclipse with JDK1.5.0_04, new workspace: > - install Geronimo server runtime using jdk142_09 > - create f1 with f1EAR > - add Geronimo facet to f1EAR manually > - create Geronimo server, start server > - create hello.html on f1, run on server > Error: > Publishing failed > Starting of configuration failed. See .log for details. > java.lang.Exception: Error unmarshaling return; nested exception is: > java.lang.ClassNotFoundException: > org.apache.geronimo.kernel.GBeanNotFoundException (no security manager: RMI > class loader disabled) > java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: > java.lang.ClassNotFoundException: > org.apache.geronimo.kernel.GBeanNotFoundException (no security manager: RMI > class loader disabled) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) > at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) > at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown > Source) > at > javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:969) > at > org.apache.geronimo.kernel.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:339) > at > org.apache.geronimo.kernel.jmx.KernelDelegate.getGBeanState(KernelDelegate.java:121) > at > org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:64) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.lang.ClassNotFoundException: > org.apache.geronimo.kernel.GBeanNotFoundException (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:620) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) > at > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538) > at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > at > java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) > at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215) > ... 8 more > at > org.apache.geronimo.core.internal.GeronimoServerBehaviour.doFail(GeronimoServerBehaviour.java:279) > at > org.apache.geronimo.core.internal.GeronimoServerBehaviour.doDeploy(GeronimoServerBehaviour.java:235) > at > org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBehaviour.java:200) > at > org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBehaviour.java:188) > at > org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:658) > at > org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:738) > at > org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:596) > at > org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:799) > at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788) > at > org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) > The problem do not occur if I run Eclipse with JDK 1.4.2_09. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira