On Jan 4, 2008 1:31 PM, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: > > 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.
You should raise a JIRA on Ode so that any missing dependency is included in the component. In an ideal world, components would not rely on the container classpath for required dependencies. The workaround is what you suggest: put it in the lib directory. > > - 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. > This is also a problem from the Ode component. I don't think ServiceMix had anything to do with that afaik. > > - 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 This is something that may be enhanced in servicemix. As a workaround, you should be able to just "touch" the file once it has been copied. Or first copy it on another folder and then simply "move" it. Could you please raise a JIRA ? Also, you may want to provide a patch for that. > > > 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. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
