I had installed J2EE server for running, testing and learning EJB. As per the 
documentation and the tutorial provided I had coded the programs and using the 
'deploytool' provided in the 'j2eesdk1.2.1' had deployed the EJB. But, after trying 
for a long time could not run the Client program. The following is the description of 
error or exception I am getting on my PC :

Note : I am using my PC as both Server & Client. The J2EE server is also installed 
successfully and is running...

The following is the exception received after running the Client program :

---------- Java ----------
java.lang.ClassCastException
 at 
com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
 at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
 at HelloClient.main(HelloClient.java:25)
Normal Termination
Output completed (10 sec consumed).


Kindly provide me a suitable guidance for solving this problem.

Thanking you and expecting a prompt reply,

Sincerely,

Sanjay Verma.

===========================================================================
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".

Reply via email to