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 1EF109139 for ; Mon, 17 Oct 2011 21:35:37 +0000 (UTC) Received: (qmail 29300 invoked by uid 500); 17 Oct 2011 21:35:36 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 29112 invoked by uid 500); 17 Oct 2011 21:35:35 -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 29104 invoked by uid 99); 17 Oct 2011 21:35:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 21:35:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 21:35:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BAC6D30D5F6 for ; Mon, 17 Oct 2011 21:35:10 +0000 (UTC) Date: Mon, 17 Oct 2011 21:35:10 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: java-dev@axis.apache.org Message-ID: <1192820104.2477.1318887310766.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <21153734.12821291072870866.JavaMail.jira@thor> Subject: [jira] [Commented] (AXIS2-4902) Changes in Axiom OSGi support break Axis2 OSGi bundle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129228#comment-13129228 ] Hudson commented on AXIS2-4902: ------------------------------- Integrated in axis2-1.6 #121 (See [https://builds.apache.org/job/axis2-1.6/121/]) AXIS2-4902: Merged r1184808, r1184810 and r1184816 to the 1.6 branch. veithen : Files : * /axis/axis2/java/core/branches/1_6 * /axis/axis2/java/core/branches/1_6/modules/fastinfoset/pom.xml * /axis/axis2/java/core/branches/1_6/modules/integration/itest-build.xml * /axis/axis2/java/core/branches/1_6/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBAttachmentMarshaller.java * /axis/axis2/java/core/branches/1_6/modules/jaxws/src/org/apache/axis2/jaxws/message/impl/XMLSpineImpl.java * /axis/axis2/java/core/branches/1_6/modules/json/src/org/apache/axis2/json/AbstractJSONDataSource.java * /axis/axis2/java/core/branches/1_6/modules/json/src/org/apache/axis2/json/AbstractJSONMessageFormatter.java * /axis/axis2/java/core/branches/1_6/modules/json/src/org/apache/axis2/json/AbstractJSONOMBuilder.java * /axis/axis2/java/core/branches/1_6/modules/json/src/org/apache/axis2/json/JSONOMBuilder.java * /axis/axis2/java/core/branches/1_6/modules/kernel/pom.xml > Changes in Axiom OSGi support break Axis2 OSGi bundle > ----------------------------------------------------- > > Key: AXIS2-4902 > URL: https://issues.apache.org/jira/browse/AXIS2-4902 > Project: Axis2 > Issue Type: Bug > Affects Versions: 1.5.2, 1.5.3 > Reporter: Andreas Veithen > Assignee: Andreas Veithen > Labels: osgi > > The problem: > * In Axis2 1.5.2, we upgraded Axiom to 1.2.9, and Axis2 1.5.3 uses Axiom 1.2.10. > * In r741656, David Illsley changed the way Axiom is OSGi-ified. In particular the axiom-impl bundle now has Private-Package: org.apache.axiom.*. This is of course entirely correct because other bundles should only depend on the Axiom API, not on classes of a particular implementation. > * The Axis2 OSGi bundle has Import-Package: org.apache.axiom.om.impl.llom. The reason is that there is indeed code in Axis2 that depends directly on the LLOM implementation classes. This should of course not be the case, but that's the way it is for the moment. > * There are no unit tests for the Axis2 OSGi bundle. > Result: In Axis2 1.5.2, the OSGi bundle is broken because of the upgrade to Axiom 1.2.9. It is expected that this issue also affects the current trunk. > Steps to reproduce (with Axis2 1.5.3): > 1. Download, extract and start the Felix Framework Distribution. > 2. Install the following bundles: > install http://repo1.maven.org/maven2/org/apache/ws/commons/axiom/axiom-api/1.2.10/axiom-api-1.2.10.jar > install http://repo1.maven.org/maven2/org/apache/ws/commons/axiom/axiom-impl/1.2.10/axiom-impl-1.2.10.jar > install http://apache.megamobile.be//felix/org.apache.felix.scr-1.6.0.jar > install http://repo1.maven.org/maven2/org/apache/axis2/org.apache.axis2.osgi/1.5.3/org.apache.axis2.osgi-1.5.3.jar > install http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wsdl4j/1.6.2_3/org.apache.servicemix.bundles.wsdl4j-1.6.2_3.jar > install http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.1/geronimo-activation_1.1_spec-1.1.jar > install http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar > install http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.3/geronimo-ws-metadata_2.0_spec-1.1.3.jar > install http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar > install http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.2/geronimo-servlet_2.5_spec-1.2.jar > install http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar > install http://repository.springsource.com/maven/bundles/external/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar > 3. Attempt to start the Axis2 bundle. > This results in the following error: > org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.axis2.osgi [8]: Unable to resolve 8.0: missing requirement [8.0] package; (package=org.apache.axiom.om.impl.llom) -- 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