Hi all,

I am trying to set the following system property/value in setenv.sh
com.sun.jndi.ldap.connect.pool.protocol="plain ssl"
on Apache Tomcat/6.0.16, and I cannot for the life of me figure out how to escape the quotes and get the server to start.

If I enclose the whole CATALINA_OPTS in single quotes, then the value looks fine when echoed, but the catalina.out contains Exception in thread "main" java.lang.NoClassDefFoundError: ssl"

Java (bourne sh) is still not taking the part of the value after the space as part of the value, but as a separate argument (main class name)

I have experimented with many options and searched the web for help with this, but, I cannot find anything.


Can anybody help with the correct format for CATALINA_OPTS in setenv.sh when setting a system property to a value which contains a space?


Thanks in advance,
Bap.


The complete contents of setenv.sh is the single line below.
CATALINA_OPTS='-Xms128m -Xmx256m -Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl" -Dcom.sun.jndi.ldap.connect.pool.timeout=10000'


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to