If you want to restart from a clean state, just remove the *whole*
data directory.  ServiceMix will redeploy everything and it will work
much better.

On 10/11/07, Andreas Schaefer <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Geeks
>
> Due to some issues surrounding ServiceMix and mostly because I don't
> understand it well enough I ran into an issue where nothing was
> deployed in ServiceMix. What I did was to empty all directories
> within "data/smx" but kept the rest as is like "deploy.xml". This
> made ServiceMix to deploy nothing until each file was "touch"ed
> because the "deploy.xml" file mentioned all these files to be already
> deployed. I think the reason for that is that ServiceMix thinks that
> when there is no file in the appropriate "data/smx" directory that
> the deployment failed.
>
> It turned out that I can safely delete the entire "data/smx"
> directory and ServiceMix does a complete redeployment, cool.
>
> I would suggest that ServiceMix at least does report that it did not
> deploy a file and that probably it failed to deploy beforehand
> because there is not file inside "data/smx/*". From my point of view
> the deploy.xml or install.xml should have a entry that says the
> deployment failed rather than depend on the file system structure.
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
>
> iD8DBQFHDmwKs4gPTNnP0gkRAlHsAJ0f5LlZ94WG+82kKXlPta+95Qg/wACdH/fr
> hV7zInEhG2HNwkfdGkuhZqY=
> =xGrr
> -----END PGP SIGNATURE-----
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to