JBoss Community

Re: Ejb3.0 jndi lookup problem

created by santhosh pulichinthala in EJB 3.0 - View the full discussion

Hi wolfgang,

Now im getting this error.

Exception in thread "main"

javax.naming.NamingException: Failed to find j2ee.clientName in jndi env

at org.jboss.naming.client.java.javaURLContextFactory.getObjectInstance(

javaURLContextFactory.java:81)

at javax.naming.spi.NamingManager.getURLObject(Unknown Source)

at javax.naming.spi.NamingManager.getURLContext(Unknown Source)

at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.lookup(Unknown Source)

at co.za.eskom.HelloClient.main(

HelloClient.java:32)

 

Thanks

santhosh

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community