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