Hi Tim and xjjx,
My guess is that you have a permission issue in the temporary directory used.
The directory used is System.getProperty(“java.io.tmpdir”).
You should check that the user with which you started your sevlet container has
permissions to that temporary directory.
Thanks
-Vincent
On 17 Aug 2016, at 10:22, Tim Jones
<tim.jones.001(a)gmail.com> wrote:
PS I replied to a message, which seemed to have made it to nabble, but not
to the mailing list, which had all the context.
For context, the error occurred during Install plan log job of Step1 - User
Interface of Distribution Wizard):
Starting job of type [installplan] with identifier
[extension/plan/org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/wiki:xwiki]
Resolving extension
[org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.3] on namespace
[xwiki]
Resolving extension dependency
[org.xwiki.enterprise:xwiki-enterprise-ui-admin-user-7.4.3] on namespace
[xwiki]
**Failed to create directory within 10000 attempts (tried 1471421926768-0
to 1471421926768-9999)**
Finished job of type [installplan] with identifier
[extension/plan/org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/wiki:xwiki]
Regards,
Tim
On 17 August 2016 at 09:16, Tim.Jones <tim.jones.001(a)gmail.com> wrote:
> NB Just had the same error with the distribution wizard when installing
> initial set of pages:
>
> Failed to create directory within 10000 attempts (tried 1471421247917-0 to
> 1471421247917-9999)
> class org.xwiki.extension.InstallException: Failed to resolve extension
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:774)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:393)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:290)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(
> AbstractInstallPlanJob.java:224)
> at
> org.xwiki.extension.job.internal.InstallPlanJob.
> runInternal(InstallPlanJob.java:88)
> at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
> at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: class java.lang.IllegalStateException: Failed to create
> directory
> within 10000 attempts (tried 1471421247917-0 to 1471421247917-9999)
> at com.google.common.io.Files.createTempDir(Files.java:433)
> at
> org.xwiki.extension.repository.aether.internal.
> XWikiRepositorySystemSession.<init>(XWikiRepositorySystemSession.java:64)
> at
> org.xwiki.extension.repository.aether.internal.
> AetherExtensionRepositoryFactory.createRepositorySystemSession(
> AetherExtensionRepositoryFactory.java:81)
> at
> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.
> createRepositorySystemSession(AetherExtensionRepository.java:183)
> at
> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.
> resolveMaven(AetherExtensionRepository.java:313)
> at
> org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.
> resolve(AetherExtensionRepository.java:201)
> at
> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMana
> ger.resolve(DefaultExtensionRepositoryManager.java:251)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(
> AbstractInstallPlanJob.java:821)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.
> installExtensionDependency(AbstractInstallPlanJob.java:685)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.
> installExtensionDependency(AbstractInstallPlanJob.java:659)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:911)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:772)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:393)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(
> AbstractInstallPlanJob.java:290)
> at
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(
> AbstractInstallPlanJob.java:224)
> at
> org.xwiki.extension.job.internal.InstallPlanJob.
> runInternal(InstallPlanJob.java:88)
> at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
> at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
> --
> View this message in context:
http://xwiki.475771.n2.nabble.
> com/Distribution-Wizard-tp7600517p7600689.html
> Sent from the XWiki- Users mailing list archive at
Nabble.com.