JBoss Community

Re: EJB - JBOSS - JNDI HELP!!!

created by stefano bertozzi in JNDI and Naming - View the full discussion

downloaded JBOSS 6.0 final, unpacked it in C:\Jboss_releases.

i run it directly inside Eclipse, but it works fine also launching it from the console ( p.s. i have WIN7 64bit ).

 

I deploy my project right-clicking on it inside Eclipse, then Export->JAR file inside the Jboss\servers\default\deploy. It all works fine. If i launch my client with the env settings all works fine.

If i exlude that i get:

javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resourcefile: java.naming.factory.initial

 

here's the solution http://community.jboss.org/wiki/GetquotjavaxnamingNoInitialContextExceptionquot but it doesn't work for me.

 

I think the problem is that my client is not running on jboss server so it has a different JVM...this is what i understood by reading a lot of documents about JNDI.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community