I make a jstack output on PELaunch <PID> I discover it by jps, I hope to do right.
The output is attached in the JSTACK.OUT file.
I analize the glassfish output during the problem (with --verbose option) and I get this message:
[#|2008-07-15T18:18:55.019+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.w
eb|_ThreadID=17;_ThreadName=SelectorThread-80;_RequestID=52118df2-13b4-40f6-b338-6f59ee27a1
be;|WEB0756:[b] Caught exception during HTTP processing.
java.io.IOException: Too many open files[/b]
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(SelectorThr
ead.java:1460)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(Selecto
rThread.java:1439)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.
java:1350)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorTh
read.java:1284)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorTh
read.java:1247)
at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:
1223)
|#]
[#|2008-07-15T18:18:57.768+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err
|_ThreadID=18;_ThreadName=Timer-0;_RequestID=6ddd7147-ab70-425c-b411-b52e5beb7a03;|[b]java.lan
g.NullPointerException
at com.sun.jbi.management.system.AutoAdminTask.pollAutoDirectory(AutoAdminTask.java
:1031)[/b]
at com.sun.jbi.management.system.AutoAdminTask.performAutoInstall(AutoAdminTask.jav
a:329)
at com.sun.jbi.management.system.AutoAdminTask.performAutoFunctions(AutoAdminTask.j
ava:288)
at com.sun.jbi.management.system.AdminService.heartBeat(AdminService.java:964)
at com.sun.jbi.management.system.AdminService.handleNotification(AdminService.java:
197)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNoti
fication(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationB
roadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBro
adcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcaste
rSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBro
adcasterSupport.java:229)
at javax.management.timer.Timer.sendNotification(Timer.java:1234)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1203)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1286)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
|#]
I check the ulimit -l, and proc/sys/fs/file-max both is set over 65536.
[Message sent by forum member 'peppeme' (peppeme)]
http://forums.java.net/jive/thread.jspa?messageID=286793