[jboss-jira] [JBoss JIRA] (AS7-1843) System properties specified by -P or --properties aren't propagated to the server instances in domain

Jason Greene (Updated) (JIRA) jira-events at lists.jboss.org
Thu Nov 3 16:24:45 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated AS7-1843:
------------------------------

        Fix Version/s: 7.1.0.CR1
    Affects Version/s:     (was: 7.0.1.Final)

    
> System properties specified by -P or --properties aren't propagated to the server instances in domain
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AS7-1843
>                 URL: https://issues.jboss.org/browse/AS7-1843
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: Rostislav Svoboda
>            Assignee: Brian Stansberry
>            Priority: Critical
>             Fix For: 7.1.0.CR1
>
>
> System properties specified by -P or --properties aren't propagated to the server instances in domain. Tested on AS 7.0.1 and latest AS7 build from sources. 
> System properties are propagated to the server instances in domain only when -D is used. For standalone -P and --properties are working properly.
> Tested with simple webapp containing just index.jsp with content:
> {code}
> <%
>     if (request.getParameter("prop") == null) {
>         out.println("Please specify request parameter 'prop'.");
>     } else {
>         out.println(System.getProperty(request.getParameter("prop"), "property-not-specified"));
>     }
> %>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list