[jboss-jira] [JBoss JIRA] Created: (AS7-1843) System properties specified by -P or --properties aren't propagated to the server instances in domain
Rostislav Svoboda (JIRA)
jira-events at lists.jboss.org
Thu Sep 15 10:27:26 EDT 2011
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
Affects Versions: 7.0.1.Final
Reporter: Rostislav Svoboda
Assignee: Brian Stansberry
Priority: Critical
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list