Thanks for verifying it Martin!

On Fri, Mar 27, 2015 at 11:12 PM, Martin Eppel (meppel) <[email protected]>
wrote:

>
>
> I tested it and it works fine
>
>
>
> Thanks
>
>
>
> Martin
>
>
>
> *From:* Martin Eppel (meppel)
> *Sent:* Friday, March 27, 2015 10:18 AM
> *To:* [email protected]
> *Subject:* RE: Testing: Stratos 4.1 - Setting debug log prevents
> cartridge instance to be spun up in single group / cartridge scenario
>
>
>
> I think it is this commit id: 427d66ef5651ec224ff09a8dc05f7f2a2451db1d
> which has your fix
>
>
>
> Thanks
>
>
>
> Martin
>
>
>
> *From:* Imesh Gunaratne [mailto:[email protected] <[email protected]>]
> *Sent:* Friday, March 27, 2015 4:35 AM
> *To:* dev
> *Subject:* Re: Testing: Stratos 4.1 - Setting debug log prevents
> cartridge instance to be spun up in single group / cartridge scenario
>
>
>
> May be it took time to synchronize, see here:
>
> https://github.com/apache/stratos/commits/master
>
>
>
> On Fri, Mar 27, 2015 at 4:40 PM, Udara Liyanage <[email protected]> wrote:
>
> Hi Imesh,
>
>
>
> I guess you haven't pushed the changes yet.
>
>
>
> On Fri, Mar 27, 2015 at 4:37 PM, Imesh Gunaratne <[email protected]> wrote:
>
> I have now fixed this issue with commit revision:
> 33e7ea92e2a8f204055ade5f692862a95e7a1af5
>
> The problem was in LifeCycleStateManager.getPreviousState() method.
>
>
>
> Thanks
>
>
>
> On Fri, Mar 27, 2015 at 4:23 PM, Imesh Gunaratne <[email protected]> wrote:
>
> Hi Martin,
>
>
>
> I think I found the problem, the following exception is raised when DEBUG
> is enabled:
>
>
>
> [2015-03-27 16:21:34,660] ERROR
> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl}
> -  Could not start instance: [cluster]
> single-cartridge-app.my-php.php.domain [cluster-instance]
> single-cartridge-app-1
>
> java.lang.ArrayIndexOutOfBoundsException: -1
>
> at java.util.Vector.elementData(Vector.java:730)
>
> at java.util.Vector.get(Vector.java:746)
>
> at
> org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager.getPreviousState(LifeCycleStateManager.java:130)
>
> at
> org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager.changeState(LifeCycleStateManager.java:95)
>
> at
> org.apache.stratos.messaging.domain.topology.Member.setStatus(Member.java:112)
>
> at
> org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder.handleMemberCreatedEvent(TopologyBuilder.java:431)
>
> at
> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl.startInstance(CloudControllerServiceImpl.java:450)
>
>
>
> On Fri, Mar 27, 2015 at 3:38 PM, Imesh Gunaratne <[email protected]> wrote:
>
> Hi Martin,
>
>
>
> I'm trying to re-produce this problem locally, will update you with the
> results soon.
>
>
>
> Thanks
>
>
>
> On Thu, Mar 26, 2015 at 6:16 AM, Martin Eppel (meppel) <[email protected]>
> wrote:
>
> Hi,
>
>
>
> I was looking to provide debug logs for the scenario where a cartridges in
> a group are not going Active (see email JIRA
> https://issues.apache.org/jira/browse/STRATOS-1292).
>
>
>
> In the same scenario, no instance is spun up when debug logs are enabled
>
>
>
> See also attached debug logs, log4j configuration
>
>
>
> Thanks
>
>
>
> Martin
>
>
>
>
>
> --
>
> Imesh Gunaratne
>
>
>
> Technical Lead, WSO2
>
> Committer & PMC Member, Apache Stratos
>
>
>
>
>
> --
>
> Imesh Gunaratne
>
>
>
> Technical Lead, WSO2
>
> Committer & PMC Member, Apache Stratos
>
>
>
>
>
> --
>
> Imesh Gunaratne
>
>
>
> Technical Lead, WSO2
>
> Committer & PMC Member, Apache Stratos
>
>
>
>
>
> --
>
>
> Udara Liyanage
>
> Software Engineer
>
> WSO2, Inc.: http://wso2.com
>
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
>
> phone: +94 71 443 6897
>
>
>
>
>
> --
>
> Imesh Gunaratne
>
>
>
> Technical Lead, WSO2
>
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to