[jira] [Resolved] (AMQ-8971) ActiveMQ OSGI feature, activemq-client, using JMS 2.0 bundle, which fails resolution, from 5.16.3 on

2022-07-27 Thread Jira


 [ 
https://issues.apache.org/jira/browse/AMQ-8971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved AMQ-8971.
---
Resolution: Fixed

> ActiveMQ OSGI feature, activemq-client, using JMS 2.0 bundle, which fails 
> resolution, from 5.16.3 on
> 
>
> Key: AMQ-8971
> URL: https://issues.apache.org/jira/browse/AMQ-8971
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: OSGi/Karaf
>Reporter: Arthur Naseef
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 5.18.0, 5.17.2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Building an ActiveMQ client application in OSGI.  Using AMQ versions 5.16.3 
> through 5.17.1.
> After building the application and loading it together with the ActiveMQ 
> feature named {{{}activemq-client{}}}, a resolution error occurs with the 
> following details:
>  
> {code:java}
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=2.0.0)))"
>  {code}
> Tracking this down, the {{activemq-client}} feature definition contains the 
> following:
>  
>  
> {code:java}
>  dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/1.0-alpha-2
>  {code}
> Using the karaf console command, package:exports | grep javax.jms, after 
> loading the activemq-client feature, shows that this bundle ONLY exports the 
> 2.0.0 version:
>  
>  
> {code:java}
> javax.jms                                              │ 2.0.0       │ 73 │ 
> org.apache.geronimo.specs.geronimo-jms_2.0_spec {code}
>  
> The same feature in 5.16.2 contains the following definition:
>  
> {code:java}
>  dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
>  {code}
>  
> All of the ACTIVEMQ modules, except for activemq-karaf are using the 
> following dependency:
>  
> {code:java}
>     
>       org.apache.geronimo.specs
>       geronimo-jms_1.1_spec
>     {code}
> 
> In Summary, compiling an ActiveMQ client application using activemq-client 
> from versions 5.16.3 through 5.17.1, the application fails to resovle in 
> Karaf by loading the activemq-client feature.
> *STEPS TO REPRODUCE*
>  * feature:repo-add 
> mvn:org.apache.activemq/activemq-karaf/5.17.1/xml/features-core
>  * feature:install activemq-client
>  * bundle:install ...application-bundle...
> *EXPECTED RESULTS*
>  * Successful load of the application bundle built against version 5.17.1 of 
> ActiveMQ artifacts after loading the activemq-client feature
> *ROOT CAUSE*
>  * Replacing the JMS 1.0 geronimo specification bundle with the 2.0 one in 
> the activemq-client feature causes this problem.  It also seems very odd 
> since no other internals of ActiveMQ use the JMS 2.0 spec at all.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (AMQ-8971) ActiveMQ OSGI feature, activemq-client, using JMS 2.0 bundle, which fails resolution, from 5.16.3 on

