Hi, What I usually do is identify the bundle/bundles that I want to reload. Then I set bundle:watch bundleID so that karaf reload the bundle if the underlying jar is changed in the /system folder. Then locally I build the new jar, docker cp / kubectl cp the new jar under /opt/opendayglith/current/system/org/onap/XYZ where XYZ is the exact path where the jar is located. This avoids restarting the whole karaf container when developing.
HTH, Alexis > On Sep 19, 2018, at 4:17 PM, Steve Siani > <alphonse.steve.siani.djissit...@ibm.com> wrote: > > Hi all, > > We deployed APPC container in a Linux development environment and I try to > rebuild a single APPC Karaf feature and replace the running version by the > freshly compiled version in a running APPC container. > > When I try to stop any existing feature using "feature:stop <feature_name>". > I get some errors (see the capture below). The feature stops, but I cannot > access the Restconf Web page anymore. > <dummyfile.0.part> > > OSGi Restconf Web page shows ressource not found: > <dummyfile.1.part> > Does somebody knows how to stop and remove Karaf feature in APPC without > breaking Karaf? I would like to make an update on APPC feature/bundle then > redeploy it without needing to rebuild everything. > > Thanks! > Steve Siani > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12549): https://lists.onap.org/g/onap-discuss/message/12549 Mute This Topic: https://lists.onap.org/mt/25759196/21656 Mute #appc: https://lists.onap.org/mk?hashtag=appc&subid=2740164 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-