java.io.IOException: Bad file descriptor

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

java.io.IOException: Bad file descriptor

eastsheen
2017-06-08 11:26:24.277:INFO:/:main: Initializing Spring FrameworkServlet 'appServlet'
2017-06-08 11:26:25.038:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@5d3634c8{/,file:/home/deploy/.ngrinder/tmp/webapp/,AVAILABLE}{file:/workspace/nGrinder/ngrinder-controller-3.4.1.war}
2017-06-08 11:26:25.083:INFO:oejs.ServerConnector:main: Started ServerConnector@951afc8{HTTP/1.1}{0.0.0.0:8099}
2017-06-08 11:26:25.083:INFO:oejs.Server:main: Started @13425ms
java.io.IOException: Bad file descriptor
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:255)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
        at org.ngrinder.NGrinderControllerStarter.run(NGrinderControllerStarter.java:238)
        at org.ngrinder.NGrinderControllerStarter.main(NGrinderControllerStarter.java:310)

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
hao
Reply | Threaded
Open this post in threaded view
|

Re: java.io.IOException: Bad file descriptor

hao
me 2

error on :
 nohup /usr/local/java/jdk1.8.0_102/jre/bin/java  -XX:MaxPermSize=200m -jar ngrinder-controller-3.4.1.war > logs 2>&1 &
Reply | Threaded
Open this post in threaded view
|

Re: java.io.IOException: Bad file descriptor

jwen
In reply to this post by eastsheen
我也有这个问题,用tomcat部署吧