Re: Spring RMI exported bean cant find enum defined in local jar

Niclas Hedhman <[email protected]> Sat, 16 May 2009 23:40:01 +0200
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
On Wed, May 13, 2009 at 1:46 PM, oli85 <[email protected]> wrote:

> I have double checked the classpath to make sure the jar file is indeed
> included. So could anyone help me with this issue please? Thanks in advance!

It might be a bit difficult to solve these kind of problems, when not
the full setup is available.

Looking at the exception it looks like a straight forward missing
class in the client's classpath.

Could you grab the classloader(s) of the Remote stub, cast it/them to
URLClassLoader and extract the URLs involved and make sure that the
expected jar file is reachable?


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html