[ https://issues.apache.org/jira/browse/DAEMON-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Thomas resolved DAEMON-328. -------------------------------- Resolution: Not A Problem This is a Java issue, not an Apache Tomcat or Apache Commons Daemon issue. java doesn't seem to be able to handle some characters in the class path command line option. > Tomcat windows service doesn't start when installed in a folder containing > non-standard characters. > --------------------------------------------------------------------------------------------------- > > Key: DAEMON-328 > URL: https://issues.apache.org/jira/browse/DAEMON-328 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun > Affects Versions: 1.0.15 > Environment: Windows 7, 64bits, English version > Reporter: Piri Babuscov > > 1. On an English Windows 7, 64bits unzip tomcat7 (7.0.54) in a folder name > containing Japanese characters, like: "C:\TFバッチビルダー" > 2. Call 'service.bat install', worked well, Tomcat7 service appears in > Windows > 3. Trying to start the service failed. Below is the commons-daemon log: > [2014-12-11 15:55:43] [info] [ 2728] Commons Daemon procrun (1.0.15.0 > 64-bit) started > [2014-12-11 15:55:43] [info] [ 2728] Service Tomcat754 name Apache Tomcat > 7.0 Tomcat754 > [2014-12-11 15:55:43] [info] [ 2728] Service 'Tomcat754' installed > [2014-12-11 15:55:43] [info] [ 2728] Commons Daemon procrun finished > [2014-12-11 15:55:52] [info] [ 7596] Commons Daemon procrun (1.0.15.0 > 64-bit) started > [2014-12-11 15:55:52] [info] [ 7596] Running 'Tomcat754' Service... > [2014-12-11 15:55:52] [info] [ 6720] Starting service... > [2014-12-11 15:55:52] [error] [ 7472] FindClass > org/apache/catalina/startup/Bootstrap failed > [2014-12-11 15:55:52] [error] [ 6720] Failed to start Java > [2014-12-11 15:55:52] [error] [ 6720] ServiceStart returned 4 > [2014-12-11 15:55:52] [info] [ 7596] Run service finished. > [2014-12-11 15:55:52] [info] [ 7596] Commons Daemon procrun finished > [2014-12-11 15:56:46] [debug] ( prunsrv.c:1679) [ 3308] Commons Daemon > procrun log initialized > [2014-12-11 15:56:46] [info] ( prunsrv.c:1683) [ 3308] Commons Daemon > procrun (1.0.15.0 64-bit) started > [2014-12-11 15:56:46] [info] ( prunsrv.c:1596) [ 3308] Running 'Tomcat754' > Service... > [2014-12-11 15:56:46] [debug] ( prunsrv.c:1374) [ 5040] Inside ServiceMain... > [2014-12-11 15:56:46] [debug] ( prunsrv.c:844 ) [ 5040] reportServiceStatusE: > 2, 0, 3000, 0 > [2014-12-11 15:56:46] [info] ( prunsrv.c:1127) [ 5040] Starting service... > [2014-12-11 15:56:46] [debug] ( javajni.c:233 ) [ 5040] loading jvm > 'C:\Program Files\Java\jdk1.7.0_02\jre\bin\server\jvm.dll' > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[0] > -Dcatalina.home=c:\TF???????\apache-tomcat-7.0.54 > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[1] > -Dcatalina.base=c:\TF???????\apache-tomcat-7.0.54 > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[2] > -Djava.endorsed.dirs=c:\TF???????\apache-tomcat-7.0.54\endorsed > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[3] > -Djava.io.tmpdir=c:\TF???????\apache-tomcat-7.0.54\temp > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[4] > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[5] > -Djava.util.logging.config.file=c:\TF???????\apache-tomcat-7.0.54\conf\logging.properties > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[6] > -Djava.class.path=c:\TF???????\apache-tomcat-7.0.54\bin\bootstrap.jar;c:\TF???????\apache-tomcat-7.0.54\bin\tomcat-juli.jar > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[7] exit > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[8] -Xms128m > [2014-12-11 15:56:46] [debug] ( javajni.c:704 ) [ 5808] Jvm Option[9] -Xmx256m > [2014-12-11 15:56:46] [error] ( javajni.c:863 ) [ 5808] FindClass > org/apache/catalina/startup/Bootstrap failed > [2014-12-11 15:56:46] [debug] ( javajni.c:964 ) [ 5808] Java Worker thread > finished org/apache/catalina/startup/Bootstrap:main with status=3 > [2014-12-11 15:56:46] [error] ( prunsrv.c:1183) [ 5040] Failed to start Java > [2014-12-11 15:56:46] [error] ( prunsrv.c:1536) [ 5040] ServiceStart returned > 4 > [2014-12-11 15:56:46] [debug] ( prunsrv.c:844 ) [ 5040] reportServiceStatusE: > 1, 1066, 0, 4 > [2014-12-11 15:56:46] [info] ( prunsrv.c:1598) [ 3308] Run service finished. > [2014-12-11 15:56:46] [info] ( prunsrv.c:1764) [ 3308] Commons Daemon > procrun finished > [2014-12-11 16:03:15] [info] [ 5348] Commons Daemon procrun (1.0.15.0 > 64-bit) started > [2014-12-11 16:03:15] [info] [ 5348] Deleting service... > [2014-12-11 16:03:15] [info] [ 5348] Delete service finished. > [2014-12-11 16:03:15] [info] [ 5348] Commons Daemon procrun finished > -- This message was sent by Atlassian JIRA (v6.4.14#64029)