Forum Stats

  • 3,853,595 Users
  • 2,264,243 Discussions
  • 7,905,405 Comments

Discussions

Java Applications not shown in jvisualvm

jeff_gaer
jeff_gaer Member Posts: 1

When invoking jvisualvm I do no see any running java applications under local except jvisualvm. As a simple test I created a java class that simply looped once a minute in the main method and output the loop count. I made sure that it was started using the same jdk as jvisualvm was run with. I then started jvisualvm and only saw the jvisual vm process.

<span class="pln">[email protected]_</span><span class="pun">/</span><span class="pln">data</span><span class="pun">/</span><span class="pln">R5</span><span class="pun">.</span><span class="lit">1</span><span class="pun">/</span><span class="typ">Test</span><span class="pun">/</span><span class="pln">src</span><span class="pun">:</span><span class="pln"> which java<br/></span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">java</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">/</span><span class="pln">bin</span><span class="pun">/</span><span class="pln">java<br/>[email protected]_</span><span class="pun">/</span><span class="pln">data</span><span class="pun">/</span><span class="pln">R5</span><span class="pun">.</span><span class="lit">1</span><span class="pun">/</span><span class="typ">Test</span><span class="pun">/</span><span class="pln">src</span><span class="pun">:</span><span class="pln"> java </span><span class="pun">-</span><span class="pln">cp </span><span class="pun">.</span><span class="pln"> </span><span class="typ">Test2</span><span class="pln"><br/>loop </span><span class="lit">0</span><span class="pln"> </span><span class="pun">....</span><span class="pln"><br/><br/>[email protected]_</span><span class="pun">~/</span><span class="pln">jvvm</span><span class="pun">:</span><span class="pln"> which jvisualvm<br/></span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">java</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">/</span><span class="pln">bin</span><span class="pun">/</span><span class="pln">jvisualvm<br/>[email protected]_</span><span class="pun">~/</span><span class="pln">jvvm</span><span class="pun">:</span><span class="pln"> jvisualvm </span><span class="pun">--</span><span class="pln">jdkhome </span><span class="str">"/usr/java/default"</span><span class="pln"> </span><span class="pun">--</span><span class="pln">userdir </span><span class="pun">`</span><span class="pln">pwd</span><span class="pun">`</span>


There are no exeptions to the console or in the messages.log file.

The top of the log shows

<span class="pun">></span><span class="typ">Log</span><span class="pln"> </span><span class="typ">Session</span><span class="pun">:</span><span class="pln"> </span><span class="typ">Wednesday</span><span class="pun">,</span><span class="pln"> </span><span class="typ">February</span><span class="pln"> </span><span class="lit">11</span><span class="pun">,</span><span class="pln"> </span><span class="lit">2015</span><span class="pln"> </span><span class="lit">9</span><span class="pun">:</span><span class="lit">30</span><span class="pun">:</span><span class="lit">38</span><span class="pln"> AM CST </span><span class="pun">></span><span class="typ">System</span><span class="pln"> </span><span class="typ">Info</span><span class="pun">:</span><span class="pln"> </span><span class="typ">Product</span><span class="pln"> </span><span class="typ">Version</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Java</span><span class="pln"> </span><span class="typ">VisualVM</span><span class="pln"> </span><span class="typ">Operating</span><span class="pln"> </span><span class="typ">System</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Linux</span><span class="pln"> version </span><span class="lit">2.6</span><span class="pun">.</span><span class="lit">18</span><span class="pun">-</span><span class="lit">274.el5</span><span class="pln"> running on i386 </span><span class="typ">Java</span><span class="pun">;</span><span class="pln"> VM</span><span class="pun">;</span><span class="pln"> </span><span class="typ">Vendor</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="lit">1.7</span><span class="pun">.</span><span class="lit">0_67</span><span class="pun">;</span><span class="pln"> </span><span class="typ">Java</span><span class="pln"> </span><span class="typ">HotSpot</span><span class="pun">(</span><span class="pln">TM</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Client</span><span class="pln"> VM </span><span class="lit">24.65</span><span class="pun">-</span><span class="pln">b04</span><span class="pun">;</span><span class="pln"> </span><span class="typ">Oracle</span><span class="pln"> </span><span class="typ">Corporation</span><span class="pln"> </span><span class="typ">Runtime</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Java</span><span class="pun">(</span><span class="pln">TM</span><span class="pun">)</span><span class="pln"> SE </span><span class="typ">Runtime</span><span class="pln"> </span><span class="typ">Environment</span><span class="pln"> </span><span class="lit">1.7</span><span class="pun">.</span><span class="lit">0_67</span><span class="pun">-</span><span class="pln">b01 </span><span class="typ">Java</span><span class="pln"> </span><span class="typ">Home</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">java</span><span class="pun">/</span><span class="pln">jdk1</span><span class="pun">.</span><span class="lit">7.0</span><span class="pln">_67</span><span class="pun">/</span><span class="pln">jre </span><span class="typ">System</span><span class="pln"> </span><span class="typ">Locale</span><span class="pun">;</span><span class="pln"> </span><span class="typ">Encoding</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> en_US </span><span class="pun">(</span><span class="pln">visualvm</span><span class="pun">);</span><span class="pln"> UTF</span><span class="pun">-</span><span class="lit">8</span><span class="pln"> </span><span class="typ">Home</span><span class="pln"> </span><span class="typ">Directory</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">home</span><span class="pun">/</span><span class="pln">jgaer </span><span class="typ">Current</span><span class="pln"> </span><span class="typ">Directory</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">home</span><span class="pun">/</span><span class="pln">jgaer</span><span class="pun">/</span><span class="pln">jvvm </span><span class="typ">User</span><span class="pln"> </span><span class="typ">Directory</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">home</span><span class="pun">/</span><span class="pln">jgaer</span><span class="pun">/</span><span class="pln">jvvm </span><span class="typ">Cache</span><span class="pln"> </span><span class="typ">Directory</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">home</span><span class="pun">/</span><span class="pln">jgaer</span><span class="pun">/</span><span class="pln">jvvm</span><span class="pun">/</span><span class="pln">var</span><span class="pun">/</span><span class="pln">cache </span><span class="typ">Installation</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">java</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">visualvm</span><span class="pun">/</span><span class="pln">visualvm </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">java</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">visualvm</span><span class="pun">/</span><span class="pln">profiler </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">java</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">visualvm</span><span class="pun">/</span><span class="pln">platform</span>
This discussion has been closed.