You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/06/09 07:42:55 UTC

DO NOT REPLY [Bug 49410] New: digest.sh script throws java.lang.NoClassDefFoundError

https://issues.apache.org/bugzilla/show_bug.cgi?id=49410

           Summary: digest.sh script throws java.lang.NoClassDefFoundError
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: gurkanerdogdu@yahoo.com


Created an attachment (id=25553)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25553)
Adding tomcat-juli.jar to classpath

After building trunk in Ubuntu 10.04, I run the following

digest.sh -a md5 hello

I throws 

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/juli/logging/LogFactory
    at org.apache.catalina.startup.Tool.<clinit>(Tool.java:76)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 1 more

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49410] digest.sh script throws java.lang.NoClassDefFoundError

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49410

--- Comment #1 from Rainer Jung <ra...@kippdata.de> 2010-06-09 06:31:06 EDT ---
Thanks for testing and reporting.

This has been fixed in r952945 and will be part of RC5 or 7.0.1, depending on
how the recent release vote ends.

The fix does not only add the jar file but also aligns the tool-wrapper script
closer to the catalina script.

Rainer

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49410] digest.sh script throws java.lang.NoClassDefFoundError

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49410

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org