You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/19 12:35:30 UTC

[jira] [Resolved] (DOSGI-93) CXF DOSGi single bundle distribution does not work with servlets 3.0

     [ https://issues.apache.org/jira/browse/DOSGI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved DOSGI-93.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Please try the latest 1.3-SNAPSHOT, it uses the following import:

javax.servlet;version="[0.0,4)",javax.servlet.http;version="[0.0,4)"
                
> CXF DOSGi single bundle distribution does not work with servlets 3.0
> --------------------------------------------------------------------
>
>                 Key: DOSGI-93
>                 URL: https://issues.apache.org/jira/browse/DOSGI-93
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Product
>    Affects Versions: 1.2
>         Environment: JDK 1.6 / JOnAS 5 / OSGi 4.2.0 (felix 3.2.0)
>            Reporter: François Waeselynck
>             Fix For: 1.3
>
>
> I try to run DOSGi (single bundle distribution) on the JOnAS OSGi / JavaEE server.
> It works if I don't activate servlets 3.0 .
> But if I activate the (Java EE 6) Servlet 3.0 in JOnAS, There is a conflict that prevents the bundle to be resolved:
> - CXF-DOSGi imports and exports javax.servlet in the [2.3.0;2.6.0) range. it provides javax.servlet through the inner pax-webservice-0.5.jar bundle.
> - But it also import org.osgi.service.http (1>=2) that is served by the compendium. The compendium exports javax.servlet.http that uses javax.servlet, the latter being exported in version 3.0 by a JOnAS bundle.
> This results in a conflict that prevents the bundle to be resolved.
> Would it be possible to release the constraint of javax.servlet < 2.6 ?
> If I'd switched to the multiple bundle distribution, would it solve the problem ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira