Hi Madhawa, Further below is an sample launch parameter file content in a php cartridge(192.168.18.135) deployed in puppet in http://192.168.18.25 instance.
SERVICE_NAME=php,HOST_NAME=phptest1011.stratos.com ,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=-1234,CARTRIDGE_ALIAS=phptest1011,CLUSTER_ID=phptest1011.php.domain,CARTRIDGE_KEY=VFxRxLm89HRwdM7E,DEPLOYMENT=default,REPO_URL= https://github.com/chamilad/NeWoice.git,PORTS=80,PUPPET_IP=192.168.18.165,PUPPET_HOSTNAME=puppet.ppm.org,PUPPET_ENV=puppet_environment,COMMIT_ENABLED=false,MEMBER_ID=phptest1011.php.domaind8928d0b-1c2e-4910-ac7a-2ed21579a1df,LB_CLUSTER_ID=null,NETWORK_PARTITION_ID=openstack1,PARTITION_ID=p1 Thanks On Tue, Sep 9, 2014 at 8:54 PM, Prasanna Dangalla <prasa...@wso2.com> wrote: > Hi Madhawa, > > Check whether the service name is in /tmp/payload/launch-params file in > spawned > instance. SERVICE_NAME should be defined as php in this file. > > Thanks > > On Tue, Sep 9, 2014 at 8:35 PM, Madhawa Bandara <madh...@wso2.com> wrote: > >> Hi all, >> >> I get the following error[1] at the cartridge agent log in the php >> instances spawned. >> Where is the SERVICE_NAME set? What is the issue? >> >> Thanks. >> >> [1]- >> >> 2014-09-03 05:18:49,756 [-] [main] ERROR Main java.lang.RuntimeException: >> org.apache.stratos.cartridge.agent.exception.ParameterNotFoundException: >> Cannot find the value of required parameter: SERVICE_NAME >> 2014-09-03 05:18:49,762 [-] [Thread-0] WARN EventPublisherPool Event >> publisher instance not found in pool: [topic] instance-status >> >> >> >> -- >> Regards, >> >> *Madhawa Bandara* >> Software Engineer >> WSO2, Inc. >> lean.enterprise.middleware >> >> Mobile - *+94777487726 <%2B94777487726>* >> Blog* - *classdeffound.blogspot.com >> > > > > -- > Prasanna Dangalla > Software Engineer, WSO2, Inc.; http://wso2.com/ > lean.enterprise.middleware > > cell: +94 777 55 80 30 | +94 718 11 27 51 > twitter: @prasa77 > -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77