users@glassfish.java.net

Glassfish v2.1.1 port leak -- netstat shows too many connections to itself

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Oct 2010 09:20:38 PDT

I am running Glassfish v2.1.1 on Windows Server 2003

It has 11 web applications installed of which only 2 use JPA with MySQL datasources.

netstat reveals too many TCP connections to itself i.e. localhost to localhost in ESTABLISHED state that grows over time until the OS runs of TCP ports. The PID of the owner of these connections is the PID of the Glassfish java process and port numbers are > 30k

Please help me diagnose and fix this problem.
[Message sent by forum member 'llraj']

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