You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/07/14 01:12:10 UTC

[jira] Resolved: (GERONIMO-483) Security Realm Startup Errors Squashed (ClassNotFoundException)

     [ http://issues.apache.org/jira/browse/GERONIMO-483?page=all ]
     
Aaron Mulder resolved GERONIMO-483:
-----------------------------------

    Fix Version: 1.0-M4
     Resolution: Fixed

The exception should be passed as a plain DeploymentException as a result of a previous change

> Security Realm Startup Errors Squashed (ClassNotFoundException)
> ---------------------------------------------------------------
>
>          Key: GERONIMO-483
>          URL: http://issues.apache.org/jira/browse/GERONIMO-483
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>      Fix For: 1.0-M4

>
> If you deploy a security realm, and it has an exception during startup (refresh), the deployer gets:
> Deployment failed
>   Server reports: Error unmarshaling return; nested exception is:
>         java.lang.ClassNotFoundException: org.apache.geronimo.security.GeronimoSecurityException (no security manager: RMI class loader disabled)
> java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
>         java.lang.ClassNotFoundException: org.apache.geronimo.security.GeronimoSecurityException (no security manager: RMI class loader disabled)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217)
>         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:210)
>         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.ClientProxy.invoke(ClientProxy.java:34)
>         at mx4j.remote.rmi.ClientUnmarshaller.chain(ClientUnmarshaller.java:67)
>         at mx4j.remote.rmi.ClientUnmarshaller.invoke(ClientUnmarshaller.java:56)
>         at $Proxy0.invoke(Unknown Source)
>         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.ClientProxy.invoke(ClientProxy.java:34)
>         at mx4j.remote.rmi.ClientExceptionCatcher.invoke(ClientExceptionCatcher.java:42)
>         at $Proxy0.invoke(Unknown Source)
>         at org.apache.geronimo.gbean.jmx.JMXOperationInvoker.invoke(JMXOperationInvoker.java:54)
>         at org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:112)
>         at org.apache.geronimo.kernel.KernelMBean$$EnhancerByCGLIB$$66f64035.startConfiguration(<generated>)
>         at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:48)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.security.GeronimoSecurityException (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.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         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.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
>         ... 23 more

-- 
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