Installing Bamboo 3.0 fails on Window x64 with java.io.IOException "The system cannot find the path specified"
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Bamboo installation fails on Windows x64 with the following message reported:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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).
Was this helpful?