On 08/13/12 09:46, Felix Meschberger wrote:
> 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)
>>
>> 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 ?

Race conditions induced by a Virus Scanner can be tricky.

-h


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to