• Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.14.0
    • Component/s: None


      It seems the supplied systemd unit file in jfrog-artifactory-pro-6.12.2-61202900.noarch doesn't work with RHEL8:

      host:~# systemctl start artifactory
      Job for artifactory.service failed because the service did not take the steps required by its unit configuration.
      See "systemctl status artifactory.service" and "journalctl -xe" for details.

      host:~# systemctl status artifactory
      ‚óŹ artifactory.service - Setup Systemd script for Artifactory in Tomcat Servlet Engine
      Loaded: loaded (/usr/lib/systemd/system/artifactory.service; enabled; vendor preset: disabled)
      Active: activating (auto-restart) (Result: protocol) since Fri 2019-09-27 09:18:22 CDT; 3s ago
      Process: 21863 ExecStart=/opt/jfrog/artifactory/bin/ start (code=exited, status=0/SUCCESS)

       The process clearly seems to be running, though (but now is not being properly managed by systemd for stop/restart, etc.):

      artifactory:~# ps auxw | grep artifactory
      artifac+ 18912 360 7.7 8309444 1259332 ? Sl 09:10 1:37 /usr/bin/java -Djava.util.logging.config.file=/opt/jfrog/artifactory/tomcat/conf/ -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -server -Xms512m -Xmx4g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=kill -9 %p -Djruby.compile.invokedynamic=false -Dfile.encoding=UTF8 -Dartdist=rpm -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Djfrog.join.key.paths=/var/opt/jfrog/artifactory -server -Xms512m -Xmx4g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=kill -9 %p -Djruby.compile.invokedynamic=false -Dfile.encoding=UTF8 -Dartdist=rpm -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dartifactory.home=/var/opt/jfrog/artifactory -Dignore.endorsed.dirs= -classpath /opt/jfrog/artifactory/tomcat/bin/bootstrap.jar:/opt/jfrog/artifactory/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/jfrog/artifactory/tomcat -Dcatalina.home=/opt/jfrog/artifactory/tomcat org.apache.catalina.startup.Bootstrap start

      I've attempted to fix the unit file, by starting Tomcat directly as the "artifactory" user, setting the environment variables directly, changing from "Type=forking" to "Type=simple", etc.  I can't get it to start properly, which makes it impossible to manage correctly with Puppet (systemd really needs to properly manage the process with correct running / not running status).


          Issue Links



              • Assignee:
                eldada Eldad Assis
                rgiles Robert Giles
                Assigned QA:
                Konstantin Shenderov (Inactive)
              • Votes:
                1 Vote for this issue
                3 Start watching this issue


                • Created: