Activities are the actions an application or entity takes within Apache Brooklyn. The activity
command allows us to list out these activities.
To view a list of all activities associated with an entity enter:
{% highlight bash %} $ br application Tomcat entity tomcatServer activity {% endhighlight %}
To view the details of an individual activity, add its ID to the command. In our case this is jwwcJWmF
{% highlight bash %} $ br application Tomcat entity tomcatServer activity jwwcJWmF {% endhighlight %}
</div> </div> </div> <div class="panel panel-default"> <a data-toggle="collapse" data-parent="#accordionB" href="#collapseThreeB"><div class="panel-heading"> <h4 class="panel-title"> Diagnose a failure </h4> </div></a> <div id="collapseThreeB" class="panel-collapse collapse"> <div class="panel-body">
java.lang.IllegalStateException: Software process entity TomcatServerImpl{id=qZeyoITy} did not pass is-running check within the required 5m limit (5m elapsed) at org.apache.brooklyn.entity.software.base.SoftwareProcessImpl.waitForEntityStart(SoftwareProcessImpl.java:586) at org.apache.brooklyn.entity.software.base.SoftwareProcessImpl.postDriverStart(SoftwareProcessImpl.java:260) at org.apache.brooklyn.entity.software.base.SoftwareProcessDriverLifecycleEffectorTasks.postStartCustom(SoftwareProcessDriverLifecycleEffectorTasks.java:169) at org.apache.brooklyn.entity.software.base.lifecycle.MachineLifecycleEffectorTasks$PostStartTask.run(MachineLifecycleEffectorTasks.java:570) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:342) at org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:468) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)"
</div> </div> </div> </div>