Hi,
Looks like your having problems with the class being loaded by different
classloaders. The same class loaded by 2 different classloaders is not the
same class to the Java virtual machine. This problem is probably happening
due to you having the class on the classpath and also being dynamically
downloaded by your web logic infrastructure. I think.
JavaWorld has a few articles (current and archive) relating to custom
classloaders which will give you a better insight into this interesting
area. www.javaworld.com
kind regards
William Louth
> -----Original Message-----
> From: uli stehling [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 26, 2000 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: Passing results of bean as vector
>
> Hello!
>
> I constructed a stateful session bean on the weblogic 5.1 server.
> It passes the results of its operation as a vector filled with
> LogEntryData objects.
> When the client takes the elements out of the vector and tries to cast
> them back to LogEntryData I get a class cast exception.
> However when I test the class 'resultVector.get(i).getClass().getName()'
> the class
> is exactly the one i want to cast the element into.
>
> Where can the problem be hidden??
>
> Thanks in advance
>
> uli stehling, frankfurt, germany
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".