You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/09/18 01:01:02 UTC

DO NOT REPLY [Bug 40530] New: - Tomcat Service startup fails when installed into localized path

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40530>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40530

           Summary: Tomcat Service startup fails when installed into
                    localized path
           Product: Tomcat 5
           Version: 5.5.17
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yurlit@gmail.com


Tomcat Service can not be started if Tomcat was installed into the path, 
containing non-ASCII (e.g. Japanese or Chinese) symbols.

The problem is apparently due to the improper treatment of non-ascii 
characters in the "Java classpath" section of the Service settings.

In tomcat5w.exe GUI or windows registry I could see proper PATH, namely
C:\[ONE CHINESE HIEROGLIPH]\Tomcat 5.5\bin\bootstrap.jar

Unfortunately, service doesn't get started with the following log:

[2006-09-15 18:29:17] [457  javajni.c] [error] FindClass 
org/apache/catalina/startup/Bootstrap failed
[2006-09-15 18:29:17] [935  prunsrv.c] [error] Failed loading main 
org/apache/catalina/startup/Bootstrap class C:\ss\Tomcat 5.5\bin\bootstrap.jar
[2006-09-15 18:29:17] [1179 prunsrv.c] [error] ServiceStart returned 3

where the non-ascii symbol gets replaced with improper ascii 'ss' sequence.


Moreover, I tried to define environmental variables PR_CLASSPATH and 
PR_STARTPATH instead of using corresponding service params. The result is 
exactly the same.

Please, suggest me the workaround to make Tomcat service run.

P.S. The problem is stable either under JRE 1.5.0_02 or 1.4.2_10 (within 
tomcat compatibility package). The problem exist apparently under all OS (in 
particular, it was detected on Windows 2000 and Windows XP Pro 2002 SP2 either 
Chinese version or standard English with Chinese System locale installed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 40530] - Tomcat Service startup fails when installed into localized path

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40530>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40530


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2007-01-13 07:25 -------
I can reproduce this on the command line, without running Tomcat as a service.

This looks similar to the cmd.exe issue
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5013622

Both Java & Perl fail when the class file / Perl script are in a directory that
contains UTF-8 characters. The only work around I can suggest is to install
Tomcat in a directory that contains only ASCII characters.

I do not believe that this is a Tomcat issue nor is there anything the Tomcat
team can do to fix it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org