Created attachment 807524 [details] complete logs Description of problem: Deployment of war file on eap6 fails with following error message: An error occured while the agent was downloading the content Version-Release number of selected component (if applicable): Version: 4.10.0-SNAPSHOT Build Number: 6784f2a How reproducible: 2/2 Steps to Reproduce: 1. have a clean RHQ installation with one remote agent and eap6 standalone running on the remote agent machine. Eap6 resource is imported in inventory and available. 2. navigate to eap6 standalone resource 3. create a new deployment (eap6 resource->Inventory->Child resources->Create Child-Deployment) Actual results: Creation fails with following error: An error occured while the agent was downloading the content There is following exception in rhq server log: 05:17:26,452 ERROR [org.rhq.enterprise.server.content.ContentSourceManagerBean] (http-/0.0.0.0:7080-4) An error occurred while streaming package bits from the database.: java.lang.RuntimeException: Stream data cannot be copied at org.rhq.core.util.stream.StreamUtil.copy(StreamUtil.java:265) [rhq-core-util-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT] at org.rhq.core.util.stream.StreamUtil.copy(StreamUtil.java:212) [rhq-core-util-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT] at org.rhq.enterprise.server.content.ContentSourceManagerBean.outputPackageVersionBitsRangeHelper(ContentSourceManagerBean.java:2258) [rhq-server.jar:4.10.0-SNAPSHOT] at org.rhq.enterprise.server.content.ContentSourceManagerBean.outputPackageBitsForChildResource(ContentSourceManagerBean.java:2007) [rhq-server.jar:4.10.0-SNAPSHOT] . . . Caused by: org.rhq.enterprise.communications.command.server.AuthenticationException: Command failed to be authenticated! This command will be ignored and not processed: Command: type=[remoteoutstream]; cmd-in-response=[false]; config=[{}]; params=[{streamId=1, invocation=NameBasedInvocation[write]}] at org.rhq.enterprise.communications.command.server.CommandProcessor.handleIncomingInvocationRequest(CommandProcessor.java:259) [rhq-enterprise-comm-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT] at org.rhq.enterprise.communications.command.server.CommandProcessor.invoke(CommandProcessor.java:184) [rhq-enterprise-comm-4.10.0-SNAPSHOT.jar:4.10.0-SNAPSHOT] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967) [jboss-remoting-2.5.4.SP4.jar:] Expected results: Deployment works Additional info: Complete server and agent logs attached.
git commit to master: dcb8508
Verified on Version: 3.2.0.ER3 Build Number: c0742ed:cbad264