SERVICE_NAME is one of the many parameters passed from Stratos through the IaaS as launch parameters. It represents the type of the cartridge that is subscribed to. In your case it should be 'php'.
Check if /tmp/payload/launch_parameters file exists. If that is empty it is most likely that the metadata service of the IaaS is not functioning. Is this Stratos 4.0.0? Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com 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 >