Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

13. Provisioning and Content

Q: When I try to create a bundle by uploading a Ant recipe XML directly, the XML content seems to get corrupted and tags are placed out of order.
Q: What does the JBoss Patch Content feature of JBoss ON actually do? Is it completely automated?
Q:
When I try to create a bundle by uploading a Ant recipe XML directly, the XML content seems to get corrupted and tags are placed out of order.
A:
If you file upload a ANT script as the recipe, you can't use XML notation like <property name="a" />. It has to have an explicitly defined closing tag, like <property name="a"></property>. If you don't want to revise your Ant script XML file, copy and paste the recipe directly into the text field instead of uploading the file.
Q:
What does the JBoss Patch Content feature of JBoss ON actually do? Is it completely automated?
A:
The patch process updates existing jar/class files with upgraded jar/class files that are contained in the patch zip. Some changes may need to be completed manually, such as any Not Performed steps. If your configuration does not include one of the jars to be patched, then that step is skipped.
The patching process does not explicitly care about what the server configuration profile is called or which base configuration it is derived from.
Patching JBoss servers, and other methods of streaming content to JBoss ON resources, is covered in the Basic Admin Guide.