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 2011/08/05 12:33:26 UTC

DO NOT REPLY [Bug 51621] New: Missing jars in Deployer

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

             Bug #: 51621
           Summary: Missing jars in Deployer
           Product: Tomcat 7
           Version: 7.0.19
          Platform: HP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: silvio.corciolani@tiscali.it
    Classification: Unclassified


I put to ANT classpath all jars included in "apache-tomcat-7.0.19-deployer.zip"
("lib" dir).
Trying to run the Deployer ANT task "undeploy", I got:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/buf/B2CConverter

I added to ANT classpath "tomcat-coyote.jar" from Tomcat core distribution
(apache-tomcat-7.0.19-windows-x64.zip), and I got:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/res/StringManager

I added to ANT classpath "tomcat-util.jar" from Tomcat core distribution
(apache-tomcat-7.0.19-windows-x64.zip), and finally I got the task successfully
executed.

Therefore, I guess the Deployer distribution should include "tomcat-coyote.jar"
and "tomcat-util.jar".

-- 
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 51621] Missing jars in Deployer

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

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #3 from Mark Thomas <ma...@apache.org> 2012-01-18 09:31:08 UTC ---
This issue is fixed. If you need further assistance, the users list is the
place to ask. Bugzilla is not a support forum.

-- 
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 51621] Missing jars in Deployer

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

Paul <pg...@gmail.com> changed:

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

--- Comment #2 from Paul <pg...@gmail.com> 2012-01-17 05:10:43 UTC ---
Either this is not fixed, or I don't understand what the fix was (because it's
not listed).  I'm still getting this exception with 7.0.22.

When using a catalina-ant.jar from 2008 (I don't know which version of Tomcat
it came from - the manifest.mf file is dated 2008-07-22) I don't need to
include the extra jars as described in this thread:

http://www.coderanch.com/t/551052/Spring/java-lang-NoClassDefFoundError-org-apache

Perhaps a slightly better stack trace would be helpful:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/buf/B2CConverter
  at org.apache.catalina.util.Base64.encode(Base64.java:177)
  at
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:204)
  at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:211)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
...

-- 
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 51621] Missing jars in Deployer

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

Paul <pg...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pggifford@gmail.com

-- 
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 51621] Missing jars in Deployer

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

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-08-05 18:09:18 UTC ---
Thanks for the report. This has been fixed in 7.0.x and will be included in
7.0.20 onwards.

-- 
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