I reformatted my Service Assembly's jbi.xml file and the SA failed to deploy. Logging shows the following error:
java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>Artifact gestalt-jbi-pingpong-ws-lw-su-HEAD.zip not found for service unit pingpong-lw-su</loc-message> </msg-loc-info> </task-status-msg> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> </jbi-task-result> </jbi-task> The problem is created with whitespace after the <artifacts-zip> tag value (shown below). If I remove the whitespace then the SA is deployed correctly. ===== incorrect ===== <service-unit> <identification> <name>pingpong-lw-su</name> <description>Contains the binding for the lwcontainer SE</description> </identification> <target> <artifacts-zip> gestalt-jbi-pingpong-ws-lw-su-HEAD.zip</artifacts-zip> <component-name>servicemix-lwcontainer</component-name> </target> </service-unit> ===== correct ===== <artifacts-zip>gestalt-jbi-pingpong-ws-lw-su-HEAD.zip</artifacts-zip> =============== Environment: Apache ServiceMix ESB: 3.0-M2-incubating windows SP2 -- View this message in context: http://www.nabble.com/SA-deployment-error-with-whitespace-in-jbi.xml-%3Cartifacts-zip%3E-value-tf2185165.html#a6044288 Sent from the ServiceMix - User forum at Nabble.com.
