In order to load the org.jboss.mail.userrepository.MetaInfoImpl
class from the codebase, you are going to have to catch the
UndeclaredThrowableException and check the nested type since
the RMIAdaptor interface does not allow for ClassNotFoundExceptions.

-- 
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Andrew C. Oliver wrote:

> 
> 
> Thanks.  I'm getting this (attached).  How do I make it happy?
> 
> java.lang.reflect.UndeclaredThrowableException
>     at $Proxy0.invoke(Unknown Source)
...
> Caused by: java.lang.ClassNotFoundException:
> org.jboss.mail.userrepository.MetaInfoImpl (no security manager: RMI class
> loader disabled)
>     at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:368)
>     at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:159)
>     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.rmi.MarshalledObject.get(MarshalledObject.java:135)
>     at 
> org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProx
> y.java:136)
>     at 
> org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
>     at 
> org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invok
> e(InvokerAdaptorClientInterceptor.java:58)
>     at 
> org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
>     at 
> org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:
> 55)
>     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
>     ... 33 more
> 



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to