Ladies and Gentlemen:

One of our Tomcat servers (refreshed from apache-tomcat-7.0.67-windows-x86.zip) is running AS A SERVICE on a Windows box.

And we need to set JVM Options of
 -Djavax.servlet.request.encoding=UTF-8
 -Dfile.encoding=UTF-8
 -Djava.awt.headless=true

Unlike IBM Midrange boxes, on which I can, with a simple OS command, list all the JVMs currently running on the system, and look up the arguments, environment variables, system properties, &c, I can't find any way to verify the JVM arguments (this box has only a JRE, not a JDK), other than what gets sent to the log file. I even tried installing a trial of JProfiler, but if checking arguments is in there, it's well-hidden!

I just tried adding a "setenv.bat" to the "bin" directory, containing

SET CATALINA_OPTS=-Djava.awt.headless=true 
-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8

and after stopping and starting the service, even after rebooting the Windows box, "headless" cannot be found in the log file, and neither can I find "UTF."

WHAT COULD BE GOING WRONG HERE?

--
JHHL

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

Reply via email to