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

Sagara Gunathunga  commented on AXIS2-4287:
-------------------------------------------

In fact axis2-adb org.apache.axis2.util package contains single class called 
ArrayStack , functionality wise usage  of  ArrayStack not limited to ADB 
module. As a proper solution it is possible to move ArrayStack class into 
kernal and get rid of org.apache.axis2.util package. Any thoughts ? 
                
> 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
>
>  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: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to