tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: The Infamous ClassCastException Problem
Date Fri, 02 Nov 2001 21:10:43 GMT


On Fri, 2 Nov 2001, Frank Lawlor wrote:

> Date: Fri, 2 Nov 2001 14:49:37 -0600
> From: Frank Lawlor <frank.lawlor@athensgroup.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>,
>      frank.lawlor@athensgroup.com
> To: "Tomcat (E-mail)" <tomcat-user@jakarta.apache.org>
> Subject: Re: The Infamous ClassCastException Problem
>
> Thanks.  I packaged the classes in a jar and put them
> in common\lib and now things work fine.
>
> I'm still curious tho on how RMI/EJB clients manage
> to do this without having the same class/classloader.
>

They don't.  You have to have the stubs available to your client
application in the client classloader (or a parent of it).

> Frank Lawlor
> Athens Group, Inc.
> (512) 345-0600 x151
> Athens Group, an employee-owned consulting firm integrating technology
> strategy and software solutions.
>

Craig


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message