You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Jeffrey Nguyen (JIRA)" <ji...@apache.org> on 2014/05/06 18:02:14 UTC

[jira] [Resolved] (STRATOS-643) Launched instance cannot convert to active state

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

Jeffrey Nguyen resolved STRATOS-643.
------------------------------------

    Resolution: Fixed

Fixed in cbcb71c3507a8113c0bc7428f629795a39137689 [cbcb71c]

> Launched instance cannot convert to active state
> ------------------------------------------------
>
>                 Key: STRATOS-643
>                 URL: https://issues.apache.org/jira/browse/STRATOS-643
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cartridge Agent
>    Affects Versions: 4.0.0 RC1
>         Environment: Apache Stratos 4.0.0 RC1, OpenStack Havana
>            Reporter: Jeffrey Nguyen
>            Assignee: Jeffrey Nguyen
>         Attachments: STRATOS-643.diff
>
>
> We're not using Puppet 3 to deploy cartridge agent.   When cartridge is launched, it is stuck at inactive status.
> stratos.sh file packaged in the cartridge agent zip is missing APP_PATH property defined in stratos.sh.erb.
> Similarly, the jndi/properties.template file by default doesn't have configuration which runs with activemq, even though all the documentation points to it.  We found in 4.0.0 RC1 the JNDI template needs the following changes otherwise the cartridge agent will fail to connect with Apache Stratos.
> Original:
> connectionfactoryName=topicConnectionfactory
> connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://$mb_ip:$mb_port'
> java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory
> Actual values required for ActiveMQ:
> connectionfactoryName=TopicConnectionFactory
> connectionfactory.topicConnectionfactory=tcp://$mb_ip:$mb_port
> java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory



--
This message was sent by Atlassian JIRA
(v6.2#6252)