Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
6.0
-
None
-
Windows
-
N/A
-
N/A
-
Description
Start a new XWiki 6.0 server on Windows 8.1. You will get an error similar to this one:
2014-05-13 11:17:38,638 [Job status serializer] WARN .x.j.i.DefaultJobStatusStorage - Failed to save job status [org.xwiki.extension.distribution.internal.job.FarmDistributionJobStatus@1b7a602] java.nio.file.FileSystemException: C:\Users\Nexus\AppData\Local\Temp\status.xml7651765167250750484.tmp -> data\jobs\status\distribution\status.xml: The process cannot access the file because it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[na:1.7.0_55] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[na:1.7.0_55] at sun.nio.fs.WindowsFileCopy.move(Unknown Source) ~[na:1.7.0_55] at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source) ~[na:1.7.0_55] at java.nio.file.Files.move(Unknown Source) ~[na:1.7.0_55] at org.xwiki.job.internal.JobStatusSerializer.write(JobStatusSerializer.java:84) ~[xwiki-commons-job-6.0.jar:na] at org.xwiki.job.internal.DefaultJobStatusStorage.saveJobStatus(DefaultJobStatusStorage.java:247) ~[xwiki-commons-job-6.0.jar:na] at org.xwiki.job.internal.DefaultJobStatusStorage.store(DefaultJobStatusStorage.java:274) ~[xwiki-commons-job-6.0.jar:na] at org.xwiki.job.internal.DefaultJobStatusStorage$JobStatusSerializerRunnable.run(DefaultJobStatusStorage.java:102) [xwiki-commons-job-6.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_55] at java.lang.Thread.run(Unknown Source) [na:1.7.0_55] 2014-05-13 11:17:38,638 [Job status serializer] WARN .x.j.i.DefaultJobStatusStorage - Failed to save job status [org.xwiki.job.internal.DefaultJobStatus@cae72b] java.nio.file.FileSystemException: C:\Users\Nexus\AppData\Local\Temp\status.xml3025714899964492815.tmp -> data\jobs\status\solr\indexer\status.xml: The process cannot access the file because it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[na:1.7.0_55] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[na:1.7.0_55] at sun.nio.fs.WindowsFileCopy.move(Unknown Source) ~[na:1.7.0_55] at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source) ~[na:1.7.0_55] at java.nio.file.Files.move(Unknown Source) ~[na:1.7.0_55] at org.xwiki.job.internal.JobStatusSerializer.write(JobStatusSerializer.java:84) ~[xwiki-commons-job-6.0.jar:na] at org.xwiki.job.internal.DefaultJobStatusStorage.saveJobStatus(DefaultJobStatusStorage.java:247) ~[xwiki-commons-job-6.0.jar:na] at org.xwiki.job.internal.DefaultJobStatusStorage.store(DefaultJobStatusStorage.java:274) ~[xwiki-commons-job-6.0.jar:na] at org.xwiki.job.internal.DefaultJobStatusStorage$JobStatusSerializerRunnable.run(DefaultJobStatusStorage.java:102) [xwiki-commons-job-6.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_55] at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
The 2 status.xml files are created inside your Temp folder, but from some reason they are not moved to your XWiki folders.