java.io.SyncFailedException: JBAS016855: copied content does not match expected hash for item: ModuleItem{...}

Solution Verified - Updated -

Issue

I'm configuring JBDS 9.0.0GA (jboss-devstudio-9.0.0.GA-CVE-2015-7501-installer-eap.jar) and just tried to patch its EAP to 6.4.5 (jboss-eap-6.4.5-patch.zip)... it fails with this error:

java.io.SyncFailedException: JBAS016855: copied content does not match expected hash for item: ModuleItem{org.apache.commons.collections:main}
  • Used jboss-cli.bat with "patch apply D:\path\jboss-eap-6.4.5-patch.zip"
  • Same error if I try to patch to 6.4.4
  • The patch works SUCCESSFULLY on the older CR1 release jboss-devstudio-9.0.0.CR1-installer-eap.jar
  • I applied the patch immediately after installing JBDS, doing a one time start of jbdevstudio.bat

And these lines are printed in the EAP server log:

11:57:11,286 ERROR [org.jboss.as.patching] (management-handler-thread - 5) JBAS016802: failed to undo change for: 'MiscContentItem{bin/client/jboss-cli-client.jar}'
11:57:11,365 ERROR [org.jboss.as.patching] (management-handler-thread - 5) JBAS016802: failed to undo change for: 'MiscContentItem{bin/client/jboss-client.jar}'
11:57:11,366 ERROR [org.jboss.as.patching] (management-handler-thread - 5) JBAS016802: failed to undo change for: 'MiscContentItem{bin/standalone.sh}'
11:57:11,366 ERROR [org.jboss.as.patching] (management-handler-thread - 5) JBAS016802: failed to undo change for: 'MiscContentItem{docs/schema/jboss-web_7_2.xsd}'
11:57:11,367 ERROR [org.jboss.as.patching] (management-handler-thread - 5) JBAS016802: failed to undo change for: 'MiscContentItem{version.txt}'

Environment

  • Red Hat JBoss Developer Studio(JBDS) 9.0.0
  • Red Enterprise Application Platform (EAP) 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content