axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4287) wrong exported packages in adb and kernel modules
Date Tue, 05 Jun 2012 10:53:23 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message