stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Eppel (meppel)" <mep...@cisco.com>
Subject Testing Stratos 4.1 - Exception when defining startup order, not sure what's wrong ?
Date Fri, 01 May 2015 00:48:07 GMT
Hi,

I am defining the following application (see artifacts attached and screenshot) and get the
exception below, however I am not clear what is wrong in the application definition, any pointers
are appreciated,

Thanks

Martin



org.apache.stratos.autoscaler.exception.application.DependencyBuilderException: Startup order
is not valid. It contains an element which has been defined more than once in another startup
order: org.apache.stratos.messaging.domain.application.StartupOrder@143836d
        at org.apache.stratos.autoscaler.applications.dependency.DependencyBuilder.buildDependency(DependencyBuilder.java:160)
        at org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor.<init>(ParentComponentMonitor.java:102)
        at org.apache.stratos.autoscaler.monitor.component.GroupMonitor.<init>(GroupMonitor.java:86)
        at org.apache.stratos.autoscaler.monitor.MonitorFactory.getGroupMonitor(MonitorFactory.java:129)
        at org.apache.stratos.autoscaler.monitor.MonitorFactory.getMonitor(MonitorFactory.java:81)
        at org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor$MonitorAdder.run(ParentComponentMonitor.java:843)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)


Cartridge groups:

{
  "name": "s-n-gr-s-G12-t-a-2",
  "dependencies": {
    "terminationBehaviour": "terminate-dependents",
    "startupOrders": [
      "group.n-st-G2-t-a-2-0x0,cartridge.c3-0x0",
      "cartridge.c3-0x0,cartridge.c2-0x0",
      "cartridge.c2-0x0,cartridge.c1-0x0"
    ]
  },
  "cartridges": [
    "c1",
    "c2",
    "c3"
  ],
  "groups": [
    {
      "name": "n-st-G2-t-a-2",
      "dependencies": {
        "terminationBehaviour": "terminate-all",
        "startupOrders": [
          "cartridge.c5-1x0,cartridge.c4-1x0"
        ]
      },
      "cartridges": [
        "c4",
        "c5"
      ],
      "groups": []
    }
  ]
}



[cid:image001.png@01D0836D.C4B27CD0]

Mime
View raw message