geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (JIRA)" <>
Subject [jira] [Created] (GERONIMO-6160) Geronimo spec bundles are incorrectly substitutable
Date Thu, 15 Sep 2011 14:32:08 GMT
Geronimo spec bundles are incorrectly substitutable

                 Key: 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)",

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:


View raw message