<?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 hangs while running unix native executable..pls help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848929#M98040</link>
    <description>&lt;BR /&gt;Gents,&lt;BR /&gt; I am new to java ..pls help me to sort out the issue..&lt;BR /&gt;&lt;BR /&gt;My java program hangs while i am trying to call a native unix 'C' executable..&lt;BR /&gt;&lt;BR /&gt;Steps i have done as described below..&lt;BR /&gt;&lt;BR /&gt;1) I have called getRuntime() method to get process object&lt;BR /&gt;2)then used 'exec' method to call the executable&lt;BR /&gt;3)then i used waitFor method to wait the thread up to completion&lt;BR /&gt;&lt;BR /&gt;the executable i am trying to execute is file processing system(a unix c executable with a shared library)..when input file to that executable  is  large the java program that calls the executable hangs...no exception coming...&lt;BR /&gt;&lt;BR /&gt;Pls help me &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Aneesh A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Aug 2006 09:47:24 GMT</pubDate>
    <dc:creator>aneesha</dc:creator>
    <dc:date>2006-08-23T09:47:24Z</dc:date>
    <item>
      <title>java hangs while running unix native executable..pls help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848929#M98040</link>
      <description>&lt;BR /&gt;Gents,&lt;BR /&gt; I am new to java ..pls help me to sort out the issue..&lt;BR /&gt;&lt;BR /&gt;My java program hangs while i am trying to call a native unix 'C' executable..&lt;BR /&gt;&lt;BR /&gt;Steps i have done as described below..&lt;BR /&gt;&lt;BR /&gt;1) I have called getRuntime() method to get process object&lt;BR /&gt;2)then used 'exec' method to call the executable&lt;BR /&gt;3)then i used waitFor method to wait the thread up to completion&lt;BR /&gt;&lt;BR /&gt;the executable i am trying to execute is file processing system(a unix c executable with a shared library)..when input file to that executable  is  large the java program that calls the executable hangs...no exception coming...&lt;BR /&gt;&lt;BR /&gt;Pls help me &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Aneesh A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Aug 2006 09:47:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848929#M98040</guid>
      <dc:creator>aneesha</dc:creator>
      <dc:date>2006-08-23T09:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: java hangs while running unix native executable..pls help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848930#M98041</link>
      <description>Aneesh,&lt;BR /&gt;solve the problem by step-by-step:&lt;BR /&gt;Check your C program standalone with a small file&lt;BR /&gt;Check your C program standalone with a large file&lt;BR /&gt;Check your exec with a dummy small C program&lt;BR /&gt;Check the return of your exec call&lt;BR /&gt;&lt;BR /&gt;Then please update this thread!&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Aug 2006 09:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848930#M98041</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-23T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: java hangs while running unix native executable..pls help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848931#M98042</link>
      <description>Dear peter,&lt;BR /&gt;&lt;BR /&gt; Thanks for the replay..&lt;BR /&gt;&lt;BR /&gt;I have tested the things as u told&lt;BR /&gt; &lt;BR /&gt;1)exe as stand alone working fine for big and small files&lt;BR /&gt;&lt;BR /&gt;2)When i tried to execute executable from java for small input files it works fine&lt;BR /&gt;&lt;BR /&gt;problem occurs when while i am calling from java only..it hangs after processing almost 700 lines of file..&lt;BR /&gt;&lt;BR /&gt;my java version installed in hpux is&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.02-040225-17:20)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.02-040225-19:18-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)&lt;BR /&gt;&lt;BR /&gt;Hp unix version is 11.11&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;Aneesh A</description>
      <pubDate>Wed, 23 Aug 2006 10:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848931#M98042</guid>
      <dc:creator>aneesha</dc:creator>
      <dc:date>2006-08-23T10:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: java hangs while running unix native executable..pls help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848932#M98043</link>
      <description>Hi,&lt;BR /&gt;if the code is being executed ok for 700 lines, in my mind, there are two possible problems:&lt;BR /&gt;1. Data problem (unlikely, as the standalone works)&lt;BR /&gt;2. Resource issues&lt;BR /&gt;&lt;BR /&gt;So have you checked all your log files.&lt;BR /&gt;&lt;BR /&gt;Please also see:&lt;BR /&gt;&lt;A href="http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html" target="_blank"&gt;http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;search for "JAGaf70925" in &lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/sdkrte14/infolibrary/sdk_rnotes_1.4.2.10.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/sdkrte14/infolibrary/sdk_rnotes_1.4.2.10.html&lt;/A&gt;</description>
      <pubDate>Wed, 23 Aug 2006 10:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848932#M98043</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-23T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: java hangs while running unix native executable..pls help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848933#M98044</link>
      <description>Dear peter,&lt;BR /&gt;&lt;BR /&gt; Thanks man &lt;BR /&gt;&lt;BR /&gt;will analyse as per ur links and i will update the thread&lt;BR /&gt;&lt;BR /&gt;Cheers ,&lt;BR /&gt;Aneesh A</description>
      <pubDate>Wed, 23 Aug 2006 10:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-hangs-while-running-unix-native-executable-pls-help/m-p/3848933#M98044</guid>
      <dc:creator>aneesha</dc:creator>
      <dc:date>2006-08-23T10:32:17Z</dc:date>
    </item>
  </channel>
</rss>

