java.io.IOException: Data: OpenSocket, Permission Denied?

Oracle Community | Junaid Ahmed | 2 years ago
  1. 0

    Exceptions are coming in FTP proxy service in OSB?

    Stack Overflow | 2 years ago | Ahmed Junaid
    java.io.IOException: Data: OpenSocket, Permission Denied?
  2. 0

    Exception is coming while file is downloading in stage directory .

    Oracle Community | 2 years ago | Junaid Ahmed
    java.io.IOException: Data: OpenSocket, Permission Denied?
  3. 0

    Error encountered while polling the resource for the service endpoint

    Oracle Community | 7 years ago | 650156
    java.io.IOException: Data: OpenSocket, Socket Error!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2#264672283

    GitHub | 3 days ago | Artieza
    java.io.IOException: Permission denied while reading /data/data/net.jzhang.powernap/shared_prefs/net.jzhang.powernap_preferences.xml
  6. 0

    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/

    Sonatype JIRA | 5 years ago | Jochen Wiedmann
    java.io.IOException: Permission denied

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Data: OpenSocket, Permission Denied?

      at com.bea.wli.sb.transports.ftp.resource.FtpClient.openPassiveDataSocket()
    2. com.bea.wli
      FTPResource.get
      1. com.bea.wli.sb.transports.ftp.resource.FtpClient.openPassiveDataSocket(FtpClient.java:1340)
      2. com.bea.wli.sb.transports.ftp.resource.FtpClient.executeDataCommand(FtpClient.java:1480)
      3. com.bea.wli.sb.transports.ftp.resource.FtpClient.readDataToFile(FtpClient.java:1397)
      4. com.bea.wli.sb.transports.ftp.resource.FtpClient.get(FtpClient.java:586)
      5. com.bea.wli.sb.transports.ftp.resource.FTPResource.get(FTPResource.java:1369)
      5 frames