You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jens Schumann (JIRA)" <de...@geronimo.apache.org> on 2004/11/25 10:23:26 UTC

[jira] Updated: (GERONIMO-502) Console Deployer: ClassNotFoundException for nested exception

     [ http://nagoya.apache.org/jira/browse/GERONIMO-502?page=history ]

Jens Schumann updated GERONIMO-502:
-----------------------------------

    Attachment: test.war

Web archive throwing a ServletException at startup.

> Console Deployer: ClassNotFoundException for nested exception
> -------------------------------------------------------------
>
>          Key: GERONIMO-502
>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-502
>      Project: Apache Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0-M3
>  Environment: Mac OS X, Java 1.4.2_05
>     Reporter: Jens Schumann
>     Priority: Minor
>  Attachments: test.war
>
> While trying to reproduce a different issue I ended up having a servlet throwing a ServletException in init(ServletConfig aServletConfig) on purpose. The servlet is loaded at startup.
> The deployment of this archive fails (as expected), however the the console deployer can't unmarshall the exception.  
> Steps to reproduce:
> Deploy the archive I will attach shortly using console deployer.
> ---
> Client side stacktrace:
> java -jar bin/deployer.jar deploy /tmp/test/test.war 
> Username: system
> Password: manager
> Deployment failed
>   Server reports: Error unmarshaling return; nested exception is: 
>         java.lang.ClassNotFoundException: javax.servlet.ServletException (no security manager: RMI class loader disabled)
> java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
>         java.lang.ClassNotFoundException: javax.servlet.ServletException (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:552)
> Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletException (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://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira