Hi all , I have this error below when try to called the ejb that i
deployed to jboss.
Thanks wt
InitialContext ctx = new InitialContext();
Object ref = ctx.lookup("test"); <-- this the error line
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:328)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:377)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:355)
at javax.naming.InitialContext.lookup(InitialContext.java:354)
at javax.naming.InitialContext.lookup(InitialContext.java:354)
at testjboss.Untitled1.main(Untitled1.java:25)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]