Haven't tried the 3.1 release, but for 3.0 I defined the 'deployDependencies'
configuration of the plugin to false. This is explained here:
http://incubator.apache.org/servicemix/maven-jbi-plugin.html
(look under "Running under ServiceMix")

Have you tried that?

/Anders


Bompart Cedric-2 wrote:
> 
> Ah cool thanks a lot!! The problem of the hot deployment was the missing
> shared components.
> 
> For the Maven jbi plugin, I've just created a SA and a LW SU projects with
> the archetype maven tasks. And after I've used the jbi:projectDeploy with
> the -DforceUpdate=true for subsequence deployment, and it failed.
> 
> Regards,
> Cedric.
> 
> -----Message d'origine-----
> De : Guillaume Nodet [mailto:[EMAIL PROTECTED] 
> Envoyé : 14 February 2007 11:37
> À : [email protected]
> Objet : Re: deployment?
> 
> There are mainly two ways to deploy something on ServiceMix:
>   * use the hot deployer by copying the file in the /deploy or /install
>     folder
>   * use JMX, directly, via ant tasks, or maven.
> 
> Wrt to the jbi:projectDeploy goal, do you have a reproducible test case
> where it fails ?
> 
> For your problem wrt to the hot deployer, make sure you have copied the
> servicemix-shared SL to the install folder.  This is a dependency of all
> servicemix components.
> 
> On 2/12/07, Bompart Cedric <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> Sorry to ask a so trivial question but how do you deploy a SA project
>> during the development cycle with SM 3.1?
>>
>> So far I've using "mvn jbi:projectDeploy" but only for the first time,
>> otherwise for subsequence deployment I need to stop SM, remove the data
>> folder and restart SM... a little bit boring... :-)
>>
>> I've tried "mvn -DforceUpdate=true jbi:projectDeploy", but I'm getting
>> this:
>>
>> [INFO] Unable to deploy project, Error accessing ServiceMix
>> administration
>>
>> <?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>shutDown</task-id>
>> <task-result>FAILED</task-result>
>> <message-type>ERROR</message-type>
>> </task-result-details>
>> </frmwk-task-result-details>
>> </frmwk-task-result>
>> <component-task-result
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message";
>> >
>>         <component-name>servicemix-lwcontainer</component-name>
>>         <component-task-result-details>
>>                 <task-result-details>
>>                         <task-id>shutDown</task-id>
>>                         <task-result>FAILED</task-result>
>>                         <message-type>ERROR</message-type>
>>                         <task-status-msg>
>> <msg-loc-info>
>> <loc-token/>
>> <loc-message>Service Unit 'test-lw-su' is not deployed</loc-message>
>> </msg-loc-info>
>> </task-status-msg>
>>                 </task-result-details>
>>         </component-task-result-details>
>> </component-task-result>
>> <component-task-result
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message";
>> >
>>         <component-name>servicemix-eip</component-name>
>>         <component-task-result-details>
>>                 <task-result-details>
>>                         <task-id>shutDown</task-id>
>>                         <task-result>FAILED</task-result>
>>                         <message-type>ERROR</message-type>
>>                         <task-status-msg>
>> <msg-loc-info>
>> <loc-token/>
>> <loc-message>Service Unit 'test-eip-su' is not deployed</loc-message>
>> </msg-loc-info>
>> </task-status-msg>
>>                 </task-result-details>
>>         </component-task-result-details>
>> </component-task-result>
>> </jbi-task-result>
>> </jbi-task>
>>
>>
>> Is there a more simple way to deploy/undeploy a project? Like remove a
>> file, copy a file, etc.
>>
>> I've tried to copy the SA jar/zip to the deploy directory but it
>> complained that I need to deploy the servicemix-eip, servicemix-script
>> and servicemix-lwcontainer. So I've copied them from the components
>> folder, but same thing...
>>
>> My SA project contains a LW SU (using the provided Maven archtype), EIP
>> SU (using the provided Maven archtype) and Script SU (based on the EIP
>> one because no Maven archetype).
>>
>>
>> I'm sure it's easy but... :-)
>>
>> Regards,
>> Cedric.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/deployment--tf3214745s12049.html#a8966504
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to