commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Preston (JIRA)" <>
Subject [jira] [Created] (DAEMON-290) Property does not apply when Tomcat runs as service.
Date Thu, 21 Mar 2013 16:39:15 GMT
John Preston created DAEMON-290:

             Summary: Property does not apply when Tomcat runs as
                 Key: DAEMON-290
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.0.14, 1.0.7
         Environment: Windows Server 2003 R2 x86 EN
Apache Tomcat 6.0.35 (windows installation)
            Reporter: John Preston

Predefined conditions:
1. Configured system proxies.
2. Web application deployed to Tomcat with sample code retrieves list of system proxies like

String property = System.getProperty("");
List<proxy> list = ProxySelector.getDefault().select(uri);

Steps to reproduce:
1. Start Tomcat6w.exe (prunmgr.exe).
2. Open "Java" tab, go to "Java Options" section.
3. Add option "".
4. Go to "General" tab and press "Start".
5. Waiting while web application will starts and sample code runs.

Expected result:
1. "property" value contains "true".
2. "list" value contains a list of system proxies.

Actual result:
1. "property" value contains "true".
2. "list" value contains one item "DIRECT". It means system has no any configured proxies.

Additionally, it's no problem when:
1) starts tomcat with startup.bat with specified property
2) starts tomcat directly with Tomcat6.exe (prunsrv.exe).

It seems, when Tomcat runs with prunmgr.exe than property sets with
delay and has no any effect.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message