Hi,

My first guess related to the strange behavior is about the fact that
you are combining OPS4J Pax Web with Equinox http service
implementation. So, you have basically two http service
implementations. One from Pax Web and one from Equinox. Our
implementation is of course superior to Equinox one so I suggest that
you get rid of all Equinox bundles. This means that from your list you
only need to keep:

pax-web-ex-war-0.4.0.jar
pax-web-service-0.5.2.jar

That is enough to get you going. This of course if you do not depend
on any of Equinox bundles, which I doubt.

On Sun, Apr 5, 2009 at 11:59 PM,  <[email protected]> wrote:
> Dear all,
>
> Sorry if I send my message again, the first I sent it I was not subscribed
> to this list.
>
> I am trying to deploy a .war in an OSGI container. My .war file has been
> generated using GWT. It has an asynchronous call to a servlet.   Regarding
> OSGI I am using equinox and the pax web extender.
>
> Other than my .war the following bundles are active:
>
>
> javax.servlet.jsp_2.0.0.v200806031607.jar
> javax.servlet_2.4.0.200903251441.jar
> org.apache.commons.logging_1.0.4.200903251441.jar
> org.eclipse.equinox.http.registry_1.0.200.200903251441.jar
> org.eclipse.equinox.http.servlet_1.0.200.200903251441.jar
> org.mortbay.jetty_5.1.11.200903251441.jar
> org.eclipse.osgi.services_3.2.0.200903251525.jar
> org.eclipse.equinox.common_3.5.0.200903251530.jar
> org.eclipse.equinox.registry_3.4.100.200903251539.jar
> org.eclipse.equinox.transforms.hook_1.0.100.v20090306-1900.jar
> org.eclipse.equinox.http.jetty_1.1.100.200903260938.jar
> pax-web-ex-war-0.4.0.jar
> pax-web-service-0.5.2.jar
>
> My problem right now is that pax is not behaving as I would have expected.
>  This morning I could see my html page and the message retrieved from the
> asynchronous call to the servlet. Later I shut down OSGI. When I launched it
> again I obtained an error 404 because pax web was not up (but the bundle was
> active).
>
> Still later I could see the asynchronous message but no images.
>
> Right now I get an error 500. From the log I see the exception:
> java.lang.NoClassDefFoundError: Could not initialize class
> org.ops4j.pax.web.service.internal.HttpServiceRequestWrapper
>
>
>
> Please, could anybody help?
>
> My manifest.mf is:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-SymbolicName: PortaleTitolari
> Bundle-Version: 1.0.0
> Webapp-Context: portaleTitolari
> Bundle-ClassPath:
> .,WEB-INF/classes,WEB-INF/lib/gwt-user.jar,WEB-INF/lib/gwt-benchmark-viewer.jar,WEB-INF/lib/gwt-dev-windows.jar,WEB-INF/lib/gwtext.jar,WEB-INF/lib/gwt-servlet.jar,WEB-INF/lib/gwt-ll.dll,WEB-INF/lib/gwt-module.dtd,WEB-INF/lib/swt-win32-3235.dll
> Import-Package: javax.servlet,javax.servlet.http
>
> Thank you in advance (thanks Alin for telling me about this list),
>
> Irasema
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
Looking for a job.
Sent from Cluj-Napoca, CJ, Romania

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to