Unable to start Tomcat when setting a jvm argument "http.nonProxyHosts" with multiple hosts

Answered

Hello,

When adding "http.nonProxyHosts" with multiple hosts (Ex: -Dhttp.nonProxyHosts="*.xxx.org|*.yyy.com|*.zzz.org") to the VM options of a Tomcat 8.0.35 Configuration (Please see attached image), the server doesn't start: '*.yyyy.com*' is not recognized as an internal or external command, operable program or batch file.

I don't have this problem with eclipse, or when adding this parameter directly in "catalina.bat" or "setenv.bat".

I am using IntelliJ IDEA 2016.3.4(Build #IU-163.12024.16, built on January 31, 2017) on a Windows 7 professional machine. Tomcat is running using a JDK 1.8.0_92.

Is there another way to set this parameter?

Regards,

3
4 comments
Avatar
Permanently deleted user

Thanks for the workaround and hope the bug will be fixed soon :)

0

Hi,

we're facing the same bug on IntelliJ 2023.1.3 Ultimate edition (Build #IU-231.9161.38, built on June 20, 2023) with Tomcat 9 & 10 running with Java 17. Could you solve this bug ?

Regards

0

Please sign in to leave a comment.