Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07C28C5C4 for ; Tue, 12 Jun 2012 06:23:47 +0000 (UTC) Received: (qmail 13582 invoked by uid 500); 12 Jun 2012 06:23:45 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 13078 invoked by uid 500); 12 Jun 2012 06:23:44 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 12980 invoked by uid 99); 12 Jun 2012 06:23:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 06:23:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 249AF141BF8 for ; Tue, 12 Jun 2012 06:23:43 +0000 (UTC) Date: Tue, 12 Jun 2012 06:23:43 +0000 (UTC) From: "Sagara Gunathunga (JIRA)" To: java-dev@axis.apache.org Message-ID: <1828661231.6118.1339482223151.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (AXIS2-4287) wrong exported packages in adb and kernel modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org