dev@glassfish.java.net

Re: GlassFish V3 OSGI bundles running inside the Eclipse IDE: javax.servlet conflict

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 17 Sep 2008 09:15:40 +0530

> yes, but still getting errors in the log file (attached) from a fresh
> build (30 minutes ago) and web based deployment returns this:
> GlassFish deploy AdminCommand command report
>
>
> Exit Code : FAILURE
> Exception while deploying the app : java.lang.Exception:
> ContainerBase.addChild: start: LifecycleException:
> java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
> cannot be cast to javax.servlet.Servlet
Have you tried running that build of GF using Equinox alone? If not,
please try that first.

Secondly, since you have the environment, will you attach a debugger and
tell us how the two objects are wired to different
javax.servlet.Servlet.class?

Thanks,
Sahoo