Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • The systemd way of setting up JWS have some wrong doc

    Posted on

    There are 2 issues with the installation steps. Both are in the section:

    2.2.2.1.2. Setting up and using the JBoss Web Server with systemd

    in installation guide:
    https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.0/html/installation_guide/installing_jboss_web_server_on_red_hat_enterprise_linux

    Issue 1: lack of granting folder owner.

    If we strict follow this process, when starting up with systemctl jws5-tomcat.service, the command will fail and report
    ~
    startup.sh[11437]: /opt/jws-5.0/tomcat/bin/catalina.sh: line 493: /opt/jws-5.0/tomcat/logs/catalina.out: Permission denied
    ~
    Because the .postinstall.systemd script never do chmod at all. The later manual way introduced this step. I don't know why it got missing in the script??

    Issue 2: sample JAVA_HOME is miss-leading

    If we use openJDK, the default JAVA_HOME should be
    ~
    /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64/jre
    ~

    Note the appending jre folder. If we fail to set this, JWS also fail to start. Setting them correctly in setenv.sh and user profile will solve the issue

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat