You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ancoron Luciferis (JIRA)" <ji...@apache.org> on 2011/02/04 05:31:22 UTC

[jira] Commented: (AXIS2-4947) [patch] OSGi imports inappropriate for common environments

    [ https://issues.apache.org/jira/browse/AXIS2-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990454#comment-12990454 ] 

Ancoron Luciferis commented on AXIS2-4947:
------------------------------------------

When applied, should instantly fix AXIS2-4310 and AXIS2-4505.

If another framework is exporting the packages with their implementation versions this should not make a difference.

However, if some environment provides multiple versions of those packages a conflict is likely to appear either at deployment time or at runtime during classloading from different bundles. In such environments the imports must be customized in order to choose the version that makes up a consistent class space.

> [patch] OSGi imports inappropriate for common environments
> ----------------------------------------------------------
>
>                 Key: AXIS2-4947
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4947
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: nightly
>         Environment: E.g. GlassFish 3.1 / Felix 3.x / Java 6
>            Reporter: Ancoron Luciferis
>            Priority: Critical
>              Labels: osgi
>             Fix For: 1.5.5
>
>         Attachments: osgi-pom.xml.patch
>
>
> Most common environments define all package exports issued by the framework with the system version "0.0.0".
> Because Axis2 OSGi specifies the following imports with higher versions it is not possible to use the provided OSGi bundle as is and has to be modified:
> javax.ws.rs; version=1.0,
> javax.activation;version="1.1",
> javax.xml.stream;resolution:=optional;version="1.0"
> I'll attach a patch to fix this problem.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org