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 01:56:51 -0400
<div dir="ltr">If I force jboss to use a copy of sun-jdk-1.5.0.11 from the old server, I still get the same error.<br>I can&#39;t find any implementations of jsf or servlet api kicking around other than the ones I expect under jboss.<br>
(/opt/jboss421/server/default/deploy/jboss-web.deployer/jsf-libs/)<br>(server/default/lib/servlet-api.jar)<br><br>Can anyone think of recent changes to java config that could cause this ?<br><br>Thanks<br><br><div class="gmail_quote">
On Mon, Jul 21, 2008 at 8:35 PM, Gerry Smith &lt;<a href="mailto:smith.gerry@...">smith.gerry@...</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;">
<div dir="ltr">Hi All,<br><br>I&#39;ve been using JBoss 4.2.1 with sun-jdk-1.5.0.11 for some time.<br><br>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.<br>

<br>When I fire up jboss it looks like I&#39;m getting a jdk mismatch:<br><br>2008-07-21 18:16:15,668 INFO&nbsp; [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: JBossWeb/<a href="http://2.0.0.GA" target="_blank">2.0.0.GA</a><br>

2008-07-21 18:16:16,914 INFO&nbsp; [org.apache.catalina.startup.Catalina] Server startup in 1251 ms<br>2008-07-21 18:16:17,240 INFO&nbsp; [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/<br>

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<br>

java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;<br>&nbsp;&nbsp;&nbsp; at com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:208)<br><br><br>Any ideas on fixing this ?<br>

<br>Many thanks,<br><br>Gerry Smith<br></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:
JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Next by thread:
Re: JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Previous by date:
JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Next by date:
Re: JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError


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.