> > > Tom, > After re-reading my last mail, I see that the data directory is > cleaned/removed, then, the last step, is to copy what was stashed away back > to the newly created data dir. From what I see, this is only copying the > logs from the previous karaf instance back to the newly created dir. So, > this seems ok, agree? > > Here are more details on step #4 above, where the karaf logs are copied to > /tmp: > > mkdir -p '/tmp' && rm -vrf '/tmp/log' && mv -vf > '/tmp/karaf-0.8.3-SNAPSHOT/data/log' > '/tmp/' >
Copying the logs is OK. It looks a little odd to see 2 message sequences for " Lock acquired. Setting startlevel to 100" ... "All initial bundles installed and set to start" 7 min apart. I wonder if it's possible the first set were from the previous run and somehow the log got truncated. Another thing to try is to not copy the logs back so it starts a new log. Or copy them with a different extension, eg append the timestamp "karaf.log.123456789", so they're at least retained. This would also make it easier when scanning the logs - otherwise, with them appended, you then have to figure out if a log message came from the 1st run, 2nd etc. > > > > >> >> 1. >> >> >>> Other than that, we probably need to get a thread dump. >>> >>>> Thanks, >>>> >>>> Vic >>>> >>>> >>>> >>>> >>>> Jun 29, 2018 3:43:47 PM org.apache.karaf.main.Main launch >>>> INFO: Installing and starting initial bundles >>>> Jun 29, 2018 3:43:47 PM org.apache.karaf.main.Main launch >>>> INFO: All initial bundles installed and set to start >>>> Jun 29, 2018 3:43:47 PM org.apache.karaf.main.lock.SimpleFileLock lock >>>> INFO: Trying to lock /tmp/karaf-0.8.3-SNAPSHOT/lock >>>> Jun 29, 2018 3:43:47 PM org.apache.karaf.main.lock.SimpleFileLock lock >>>> INFO: Lock acquiredJun 29, 2018 3:43:47 PM >>>> org.apache.karaf.main.Main$KarafLockCallback lockAquired >>>> INFO: Lock acquired. Setting startlevel to 100 >>>> Jun 29, 2018 3:50:48 PM org.apache.karaf.main.Main launch >>>> INFO: Installing and starting initial bundles >>>> Jun 29, 2018 3:50:49 PM org.apache.karaf.main.Main launch >>>> INFO: All initial bundles installed and set to start >>>> Jun 29, 2018 3:50:49 PM org.apache.karaf.main.lock.SimpleFileLock lock >>>> INFO: Trying to lock /tmp/karaf-0.8.3-SNAPSHOT/lock >>>> Jun 29, 2018 3:50:49 PM org.apache.karaf.main.lock.SimpleFileLock lock >>>> INFO: Lock acquired >>>> Jun 29, 2018 3:50:49 PM org.apache.karaf.main.Main$KarafLockCallback >>>> lockAquired >>>> INFO: Lock acquired. Setting startlevel to 100 >>>> >>>> >>>> >>>> _______________________________________________ >>>> controller-dev mailing list >>>> controller-dev@lists.opendaylight.org >>>> https://lists.opendaylight.org/mailman/listinfo/controller-dev >>>> >>>> >>>
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev