We are unable to start the agent? I'm seeing a number of bug reports and no one seems to have an answer.
# svcs -xv
svc:/application/management/common-agent-container-1:scn-agent (Cacao, a common Java container for JDMK/JMX based management solution)
State: maintenance since Thu Aug 29 14:53:01 2013
Reason: Start method failed repeatedly, last exited with status 1.
I've tried increasing the Java Heap:
# cacaoadm list-params -i scn-agent |grep java
java-flags=-Xmx2048m -Xss192k -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -client -Dxvmserver=true -Dfile.encoding=utf-8 -Djava.endorsed.dirs=/usr/lib/cacao/lib/endorsed
# tail /var/svc/log/application-management-common-agent-container-1:scn-agent.log
[ Aug 29 12:52:32 Enabled. ]
[ Aug 29 12:52:33 Executing start method ("/usr/lib/cacao/lib/tools/scripts/cacao_smf start scn-agent") ]
Aug 29, 2013 12:52:36 PM com.sun.cacao.container.impl.ContainerPrivate getProperty
WARNING: Calling getProperties using default
Error: Fail to start cacao agent. scn-agent
[ Aug 29 14:53:01 Method "start" exited with status 1 ]
No errors or warnings in /var/cacao/instances/scn-agent/logs/cacao.0
Nothing from OCDoctor.. Please share your experience with this issue.
Btw.. I've also tried
cacaoadm set-param watchdog-heartbeat-timeout=-1 -i scn-agent
Whoever designed this software needs to embrace simplicity as a design factor. This seems to be overly complex and difficult to debug for no useful reason. What I would suggest is an intelligent installer that analyzes the seem and offer choices to limit the amount monitored. Watching the cacao log is nothing less that painful as everything is being instantiated to monitor everything. I'm hearing of people trying java heap sizes of 8GB.. That's ridiculous.