How To Undeploy A Service-Assembly In ServiceMix

Posted by Tobias Mueller

While playing around with ServiceMix I had to undeploy a service-assembly. This was not so easy.
You can use an ant task under SERVICEMIX-HOME/ant.
The readme.txt has a typo and I didn't know the servicemix user and password.
Finally I came up with:
ant -f servicemix-ant-task.xml -Dsm.username=smx -Dsm.password=smx -Dsm.service.assembly.name=NAME_OF_THE_SA undeploy-service-assembly
You have to shut down the service-assembly before using the JMX console (jconsole)

TrackBack

TrackBack URL for this entry:
http://www.infobean.de/cgi-bin/mt/mt-tb.cgi/114

Comments

Thanks. I did not notice that typo. Google got on this page. Thanks for sharing this information.

Post a comment