Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : J2EE : JavaBeans/EJB : ejb not bound Signup · Login
Author Thread
ejb not bound
Posted in tutorial: Building your first Enterprise JavaBean
·  jksudhakar
User
Joined: 21 Apr 2005
Total Posts: 1
ejb not bound
Posted: 21 Apr 2005
Hi Faisal.

Very fine this tutorial.i am using eclipse3.0 and Jboss 3 i copies .java under src folder and copied xml files under meta-inf folder
I recieved the following error message:

javax.servlet.ServletException: ejb not bound


Could you please help me with it.

Thank you


very nice this was, i am beginner in EJB
·  paulie
User
Joined: 17 Aug 2005
Total Posts: 1
ejb not bound
Posted: 17 Aug 2005
Hi,
I had the exact same error.
I changed the line:
FirstHome home = (FirstHome)ctx.lookup("ejb/First");
to:
FirstHome home = (FirstHome)ctx.lookup("First");
in the firstEJB.jsp file.

And it worked.

Since I'm a total beginner to EJB I cant tell you the reson tho ;-)
I guess it has something to do with finding the bean.
//Max
·  gsuri
User
Joined: 8 Mar 2006
Total Posts: 1
ejb not bound
Posted: 10 Mar 2006
I am also getting the same error.
Did u get the solution for this error.If yes, Please letme know.
regards,
G.Suri

Users Who Have Visited This Thread In Last 24 Hours
7 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.