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
[http://community.jboss.org/message/593981#593981]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to