Hi,

I like your "but from time to time it doesn't work" quote. I am new to
ServiceMix and I followed the steps explained in the Tutorial section of the
website. Therefor I'm using the mvn archetypes, but apparently they have
some drawbacks :o(. Is it a best practice to use Ant instead of mvn ? If
yes, are there some build files/targets I could re-use ?

I suppose that with "a clean install" you're removing files/directories from
ServiceMix. How do you know which files/directories should be removed: all
versions of all dependencies, all versions of the SA, all versions of the
SUs, ... ? But what about dependencies that are shared with other SAs ?

Regards, Stefan.


lhe77 wrote:
> 
> Sure you can, but from time to time it doesn't work. I also never use the
> mvn 
> jbi:deploy archetype. I always do a clean install and copy the SA over to
> the 
> hotdeploy folder. This is by far the more stable way.
> 
> regards
> Lars
> 
> 
> 
> Am Mittwoch 20 August 2008 17:47:45 schrieb stlecho:
>> Does this mean that I can not re-deploy an existing SA without stopping,
>> cleaning and starting ServiceMix ?
>>
>> lhe77 wrote:
>> > All deployment will be done to the data folder inside servicemix
>> install
>> > folder. So if you run in trouble check if you can delete the assembly
>> > from the
>> > data/smx/service-assemblies/ folder and restart smx.
>> >
>> > Deleting the whole data folder will clean all deployments. This can
>> only
>> > be
>> > done when SMX is not running. On next start of smx all things in
>> > hotdeploy folder will be redeployed. So be sure not to delete something
>> > you can't recover.
>> >
>> > Regards
>> > Lars
>> >
>> > Am Mittwoch 20 August 2008 16:08:58 schrieb stlecho:
>> >> Hi,
>> >>
>> >> When using the "mvn jbi:projectDeploy" artifact, I'm receiving an
>> error.
>> >>
>> >> On the server-side I get the following WARN: "InstallationService     
>> |
>> >> .framework.InstallationService  420 | Failed to delete old
>> installation
>> >> directory:
>> >>
>> G:\progs\esb\servicemix\apache-servicemix-3.2.2\data\smx\components\serv
>> >>ice mix-file\version_6".
>> >>
>> >> On the client-side (deployment) I get :"Unable to deploy project,
>> Error
>> >> accessing ServiceMix administration".
>> >>
>> >> How can this be solved ?
>> >>
>> >> Regards, Stefan Lecho.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Failure-on-re-deploying-same-SA-tp19069912p19086554.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to