Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1843

System properties specified by -P or --properties aren't propagated to the server instances in domain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.0.CR1
    • None
    • Scripts
    • None

    Description

      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:

      <%
          if (request.getParameter("prop") == null) {
              out.println("Please specify request parameter 'prop'.");
          } else {
              out.println(System.getProperty(request.getParameter("prop"), "property-not-specified"));
          }
      %>
      

      Attachments

        Activity

          People

            kkhan1@redhat.com Kabir Khan
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: