Thanks Udara and Manula for your replies.  In my environment, Stratos process 
is started through a script.  I didn't manually kill it.  It sounds like you're 
saying Stratos process was terminated externally.   As for the duplicate tenant 
error, this is a fresh install, so it seems to me the error is misleading.   
This happens consistently.

I'm using the same test set up I do for Stratos 4.0 binaries.   The only 
difference is the new set of Stratos binaries for 4.1 m3.

Can you confirm that the format for the JSON payload is still the same in 4.1 
as with 4.0?   What else should I check?

Thanks,
-Jeffrey

From: Udara Liyanage <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, October 30, 2014 9:53 PM
To: dev <[email protected]<mailto:[email protected]>>
Subject: Re: Stratos started then shut down immediately

Hi Manula,

yes exception did not caused the server to shutdown. It was due to a SIGINT 
signal

On Fri, Oct 31, 2014 at 10:17 AM, Manula Chathurika Thantriwatte 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

IMO having same domain didn't cause for shut down the server. In the log it 
mentioned that "Shut down hook trigger" and "Gracefully shutting down Apache 
Stratos". Isn't that mean "ctrl+c" is triggered. Jeffery, would it happen all 
the times when you start Stratos.

Thanks !


On Fri, Oct 31, 2014 at 10:08 AM, Udara Liyanage 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

A tenant with same domain already exist. Please use a different domain name. 
tenant domain: cloud1.qmog.cisco.com<http://cloud1.qmog.cisco.com>.
TID: [0] [STRATOS] [2014-10-30 15:44:14,001] ERROR 
{org.apache.stratos.rest.endpoint.services.StratosAdmin} -  Error in persisting 
tenant cloud1.qmog.cisco.com<http://cloud1.qmog.cisco.com>

A tenant with the given domain already exist I guess, could you try with a 
different domain


On Fri, Oct 31, 2014 at 5:52 AM, Jeffrey Nguyen (jeffrngu) 
<[email protected]<mailto:[email protected]>> wrote:
Hi Devs,

I'm testing Stratos 4.1 M3 with some custom patches.  Iaas is Openstack Havana. 
 I'm using single JVM config.  I'm seeing issue where Stratos started then 
encountered some error then shut down immediately.   Wso2carbon log (attached) 
shows first error related to tenant persistent.   I'm using the same JSON 
payload that I've been using for Stratos 4.0.  Are there any changes in JSON 
format from 4.0 to 4.1?

Any pointers would be greatly appreciated.

$ cat tenant/cloud1.json
{
        "admin": "admin",
        "firstname": "cloud",
        "lastname": "one",
        "adminPassword": "abcd1234",
        "tenantDomain": "cloud1.qmog.cisco.com<http://cloud1.qmog.cisco.com>",
        "email": "[email protected]<mailto:[email protected]>",
        "active": "true"
}


Thanks,
-Jeffrey



--

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com<http://wso2.com/>
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897



--
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : [email protected]<mailto:[email protected]> / 
[email protected]<mailto:[email protected]>
phone : +94 772492511<tel:%2B94%20772492511>
blog : http://manulachathurika.blogspot.com/






--

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com<http://wso2.com/>
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to