[jboss-user] [JNDI and Naming] - Re: EJB - JBOSS - JNDI HELP!!!

jaikiran pai do-not-reply at jboss.com
Fri Mar 18 00:29:19 EDT 2011

jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: EJB - JBOSS - JNDI      HELP!!!"

To view the discussion, visit: http://community.jboss.org/message/593981#593981

> stefano bertozzi wrote:
>  p.p.s. i have also this warn:
> +log4j:WARN No appenders could be found for logger (org.jnp.interfaces.TimedSocketFactory).+
> +log4j:WARN Please initialize the log4j system properly.+
For this WARN message, you are missing a log4j.properties (or log4j.xml) in your client's (the program that runs in a different JVM) classpath.

> stefano bertozzi wrote:
> 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 ).
> 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+
This too is because of a missing jndi.properties in the client classpath. For both these issues, all you have to do is figure out how to set the classpath in Eclipse (assuming you are running the client program from Eclipse), for the client program, so that those files are picked up from the classpath.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110318/d4aa6268/attachment-0001.html 

More information about the jboss-user mailing list