Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

JAVA_OPTS to tomcat

Vijay Kandy

2003-12-17

Replies:

Hello All,

When I add the following line to catalina.sh:
JAVA_OPTS=-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFact
ory -Djava.naming.provider.url=jnp://localhost:1099
-Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

I get this error:
./catalina.sh: -Djava.naming.provider.url=jnp://localhost:1099: No such file
or directory

Can someone tell me whats going on here?

Thanks,
Vijay

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.