Installing Bamboo 3.0 fails on Window x64 with java.io.IOException "The system cannot find the path specified"

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Bamboo installation fails on Windows x64 with the following message reported:

STATUS | wrapper  | 2011/02/11 10:42:18 | Bamboo build server installed.
STATUS | wrapper  | 2011/02/11 10:42:52 | --> Wrapper Started as Service
STATUS | wrapper  | 2011/02/11 10:42:52 | Launching a JVM...
INFO   | jvm 1    | 2011/02/11 10:42:52 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2011/02/11 10:42:52 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2011/02/11 10:42:52 | 
INFO   | jvm 1    | 2011/02/11 10:42:52 | Port        = 8085
INFO   | jvm 1    | 2011/02/11 10:42:52 | Web App     = ../webapp
INFO   | jvm 1    | 2011/02/11 10:42:52 | contextPath = /
INFO   | jvm 1    | 2011/02/11 10:42:52 | 2011-02-11 10:42:52.477:INFO::jetty-7.2.1.v20101111
INFO   | jvm 1    | 2011/02/11 10:42:52 | 2011-02-11 10:42:52.589:WARN::tmpdir
INFO   | jvm 1    | 2011/02/11 10:42:52 | java.io.IOException: The system cannot find the path specified
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at java.io.File.checkAndCreate(Unknown Source)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at java.io.File.createTempFile(Unknown Source)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at java.io.File.createTempFile(Unknown Source)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:291)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:46)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:463)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.server.Server.doStart(Server.java:243)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at com.atlassian.bamboo.server.Server.main(Server.java:77)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2011/02/11 10:42:52 | 	at java.lang.Thread.run(Unknown Source)
STATUS | wrapper  | 2011/02/11 10:42:54 | <-- Wrapper Stopped

Cause

The local Service account on Vista and Windows 7 does not have the right to create temp files by default.

Resolution

Set the java.io.tmpdir in the wrapper.conf (see Locating important directories and files).

Last modified on Jun 25, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.