Hi,

There are many ways to deploy a project during development of an application
on Servicemix, but non of them seem to work very well (or I am using them
incorectly)

- jbi:servicemix fails often because of missing dependencies that are
located at SERVICEMIX_HOME/lb. This is the case with the ODE SE for example. 

- jbi:projectDeploy on a clean stanalone servicemix server works. Once. A
redeploy will consistently fail, until I delete the 'data' directory. I also
tried -DforceUpdate, but still errors. Mainly:
java.lang.IllegalStateException: Process store and JBI out of synch.

- Copy the SA into SERVICEMIX_HOME/hotdeploy works, but is failing on a
running server often (FileNotFound exception. The process cannot access the
file because its being used by another process). I need to restart the
server, clean the data directory again to make it work....The problem is
caused by the time it takes to copy the SA archive. The polling of SMX does
not handle 'copy-in-progress' well, or so it seems. And I always need to
clean the data directory, or errors occur

Which is the best way to develop round-trip on a local machine? How do I
workaround the indicated problems?

Thanks,
Jan
-- 
View this message in context: 
http://www.nabble.com/Deployment-during-development-tp14615470s12049p14615470.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to