Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DF881160B for ; Thu, 21 Aug 2014 06:07:51 +0000 (UTC) Received: (qmail 26283 invoked by uid 500); 21 Aug 2014 06:07:50 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 26238 invoked by uid 500); 21 Aug 2014 06:07:50 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 26223 invoked by uid 99); 21 Aug 2014 06:07:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 06:07:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of udara@wso2.com designates 209.85.220.53 as permitted sender) Received: from [209.85.220.53] (HELO mail-pa0-f53.google.com) (209.85.220.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 06:07:25 +0000 Received: by mail-pa0-f53.google.com with SMTP id rd3so13843563pab.12 for ; Wed, 20 Aug 2014 23:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=hDy4qB7DsWSqcLlqt3CYpTFZIChhEcdUVGMdLI7RGkQ=; b=HH/WhL3g2Jfp7lPam3r7V/5zYHuj9QC7LXOxfRSNbRLpAV1mssJZy6XH6QGXcV9imC TOHq3PHeYCR6QM0TFQbKAlS/IQljNCnFsjsTOkzEAXpQBLu7cKUIlj2N4ueBFoqPS3Ee RThbxMNOqE3eGsi38pF6mjGOMuaPRABSBxoK8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=hDy4qB7DsWSqcLlqt3CYpTFZIChhEcdUVGMdLI7RGkQ=; b=UmPN/o+br0ff7QwDSF/qdk4R3IzUOjWlVytrALGKVuaHOM33LtowXtqFMJcBoUU7O5 ctxoNIRxYZ+JrT8PXvu3IGy41xB4rOLHCESnWi8dQiYqCNM44pOdetsMzh2fHxVALr4a lMgy23Jt+6kp+BdIcYKv5stmTr9kv6jvttYZ36s6K1GV7Hk4sBHtKTmCOzrFF8he3vFR Re3uxWWeAbxEhxaTzzKoFj50wijWzR2WLAHS/Gi8/dcddPVi9Cy9xQrOtLFPQCLTLErm 1iFT3J2kI1YGDiDBsldfpXyjCU/Tt//5JgUeg4Pir9XcsYJwJvLX7Ha8GKQgjvRpg7lL Uhxw== X-Gm-Message-State: ALoCoQmg6cLNP07d9C6BsyvpYVA/pnW82085Q8mj73rxAyefmVk+Ezy//yXlU6z7qQ6lfqgLBTnB X-Received: by 10.68.134.71 with SMTP id pi7mr58602881pbb.86.1408601243467; Wed, 20 Aug 2014 23:07:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.28.226 with HTTP; Wed, 20 Aug 2014 23:06:42 -0700 (PDT) In-Reply-To: References: From: Udara Liyanage Date: Thu, 21 Aug 2014 11:36:42 +0530 Message-ID: Subject: Re: Error Starting Cartbridge Agent Manually To: dev Content-Type: multipart/alternative; boundary=e89a8ffbae5dbf624305011d88f3 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ffbae5dbf624305011d88f3 Content-Type: text/plain; charset=UTF-8 Hi, Small correction, COMMIT_ENABLED is the name of the property. It should has the value either true or false. This property is added at the time of subscription. On Thu, Aug 21, 2014 at 11:33 AM, Udara Liyanage wrote: > Hi, > > The error occurs since Commit-enabled property is not present inside > launch params. Cartridge agent look for value of this property. > > > > On Thu, Aug 21, 2014 at 11:26 AM, Ignacio Ayuste < > ignacio.ayuste@bairesdev.com> wrote: > >> Hi guys, im using EC2 with one instance with docker and stratos, i >> created and instance with centos and then install the puppet agent, then i >> copy the cartbrige agent and try to start and give me this error: >> >> log4j:WARN No appenders could be found for logger >> (org.apache.stratos.cartridge. >> agent.Main). >> log4j:WARN Please initialize the log4j system properly. >> [2014-08-21 05:47:01,290] ERROR - [CartridgeAgentConfiguration] Commits >> enabled >> payload parameter is not found >> [2014-08-21 05:47:01,293] INFO - [CartridgeAgentConfiguration] Cartridge >> agent >> configuration initialized >> [2014-08-21 05:47:01,360] INFO - [CartridgeAgent] Cartridge agent started >> [2014-08-21 05:47:01,497] INFO - [CartridgeAgent] Instance notifier >> event messa >> ge receiver thread started >> [2014-08-21 05:47:01,538] INFO - [InstanceNotifierEventMessageDelegator] >> Instan >> ce notifier event message delegator started >> SLF4J: Class path contains multiple SLF4J bindings. >> SLF4J: Found binding in >> [jar:file:/root/apache-stratos-cartridge-agent-4.0.0-SNA >> >> PSHOT/lib/slf4j-1.5.10.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class] >> SLF4J: Found binding in >> [jar:file:/root/apache-stratos-cartridge-agent-4.0.0-SNA >> >> PSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] >> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an >> explanation. >> [2014-08-21 05:47:01,819] INFO - [CartridgeAgent] Tenant event message >> receiver >> thread started >> [2014-08-21 05:47:01,824] INFO - [TenantEventMessageDelegator] Tenant >> event mes >> sage delegator started >> [2014-08-21 05:47:07,637] WARN - [FailoverTransport] Failed to connect >> to [tcp: >> //localhost:61616] after: 10 attempt(s) continuing to retry. >> [2014-08-21 05:47:07,638] WARN - [FailoverTransport] Failed to connect >> to [tcp: >> //localhost:61616] after: 10 attempt(s) continuing to retry. >> >> the problem is the localhost, i change the jndi.properties file and also >> the script but always throw me localhost. i attached the script and >> property file as an evidence. >> >> any idea why is happening this? >> >> Thanks >> Ignacio >> > > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 --e89a8ffbae5dbf624305011d88f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Small correction, COMMIT_ENABLED is= the name of the property. It should has the value either true or false. Th= is property is added at the time of subscription.


On Thu, Aug 21, 2014 at 11:33 AM, Udara = Liyanage <udara@wso2.com> wrote:
Hi,

The error occurs since Commit-enabl= ed property is not present inside launch params. Cartridge agent look for v= alue of this property.



On Thu, Aug 21, 2014 at 11:26 AM, Ignaci= o Ayuste <ignacio.ayuste@bairesdev.com> wrote:
Hi guys, im using EC2 with one instance with docker and st= ratos, i created and instance with centos and then install the puppet agent= , then i copy the cartbrige agent and try to start and give me this error:<= div>
log4j:WARN No appenders could be found for logger (org.= apache.stratos.cartridge.
agent.Main).
log4j:WARN Pleas= e initialize the log4j system properly.
[2014-08-21 05:47:01,290]= ERROR - [CartridgeAgentConfiguration] =C2=A0Commits enabled
=C2=A0payload parameter is not found
[2014-08-21 05:47:01,29= 3] =C2=A0INFO - [CartridgeAgentConfiguration] Cartridge agent
con= figuration initialized
[2014-08-21 05:47:01,360] =C2=A0INFO - [Ca= rtridgeAgent] Cartridge agent started
[2014-08-21 05:47:01,497] =C2=A0INFO - [CartridgeAgent] Instance notif= ier event messa
ge receiver thread started
[2014-08-21 = 05:47:01,538] =C2=A0INFO - [InstanceNotifierEventMessageDelegator] Instan
ce notifier event message delegator started
SLF4J: Class path con= tains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:= /root/apache-stratos-cartridge-agent-4.0.0-SNA
PSHOT/lib/slf4j-1.= 5.10.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/apache-stratos-cartridge-agent= -4.0.0-SNA
PSHOT/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/Stat= icLoggerBinder.class]
[2014-08-21 05:47:01,819] =C2=A0INFO - [CartridgeAgent] Tenant event m= essage receiver
=C2=A0thread started
[2014-08-21 05:47:= 01,824] =C2=A0INFO - [TenantEventMessageDelegator] Tenant event mes
sage delegator started
[2014-08-21 05:47:07,637] =C2=A0WARN - [FailoverTransport] Failed to c= onnect to [tcp:
//localhost:61616] after: 10 attempt(s) continuin= g to retry.
[2014-08-21 05:47:07,638] =C2=A0WARN - [FailoverTrans= port] Failed to connect to [tcp:
//localhost:61616] after: 10 attempt(s) continuing to retry.

the problem is the localhost, i change the jndi.prope= rties file and also the script but always throw me localhost. i attached th= e script and property file as an evidence.

any idea why is happening this?

Thanks
Ignacio



--

Udara Liyanage
Software Engineer
WSO2, Inc.:=C2=A0http://wso2.com
le= an. enterprise. middleware

phone:=C2=A0+94 71 443 6897



--

Udara Liyanage
Software Engineer
WSO2, Inc.:=C2=A0http://wso2.com
le= an. enterprise. middleware

phone:=C2=A0+94 71 443 6897
--e89a8ffbae5dbf624305011d88f3--