Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java <gentoo-java@g.o>
From: "Gerry Smith" <smith.gerry@...>
Subject: Re: JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Date: Tue, 22 Jul 2008 06:20:02 -0400
<div dir="ltr">found an old version of ServletContext hiding in gwt-user.jar. Fortunately I don&#39;t need it on the new server. Strange though that it&#39;s not causing a conflict on the old server,<br><br>Thanks<br><br><div class="gmail_quote">
On Tue, Jul 22, 2008 at 4:17 AM, Marat Radchenko &lt;<a href="mailto:slonopotamusorama@...">slonopotamusorama@...</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
javax.servlet.ServletContext.getContextPath() method was added in<br>
Servlet API 2.5. You should remove older Servlet APi from you<br>
classpath.<br>
<br>
2008/7/22 Gerry Smith &lt;<a href="mailto:smith.gerry@...">smith.gerry@...</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; Hi All,<br>
&gt;<br>
&gt; I&#39;ve been using JBoss 4.2.1 with sun-jdk-1.5.0.11 for some time.<br>
&gt;<br>
&gt; I just set up a new server with latest portage, I emerged sun-jdk-1.5.0.16<br>
&gt; and installed a copy of my jboss installation.<br>
&gt;<br>
&gt; When I fire up jboss it looks like I&#39;m getting a jdk mismatch:<br>
&gt;<br>
&gt; 2008-07-21 18:16:15,668 INFO &nbsp;[org.apache.catalina.core.StandardEngine]<br>
&gt; Starting Servlet Engine: JBossWeb/<a href="http://2.0.0.GA" target="_blank">2.0.0.GA</a><br>
&gt; 2008-07-21 18:16:16,914 INFO &nbsp;[org.apache.catalina.startup.Catalina] Server<br>
&gt; startup in 1251 ms<br>
&gt; 2008-07-21 18:16:17,240 INFO &nbsp;[org.jboss.web.tomcat.service.TomcatDeployer]<br>
&gt; deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/<br>
&gt; 2008-07-21 18:16:19,596 ERROR<br>
&gt; [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]]<br>
&gt; Exception sending context initialized event to listener instance of class<br>
&gt; org.jboss.web.jsf.integration.config.JBossJSFConfigureListener<br>
&gt; java.lang.NoSuchMethodError:<br>
&gt; javax.servlet.ServletContext.getContextPath()Ljava/lang/String;<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:208)<br>
&gt;<br>
&gt;<br>
&gt; Any ideas on fixing this ?<br>
&gt;<br>
&gt; Many thanks,<br>
&gt;<br>
&gt; Gerry Smith<br>
&gt;<br>
</div></div></blockquote></div><br></div>
References:
JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
-- Gerry Smith
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Next by thread:
Global jikes use flag removed
Previous by date:
Re: JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Next by date:
Global jikes use flag removed


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.