java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error log {noformat} 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 {noformat}
    via by Michael Truong,
  • Error log {noformat} 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 {noformat}
    via by Michael Truong,
  • [jira] Commented: (AMQ-2946) Issues with Win32 wrapper
    via by Jonathan Ward (JIRA),
  • I can't start Nexus, due to the following messages in the log file: wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | 2012-03-29 10:57:35.492:INFO:oejs.Server:jetty-7.5.4.v20111024 jvm 1 | Starting Jetty... jvm 1 | 2012-03-29 10:57:35.667:INFO:ospjc.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) jvm 1 | 2012-03-29 10:57:35.725:WARN:oejw.WebInfConfiguration:tmpdir jvm 1 | java.io.IOException: Permission denied jvm 1 | at java.io.UnixFileSystem.createFileExclusively(Native Method) jvm 1 | at java.io.File.checkAndCreate(File.java:1704) jvm 1 | at java.io.File.createTempFile(File.java:1793) jvm 1 | at java.io.File.createTempFile(File.java:1830) jvm 1 | at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:299) jvm 1 | at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:49) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:417) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:453) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:89) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:261) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at org.sonatype.plexus.jetty.Jetty7$JettyWrapperThread.run(Jetty7.java:142) wrapper | Shutdown failed: Timed out waiting for the JVM to terminate. wrapper | JVM did not exit on request, terminated wrapper | JVM exited on its own while waiting to kill the application. wrapper | JVM exited in response to signal SIGKILL (9). wrapper | <-- Wrapper Stopped Obviously Nexus requires write permissions in some temporary directory, which is perfectly fine. The bug is that the error message gives absolutely no clue where that directory is located. For example, my first guess would be /tmp, aka ${TEMP}, but that directory is perfectly writable on my Linux server. [jwi@stugforge nexus-2.0.2]$ ls -ald /tmp/ drwxrwxrwt 12 root root 8192 Mar 29 10:57 /tmp/
    via by Jochen Wiedmann,
  • If you take a fresh install of JIRA, create a project TST and enable attachments, then create an issue but don't add any attachments to it. Now add the Create comment handler and try replying to a notification from JIRA about the issue. Looking in the attachments directory, the top-level directory TST does not yet exist. The error in the logfile is {noformat} 2008-02-05 12:16:35,894 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Problem reading attachment from email for issue TST-1 java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(Unknown Source) at java.io.File.createTempFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:406) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-02-05 12:16:35,894 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue TST-1: java.io.IOException: Unable to create file? java.io.IOException: Unable to create file? at com.atlassian.jira.service.util.handler.AbstractMessageHandler.getFileFromPart(AbstractMessageHandler.java:426) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:343) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.saveAttachment(AbstractMessageHandler.java:312) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:287) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:234) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:110) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}
    via by Matt Doar [ServiceRocket],
  • Problem in Opening the Catalog Manager
    via by sgkon,
    • java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(Unknown Source) at java.io.File.createTempFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:291) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:46) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:463) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93) at org.eclipse.jetty.server.Server.doStart(Server.java:243) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at com.atlassian.bamboo.server.Server.main(Server.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    olle.hallin
    1 times, last one,
    rp
    1 times, last one,
    balintn
    2 times, last one,
    45 more bugmates