Tomcat 6 Admin Webapp Headache

Hi there,

I've just installed Tomcat 6 and am now trying to install the Admin webapp. Firstly, I couldn't find it anywhere on the tomcat website and I eventually (after loads of searching around on google) found the following:

http://www.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23-admin.zip

Obviously this is the admin app for version 5, but I can't find anything for version 6.

I then unzipped it, and copied the webapps/admin directory to the Tomcat webapps directory. The webapp appears in the manager as started, but going to http://localhost/admin produced a blank page with the following error in the log:

WARNING: Unexpected error forwarding to login page

javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initializeclass org.apache.struts.taglib.html.HtmlTag

at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)

at admin.login_jsp._jspService(login_jsp.java:118)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)

at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)

at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NoClassDefFoundError: Could not initializeclass org.apache.struts.taglib.html.HtmlTag

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at admin.login_jsp.class$(login_jsp.java:70)

at admin.login_jsp._jspService(login_jsp.java:70)

... 19 more

HtmlTag definitely exists in webapps/admin/WEB-INF/lib/struts.jar

Has anyone got any idea what's going on, and/or does anyone know how to get this working?

Thanks,

Chris.

[3429 byte] By [chris1a] at [2007-11-27 7:14:29]
# 1
hey, have you found the way to install admin tool with tomcat 6 ? if so then do put it in the forum
ash_still_therea at 2007-7-12 19:04:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...