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

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

      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"));
          }
      %>
      

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

                Created:
                Updated:
                Resolved: