1 |
If I force jboss to use a copy of sun-jdk-1.5.0.11 from the old server, I |
2 |
still get the same error. |
3 |
I can't find any implementations of jsf or servlet api kicking around other |
4 |
than the ones I expect under jboss. |
5 |
(/opt/jboss421/server/default/deploy/jboss-web.deployer/jsf-libs/) |
6 |
(server/default/lib/servlet-api.jar) |
7 |
|
8 |
Can anyone think of recent changes to java config that could cause this ? |
9 |
|
10 |
Thanks |
11 |
|
12 |
On Mon, Jul 21, 2008 at 8:35 PM, Gerry Smith <smith.gerry@×××××.com> wrote: |
13 |
|
14 |
> Hi All, |
15 |
> |
16 |
> I've been using JBoss 4.2.1 with sun-jdk-1.5.0.11 for some time. |
17 |
> |
18 |
> I just set up a new server with latest portage, I emerged sun-jdk-1.5.0.16 |
19 |
> and installed a copy of my jboss installation. |
20 |
> |
21 |
> When I fire up jboss it looks like I'm getting a jdk mismatch: |
22 |
> |
23 |
> 2008-07-21 18:16:15,668 INFO [org.apache.catalina.core.StandardEngine] |
24 |
> Starting Servlet Engine: JBossWeb/2.0.0.GA |
25 |
> 2008-07-21 18:16:16,914 INFO [org.apache.catalina.startup.Catalina] Server |
26 |
> startup in 1251 ms |
27 |
> 2008-07-21 18:16:17,240 INFO [org.jboss.web.tomcat.service.TomcatDeployer] |
28 |
> deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ |
29 |
> 2008-07-21 18:16:19,596 ERROR |
30 |
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]] |
31 |
> Exception sending context initialized event to listener instance of class |
32 |
> org.jboss.web.jsf.integration.config.JBossJSFConfigureListener |
33 |
> java.lang.NoSuchMethodError: |
34 |
> javax.servlet.ServletContext.getContextPath()Ljava/lang/String; |
35 |
> at |
36 |
> com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:208) |
37 |
> |
38 |
> |
39 |
> Any ideas on fixing this ? |
40 |
> |
41 |
> Many thanks, |
42 |
> |
43 |
> Gerry Smith |
44 |
> |