Hi,

I figured that not being able to deploy has to do with using
Spring-configuration for the WSN component.

Ciao, Philipp


prossma wrote:
> 
> Hi,
> 
> I have a JSR181-service that is creating a service-assembly-ZIP-file
> which I want to install utilizing AdminCommandsServiceMBean.
> 
> The ZIP is generated fine, but it doesn't get deployed; accordingly, I
> made a test where I deploy the ZIP directly to the deploy directory.
> 
> The result surprised me*): I get the message 
> <loc-message>Target component servicemix-wsn2005 for service unit
> TestSub-su does not accept deployments</loc-message>
> 
> Any idea what this could be related to?
> 
> Thanks in advance,
> Ciao,
> Philipp Rossmanith
> 
> *)
> <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>Target component servicemix-wsn2005 for service unit
> TestSub-su does not accept deployments</loc-message>
> </msg-loc-info>
> </task-status-msg>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> </jbi-task-result>
> </jbi-task>
> 
>         at
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(Management
> Support.java:121)
>         at
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(Management
> Support.java:103)
>         at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssem
> bly(DeploymentService.java:484)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> AutoDeploymentService.java:335)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
> ry(AutoDeploymentService.java:646)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
> oDeploymentService.java:62)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
> oymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> WARN  - AutoDeploymentService          - Directory: deploy: Automatic
> install of C:\Oy\3.1.1\deploy\TestSub-sa.zip faile
> d
> javax.jbi.management.DeploymentException: Failed to update Service
> Assembly: TestSub-sa
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> AutoDeploymentService.java:349)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
> ry(AutoDeploymentService.java:646)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
> oDeploymentService.java:62)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
> oymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: 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>Target component servicemix-wsn2005 for service unit
> TestSub-su does not accept deployments</loc-message>
> </msg-loc-info>
> </task-status-msg>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> </jbi-task-result>
> </jbi-task>
> 
> This e-mail and any attachments may contain confidential or
> privileged information. Any unauthorised copying, use or distribution of
> this information is strictly prohibited.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-deployment-to-servicemix-wsn2005---SM-3.1.1-tf4208859s12049.html#a11991532
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to