[ https://issues.apache.org/jira/browse/AXIS2-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494193#comment-17494193 ]
Wolfgang Knauf commented on AXIS2-4311: --------------------------------------- I know this issue is incredibly old (but still open). But I think the same problem arises with the Java9 module system: if you use the axis2 jars in an app with "module-info.java", you have to define "automatic modules" (sorry, those are my first steps with the module system, so I might be wrong) - Eclipse created them for me: {{ requires axiom.api;}} {{ requires axis2.adb;}} {{ requires axis2.kernel;}} {{ requires commons.logging;}} {{ requires jakarta.activation;}} {{ requires java.rmi;}} {{ requires java.xml;}} When running the app, this error happens: {{Error occurred during initialization of boot layer}} {{java.lang.module.ResolutionException: Modules axis2.transport.http and axis2.kernel export package org.apache.axis2.transport.http.util to module commons.logging }}(the last part might also be the name of my own module) And here, the reason seems to be again, that "axis2-transport-http-1.8.0.jar" and "axis2-kernel-1.8.0.jar" both contain the same package ("split package"). > Axis2 OSGi bundles have split packages > -------------------------------------- > > Key: AXIS2-4311 > URL: https://issues.apache.org/jira/browse/AXIS2-4311 > Project: Axis2 > Issue Type: Bug > Components: adb, kernel, transports > Affects Versions: 1.5 > Reporter: Zhaohui Feng > Priority: Major > Labels: osgi > Attachments: patch.txt > > > 1) axis2-adb and axis2-kernel export "org.apache.axis2.util" > 2) axis2-kernel and axis2-transport-http export " > org.apache.axis2.transport.http" > 3) axis2-kernel and axis2-transport-jms export > "org.apache.axis2.transport.jms" > > These bundles are causing conflicts under OSGi as Import-Package is resolved > in random order if they are split in multiple bundles. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org