I am using artifactory 2.3.2 over Windows Server 2008R2 64 Bits. I get the
following errors in the log:

## Artifactory successfully started (5 seconds) ###
###########################################################

2011-03-23 23:27:44,508 [pool-1-thread-10] [ERROR] (o.a.w.RequestCycle
:1521) - Could not create the temp file for upload
org.apache.wicket.WicketRuntimeException: Could not create the temp file for
upload
at
org.apache.wicket.util.upload.DiskFileItem.getTempFile(DiskFileItem.java:687)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.util.upload.DiskFileItem$1.createFile(DiskFileItem.java:602)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.util.io.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:186)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.util.io.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:223)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.util.io.ThresholdingOutputStream.write(ThresholdingOutputStream.java:130)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.util.io.Streams.copy(Streams.java:159)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.util.io.Streams.copy(Streams.java:126)
[wicket-1.4.10.jar:1.4.10]
at org.apache.wicket.util.io.Streams.copyAndClose(Streams.java:90)
[wicket-1.4.10.jar:1.4.10]
at
org.apache.wicket.util.upload.FileUploadBase.parseRequest(FileUploadBase.java:378)
[wicket-1.4.10.jar:1.4.10]

and several lines below I get

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[na:1.6.0_24]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_24]
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
[na:1.6.0_24]
at java.io.File.createNewFile(Unknown Source) [na:1.6.0_24]
at
org.apache.wicket.util.upload.DiskFileItem.getTempFile(DiskFileItem.java:683)
[wicket-1.4.10.jar:1.4.10]
... 61 common frames omitted

----------------------------------
System Properties:
artifactory.home                                  | ..
artifactory.jcr.configDir                         | ..\\etc/repo/default
awt.toolkit                                       | sun.awt.windows.WToolkit
derby.language.logStatementText                   | false
derby.module.mgmt.jmx                             |
org.apache.derby.impl.services.jmxnone.NoManagementService
derby.storage.pageCacheSize                       | 500
derby.stream.error.file                           |
C:\\Mandos\\Java\\artifactory-2.3.2\\bin\\..\\logs\\derby.log
derby.stream.error.logSeverityLevel               | 0
file.encoding                                     | Cp1252
file.encoding.pkg                                 | sun.io
file.separator                                    | \\
java.awt.graphicsenv                              |
sun.awt.Win32GraphicsEnvironment
java.awt.printerjob                               |
sun.awt.windows.WPrinterJob
java.class.path                                   |
../lib/jetty-ajp-7.0.2.v20100331.jar;../lib/jetty-continuation-7.0.2.v20100331.jar;../lib/jetty-http-7.0.2.v20100331.jar;../lib/jetty-io-7.0.2.v20100331.jar;../lib/jetty-security-7.0.2.v20100331.jar;../lib/jetty-server-7.0.2.v20100331.jar;../lib/jetty-servlet-7.0.2.v20100331.jar;../lib/jetty-util-7.0.2.v20100331.jar;../lib/jetty-webapp-7.0.2.v20100331.jar;../lib/jetty-xml-7.0.2.v20100331.jar;../lib/servlet-api-2.5.jar;../lib/wrapper.jar;../artifactory.jar
java.class.version                                | 50.0
java.endorsed.dirs                                | C:\\Program Files
(x86)\\Java\\jre6\\lib\\endorsed
java.ext.dirs                                     | C:\\Program Files
(x86)\\Java\\jre6\\lib\\ext;C:\\Windows\\Sun\\Java\\lib\\ext
java.home                                         | C:\\Program Files
(x86)\\Java\\jre6
java.io.tmpdir                                    |
C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\Temp\\
java.library.path                                 | ../lib
java.net.preferIPv4Stack                          | true
java.runtime.name                                 | Java(TM) SE Runtime
Environment
java.runtime.version                              | 1.6.0_24-b07

The Temp folder in java.io.tmpdir does not exist.
java.io.tmpdir                                    |
C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\Temp\\

I tried creating it and giving full access to Everyone but I get the same
error.

Thanks for any ideas.


--
View this message in context: 
http://forums.jfrog.org/Could-not-create-the-temp-file-for-upload-when-deploying-a-single-artifact-tp6202461p6202461.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to