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

ASF GitHub Bot commented on ARTEMIS-1138:
-----------------------------------------

Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1239
  
    That's really weird.... I can get this to build on my local box...
    However when I tried on another server I get this:
    
    
    I will release anyways now... this PaxExam thing is really weird sometimes.
    
    ```
    Chain 1:
      org.apache.activemq.artemis-server-osgi 
[org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
        import: 
(&(osgi.wiring.package=io.netty.buffer)(version>=2.1.0)(!(version>=3.0.0)))
         |
        export: osgi.wiring.package: io.netty.buffer
      org.apache.activemq.artemis-server-osgi 
[org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
    
    Chain 2:
      org.apache.activemq.artemis-server-osgi 
[org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
        import: (osgi.wiring.package=io.netty.bootstrap)
         |
        export: osgi.wiring.package=io.netty.bootstrap; uses:=io.netty.buffer
      io.netty.transport [io.netty.transport/4.1.9.Final]
        import: 
(&(osgi.wiring.package=io.netty.buffer)(version>=4.1.0)(!(version>=5.0.0)))
         |
        export: osgi.wiring.package: io.netty.buffer
      io.netty.buffer [io.netty.buffer/4.1.9.Final]
        at 
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[8:org.apache.karaf.features.core:4.0.6]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:404)
    ```


> OSGI Netty Epoll Fix
> --------------------
>
>                 Key: ARTEMIS-1138
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1138
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 2.next
>            Reporter: Michael Andre Pearce (IG)
>             Fix For: 2.next
>
>
> I was going to release today, but ArtemisFeatureTest is failing *... I
> don't want to release with that failure (Karaf integration wouldn't
> work).
>  
> *=https://github.com/apache/activemq-artemis/blob/master/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java
> The Current failure is because of the missing epoll package from netty.
> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> missing requirement [root] osgi.identity; osgi.identity=artemis;
> type=karaf.feature; version="[2.1.0.SNAPSHOT,2.1.0.SNAPSHOT]";
> filter:="(&(osgi.identity=artemis)(type=karaf.feature)(version>=2.1.0.SNAPSHOT)(version<=2.1.0.SNAPSHOT))"
> [caused by: Unable to resolve artemis/2.1.0.SNAPSHOT: missing
> requirement [artemis/2.1.0.SNAPSHOT] osgi.identity;
> osgi.identity=artemis-amqp; type=karaf.feature [caused by: Unable to
> resolve artemis-amqp/2.1.0.SNAPSHOT: missing requirement
> [artemis-amqp/2.1.0.SNAPSHOT] osgi.identity;
> osgi.identity=org.apache.activemq.artemis-amqp-protocol;
> type=osgi.bundle; version="[2.1.0.SNAPSHOT,2.1.0.SNAPSHOT]";
> resolution:=mandatory [caused by: Unable to resolve
> org.apache.activemq.artemis-amqp-protocol/2.1.0.SNAPSHOT: missing
> requirement [org.apache.activemq.artemis-amqp-protocol/2.1.0.SNAPSHOT]
> osgi.wiring.package;
> filter:="(osgi.wiring.package=org.apache.activemq.artemis.api.core)"
> [caused by: Unable to resolve
> org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT: missing
> requirement [org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
> osgi.wiring.package;
> filter:="(osgi.wiring.package=io.netty.channel.epoll)"]]]]
> So, if I edited features.xml and add this:
> <bundle>mvn:io.netty/netty-transport-native-epoll/${netty.version}</bundle>
> I will get a different error... and I can't get past that...
> Anyone have any ideas... please?????
> org.osgi.service.resolver.ResolutionException: Uses constraint
> violation. Unable to resolve resource
> org.apache.activemq.artemis-server-osgi
> [org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT] because it is
> exposed to package 'io.netty.buffer' from resources
> org.apache.activemq.artemis-server-osgi
> [org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT] and
> io.netty.buffer [io.netty.buffer/4.1.10.Final] via two dependency
> chains.
> Chain 1:
>   org.apache.activemq.artemis-server-osgi
> [org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
>     import: 
> (&(osgi.wiring.package=io.netty.buffer)(version>=2.1.0)(!(version>=3.0.0)))
>      |
>     export: osgi.wiring.package: io.netty.buffer
>   org.apache.activemq.artemis-server-osgi
> [org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
> Chain 2:
>   org.apache.activemq.artemis-server-osgi
> [org.apache.activemq.artemis-server-osgi/2.1.0.SNAPSHOT]
>     import: (osgi.wiring.package=io.netty.bootstrap)
>      |
>     export: osgi.wiring.package=io.netty.bootstrap; uses:=io.netty.buffer
>   io.netty.transport [io.netty.transport/4.1.10.Final]
>     import: 
> (&(osgi.wiring.package=io.netty.buffer)(version>=4.1.0)(!(version>=5.0.0)))
> -- 
> Clebert Suconic



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to