Am 01.09.2016 um 20:36 schrieb James H. H. Lampert: > ... > 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." Hi James,
if I'm remembering correctly, parameters for services are stored somewhere in the registry. Instead of poking there, you should use the tomcatw.exe executable which parameterizes the service. I hope that memory serves me right - it's been a long time since I last touched windows. Last time I saw it, it spawned a dialog with proper input fields for anything you might want to configure. setenv.bat would be used if you start through startup.bat or catalina.bat - but is not touched by a service, as a service doesn't use the batch files at all. Best, Olaf --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org