Pax Web + distributed OSGi not working together
-----------------------------------------------
Key: PAXWEB-140
URL: http://issues.ops4j.org/browse/PAXWEB-140
Project: Pax Web
Issue Type: Bug
Components: WebContainer
Affects Versions: 0.5.2
Reporter: Yan Pujante
Assignee: Alin Dreghiciu
Attachments: Web.war
If I deploy the attach war file in a container with the following config:
--platform=equinox
--profiles=war
war:file:/Users/ypujante/Desktop/pax-osgi/out/Web.war
I get the following output:
[OSGi Console] INFO
org.mortbay.jetty./file__Users_ypujante_Desktop_pax-osgi_out_Web.war -
javax.servlet.context.tempdir
[OSGi Console] INFO
org.mortbay.jetty./file__Users_ypujante_Desktop_pax-osgi_out_Web.war -
osgi-bundlecontext
[OSGi Console] INFO
org.mortbay.jetty./file__Users_ypujante_Desktop_pax-osgi_out_Web.war -
org.springframework.osgi.web.org.osgi.framework.BundleContext
If I run it with the following configuration:
--platform=equinox
--profiles=war,cxf.dosgi
war:file:/Users/ypujante/Desktop/pax-osgi/out/Web.war
I get the following output:
[OSGi Console] INFO
org.mortbay.jetty./file__Users_ypujante_Desktop_pax-osgi_out_Web.war -
javax.servlet.context.tempdir
The only thing that the webapp is doing is that there is a context listener
which simply prints out all the attribute names from the servlet context.
In the case of just 'war' profile, I get 3 attributes in the servlet context.
In the case of war + cxf.dosgi, there is only 1... in other words the bundle
context is not in the servlet context (which is against RFC 66).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general