Uploaded image for project: 'JBoss Enterprise Web Server'
  1. JBoss Enterprise Web Server
  2. JBEWS-405

Improve postinstall script to modify apachectl for EWS zip installation

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EWS 1.0.0.GA
    • Fix Version/s: EWS 1.0.1
    • Labels:
      None
    • Environment:

      EWS zip installation for RHEL

    • Affects:
      Release Notes

      Description

      According to JBPAPP-2122, EWS 1.0.1 will provide apachectl.
      But the new apachectl won't work yet without modification, because the httpd binary is compiled with HTTPD_ROOT=/etc/httpd. You can check it with "httpd -V".
      To make apachectl work, you need to add the following lines in the beginning part of apachectl.

      1. the EWS install directory
        EWS_HOME='/path/to/jboss-ews-1.0'
      2. the options for httpd command
        OPTIONS="-f $EWS_HOME/httpd/conf/httpd.conf -E $EWS_HOME/httpd/logs/httpd.log"
      3. the library path
        export LD_LIBRARY_PATH="$EWS_HOME/httpd/lib"
      • '/path/to/jboss-ews-1.0' is the installation directory.

      IMO this slight modification to apachectl should be done in
      httpd/.postinstall
      script in order to let users free from editing apachectl by themselves.

      If this request is not acceptable, the modification instruction should be in Release Notes.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  permaine Permaine Cheung
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: