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

Sagara Gunathunga  resolved AXIS2-4287.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Sagara Gunathunga 
    
> wrong exported packages in adb and kernel modules
> -------------------------------------------------
>
>                 Key: AXIS2-4287
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4287
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, kernel
>    Affects Versions: M2
>         Environment: OSGi, Windows
>            Reporter: Santiago Aranda Rojas
>            Assignee: Sagara Gunathunga 
>             Fix For: 1.7.0
>
>
>  I think there is a problem with axis2
> osgi modules.This is my example
>         1) axis2-kernel.1.4.1.jar exports "org.apache.axis2.util" version 
> =0.0.0
>         2) axis2-adb-1.41.jar exports "org.apache.axis2.util" version =0.0.0 
> ( a package with the same name)
>         3) tuscany-binding-ws-axis2-2.0-M1.jar imports 
> "org.apache.axis2.util" version=0.0.0
> Both packages are called with the same name but they have differents 
> classes. Only the first one contains "TargetResolver" class. 
> Tuscany-binding-ws-axis2 bundle imports the wrong package because all 
> exported packages have the same version and OSGi framework resolve then by 
> bundle id.
> I have fixed this changing version of exported package from axis2-kernel. If 
> it exports a bigger version, tuscany-binding can recover the right package.
> OSGi only will register the first package from the different installed 
> bundles. So it is very important, that embeded packages to be exported in 
> several bundles will include the same set of classes or if they are different 
>  they must havedifferent versions
> Thank you.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to