https://bugzilla.redhat.com/show_bug.cgi?id=1363887
Bug ID: 1363887
Summary: The tomcat-tool-wrapper script is broken
Product: Red Hat Enterprise Linux 7
Version: 7.2
Component: tomcat
Assignee: csutherl(a)redhat.com
Reporter: csutherl(a)redhat.com
QA Contact: tomcat-qe(a)redhat.com
CC: alee(a)redhat.com, csutherl(a)redhat.com,
extras-qa(a)fedoraproject.org, ivan.afonichev(a)gmail.com,
java-sig-commits(a)lists.fedoraproject.org,
krzysztof.daniel(a)gmail.com, me(a)coolsvap.net,
trick(a)vanstaveren.us
Depends On: 1363884
+++ This bug was initially created as a clone of Bug #1363884 +++
Description of problem:
The tomcat-tool-wrapper provided by the tomcat package doesn't work.
Version-Release number of selected component (if applicable):
tomcat-8.0.32-5.fc23.noarch
How reproducible:
Every time.
Steps to Reproduce:
1. Install tomcat via `yum install tomcat`
2. Execute the command and observe:
[coty@localhost tomcat]$ tomcat-tool-wrapper -server
org.apache.catalina.realm.RealmBase -a md5 test
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tomcat/util/ExceptionUtils
at org.apache.catalina.startup.Tool.main(Tool.java:218)
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.util.ExceptionUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
ABRT problem creation: 'success'
Actual results:
A CNFE is thrown because the ExceptionUtils class is not in the classpath.
Expected results:
[coty@localhost tomcat]$ tomcat-tool-wrapper -server
org.apache.catalina.realm.RealmBase -a md5 test
test:4af3bd7759edac2bd372d04c343aee12f789394ecada8c9ce6fc32555fbf5c76$1$58040d6efb505a5e2bcf7c863968a192
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1363884
[Bug 1363884] The tomcat-tool-wrapper script is broken
--
You are receiving this mail because:
You are on the CC list for the bug.