Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating EJB 2.0 with Jbuilder 6 & BES 5

Status
Not open for further replies.

qnob

Programmer
Apr 24, 2002
1
CH
Hi all,

I'm a Newbie in EJB development and try to run some EJB's. I sucessfully created an EJB 1.1 compliant Bean from an existing DataSource with the wizard.
Now, I've tried to build up an EJB 2.0 Bean on the same way, but I always get an "org.omg.CosNaming.NamingContextPackage.NotFound Exception" message, when my client tries to lookup the Home interface.

Has anybody an idea?
Thanks a lot
kuno

Here the whole Exception message:
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:34) at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.extract(NotFoundHelper.java:50) at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:161) at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368) at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417) at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395) at javax.naming.InitialContext.lookup(InitialContext.java:350) at javax.naming.InitialContext.lookup(InitialContext.java:350) at entitybean20.AccountTestClient1.<init>(AccountTestClient1.java:20) at entitybean20.AccountTestClient1.main(AccountTestClient1.java:55) java.lang.NullPointerException at entitybean20.AccountTestClient1.main(AccountTestClient1.java:59)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top