2022-07-27 Thread Arthur Naseef (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-8971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arthur Naseef resolved AMQ-8971.

Fix Version/s: 5.18.0
   5.17.2
 Assignee: Arthur Naseef  (was: Jean-Baptiste Onofré)
   Resolution: Fixed

Feature file updated so the bundles will work for both JMS spec versions 1.1 
and 2.0.

> ActiveMQ OSGI feature, activemq-client, using JMS 2.0 bundle, which fails 
> resolution, from 5.16.3 on
> 
>
> Key: AMQ-8971
> URL: https://issues.apache.org/jira/browse/AMQ-8971
> Project: ActiveMQ
>  Issue Type: Bug
>Reporter: Arthur Naseef
>Assignee: Arthur Naseef
>Priority: Major
> Fix For: 5.18.0, 5.17.2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Building an ActiveMQ client application in OSGI.  Using AMQ versions 5.16.3 
> through 5.17.1.
> After building the application and loading it together with the ActiveMQ 
> feature named {{{}activemq-client{}}}, a resolution error occurs with the 
> following details:
>  
> {code:java}
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=2.0.0)))"
>  {code}
> Tracking this down, the {{activemq-client}} feature definition contains the 
> following:
>  
>  
> {code:java}
>  dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/1.0-alpha-2
>  {code}
> Using the karaf console command, package:exports | grep javax.jms, after 
> loading the activemq-client feature, shows that this bundle ONLY exports the 
> 2.0.0 version:
>  
>  
> {code:java}
> javax.jms                                              │ 2.0.0       │ 73 │ 
> org.apache.geronimo.specs.geronimo-jms_2.0_spec {code}
>  
> The same feature in 5.16.2 contains the following definition:
>  
> {code:java}
>  dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
>  {code}
>  
> All of the ACTIVEMQ modules, except for activemq-karaf are using the 
> following dependency:
>  
> {code:java}
>     
>       org.apache.geronimo.specs
>       geronimo-jms_1.1_spec
>     {code}
> 
> In Summary, compiling an ActiveMQ client application using activemq-client 
> from versions 5.16.3 through 5.17.1, the application fails to resovle in 
> Karaf by loading the activemq-client feature.
> *STEPS TO REPRODUCE*
>  * feature:repo-add 
> mvn:org.apache.activemq/activemq-karaf/5.17.1/xml/features-core
>  * feature:install activemq-client
>  * bundle:install ...application-bundle...
> *EXPECTED RESULTS*
>  * Successful load of the application bundle built against version 5.17.1 of 
> ActiveMQ artifacts after loading the activemq-client feature
> *ROOT CAUSE*
>  * Replacing the JMS 1.0 geronimo specification bundle with the 2.0 one in 
> the activemq-client feature causes this problem.  It also seems very odd 
> since no other internals of ActiveMQ use the JMS 2.0 spec at all.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (AMQ-8971) ActiveMQ OSGI feature, activemq-client, using JMS 2.0 bundle, which fails resolution, from 5.16.3 on

2022-06-20 Thread Matt Pavlovich (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-8971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich resolved AMQ-8971.
-
  Assignee: Matt Pavlovich
Resolution: Won't Fix

> ActiveMQ OSGI feature, activemq-client, using JMS 2.0 bundle, which fails 
> resolution, from 5.16.3 on
> 
>
> Key: AMQ-8971
> URL: https://issues.apache.org/jira/browse/AMQ-8971
> Project: ActiveMQ
>  Issue Type: Bug
>Reporter: Arthur Naseef
>Assignee: Matt Pavlovich
>Priority: Major
>
> Building an ActiveMQ client application in OSGI.  Using AMQ versions 5.16.3 
> through 5.17.1.
> After building the application and loading it together with the ActiveMQ 
> feature named {{{}activemq-client{}}}, a resolution error occurs with the 
> following details:
>  
> {code:java}
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=2.0.0)))"
>  {code}
> Tracking this down, the {{activemq-client}} feature definition contains the 
> following:
>  
>  
> {code:java}
>  dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/1.0-alpha-2
>  {code}
> Using the karaf console command, package:exports | grep javax.jms, after 
> loading the activemq-client feature, shows that this bundle ONLY exports the 
> 2.0.0 version:
>  
>  
> {code:java}
> javax.jms                                              │ 2.0.0       │ 73 │ 
> org.apache.geronimo.specs.geronimo-jms_2.0_spec {code}
>  
> The same feature in 5.16.2 contains the following definition:
>  
> {code:java}
>  dependency="true">mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
>  {code}
>  
> All of the ACTIVEMQ modules, except for activemq-karaf are using the 
> following dependency:
>  
> {code:java}
>     
>       org.apache.geronimo.specs
>       geronimo-jms_1.1_spec
>     {code}
> 
> In Summary, compiling an ActiveMQ client application using activemq-client 
> from versions 5.16.3 through 5.17.1, the application fails to resovle in 
> Karaf by loading the activemq-client feature.
> *STEPS TO REPRODUCE*
>  * feature:repo-add 
> mvn:org.apache.activemq/activemq-karaf/5.17.1/xml/features-core
>  * feature:install activemq-client
>  * bundle:install ...application-bundle...
> *EXPECTED RESULTS*
>  * Successful load of the application bundle built against version 5.17.1 of 
> ActiveMQ artifacts after loading the activemq-client feature
> *ROOT CAUSE*
>  * Replacing the JMS 1.0 geronimo specification bundle with the 2.0 one in 
> the activemq-client feature causes this problem.  It also seems very odd 
> since no other internals of ActiveMQ use the JMS 2.0 spec at all.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)