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)

Reply via email to