[
https://issues.jboss.org/browse/AS7-1843?page=com.atlassian.jira.plugin.s...
]
Kabir Khan commented on AS7-1843:
---------------------------------
While here get rid of ModelCombiner.addStandardProperties() which currently adds to the
server's environment rather than the system properties.
ServerStartTask sets up most of the stuff attempted here, and the gc properties should
come from domain.conf.
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: Kabir Khan
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