From: "Gerry Smith" <smith.gerry@gmail.com>
To: gentoo-java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError
Date: Tue, 22 Jul 2008 06:20:02 -0400 [thread overview]
Message-ID: <35f2ce10807220320r61dc3e2bk449a779129e0eab3@mail.gmail.com> (raw)
In-Reply-To: <b944a51b0807220117i68560521g33b07c0fc02203a4@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]
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,
Thanks
On Tue, Jul 22, 2008 at 4:17 AM, Marat Radchenko <
slonopotamusorama@gmail.com> wrote:
> javax.servlet.ServletContext.getContextPath() method was added in
> Servlet API 2.5. You should remove older Servlet APi from you
> classpath.
>
> 2008/7/22 Gerry Smith <smith.gerry@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
> >
>
[-- Attachment #2: Type: text/html, Size: 2298 bytes --]
prev parent reply other threads:[~2008-07-22 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 0:35 [gentoo-java] JBoss 4.2.1 w sun-jdk-1.5.0.16 java.lang.NoSuchMethodError Gerry Smith
2008-07-22 5:56 ` [gentoo-java] " Gerry Smith
[not found] ` <b944a51b0807220117i68560521g33b07c0fc02203a4@mail.gmail.com>
2008-07-22 10:20 ` Gerry Smith [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35f2ce10807220320r61dc3e2bk449a779129e0eab3@mail.gmail.com \
--to=smith.gerry@gmail.com \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox