Hi, Am 10.08.2012 um 20:19 schrieb Martin Lichtin:
> Hi > Very rarely I'm getting the following IOException during startup of a > Pax-Exam(-Karaf) test: > > > [FelixStartLevel] ERROR org.apache.felix.fileinstall - Failed to install > artifact: > C:\Users\mli\nuc\sandbox\master\transaction\tx-reference\tx-ref-itests\target\paxexam\c0540605-2091-42b8-87b5-bc3c40ce3708\etc\org.ops4j.pax.url.mvn.cfg > java.io.IOException: Failed to rename configuration file from > 'C:\Users\mli\nuc\sandbox\master\transaction\tx-reference\tx-ref-itests\target\paxexam\c0540605-2091-42b8-87b5-bc3c40ce3708\data\cache\bundle5\data\config\org\ops4j\pax\url\mvn.config3779731758721633163.tmp' > to > 'C:\Users\mli\nuc\sandbox\master\transaction\tx-reference\tx-ref-itests\target\paxexam\c0540605-2091-42b8-87b5-bc3c40ce3708\data\cache\bundle5\data\config\org\ops4j\pax\url\mvn.config > at > org.apache.felix.cm.file.FilePersistenceManager._store(FilePersistenceManager.java:637) > at > org.apache.felix.cm.file.FilePersistenceManager.store(FilePersistenceManager.java:580) > at > org.apache.felix.cm.impl.CachingPersistenceManagerProxy.store(CachingPersistenceManagerProxy.java:173) > at > org.apache.felix.cm.impl.ConfigurationImpl.update(ConfigurationImpl.java:291) > at > org.apache.felix.cm.impl.ConfigurationAdapter.update(ConfigurationAdapter.java:110) > at > org.apache.felix.fileinstall.internal.ConfigInstaller.setConfig(ConfigInstaller.java:262) > at > org.apache.felix.fileinstall.internal.ConfigInstaller.install(ConfigInstaller.java:84) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:926) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:854) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:483) > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:224) > at > org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:252) > at > org.apache.felix.fileinstall.internal.FileInstall.start(FileInstall.java:139) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1759) > at > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) > at java.lang.Thread.run(Thread.java:662) > > > bundle5/bundle.location contains > "mvn:org.apache.felix/org.apache.felix.configadmin/1.2.8". > The data/cache/bundle5/data/config/org/ops4j/pax/url directory is empty. I do not understand why renaming the file might fail. Except some concurrency issues (the tmp file is removed in the finally block if renaming fails) or maybe some windows path issues ? Have you tried running in a folder closer to the root of the partition to have short path names ? Regards Felix > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

