<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Java ServerSocket close() hang in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747123#M722087</link>
    <description>Hi, the Java class ServerSocket, close() method seems to hang on HP-UX in my application. The socket exists and I can print out its details immidiately prior to the close() command. However the close() command seems to hang the application but at times it completes after more than 45 min! The same code works fine on Win2K.&lt;BR /&gt;Any idea why this might be?&lt;BR /&gt;&lt;BR /&gt;I'm using HP-UX 11.i and JDK version 1.3.1.05. Thanks!</description>
    <pubDate>Tue, 18 Jun 2002 14:33:45 GMT</pubDate>
    <dc:creator>Chamitha Wijesekera</dc:creator>
    <dc:date>2002-06-18T14:33:45Z</dc:date>
    <item>
      <title>Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747123#M722087</link>
      <description>Hi, the Java class ServerSocket, close() method seems to hang on HP-UX in my application. The socket exists and I can print out its details immidiately prior to the close() command. However the close() command seems to hang the application but at times it completes after more than 45 min! The same code works fine on Win2K.&lt;BR /&gt;Any idea why this might be?&lt;BR /&gt;&lt;BR /&gt;I'm using HP-UX 11.i and JDK version 1.3.1.05. Thanks!</description>
      <pubDate>Tue, 18 Jun 2002 14:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747123#M722087</guid>
      <dc:creator>Chamitha Wijesekera</dc:creator>
      <dc:date>2002-06-18T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747124#M722088</link>
      <description>you should test the option :&lt;BR /&gt;-XdoCloseWithReadPending &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2002 08:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747124#M722088</guid>
      <dc:creator>Pierrick herve</dc:creator>
      <dc:date>2002-06-19T08:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747125#M722089</link>
      <description>Is that option used when executing javac or the java command?</description>
      <pubDate>Wed, 19 Jun 2002 13:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747125#M722089</guid>
      <dc:creator>Chamitha Wijesekera</dc:creator>
      <dc:date>2002-06-19T13:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747126#M722090</link>
      <description>I added the -XdoCloseWithReadPending option when invoking the java command. However I still get the issue where my socket closer() hangs</description>
      <pubDate>Wed, 19 Jun 2002 15:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747126#M722090</guid>
      <dc:creator>Chamitha Wijesekera</dc:creator>
      <dc:date>2002-06-19T15:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747127#M722091</link>
      <description>yes this option is for the "java" command. Did you have a java exception error ?&lt;BR /&gt;&lt;BR /&gt;is it the same with the option ?&lt;BR /&gt;&lt;BR /&gt;it's maybe a socket problem.&lt;BR /&gt;&lt;BR /&gt;try to install :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PHKL_25233 :     80 Kb, 700_800 11.11 select(2) and poll(2) hang&lt;BR /&gt;PHKL_25389 :    210 Kb, 700_800 11.11 Core PM, vPar, Psets Cumulative Patch&lt;BR /&gt;PHKL_25871 :     90 Kb, 700_800 11.11 eventport syscalls;socket close(2) hang fix&lt;BR /&gt;PHNE_25644 :   5800 Kb, 700_800 11.11 cumulative ARPA Transport patch&lt;BR /&gt;PHNE_26728 :   1760 Kb, 700_800 11.11 Cumulative STREAMS Patch&lt;BR /&gt;# Total    :   7940 Kb, 5 patches&lt;BR /&gt;&lt;BR /&gt;theese 5 patches are interdependants so you have to install them together.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Pierrick</description>
      <pubDate>Thu, 20 Jun 2002 12:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747127#M722091</guid>
      <dc:creator>Pierrick herve</dc:creator>
      <dc:date>2002-06-20T12:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747128#M722092</link>
      <description>you can find the information on this option on :&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/hot" target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/hot&lt;/A&gt;&lt;BR /&gt;spot.html#-XdoCloseWithReadPending&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Pierrick</description>
      <pubDate>Thu, 20 Jun 2002 12:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747128#M722092</guid>
      <dc:creator>Pierrick herve</dc:creator>
      <dc:date>2002-06-20T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Java ServerSocket close() hang</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747129#M722093</link>
      <description>Hi, I think adding the socket close hanging patch made it work fine! That was the exact issue I was having. There were some other patches that it was dependent on though. When I added them too eveything seemed to work ok. Thanks a LOT man!!</description>
      <pubDate>Thu, 20 Jun 2002 16:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-serversocket-close-hang/m-p/2747129#M722093</guid>
      <dc:creator>Chamitha Wijesekera</dc:creator>
      <dc:date>2002-06-20T16:03:58Z</dc:date>
    </item>
  </channel>
</rss>

