Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-156

replace init scripts for tomcat7 and 8 on RHEL7 by systemd units

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • JWS 3.0.1 DR1
    • tomcat7, tomcat8
    • None
    • Release Notes
    • Hide
      On Red Hat Enterprise Linux 7, the JBoss Web Server Tomcat 7 and 8 init scripts still use SysV units, which run in systemd compatibility mode.

      In a future version of JBoss Web Server, these SysV init scripts will be replaced with systemd ones.
      Show
      On Red Hat Enterprise Linux 7, the JBoss Web Server Tomcat 7 and 8 init scripts still use SysV units, which run in systemd compatibility mode. In a future version of JBoss Web Server, these SysV init scripts will be replaced with systemd ones.
    • Documented as Known Issue
    • Hide
      [root@machine system]# systemctl status tomcat7
      tomcat7.service - LSB: start and stop tomcat
         Loaded: loaded (/etc/rc.d/init.d/tomcat7)
         Active: inactive (dead)
      
      [root@machine system]# systemctl status tomcat8
      tomcat8.service - LSB: start and stop tomcat
         Loaded: loaded (/etc/rc.d/init.d/tomcat8)
         Active: inactive (dead)
      
      Show
      [root@machine system]# systemctl status tomcat7 tomcat7.service - LSB: start and stop tomcat Loaded: loaded (/etc/rc.d/init.d/tomcat7) Active: inactive (dead) [root@machine system]# systemctl status tomcat8 tomcat8.service - LSB: start and stop tomcat Loaded: loaded (/etc/rc.d/init.d/tomcat8) Active: inactive (dead)

      As on RHEL7 SysV has been replaced by Systemd we should also replace existing init scripts for tomcat 7 and 8 on RHEL7 by systemd units.

      Currently we are still using init scripts for Tomcat that work thanks to Systemd compatibility mode.

      NOTE: httpd already has its own systemd unit - so fact that tomcat services still use init scripts is inconsistency which should be resolved

            rhn-support-csutherl Coty Sutherland
            jstourac@redhat.com Jan Stourac
            Weinan Li
            Jan Stourac Jan Stourac
            Lucas Costi Lucas Costi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: