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
<div dir="ltr">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,<br><br>Thanks<br><br><div class="gmail_quote">
On Tue, Jul 22, 2008 at 4:17 AM, Marat Radchenko <<a href="mailto:slonopotamusorama@...">slonopotamusorama@...</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
javax.servlet.ServletContext.getContextPath() method was added in<br>
Servlet API 2.5. You should remove older Servlet APi from you<br>
classpath.<br>
<br>
2008/7/22 Gerry Smith <<a href="mailto:smith.gerry@...">smith.gerry@...</a>>:<br>
<div><div></div><div class="Wj3C7c">> Hi All,<br>
><br>
> I'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<br>
> and installed a copy of my jboss installation.<br>
><br>
> When I fire up jboss it looks like I'm getting a jdk mismatch:<br>
><br>
> 2008-07-21 18:16:15,668 INFO [org.apache.catalina.core.StandardEngine]<br>
> 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 [org.apache.catalina.startup.Catalina] Server<br>
> startup in 1251 ms<br>
> 2008-07-21 18:16:17,240 INFO [org.jboss.web.tomcat.service.TomcatDeployer]<br>
> deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/<br>
> 2008-07-21 18:16:19,596 ERROR<br>
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]]<br>
> Exception sending context initialized event to listener instance of class<br>
> org.jboss.web.jsf.integration.config.JBossJSFConfigureListener<br>
> java.lang.NoSuchMethodError:<br>
> javax.servlet.ServletContext.getContextPath()Ljava/lang/String;<br>
> at<br>
> 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>
><br>
</div></div></blockquote></div><br></div>
|
|