This content has been marked as final.
Show 2 replies
-
1. Re: where should i put the "jndi.properties"
mkroeger Feb 16, 2002 7:31 AM (in response to zhebincong)The InterestClient need to access the jndi.properties .
So put it into your classpath for the client.
This is described at
http://www.jboss.org/online-manual/HTML/ch01s15.html -
2. Re: where should i put the "jndi.properties"
phykell Feb 18, 2002 4:28 AM (in response to zhebincong)Alternatively, you can specify the properties explicitly when you call the client, using the -D option on the call to the java executable.
E.g.:
java -cp .\jboss-j2ee.jar;.\jboss-client.jar;.\jnp-client.jar;.\jndi.jar;.\jboss-jaas.jar;. -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.provider.url=jnp://158.41.219.75:1099 -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces org.jboss.docs.interest.InterestClient