<?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 Re: Using stack size and remote debugger with java 1.4 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249457#M714763</link>
    <description>That example using java_q3p directly is missing the same -Xrunjdwp options that started this discussion. :-)&lt;BR /&gt;&lt;BR /&gt;  You would obviously want to include the full -Xrunjdwp argument-&lt;BR /&gt;&lt;BR /&gt;    -Xrunjdwp:transport=dt_socket&lt;BR /&gt;,address=8787,server=y,suspend=n</description>
    <pubDate>Thu, 15 Apr 2004 14:33:44 GMT</pubDate>
    <dc:creator>Mike Stroyan</dc:creator>
    <dc:date>2004-04-15T14:33:44Z</dc:date>
    <item>
      <title>Using stack size and remote debugger with java 1.4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249455#M714761</link>
      <description>I am trying to start up java 1.4.2.00 specifying my initial and max heap sizes along with using remote debuging.  I can start java with either the -Xms and -Xmx options or the -Xrundwp option fine.  When I try to use both, I get a message about no transport identified and the jvm stops.&lt;BR /&gt;java -server -Xms64m -Xmx2048m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket&lt;BR /&gt;,address=8787,server=y,suspend=n&lt;BR /&gt;&lt;BR /&gt;Produces the following error:&lt;BR /&gt;&lt;BR /&gt;ERROR: No transport specified.&lt;BR /&gt;Invalid JDWP options: &lt;BR /&gt;Error occurred during initialization of VM&lt;BR /&gt;-Xrun library failed to init: jdwp&lt;BR /&gt;&lt;BR /&gt;How can one set the heap size and still use remote debugging?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2004 11:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249455#M714761</guid>
      <dc:creator>Chris Atkins_1</dc:creator>
      <dc:date>2004-04-15T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using stack size and remote debugger with java 1.4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249456#M714762</link>
      <description>The problem seems to be that java drops the part of -Xrunjdwp after the :.  It happens when the java program decides to exec the java_q3p version to ensure that it can access more than 1500m of data.&lt;BR /&gt;&lt;BR /&gt;  The simple workaround is to use an -Xmx size under 1500.  If you need to use more than 1500m of heap, you may be able to invoke java with -d64 to use the 64 bit version.  That doesn't have the problem with -Xrunjdwp.  It would require 64-bit versions of any JNI libraries that you use.&lt;BR /&gt;&lt;BR /&gt;Another possibility would be to invoke the 32-bit java_q3p program directly.  You would need to set environment variables that normally are set by the java program.  In particular, you would need to set SHLIB_PATH.  Here is one example invocation-&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH=/opt/java1.4/jre/lib/PA_RISC2.0:/opt/java1.4/jre/lib/PA_RISC2.0/server:/opt/java1.4/jre/../lib/PA_RISC2.0 /opt/java1.4/bin/PA_RISC2.0/java_q3p -server -Xms64m -Xmx2048m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp</description>
      <pubDate>Thu, 15 Apr 2004 14:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249456#M714762</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-04-15T14:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using stack size and remote debugger with java 1.4</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249457#M714763</link>
      <description>That example using java_q3p directly is missing the same -Xrunjdwp options that started this discussion. :-)&lt;BR /&gt;&lt;BR /&gt;  You would obviously want to include the full -Xrunjdwp argument-&lt;BR /&gt;&lt;BR /&gt;    -Xrunjdwp:transport=dt_socket&lt;BR /&gt;,address=8787,server=y,suspend=n</description>
      <pubDate>Thu, 15 Apr 2004 14:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stack-size-and-remote-debugger-with-java-1-4/m-p/3249457#M714763</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-04-15T14:33:44Z</dc:date>
    </item>
  </channel>
</rss>

