I am not exactly sure of the WARN message, but here's what you can do:

1) Instead of changing the jndi.properties file present in the conf/ directory 
of JBOSS, i would suggest, you create a separate jndi.properties file for your 
application and package it with your application so that its available in the 
classpath. (However, as far as i know, using the jndi.properties present in the 
conf/ directory is NOT the cause of this WARN message. )

2) In the jndi.properties, use:

java.naming.provider.url=jnp://localhost:1099

Note the word jnp in the url.

In all, your jndi.properties should look like:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://localhost:1099

Try this out. I am also not sure how serious that WARN message is, since the 
code is working fine.











View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942504#3942504

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942504


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to