hai,
i am new to
EJB and when trying to deploy a simple HELLO ejb(as described in ED ROMANS'S book MASTERING EJB) i get several errors(when i ran the client)like:
------------------------------------------------------------------
!!!javax.naming.ServiceUnavailableException: NULL returned when resolving initia
l reference=NameService
javax.naming.ServiceUnavailableException: NULL returned when resolving initial r
eference=NameService
at com.ibm.ws.naming.util.WsnInitCtxFactory.getCosRootContext(WsnInitCtx
Factory.java:452)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCt
xFactory.java:337)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtx
Factory.java:200)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(W
snInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at HelloClient.main(HelloClient.java:20)
-------------------------------------------------------------------
if this is because of the JNDI context please help me with the procedure to do it in WSAD(Websphere Studio Application Developer)4.0.
thanks in advance
[ January 02, 2004: Message edited by: Anand Srinivas ]
[ January 02, 2004: Message edited by: Anand Srinivas ]