| Summary: | tomcat7 is packaged with tomcat6-digest | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Web Server 2 | Reporter: | Ivo Hradek <ihradek> |
| Component: | tomcat7 | Assignee: | Coty Sutherland <csutherl> |
| Status: | CLOSED DEFERRED | QA Contact: | Ivo Hradek <ihradek> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1.2 | CC: | jdoyle, jonderka, pslavice, rsvoboda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-04 15:15:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ivo Hradek
2016-11-14 16:11:43 UTC
This issue has been there since the package was created :( It also affects a couple of other scripts (luckily the configuration ones are commented out): $ grep tomcat6 * | grep -v .patch | grep -v tomcat7.spec tomcat7-7.0.conf:# System-wide configuration file for tomcat6 services tomcat7-7.0.conf:# This will be sourced by tomcat6 and any secondary service tomcat7-7.0-digest.script:# tomcat6-digest script tomcat7-7.0-digest.script: TOMCAT_CFG="/etc/tomcat6/tomcat6.conf" tomcat7-7.0-digest.script:BASE_JARS="commons-daemon tomcat6/catalina servlet" tomcat7-7.0.policy:// Users must perform the following steps to run EWS/tomcat6 with the tomcat7-7.0.sysconfig:# Service-specific configuration file for tomcat6. This will be sourced by tomcat7-7.0.sysconfig:# /etc/tomcat6/tomcat6.conf, thus allowing values to be overridden in tomcat7-7.0.sysconfig:# your changes in /etc/tomcat6/tomcat6.conf tomcat7-7.0.sysconfig:# /etc/init.d/tomcat6 (do not copy the init script) and make a copy of the tomcat7-7.0.sysconfig:# /etc/sysconfig/tomcat6 file to /etc/sysconfig/<your new service> and change tomcat7-7.0.sysconfig:#CATALINA_PID="/var/run/tomcat6.pid" tomcat7-7.0.sysconfig:# Connector port is 8080 for this tomcat6 instance tomcat7-7.0-tool-wrapper.script:# tomcat6-digest script tomcat7-7.0-tool-wrapper.script: TOMCAT_CFG="/etc/tomcat6/tomcat6.conf" tomcat7-7.0-tool-wrapper.script:BASE_JARS="commons-daemon tomcat6/catalina servlet" It is not working, tomcat6-digest as well as tomcat7-digest have missing jars at classpath. Ones has to add
CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/lib/servlet-api.jar"
to make it works.
Also tomcat6-tool-wrapper and tocamt7-tool-wrapper are not working due to the same issue.
|