Bug 950448 - java.lang.Exception thrown when take 20~30 sec to start EAP
Summary: java.lang.Exception thrown when take 20~30 sec to start EAP
Keywords:
Status: CLOSED DUPLICATE of bug 966777
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Operations
Version: JON 3.1.2
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: JON 3.2.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-10 09:08 UTC by Hisanobu Okuda
Modified: 2013-11-12 21:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-04 08:53:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hisanobu Okuda 2013-04-10 09:08:52 UTC
Description of problem:
java.lang.Exception thrown when take 20~30 sec to start EAP.

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$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. register EAP on JON
2. add :-
JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
in standalone.conf
3. start EAP on JON
4. the exception thrown
5. attach a debugger to EAP process then run

step 2 and 5 simulates that EAP take a long time (>20 sec) to start up.

Actual results:


Expected results:


Additional info:

Comment 1 Charles Crouch 2013-04-12 15:28:41 UTC
This appears to be working as designed, the EAP server didnt start and we should have failed the operation. In 3.2, at least, there is an option to specify a timeout for the operation so that it waits longer before failing.

Comment 2 Larry O'Leary 2013-04-18 21:16:07 UTC
Yes. I can confirm. The steps described only demonstrate that the plug-in and operation are working as designed. However, perhaps the error should indicate something more appropriate?

> The start operation may have failed as the resource did not become available within <timeout> seconds. Wait a while and check the resource's availability to confirm.

Comment 3 Thomas Segismont 2013-06-17 15:42:02 UTC
This looks like a duplicate of BZ966777

Comment 4 Thomas Segismont 2013-07-04 08:53:48 UTC

*** This bug has been marked as a duplicate of bug 966777 ***


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