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

tomcat-digest in JWS RPM fails if called as non-root user

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      If /opt/rh/jws5/root/usr/bin/tomcat-digest is called as a non-root user for the JWS RPM, it fails since there was not proper permissions to use /etc/opt/rh/scls/jws5/tomcat/tomcat.conf and CATALINA_HOME is empty as a result to break the classpath:

      /opt/rh/jws5/root/usr/bin/tomcat-digest -a md5 example
      Error: Could not find or load main class org.apache.catalina.startup.Tool
      

      Do we have it documented anywhere that this should be called as root? That's not required for the RHEL Tomcat package. So should that be documented or can we improve this to not require root?

              dsoumis Dimitris Soumis
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: