From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KLEyS-0000dK-VH for garchives@archives.gentoo.org; Tue, 22 Jul 2008 10:20:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A91D6E0104; Tue, 22 Jul 2008 10:20:03 +0000 (UTC) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by pigeon.gentoo.org (Postfix) with ESMTP id 6DD08E0104 for ; Tue, 22 Jul 2008 10:20:03 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id c28so446209ana.47 for ; Tue, 22 Jul 2008 03:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=dP0D02ZtkMJsO3q2Yelz8XkH77Eb3ZzMY1M37CATK2E=; b=LFIFBlvNs2HpaflhnkI5crva92DkQd5zvRW8/xGLsOAL5yn87ozKYl0QjdhFfaYzHe MogR5lf0XdEjs3bzKGnuoqpHWAhFQOdOOEDz3YlwA0VpSaGhPiTcjUrtiZHjBWQE8WcJ /HOOKYHWHOb5bCs4D7yKWfEITBu6e5VnvHEr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=UyXg4+845B/YkIvvrIbGsZnKcyJrSdesVyA99EZ6LmTIS/vj5G21mU5Owxe+bIycjL oohJQV5UORlP8auXjXAB3TMxuD70KfRNswdzF7fz+fZTAcssXEta3XtHo9VR4PO/BB1U 8o63LAdPgvvp2kNj4wuX4kImvwYNQMJ7nWlw8= Received: by 10.100.152.19 with SMTP id z19mr2319425and.16.1216722002991; Tue, 22 Jul 2008 03:20:02 -0700 (PDT) Received: by 10.100.120.18 with HTTP; Tue, 22 Jul 2008 03:20:02 -0700 (PDT) Message-ID: <35f2ce10807220320r61dc3e2bk449a779129e0eab3@mail.gmail.com> Date: Tue, 22 Jul 2008 06:20:02 -0400 From: "Gerry Smith" To: gentoo-java Subject: Re: [gentoo-java] JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_113137_976282.1216722002978" References: <35f2ce10807211735mf28f279g1a6914d240063620@mail.gmail.com> X-Archives-Salt: 18139a2c-6730-4700-b0f0-321a8c694bc0 X-Archives-Hash: 6f9fca50e33ca90193c9fcdd51b848a1 ------=_Part_113137_976282.1216722002978 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline found an old version of ServletContext hiding in gwt-user.jar. Fortunately I don't need it on the new server. Strange though that it's not causing a conflict on the old server, Thanks On Tue, Jul 22, 2008 at 4:17 AM, Marat Radchenko < slonopotamusorama@gmail.com> wrote: > javax.servlet.ServletContext.getContextPath() method was added in > Servlet API 2.5. You should remove older Servlet APi from you > classpath. > > 2008/7/22 Gerry Smith : > > Hi All, > > > > I've been using JBoss 4.2.1 with sun-jdk-1.5.0.11 for some time. > > > > I just set up a new server with latest portage, I emerged > sun-jdk-1.5.0.16 > > and installed a copy of my jboss installation. > > > > When I fire up jboss it looks like I'm getting a jdk mismatch: > > > > 2008-07-21 18:16:15,668 INFO [org.apache.catalina.core.StandardEngine] > > Starting Servlet Engine: JBossWeb/2.0.0.GA > > 2008-07-21 18:16:16,914 INFO [org.apache.catalina.startup.Catalina] > Server > > startup in 1251 ms > > 2008-07-21 18:16:17,240 INFO > [org.jboss.web.tomcat.service.TomcatDeployer] > > deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ > > 2008-07-21 18:16:19,596 ERROR > > [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]] > > Exception sending context initialized event to listener instance of class > > org.jboss.web.jsf.integration.config.JBossJSFConfigureListener > > java.lang.NoSuchMethodError: > > javax.servlet.ServletContext.getContextPath()Ljava/lang/String; > > at > > > com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:208) > > > > > > Any ideas on fixing this ? > > > > Many thanks, > > > > Gerry Smith > > > ------=_Part_113137_976282.1216722002978 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
found an old version of ServletContext hiding in gwt-user.jar. Fortunately I don't need it on the new server. Strange though that it's not causing a conflict on the old server,

Thanks

On Tue, Jul 22, 2008 at 4:17 AM, Marat Radchenko <slonopotamusorama@gmail.com> wrote:
javax.servlet.ServletContext.getContextPath() method was added in
Servlet API 2.5. You should remove older Servlet APi from you
classpath.

2008/7/22 Gerry Smith <smith.gerry@gmail.com>:
> Hi All,
>
> I've been using JBoss 4.2.1 with sun-jdk-1.5.0.11 for some time.
>
> I just set up a new server with latest portage, I emerged sun-jdk-1.5.0.16
> and installed a copy of my jboss installation.
>
> When I fire up jboss it looks like I'm getting a jdk mismatch:
>
> 2008-07-21 18:16:15,668 INFO  [org.apache.catalina.core.StandardEngine]
> Starting Servlet Engine: JBossWeb/2.0.0.GA
> 2008-07-21 18:16:16,914 INFO  [org.apache.catalina.startup.Catalina] Server
> startup in 1251 ms
> 2008-07-21 18:16:17,240 INFO  [org.jboss.web.tomcat.service.TomcatDeployer]
> deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
> 2008-07-21 18:16:19,596 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]]
> Exception sending context initialized event to listener instance of class
> org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
> java.lang.NoSuchMethodError:
> javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
>     at
> com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:208)
>
>
> Any ideas on fixing this ?
>
> Many thanks,
>
> Gerry Smith
>

------=_Part_113137_976282.1216722002978--