Go to the admin console and click on Applications. Immediately, in server.log several exceptions appear saying too many open files. If you run
at the same time a large number of open connections - between localhost:xxxxx and localhost:4848, not between localhost and the remote web browser! - are shown.
Two bug reports, http://java.net/jira/browse/GLASSFISH-18117 and http://java.net/jira/browse/GLASSFISH-16672 have already been closed with the comment that this issue is fixed in 3.1.2. But it is not!
VERY IMPORTANT: This occurs with TWO domains. One is the domain created by the installer, which I do not intend to use. The other is the domain converted over from Glassfish 3.1 using the upgrade tool (doing a side-by-side upgrade), which is the domain that I started.