Thanks for the update Alex :) That's probably something that should be noted in the Installing as a War doc. Would you like to submit a patch to update the docs?
Thanks, Deng On Wed, Jun 3, 2009 at 10:49 PM, Alex Koon <[email protected]> wrote: > > Further to the issue, I tried it on Windows with 6.0.20 with only Archiva > as the webapp (as well as the normal Tomcat ones). This works fine. I > upgraded the problem linux server to tomcat to 6.0.20 and this seems to have > fixed the issue. > > > From: [email protected] > > To: [email protected] > > Subject: Running 1.2.1 on Tomcat - NoClassDefFoundError > > Date: Wed, 3 Jun 2009 13:28:20 +0000 > > > > > > Further to my last post about running 1.2.1 on Tomcat and having > NoClassDefFoundError. > > > > This issue happens on a Tomcat (6.0.18) server running Java 1.6.0_13 on > Linux. I upgraded from 1.1.4. The install follows most of the instructions > provided except my archiva install is no under CATALINA_HOME. There is an > archiva symbolic link from webapps which points to an exploded archiva > directory (so not a war archive) - this is to keep in step with the way > other webapps are installed on this instance of tomcat. The archiva.xml > under catalina.home/conf/Catalina/localhost/archiva.xml has the the docBase > attribute in the Context element set to point to the /....<path to tomcat > home/webapps/archiva - this is the symlink to the exploded archive > directory. > > > > As a test I installed the standalone version of Archiva on the same > server and ran this - this works fine. > > > > The stacktrace I am getting is > > > > org.apache.jasper.JasperException: javax.servlet.ServletException: > > java.lang.NoClassDefFoundError: > > com/opensymphony/webwork/views/jsp/ui/HeadTag > > > > > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522) > > > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) > > > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) > > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > > > > > ... > > ... > > ... > > > > > > > org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) > > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504) > > > org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) > > > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > > > org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99) > > > > > > > > _________________________________________________________________ > > With Windows Live, you can organise, edit, and share your photos. > > http://clk.atdmt.com/UKM/go/134665338/direct/01/ > > _________________________________________________________________ > Get the best of MSN on your mobile > http://clk.atdmt.com/UKM/go/147991039/direct/01/ >
