I have had a working jsp web applicationg for the last 2 months.
All of a sudden, the application was not allowing users to log into it.
After monitoring the logs upon a manual restart of glassfish, I saw the log output below:
[#|2011-06-25T15:58:55.376+0300|WARNING|glassfish3.0.1||_ThreadID=26;_ThreadName=Thread-1;|Error sending syslog packet
java.net.SocketException: Too many open files
at java.net.PlainDatagramSocketImpl.datagramSocketCreate(Native Method)
at java.net.PlainDatagramSocketImpl.create(PlainDatagramSocketImpl.java:73)
at java.net.DatagramSocket.createImpl(DatagramSocket.java:318)
at java.net.DatagramSocket.<init>(DatagramSocket.java:159)
at com.sun.enterprise.server.logging.Syslog.log(Syslog.java:77)
at com.sun.enterprise.server.logging.SyslogHandler.log(SyslogHandler.java:156)
at com.sun.enterprise.server.logging.SyslogHandler$1.run(SyslogHandler.java:103)
|#]
Can anyone please tell me why this is happening and suggest action that would eradicate this problem comprehensively.
Mind you, no changes in code have been effected.
Thanks