Description of problem: Customer is trying to deploy an application to JBoss EAP6 instance, using JBoss ON CLI. As a result, their application is properly deployed (works fine) but they the status of deployment is Failure with Read timed out, rolled-back=false, rolled-back=false or in the agent.log file: INFO [ResourceContainer.invoker.nonDaemon-11] (rhq.modules.plugins.jbossas7.StandaloneASComponent)- Deploying [test.ear] to domain only= true ... ERROR [ResourceContainer.invoker.nonDaemon-11] (rhq.modules.plugins.jbossas7.ASConnection)- CompositeOperation{steps=2} timed out: Read timed out WARN [ResourceContainer.invoker.nonDaemon-11] (rhq.modules.plugins.jbossas7.StandaloneASComponent)- ... done with failure: Read timed out, rolled-back=false, rolled-back=false INFO [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=10002, Status=Failure] Bugzilla #811955 [1] was opened and resolved in JBoss ON 3.1.0. However this happens on JBoss ON 3.1.2. It seems that default timeout of 10 sec (line 373 in ASConnection.java) should be increased. [1] https://bugzilla.redhat.com/show_bug.cgi?id=811955 Version-Release number of selected component (if applicable): JBoss ON 3.1.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Can we get more info on: -How reproducible is this? -Does it depend on a large app being deployed -Does it depend on the AS instance being busy? -811955 talks about 'Deploy to server group', is that the situation here?
(In reply to Charles Crouch from comment #1) > Can we get more info on: > -How reproducible is this? > -Does it depend on a large app being deployed > -Does it depend on the AS instance being busy? > -811955 talks about 'Deploy to server group', is that the situation here? I couldn't reproduce this but the exception was thrown every time in the customer's environment. They said that the size of their application is ~120MB. To deploy application customer uses js script (I will deploy it with this bugzilla) and createPackageBackedResource method. Let me know if you need any additional information.
Fixed in master commit 506f5ee686fcad5b55e90a6b28639d9d88a219fe Author: Thomas Segismont <tsegismo> Date: Wed Aug 28 14:28:13 2013 +0200 Now using a dedicated timeout (5 minutes) instead of the default one (10 seconds)
Verified on Version: 3.2.0.ER4 Build Number: e413566:057b211 I successfully deployed ~190MB war via CLI having CLI client in CZ and rhq server in US