You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by smokeyjoe <fs...@gestalt-llc.com> on 2006/08/29 19:54:02 UTC
SA deployment error with whitespace in jbi.xml
value
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.
Re: SA deployment error with whitespace in jbi.xml
value
Posted by smokeyjoe <fs...@gestalt-llc.com>.
New JIRA issue SM-564.
gnodet wrote:
>
> Thx for reporting that.
> Would you mind creating a JIRA issue please ?
>
> On 8/29/06, smokeyjoe <fs...@gestalt-llc.com> wrote:
>>
>>
>> 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.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context: http://www.nabble.com/SA-deployment-error-with-whitespace-in-jbi.xml-%3Cartifacts-zip%3E-value-tf2185165.html#a6045310
Sent from the ServiceMix - User forum at Nabble.com.
Re: SA deployment error with whitespace in jbi.xml value
Posted by Guillaume Nodet <gn...@gmail.com>.
Thx for reporting that.
Would you mind creating a JIRA issue please ?
On 8/29/06, smokeyjoe <fs...@gestalt-llc.com> wrote:
>
>
> 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.
>
>
--
Cheers,
Guillaume Nodet