You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/01/17 10:13:43 UTC

[jira] Created: (AMQ-3142) Prepare the upgrade to Karaf 2.2

Prepare the upgrade to Karaf 2.2
--------------------------------

                 Key: AMQ-3142
                 URL: https://issues.apache.org/jira/browse/AMQ-3142
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Jean-Baptiste Onofré
             Fix For: 5.5.0, 6.0.0


ActiveMQ 5.4.x uses Karaf 2.1.0.

Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.

For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.

In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010217#comment-13010217 ] 

Dejan Bosanac commented on AMQ-3142:
------------------------------------

I'm trying now to make 5.5.0 work with both karaf 2.1.x and 2.2.0 and newer, but have some difficulties at the moment. I created a separate features for [2.1.x|http://svn.apache.org/viewvc/activemq/trunk/activemq-karaf/src/main/resources/features-2.1.xml?revision=1084635&view=markup].

But trying to do:

{code}
karaf@root> features:addUrl mvn:org.apache.activemq/activemq-karaf/5.5-SNAPSHOT/xml/features-2.1
karaf@root> features:install activemq-spring 
{code}

gets

{code}
Error executing command: Could not start bundle mvn:org.apache.activemq/activemq-karaf/5.5-SNAPSHOT in feature(s) activemq-5.5-SNAPSHOT: Unresolved constraint in bundle activemq-karaf [64]: Unable to resolve 64.0: missing requirement [64.0] package; (&(package=org.apache.felix.gogo.commands)(version>=0.6.0)(!(version>=1.0.0)))
{code}


I tried manually adding gogo commands and runtime (v 0.8.0) but with no luck. Can someone else take a look at it, as I might missing something obvious.

 



> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ3142.patch
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010653#comment-13010653 ] 

Dejan Bosanac commented on AMQ-3142:
------------------------------------

This is now solved by using older (5.4.2) activemq-karaf for older versions. It's also documented here 

https://cwiki.apache.org/confluence/display/ACTIVEMQ/OSGi+Integration

Thanks to Andreas for suggestion

> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ3142.patch
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010304#comment-13010304 ] 

Andreas Pieber commented on AMQ-3142:
-------------------------------------

This is strange. I'm sure I've already fixed this. Could you please locally apply my second patch @AMQ-3207, build locally and try again?

> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ3142.patch
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Resolved: (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-3142.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 6.0.0)
         Assignee: Dejan Bosanac

Patched applied with svn revision 1077868. Thanks!

> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ3142.patch
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001901#comment-13001901 ] 

Andreas Pieber commented on AMQ-3142:
-------------------------------------

I've patched AMQ to run smoothly on karaf-2.2.0. @Dan: Feel free to give the patch attached to this issue a try and report your feedback

> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 5.5.0, 6.0.0
>
>         Attachments: AMQ3142.patch
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber updated AMQ-3142:
--------------------------------

    Attachment: AMQ3142.patch

> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 5.5.0, 6.0.0
>
>         Attachments: AMQ3142.patch
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (AMQ-3142) Prepare the upgrade to Karaf 2.2

Posted by "Dan Tran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001898#comment-13001898 ] 

Dan Tran commented on AMQ-3142:
-------------------------------

Hi JB, is there a way to manually patch activemaq 5.4 to get this issue fixed ( while waiting for official fix 5.5? )

Thanks

> Prepare the upgrade to Karaf 2.2
> --------------------------------
>
>                 Key: AMQ-3142
>                 URL: https://issues.apache.org/jira/browse/AMQ-3142
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 5.5.0, 6.0.0
>
>
> ActiveMQ 5.4.x uses Karaf 2.1.0.
> Karaf 2.2.0 will be released soon. A change affects ActiveMQ: a new Felix gogo version.
> For instance, if you try to deploy ActiveMQ 5.4.2 on Karaf 2.1.99-SNAPSHOT, you will get an unresolved constraint as the Felix Gogo export package changed.
> In preparation for the support of Karaf 2.2.0, I'm gonna submit a patch to update the Import-Package and use the corresponding Gogo version.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira