Hi, In addition to that you have to edit the configurations of CEP jndi.properties file.
connectionfactory.topicConnectionfactory = amqp://admin:admin@clientID /carbon?brokerlist='tcp://localhost:5677'&reconnect='true' On Wed, Nov 13, 2013 at 11:08 AM, Imesh Gunaratne <[email protected]> wrote: > Hi Devs, > > We have created two sample Amazon EC2 images for the 4.0.0-M2 release. If > required these images could be used for trying out 4.0.0-M2 functionality. > > > *Stratos 4.0.0-M2 Demo Image* > > AMI-ID: ami-2aacf978 > AMI-Name: apache-stratos-4.0.0-M2-demo > Region: Asia Pacific (Singapore) > > This image contains pre-configured Apache Stratos (incubating) 4.0.0-M2 > products. Please follow the below steps to start a new instance: > > 1. Start an instance of the above image. > 2. Log into the instance via SSH. > 3. Update /etc/hosts file with new instance's Private IP Address: > > <instance-private-ip> stratos.apache.org > <instance-private-ip> 10.138.50.94 cc.stratos.apache.org > <instance-private-ip> 10.138.50.94 lb.stratos.apache.org > <instance-private-ip> 10.138.50.94 mb.stratos.apache.org > <instance-private-ip> 10.138.50.94 cep.stratos.apache.org > > 4. Update <SC-HOME>/repository/conf/cartridgeconfig.properties in Stratos > Controller with new instance's Private IP Address: > > sc.ip=<instance-private-ip> > mp.ip=<instance-private-ip> > cep.ip=<instance-private-ip> > > repository.info.epr=https:// > <instance-private-ip>:9445/services/RepositoryInformationService > > 5. Start Message Broker first and then start other products one by one. > > 6. Login to Stratos Dashboard at https://<instance-public-ip>:9445/carbon > with username:admin, password: admin. > > 7. Create a Tenant User and logout. > > 8. Login using the new Tenant User and Subscribe to PHP Cartridge. > > > *PHP Cartridge Image* > > AMI-ID: ami-0eacf95c > AMI-Name: apache-stratos-4.0.0-M2-php-cartridge-1.1 > Region: Asia Pacific (Singapore) > > > Many Thanks > Imesh > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897
