users@glassfish.java.net

Re: Server stops responding due to Glassfish

From: <glassfish_at_javadesktop.org>
Date: Fri, 30 May 2008 04:26:18 PDT

Hello,
I have the same problem. After this problem occurred I have generated jvmreport (see attached file). In server.log I can see only:

[#|2008-05-30T12:04:41.675+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=25;_ThreadName=SelectorThread-8080;_RequestID=50d69e6d-2493-4bae-8fee-a6c4fa5ddc7e;|WEB0756: Caught exception during HTTP processing.
java.io.IOException: Too many open files
        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(SelectorThread.java:1460)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1439)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1350)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1284)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1247)
        at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1223)
|#]

[#|2008-05-30T12:04:43.119+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=26;_ThreadName=Timer-1;_RequestID=33af9590-57b2-49cd-b9c5-c50fb2ac9174;|
java.lang.NullPointerException
        at com.sun.jbi.management.system.AutoAdminTask.pollAutoDirectory(AutoAdminTask.java:1031)
        at com.sun.jbi.management.system.AutoAdminTask.performAutoInstall(AutoAdminTask.java:329)
        at com.sun.jbi.management.system.AutoAdminTask.performAutoFunctions(AutoAdminTask.java: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.handleNotification(DefaultMBeanServerInterceptor.java:1732)
        at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
        at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
        at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
        at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.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)
|#]

After restart of Glassfish all is working fine, but it would be better to find a solution. Any ideas?

Best regards
Ronald Kuczek
[Message sent by forum member 'rony_k' (rony_k)]

http://forums.java.net/jive/thread.jspa?messageID=277507