Hi,

My comment inline
On 2011-3-23, at 下午4:18, Sorin Silaghi wrote:

Hello,


        I wrote a bash script for testing our ServiceMix SA but since
the 4.3.0 release it looks like the SA doesn't always update as I
expect it to. I presume there's some caching going on or something.

       Here's how the script works: it makes sure the SMX instance is
stopped, it copies the new SA and then starts SMX.
I assume you copy the SA.zip(not the .jar) to the SMX4_HOME/deploy folder.

       My question is what do I need to do to be absolutely sure the
SA gets updated when I deploy a new version? Is there any directory I
could delete? Should I keep SMX running while updating the SA?
You needn't stop the container, you can do hot redeploy with container up. Also you can remove SMX4_HOME/data folder and then start container again which ensure everything new could be picked up.

Freeman


Sorin.


--
Freeman Fang

------------------------

FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to