-
Bug
-
Resolution: Done
-
Critical
-
JWS 3.1.0 GA, JWS 5.0_RHEL DR1
-
None
-
Documentation (Ref Guide, User Guide, etc.), Release Notes, Compatibility/Configuration, User Experience
-
-
-
-
-
-
Workaround Exists
-
-
The tomcat8-tool-wrapper script doesn't work because it's missing a JAR on it's classpath.
$ tomcat8-tool-wrapper -server org.apache.catalina.realm.RealmBase -a md5 test Jul 12, 2017 12:25:38 PM org.apache.catalina.startup.Tool main SEVERE: Exception locating main() method java.lang.NoClassDefFoundError: org/apache/tomcat/ContextBind at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:803) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:442) at java.net.URLClassLoader.access$100(URLClassLoader.java:64) at java.net.URLClassLoader$1.run(URLClassLoader.java:354) at java.net.URLClassLoader$1.run(URLClassLoader.java:348) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:347) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2625) at java.lang.Class.getMethod0(Class.java:2866) at java.lang.Class.getMethod(Class.java:1676) at org.apache.catalina.startup.Tool.main(Tool.java:216) Caused by: java.lang.ClassNotFoundException: org.apache.tomcat.ContextBind at java.net.URLClassLoader$1.run(URLClassLoader.java:359) at java.net.URLClassLoader$1.run(URLClassLoader.java:348) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:347) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 17 more
- is related to
-
JWS-770 tomcat-digest missing tomcat-api.jar at CLASSPATH
- Closed
- links to