Hi, I get the following error when deployed a tomcat cartridge. Though I added *APPLICATION_PATH *as a payload parameter, agent.conf still set APPLICATION_PATH to null
{"clusterId":"tomcatr1.my-tomcat.tomcat.domain","repoUserName":"","repoPassword":"","repoURL":" https://github.com/lakwarus/single-cartridge.git ","tenantId":"-1234","commitEnabled":false} [2015-09-16 03:09:02,270] DEBUG {subscriber.py:run} - Executing handler for event 'ArtifactUpdatedEvent' [2015-09-16 03:09:02,270] INFO {eventhandler.py:on_artifact_updated_event} - Processing Artifact update event: [tenant] -1234 [cluster] tomcatr1.my-tomcat.tomcat.domain [status] None [2015-09-16 03:09:02,270] INFO {eventhandler.py:on_artifact_updated_event} - Executing git checkout [2015-09-16 03:09:02,270] ERROR {subscriber.py:run} - Error processing 'ArtifactUpdatedEvent' event Traceback (most recent call last): File "/mnt/apache-stratos-python-cartridge-agent-4.1.2/subscriber.py", line 105, in run handler(event_msg) File "agent.py", line 197, in on_artifact_updated self.__event_handler.on_artifact_updated_event(event_obj) File "/mnt/apache-stratos-python-cartridge-agent-4.1.2/modules/event/eventhandler.py", line 86, in on_artifact_updated_event raise GitRepositorySynchronizationException("Repository path is empty. Cannot perform Git operations.") GitRepositorySynchronizationException: Repository path is empty. Cannot perform Git operations. [2015-09-16 03:09:02,275] DEBUG {subscriber.py:on_message} - Message received: topology/MemberStartedEvent: log.file.paths = *APPLICATION_PATH =* metadata.service.url =https://52.76.68.248:9443 super.tenant.repository.path =/repository/deployment/server/ tenant.repository.path =/repository/tenants/ { "category": "framework", "description": "tomcat Cartridge", "displayName": "tomcat", "host": "tomcat.stratos.org", "iaasProvider": [ { "imageId": "udaraliyanage/stratos-tomcat", "type": "kubernetes" } ], "loadBalancingIPType": "public", "multiTenant": false, "portMapping": [ { "kubernetesPortType": "NodePort", "name": "http-8080", "port": 8080, "protocol": "http", "proxyPort": 8281 } ], "property": [ { "name": "KUBERNETES_CONTAINER_CPU", "value": 0 }, { "name": "KUBERNETES_CONTAINER_MEMORY", "value": 0 }, { "name": "KUBERNETES_SERVICE_SESSION_AFFINITY", "value": "None" }, { * "name": "payload_parameter.APPLICATION_PATH",* * "value": "/opt/tomcat/webapps"* } ], "provider": "apache", "type": "tomcat", "version": 7 } -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897