Problem
The JOC Cockpit offers JS7 - File Transfer Deployment, i.e. the capability to deploy YADE XML configurations to Agents by use of JS7 - Job Resources.
The following XML Element in the File Transfer sub-view of JOC Cockpit's Configuration view might not be visible to users:
- The tree in the left hand panel holds the top-level
Configurations
element. Using the action menu of this element allows the addition of aJobResource
child element.
Analysis
YADE configurations are managed from the Configuration->File Transfer sub-view of JOC Cockpit.
- The YADE configuration format is XML. The JOC Cockpit offers an XSD schema-aware XML Editor for configuration purposes.
XSD Schema Location
- YADE Configuration XSD schema for YADE releases 1.13 and JS7: https://www.sos-berlin.com/schema/yade/YADE_configuration_v1.12.xsd
- Consider that newer of YADE and JS7 might use an updated version of the schema, see YADE - XSD Schema Reference - XSD Schema Source.
- XSD Schema Location in JOC Cockpit Configuration Directory
JETTY_BASE/resources/joc/xsd/yade/YADE_configuration_v1.12.xsd
The XSD Schema file is added by the JOC Cockpit installer.
- When using JS7 - JOC Cockpit Installation for Docker Containers then the JOC Cockpit setup is not executed as JOC Cockpit ships preinstalled with the Docker image.
- For Docker® images the file is included with the image's file system.
- If users previously created their own Docker® volumes from earlier JOC Cockpit releases that did include a previous version of the XSD Schema then the
JETTY_BASE/resources/joc/xsd/yade/YADE_configuration_v1.12.xsd
file might be missing or outdated. In fact the correct version of the file is included with the image but is not visible when an existing Docker volume is mounted to theJETTY_BASE/resources/joc
directory.- This problem is limited to use of volumes with Docker® containers.
- This problem does not occur when installing JOC Cockpit on premises.
Solution
Download the XSD Schema from the indicated link and store the file to JETTY_BASE/resources/joc/xsd/yade/YADE_configuration_v1.12
.xsd
If required create the xsd/yade
directory in JETTY_BASE/resources/joc
.