You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2007/03/05 08:50:04 UTC

[jira] Resolved: (SM-564) SA deployment error with whitespace in jbi.xml value

     [ https://issues.apache.org/activemq/browse/SM-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-564.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1

Fixed as part of SM-614.

> SA deployment error with whitespace in jbi.xml <artifacts-zip> value
> --------------------------------------------------------------------
>
>                 Key: SM-564
>                 URL: https://issues.apache.org/activemq/browse/SM-564
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: 3.0-M2
>         Environment: Apache ServiceMix ESB: 3.0-M2-incubating
> windows SP2 
>            Reporter: fred smith
>            Priority: Minor
>             Fix For: 3.1
>
>
> 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 can be recreated with whitespace after the <artifacts-zip> tag value (shown below). If the whitespace is removed 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> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.