Page 1 of 1

Problems with Tomcat add-on

PostPosted: 16. August 2005 02:39
by Tinjaw
First of all I appologize for not having the specifics of the error. I am at home and the computer is at work.

I spent four hours trying to get the tomcat add-on to work on Windows today. I installed J2EE 1.4 SDK 2005Q2 UR2 and then the installer version of XAMPP for Windows 1.4.15. That worked fine. Then I installed the Tomcat 5.5.9 add-on installer. When I went to localhost:8080 I could get to the Server Status page, and the Tomcat Administration page, but when I tried to go to the Tomcat Manager page I got a error about java.lang.NoClassDefFoundError on org.apache.catalina.Deployer (I think). Has this combo been tested? Anybody else seen this issue?

thanx

Problem launching Tomcat Manager

PostPosted: 16. August 2005 14:42
by swl
I am having the same problem...

I'm on a Windows XP system with jdk1.5.0_04 installed. I used the installer versions of XAMPP Windows 1.4.15 (xampp-win32-1.4.15-installer.exe) and Tomcat 5.5.9 (xampp-tomcat-addon-5.5.9-installer.exe).

I'm also using Mozilla Firefox 1.0.6 (although the same error occurs with Internet Explorer).

Going to http://localhost:8080/ and clicking on the Tomcat manager link (in the Administration box) results in the information shown below (after authenticating using user xampp and password xampp)...

Does anyone have any suggestions for a fix? Any information would be most appreciated!

Cheers!

Code: Select all
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error allocating a servlet instance
   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
   org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   java.lang.Thread.run(Thread.java:595)

root cause

java.lang.NoClassDefFoundError: org/apache/catalina/Deployer
   org.apache.catalina.manager.ManagerServlet.setWrapper(ManagerServlet.java:259)
   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
   org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   java.lang.Thread.run(Thread.java:595)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.

PostPosted: 27. October 2005 11:21
by iCARus
Any fix on this ? We get the same error!

PostPosted: 27. October 2005 11:27
by Tinjaw
iCARus wrote:Any fix on this ? We get the same error!
I do not yet have a fix. I put this project aside for now.

Here is what works for the Tomcat problem

PostPosted: 29. October 2005 15:38
by Dazz
I did what Cyco proposed:
http://community.apachefriends.org/f/viewtopic.php?t=13385

Its a workaround. If you see the date of the manager-files of the apache-addon for xampp you see, that they're older than the ones for the new tomcat. :roll:

Delete the old ones, download the tomcat zip from apache-tomcat, copy the files of the manager-folder an paste them to the manager-folder of tomcat in the xampp installation.

It woked for me. Good luck everyone. It took me 4 :shock: hours to find out!!!!

Dazz