[jboss-user] [Beginners Corner] - Re: JBoss API usage examples

PeterJ do-not-reply at jboss.com
Thu Jul 17 14:33:34 EDT 2008


You do need a jndi.properties file to provide the proper initial context. And the client's classpath must include jbossall-client.jar. Here is the jndi.properties file:

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


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

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



More information about the jboss-user mailing list