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/05 19:56:14 UTC
[jira] [Created] (STRATOS-643) Launched instance cannot convert to
active state
Jeffrey Nguyen created STRATOS-643:
--------------------------------------
Summary: 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
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)