You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2019/05/04 07:06:00 UTC

[jira] [Commented] (KARAF-6269) decanter : appender-jms / collector-jms bundles not started correctly ( hung in waiting state)

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

Jean-Baptiste Onofré commented on KARAF-6269:
---------------------------------------------

I bet it's due to the JMS API version used. Decanter JMS appender or collector use JMS 1.x whereas pax-jms now installs JMS 2.0.

A possible workaround is to use a blueprint XML to create the connection factory and use JMS 1.x. Let me document this.

> decanter : appender-jms / collector-jms bundles not started correctly ( hung in waiting state)
> ----------------------------------------------------------------------------------------------
>
>                 Key: KARAF-6269
>                 URL: https://issues.apache.org/jira/browse/KARAF-6269
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>    Affects Versions: 2.2.0
>            Reporter: Abdulhamid
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>         Attachments: image-2019-04-30-14-56-07-138.png
>
>
> Trying to install decanter-collector-jms and decanter-appender-jms features.
>  these two bundles hung in the waiting state for missing reference: connectionFactory
> below are the steps:
>  1. Add decanter repo karaf@root()> feature:repo-add decanter 2.2.0
> 2. Add jms connectionFactory with name "decanter" by following steps mentioned here [https://svn.apache.org/repos/asf/karaf/site/production/manual/latest/jms.html]
> 3. Connection Factory with name "decanter" added successfully
>  Note: "connectionfactory-decanter.xml" is not created in deploy folder, but shown in "jms:connectionfactories" output, also able to use this connectionFactory to sent and consume the messages from karaf console using jms commands.
> ---------------------------------------------------------------
> karaf@root()> jms:connectionfactories
>  JMS Connection Factory
>  ----------------------
>  jms/decanter 
> --------------------------------------------------------------------
> 4.install feature decanter-appender-jms (or decanter-collector-jms feature)
> 5. decanter-appender-jms bundle hung in the waiting state
>  !image-2019-04-30-14-56-07-138.png!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)