You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2011/09/15 16:32:08 UTC

[jira] [Created] (GERONIMO-6160) Geronimo spec bundles are incorrectly substitutable

Geronimo spec bundles are incorrectly substitutable
---------------------------------------------------

                 Key: GERONIMO-6160
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6160
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: specs
            Reporter: Timothy Ward


The Geronimo Servlet 2.5 API OSGi bundle attempts to provide substitutable packages. This would be fine, but there is no maximum on the package import.

The correct imports in this case would be

Import=Package: javax.servlet;version="[2.5,2.6)", javax.servlet.http;version="[2.5,2.6)", javax.servlet.resources;version="[2.5,2.6)"


All other specs should behave similarly. At a glance the Servlet 3.0 bundle, EJB 3.1 spec bundle, JPA 2 spec bundle and JTA spec bundle do the same. Given that I didn't see any spec bundle using version ranges I imagine that this is a problem for every geronimo spec bundle.


This problem prevented me from using a Servlet 2.5 container (Jetty) in my runtime at the same time as running OpenEJB, even though the two were performing unrelated tasks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira