Hi Lahiru,

When I run "python agent.py" command I'm getting following error.

 [2015-06-01 09:44:44,699] DEBUG {config.py:__read_conf_file} - Config file
path :
'/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/agent.conf'
[2015-06-01 09:44:44,700] DEBUG {config.py:read_property} - Reading
property: param.file.path =
/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
[2015-06-01 09:44:44,700] DEBUG {config.py:__read_parameter_file} - Param
file path :
'/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params'
[2015-06-01 09:44:44,701] ERROR {config.py:__read_parameter_file} - Could
not read launch parameter file: [Errno 2] No such file or directory:
'/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params'
Traceback (most recent call last):
  File
"/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/config.py",
line 298, in __read_parameter_file
    metadata_file = open(param_file)
IOError: [Errno 2] No such file or directory:
'/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params'
Traceback (most recent call last):
  File "agent.py", line 316, in <module>
    main()
  File "agent.py", line 304, in main
    cartridge_agent = CartridgeAgent()
  File "agent.py", line 45, in __init__
    self.__config = CartridgeAgentConfiguration()
  File
"/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/config.py",
line 355, in __init__
    CartridgeAgentConfiguration.__instance =
CartridgeAgentConfiguration.__CartridgeAgentConfiguration()
  File
"/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/config.py",
line 244, in __init__
    raise RuntimeError(ex)
RuntimeError: Cannot find the value of required parameter: 'APPLICATION_ID'



On Mon, Jun 1, 2015 at 8:11 AM, Lahiru Sandaruwan <lahi...@wso2.com> wrote:

>
>
> On Mon, Jun 1, 2015 at 12:51 PM, Asanka Sanjaya Herath <angal...@gmail.com
> > wrote:
>
>>
>> ​Hi all,
>>
>> Here I have listed the work I have done during last week.
>>
>> 1. Completed the design diagram of the extension.
>> 2. Tested ​GCE LB API using a sample program.
>> 3. Configured a php cartridge on GCE. But still the cartridge agent is
>> not starting properly.
>>
>
> What is the error you get?
>
>>
>> I'm using this[1] fork for commit my code.
>>
>> [1]. https://github.com/asankasanjaya/stratos
>>
>> --
>> Thanks,
>> Regards,
>> ASH
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Thanks,
Regards,
ASH

Reply via email to