Yes, this is a dedicated machine that we've installed yesterday and Tomcat hasn't been modified to use the Eclipse compiler. We didn't change anything after installation. We use CentOS 5.4 as OS, and this is an old one, do you think it can be related to?
Mickael -----Original Message----- From: Brett Porter [mailto:[email protected]] On Behalf Of Brett Porter Sent: Tuesday, November 22, 2011 10:38 PM To: [email protected] Subject: Re: java.lang.NoSuchMethodError This doesn't look like something that should come out of the stock installation. Is this a first time set up? Have you modified Tomcat to use the Eclipse compiler in the past? - Brett On 23/11/2011, at 2:36 AM, Mickael Marrache wrote: > Hi, > > I've deployed Archiva 1.3.5 on Tomcat 6.0.29. I use CentOS as OS. I've > followed the installation guide: > > > 1. archiva directory created under tomcat base directory > 2. war placed in the created directory > 3. archiva.xml file added in the conf/Catalina/localhost directory > 4. Content of the archiva.xml file : > > > > <Context path="/archiva" > > docBase="${catalina.home}/archiva/apache-archiva-1.3.5.war"> > > > > <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource" > > username="sa" > > password="" > > driverClassName="org.apache.derby.jdbc.EmbeddedDriver" > > > url="jdbc:derby:${catalina.home}/archiva/database/users;create=true" /> > > > > <Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource" > > username="sa" > > password="" > > driverClassName="org.apache.derby.jdbc.EmbeddedDriver" > > > url="jdbc:derby:${catalina.home}/archiva/database/archiva;create=true" /> > > > > <Resource name="mail/Session" auth="Container" > > type="javax.mail.Session" > > mail.smtp.host="localhost"/> > > </Context> > > > > 5. Environment variable CATALINA_OPTS modified to > CATALINA_OPTS="-Dappserver.home=$CATALINA_HOME > -Dappserver.base=$CATALINA_HOME" > > 6. Reboot of computer > > > > I can see under Tomcat manager that Archiva is started but when I access to > http://<host>:8080/archiva, I get the following error : > > > > java.lang.NoSuchMethodError: > org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem; > > > org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:370) > > org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335) > > > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:429) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:349) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > > org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416) > > > 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) > > > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) > > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > > > > > > Thanks for your help! > > > -- Brett Porter [email protected] http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter
