[embjopr-issues] [JBoss JIRA] Commented: (EMBJOPR-176) Call to org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource() timed out

Larry O'Leary (JIRA) jira-events at lists.jboss.org
Thu May 26 14:33:02 EDT 2011


    [ https://issues.jboss.org/browse/EMBJOPR-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604729#comment-12604729 ] 

Larry O'Leary commented on EMBJOPR-176:
---------------------------------------

The fix for this issue was only committed to RHQ 3.0.0 and RHQ 3.0.1. It did not make it into master. The issue has been raised against master as https://bugzilla.redhat.com/show_bug.cgi?id=707759 and is being resolved in a different way. Additionally, the fix in master is being pushed to RHQ 3.0.1 branch which will revert the timeout back to 60 seconds but also includes a method to override the default at a JVM system property level.

> Call to org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource() timed out
> --------------------------------------------------------------------------------------
>
>                 Key: EMBJOPR-176
>                 URL: https://issues.jboss.org/browse/EMBJOPR-176
>             Project: Embedded Jopr
>          Issue Type: Bug
>         Environment: EmbJopr testsuite - testEarDeploymentRepeated()
>            Reporter: Ondrej Zizka
>            Assignee: Ian Springer
>
> After deploying and undeploying the same EAR for several times (around 60), the call to testEarDeploymentRepeated() times out.
> Failed to create Resource eardeployment.ear - cause: org.rhq.core.pc.inventory.TimeoutException: Call to [org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource()] with args [[CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise Application (EAR), plugin=JBossAS5]], ResourceKey=[null]]] timed out. Invocation thread will be interrupted
> 	at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invokeInNewThreadWithLock(ResourceContainer.java:437)
> 	at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invoke(ResourceContainer.java:406)
> 	at $Proxy264.createResource(Unknown Source)
> 	at org.rhq.core.pc.inventory.CreateResourceRunner.call(CreateResourceRunner.java:113)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)
> Failed to create Resource eardeployment.ear - cause: org.rhq.core.pc.inventory.TimeoutException: Call to [org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource()] with args [[CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise Application (EAR), plugin=JBossAS5]], ResourceKey=[null]]] timed out. Invocation thread will be interrupted
> 	at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invokeInNewThreadWithLock(ResourceContainer.java:437)
> 	at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invoke(ResourceContainer.java:406)
> 	at $Proxy264.createResource(Unknown Source)
> 	at org.rhq.core.pc.inventory.CreateResourceRunner.call(CreateResourceRunner.java:113)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the embjopr-issues mailing list