This is an issue. We have users who will not know this unless it is explicitly documented.
You should be able to modify the datasource-xxx.xml file when karaf is not running and karaf should always check for any changes to the xml files in deploy dir vs. the already deployed xml bundles. Then this wouldn't be a problem. So a bug/enhancement request is in order I believe... Achim Nierbeck wrote > No Issue, just not the right usage? > If Karaf is running, the change is detected. > It is even detected when the Karaf Instance is shut down. > So it works as designed, AFAIC. > > regards, Achim > > > > 2014-08-11 11:25 GMT+02:00 Christian Schneider < > chris@ > >: > >> I also think this is the issue. >> >> Do you think this should be filed as a bug in felix fileinstall? >> >> Christian >> >> Am 11.08.2014 10:29, schrieb Achim Nierbeck: >> >> I think the main problem seems to be, the xml file was altered while >>> karaf wasn't able to realize it's been altered. >>> After the startup it still used the old one as there has already been a >>> bundle generated for it. >>> My best guess right now, this is due to the fact that >>> karaf/FileInstaller >>> wasn't "seeing" the change it wasn't able to "re-load" the change, >>> make sure you alter it while Karaf is running then it will be able to >>> get >>> it faster. >>> >>> regards, Achim >>> >>> >> -- >> Christian Schneider >> http://www.liquid-reality.de >> >> Open Source Architect >> Talend Application Integration Division http://www.talend.com >> >> > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> > Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > > Software Architect / Project Manager / Scrum Master -- View this message in context: http://karaf.922171.n3.nabble.com/Data-source-xml-change-not-taking-effect-in-first-karaf-start-post-modification-tp4034670p4034782.html Sent from the Karaf - User mailing list archive at Nabble.com.
