Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tomcat error while ant deploy (via manager)

843838Jun 30 2007
I am getting the following error whenever I deploy or undeploy my jsp application using ant.

The error is :
Jun 30, 2007 1:18:50 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.NoClassDefFoundError: org/apache/tomcat/util/buf/ByteChunk
at org.apache.catalina.util.Base64.decode(Base64.java:214)
at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:165)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)


The ant call I used for accessing tomcat manager:

<target name="start">
<start
path="/${application.name}"
url="${manager.url}"
username="${manager.id}"
password="${manager.password}"
/>
</target>

Id and passwords seem to be correct, I get the error above, however my application is deployed and there is no problem other than the annoying exception

Thanks...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 28 2007
Added on Jun 30 2007
0 comments
148 views