Hi there,
probably you are not casting properly...
check what kind of object class you are getting before casting it...
-----Original Message-----
From: Allen Brininstool [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 13, 1999 5:08 PM
To: [EMAIL PROTECTED]
Subject: Session Bean accessing RMI Object
I am attempting to access an RMI server object (AppServer) from a Session bean. On the
Naming.lookup statement, I get: ClassCastException on AppServer_Stub.
The code snippet in the session bean: RemoteAppServer server = (RemoteAppServer)
Naming.lookup("AppServer");
I have checked my classpaths on both the J2EE server side and the client test program
side.
Any ideas?
===========================================================================
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".
===========================================================================
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".