Bug 995384 - [EAP 6.1] Starting host controller in domain mode fails on solaris 10 sparc
Summary: [EAP 6.1] Starting host controller in domain mode fails on solaris 10 sparc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.1.2
Hardware: Unspecified
OS: Solaris
high
high
Target Milestone: ER02
: JON 3.2.0
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-09 08:39 UTC by Radim Hatlapatka
Modified: 2014-01-02 20:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:36:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of error when starting host controller of EAP 6 (75.05 KB, image/png)
2013-09-12 12:08 UTC, Radim Hatlapatka
no flags Details

Description Radim Hatlapatka 2013-08-09 08:39:05 UTC
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

Comment 1 Radim Hatlapatka 2013-08-09 08:43:46 UTC
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)

Comment 3 Thomas Segismont 2013-09-12 11:46:53 UTC
Can you please attach the full log file?

Comment 4 Radim Hatlapatka 2013-09-12 12:08:28 UTC
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.

Comment 7 Thomas Segismont 2013-09-13 12:58:41 UTC
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.

Comment 8 Libor Zoubek 2013-11-15 10:31:51 UTC
verified on JON 3.2.ER5


Note You need to log in before you can comment on or make changes to this bug.