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)
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)