I've run across these issues also as I am getting started with servicemix. I
think its best that you sort out your bundle start order and version
dependencies before you go into a production deployment. In my experience,
if you have to reinstall features/bundles to get the system up, this is
usually what is out of whack. I don't have a good method for debugging it
yet, so usually it takes a lot of trial and error and hair pulling. I think
if you set up the featuresBoot property so that features are booted in the
right order, some of these issues go away. (set this up in
${SMX_ROOT}/etc/org.apache.felix.karaf.features.cfg )Best, jim On Fri, Jul 30, 2010 at 9:45 AM, gnanda1 <[email protected]>wrote: > > Thanks for the reply. I will try doing as per your suggestion. > > But how about uninstalling and re-installing my osgi bundles? I have seen > issues regarding classcastexception and class loading issues if I do not > uninstall bundle before re-installing it. > May be there is a way to access Karaf console from a shell script or java > code to send command osgi:uninstall <bundle-id> ? > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/deployment-strategy-accessing-karaf-console-tp2256349p2259612.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
