Installing Bamboo 3.0 fails on Window x64 with java.io.IOException "The system cannot find the path specified"
症状
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
原因
The local Service account on Vista and Windows 7 does not have the right to create temp files by default.
ソリューション
Set the java.io.tmpdir
in the wrapper.conf
(see Locating important directories and files).
最終更新日 2013 年 6 月 25 日
Powered by Confluence and Scroll Viewport.