Gentoo Archives: gentoo-java

From: Gerry Smith <smith.gerry@×××××.com>
To: gentoo-java <gentoo-java@l.g.o>
Subject: [gentoo-java] JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Date: Tue, 22 Jul 2008 00:35:06
Message-Id: 35f2ce10807211735mf28f279g1a6914d240063620@mail.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

Replies

Subject Author
[gentoo-java] Re: JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError Gerry Smith <smith.gerry@×××××.com>