tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57053] Tomcat 8.0.14 doesn't start with -Dhttp.nonProxyHosts
Date Fri, 03 Oct 2014 09:06:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=57053

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
                 OS|                            |All

--- Comment #1 from Mark Thomas <markt@apache.org> ---
Building up a command line from environment variables that contain characters
with special meanings (space, pipe, equals, double quote etc.) can be extremely
tricky. There are various problems and there are several workarounds. Some of
these workarounds only apply to 'simple' cases and issues will still be
observed with more complex cases.

What you are seeing is a result of the change in Tomcat to better handle the
more complex cases. Unfortunately this means the simple workaround (quoting the
value) you were using for including the pipe character no longer works and you
need to use a more complex solution where you quote the whole assignment and
escape the pipe character. Something like this:

SET
"CATALINA_OPTS=-Dhttp.nonProxyHosts=localhost^|127.0.0.1|^10.80.*^|10.0.0.*"

This solution should work with or without the change in 8.0.14.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message