The moose likes EJB and other Java EE Technologies and the fly likes EJB 3.0 client error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 3.0 client error" Watch "EJB 3.0 client error" New topic

EJB 3.0 client error

Vikas Roonwal

Joined: Apr 11, 2008
Posts: 4
I get the following error when I execute my EJB client.
Please note that the Client is being run as a standalone JAVA class in Eclipse and the EJB is deployed in JBoss 4.2 (hence they are in separate JVMs)

The Error
at $Proxy0.login(Unknown Source)
at ejb.client.EJBClient.main2(
at ejb.client.EJBClient.main(


EJB Bean

Local Interface

Remote Interface

Thanks for any help and suggestions
~ Vikas
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
I ran it in Eclipse 3.3, deployed to JBoss 4.2.1, (on a Mac) no problems.

After the following lines were changed...

Bill Shirley - bshirley -
if (Posts < 30) JavaRanchFAQ);
Vikas Roonwal

Joined: Apr 11, 2008
Posts: 4
Hi Bill,
Thanks for pointing that out.
The blunder I made was that the EJB was deployed on Jboss 4.2, but the server jars in the client's classpath were from Jboss 5.0

I appreciate the help and apologize for my naiveness :-(
I agree. Here's the link:
subject: EJB 3.0 client error
It's not a secret anymore!