java.io.IOException: Bad file descriptor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.io.IOException: Bad file descriptor

higkoo
2015-08-27 01:45:16,021 INFO  Config.java:115 : nGrinder is starting...
2015-08-27 01:45:16,022 INFO  Config.java:310 : nGrinder home directory:/root/.ngrinder.
2015-08-27 01:45:16,023 INFO  Config.java:341 : nGrinder ex home directory:/root/.ngrinder_ex.
INFO 8/27/15 1:45 AM:liquibase: Reading from DATABASECHANGELOG
INFO 8/27/15 1:45 AM:liquibase: Reading from DATABASECHANGELOG
2015-08-27 01:45:23.983:INFO:/:Initializing Spring FrameworkServlet 'appServlet'
2015-08-27 01:45:24.382:INFO::Started SocketConnector@0.0.0.0:80
java.io.IOException: Bad file descriptor
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:272)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
        at org.ngrinder.NGrinderControllerStarter.run(NGrinderControllerStarter.java:237)
        at org.ngrinder.NGrinderControllerStarter.main(NGrinderControllerStarter.java:307)
Reply | Threaded
Open this post in threaded view
|

Re: java.io.IOException: Bad file descriptor

higkoo
No problem:
    java -XX:MaxPermSize=512m -jar /data/ngrinder-controller-3.3.war --port 80

Error on:
    nohup java -XX:MaxPermSize=512m -jar /data/ngrinder-controller-3.3.war --port 80 > /tmp/ngrinder.log 2>&1 &

Env:
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1~deb7u1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)