-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You might check to see if there are duplicate versions of your class
files within reach of the weblogic server (in it's classpath and
- -Dweblogic..classpath). I know that in other cases, loading a class
that is available to parts of the weblogic classpath or the
- -Dweblogicclasspath can cause a class cast exception due to competing
class loaders.
HTH.
Bob Evans
-----Original Message-----
From: Parikshit [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 28, 2000 1:36 AM
To: ejb interest
Cc: [EMAIL PROTECTED]
Subject: Class Cast Exception
Hello all,
I have a Stateful Session Bean and a servlet is used to invoke it ,
i.e. I am getting the homeInterface of the bean in the servlet and
then getting the RI and using it's business methods.Both the servlet
and session bean are registered with the application
server(Weblogic).
This thing is working fine with the Weblogic server on NT but if I
use the same .class file with Weblogic server on SunSolaris and do
all the required things(like registration in properties file) I am
getting a class Cast Exception at (myBeanHomeImpl_ServiveStub.I feel
that the object which is returned after lookup cannot be casted to
myHome.I am not able to figureout why this is not working with
Solaris while it is working with NT.
I will be thankful if anyone can provide me any info. to solve this
problem.
Thanks in advance,
Payal.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use <http://www.pgp.com>
iQA/AwUBOLzfxyyDZWqwWQA3EQKgwgCfXxg4n3HVBGE+aOp5VL7i5y3tKagAniD0
gbBM9ILKAqybPtS2aMgMcO6E
=kG2P
-----END PGP SIGNATURE-----