[
https://issues.apache.org/jira/browse/STRATOS-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990299#comment-13990299
]
Jeffrey Nguyen commented on STRATOS-643:
----------------------------------------
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)