We're using OpenLaszlo 3.4 under Java 1.6 and Tomcat 5.5. Specifically, we're having problems with our SOAP requests. The requests themselves work fine. Unfortunately, we are seeing a huge problem with the underlying sockets not being released. On Linux and OS X we can see a large number of socket connections that are not getting freed.
For example, here's a snippet of what I see on my local machine (the same problem occurs on our production and QA servers) with both the OpenLaszlo server and the SOAP server running: --snip-- $ lsof |grep CLOSE_WAIT|grep java java 30082 myserver 64r IPv6 301117 TCP localhost:49791->localhost:webcache (CLOSE_WAIT) java 30082 myserver 65r IPv6 301161 TCP localhost:53927->localhost:webcache (CLOSE_WAIT) --snip-- ... Eventually the server runs out of available file handles and stops working. The only fix we have found so far is to restart Tomcat, which is definitely an acceptable long term solution. We suspect it is a problem with AXIS based on this bug report. And OpenLaszlo is using AXIS 1.2RC1, which is a very very old release candidate of AXIS. Unfortunately, when we substituted the AXIS 1.4 release jar, soap functionality stopped working completely. We also tried patching AXIS 1.2RC following the suggestion in the bug report, but that did not appear to solve the problem either. At this point, we're totally out of ideas. Has anyone else encountered this problem? Any suggestions would be greatly appreciated! Thanks. Sean
