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=43188>.
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=43188

           Summary: Trailing space in java system properties tomcat6w.exe
           Product: Tomcat 6
           Version: 6.0.10
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


While configuring java system properties using tomcat6w.exe, tab "Java" -> "Java
options:" one can by mistake add spaces to -D argument. e.g [-Dprop=value ]
This will introduce trailing space into property value at runtime.
This may cause problems that are not trivial to find at runtime esepecialy when
configuration is done using copy and paste from web page.

When java system properties defined in command java line the trailing spaces are
truncated (ignored) in each argument. This is on all operating systems.

This bug happens in Tomcat 5.x.x as well.

To reproduce the bug each property should be on its own line like this:
---
-Dcatalina.home=D:\program\dev\Tomcat 6.0 
-Dcatalina.base=D:\program\dev\Tomcat 6.0
---
see the trailing space on the fist line?  This config will prevent tomcat from
starting

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to