Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


karaf update bundle

asked 2014-11-06 15:34:19 -0700

anonymous user


I ran l2switch features in karaf under linux. I did "bundle:watch *" and then recompiled a l2switch module with a small change to a log message. I observed that the bundle was restarted. However, the log message was still showing the old text, not the modified text. If I restart karaf, then the modified text will show up. Do you have a similar problem? What is the proper procedure of updating a bundle without restarting karaf?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-11 10:39:47 -0700

jgoodyear gravatar image


May I ask if the bundle was a SNAPSHOT or full release version?

The bundle:watch command watches your local maven repo for updates for a given jar. Upon a new jar being deployed, it should update the local bundle.

The manual way to do this is to issue update BundleID on the jar you're working on from the console.

edit flag offensive delete publish link more


Let's say I have modified a log message in addresstracker. When I mvn clean install at the addresstracker module level, I observe the address tracker bundle is restarted, only that the change to the log message is not observed. When I mvn clean install at the l2switch project level, the odl karaf distribution running is exited.

henryf ( 2014-11-11 10:49:43 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2014-11-06 15:34:19 -0700

Seen: 873 times

Last updated: Nov 11 '14