Deployment of provisioning bundles from JON corrupts binary files when template token substitution is performed
Issue
- jon-server corrupts JAR files when pushing out JAR files
- Bug with jon-server pushing out a JAR file to a remote JBoss Application Server (AS) instance corrupts it
- Deployed JAR file increased in file size
- Deployed file from bundle is different then original file in bundle
- Execution of template token replacement on a binary file results in a corrupt binary file
Environment
- JBoss Operations Network (JON) 3.0
- Deployment of Provisioning Bundle
-
Specifying the
replaceattribute with the value oftrueon therhq:filebundle task for the affected file<rhq:file name="affected-file.jar" destinationFile="subdir/affected-file.jar" replace="true"/> -
Specifying the
rhq:replacebundle task with the affected file as a child element or part of arhq:filesettask... <rhq:replace> <rhq:fileset> <include name="**/*"/> </rhq:fileset> </rhq:replace> ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.