sounds like you have run of of connection threads.
do a thread dump to check the state of the threads
Main Topics
Browse All TopicsI have a glassfish application server Version = Sun GlassFish? Enterprise Server v2.1 (9.1.1) (build b60e-fcs) running in production and every day or so stops responding on the https port (8181) and other ports(8080). Once the server stops responding, other application hosted with that port number stops responding. I've hosted two application in the server.
I searched for clue in log files but could not get one.
I've set thread size to 200.
In netstat i can CLOSE_WAIT status for different hosts.
The server needs to be restarted after it stops responding.
This application
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Anyway, if it *is* still listening, that rules out tcp/ip problems probably and you need to see if you enough allocated resources. http://blogs.sun.com/binub
i've migrated the glassfish to another pc and now its working fine. but now the i'm getting errors like
Caused by: java.sql.SQLException: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
at com.sun.gjc.spi.base.DataS
at org.hibernate.ejb.connecti
at org.hibernate.jdbc.Connect
... 80 more
i tried closing all connection in my database manager class. i think the glassfish server is not returning the connections to pool.
Business Accounts
Answer for Membership
by: CEHJPosted on 2009-05-21 at 23:52:18ID: 24448226
>>In netstat i can CLOSE_WAIT status for different hosts.
Does netstat tell you it's still listening on those ports or not?