Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.ClassCastException while trying to acccess ejb server using a cli

843829Jan 28 2004 — edited Jan 28 2004
Hi,

java.lang.ClassCastException while trying to acccess ejb server using a client.

xxxMessageHome = (xxxMessageHome) ctx.lookup("xxx_xx_DataMessage_Services");

I am getting this exception.

I am trying to build a standalone client to acces a method running in the ejb.

I have used the xxxMessageHome & xxxMessage class, but I am not sure why i am getting this error. Any help/points would be of great help. Thanks.
Niranjan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2004
Added on Jan 28 2004
1 comment
149 views