Red Hat Bugzilla – Bug 995384
[EAP 6.1] Starting host controller in domain mode fails on solaris 10 sparc
Last modified: 2014-01-02 15:36:27 EST
Description of problem:
It is similar issue as https://bugzilla.redhat.com/show_bug.cgi?id=911327, but it occurs for different operation: start host controller.
To me it occurs only on solaris 10 sparc, I guess the timeout should be also increased and made configurable
Version-Release number of selected component (if applicable):
Detected with JON 3.1.2 including EAP Plugin Pack Hotfix-03 for JBoss ON 3.1.2 with EAP 6.1.1.ER4
Steps to Reproduce:
1.import EAP 6.1 in domain mode
2.go to host controller
3.first stop the host controller, then start it
Just for completeness, the error message given by JON:
java.lang.Exception: Was not able to start the server at org.rhq.core.pc.operation.OperationInvocation.run(OperationInvocation.java:278) 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:724)
Can you please attach the full log file?
Created attachment 796820 [details]
Screenshot of error when starting host controller of EAP 6
I have uploaded screenshot from time this error occurred. It doesn't happen every time.
I had a closer look at the screenshot and I don't think this is a duplicate of BZ911327.
In JON 3.1.2, EAP6 plugin executes the managed server start script and then waits for the server to start before reporting the operation result. The "wait for the server to start" logic is as follows:
* try to connect to the http management interface and read a server attribute
* if you can, then we can report the server has started
* if you can't, sleep 1 second and try again, unless you already tried 20 times
This behavior has changed as part of the fix for BZ966777. Now the agent retries until the operation invocation is interrupted (operation timed out).
The default time out for operations should be high enough to let your slow starting server show up.
verified on JON 3.2.ER5