Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

VisualVM - not supported JVM

985823Oct 22 2015 — edited Oct 22 2015

Hi there

I am trying to use VisualVM 1.3.8 to monitor a Java application which is running on JRockit

and the CPU show "not supported for this JVM" and sample are all disabled.

I have read through other discussion page, and I am not quite sure if this because VisualVM is on the JDK1.8 and

my application is on Jrockit VM. If that is the case, I think I have give up VisualVM since most of our oracle products are

based on Jrockit, like hyperion.

Anyone could confirm this?

Thanks

PS: overview copied from VisualVM.

Visual VM

---------------------------------------------------------------------

JVM: Java HotSpot(TM) 64-Bit Server VM (25.66-b17, mixed mode)

Java: version 1.8.0_66, vendor Oracle Corporation

Java Home: C:\Program Files\Java\jdk1.8.0_66\jre

JVM Flags: <none>

My Java application:

---------------------------------------------------------------------

JVM: Oracle JRockit(R) (R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-x86_64, compiled mode)

Java: version R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-x86_64, vendor Oracle Corporation

Java Home: D:\Oracle\MIDDLE~1\JROCKI~1\jre

JVM Flags: <none>

Comments

mNem

Works for me on 18.3... and https://livesql.oracle.com.

SQL> select banner_full from v$version
  2  /

BANNER_FULL
--------------------------------------------------------------------------------
Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
Version 18.3.0.0.0

SQL> ed
Wrote file afiedt.buf

  1  WITH testdata(xmlfile) AS
  2  (
  3  SELECT xmltype(
  4  '<pubDat>
  5        <bNumber>string</bNumber>
  6        <fld>string</fld>
  7        <dbInstance>string</dbInstance>
  8  </pubDat>')
  9  FROM dual)
10  SELECT
11  XMLQUERY(
12      'copy $tmp := .
13       modify replace value of node $tmp/pubDat/bNumber with "test"
14       return $tmp
15      '
16  PASSING xmlfile RETURNING CONTENT
17  ) newxml
18* FROM testdata
SQL> /

NEWXML
--------------------------------------------------------------------------------
<pubDat>
  <bNumber>test</bNumber>
  <fld>string</fld>
  <dbInstance>string</dbInstance>
</pubDat>

_jum

Both queries work fine for me too with Oracle Database 12c Standard Edition Release 12.1.0.2.0.

CarstenDD

Hello mNem,

thanks for your test and telling me where you did it. After trying different things I found out that my problem has to do with the usage of SQL-Detective as SQL-tool.

Regards Carsten

CarstenDD

Hello _jum,

thanks for your test and telling me where you did it. After trying different things I found out that my problem has to do with the usage of SQL-Detective as SQL-tool.

Regards Carsten

CarstenDD
Answer

Hello all,

the reason for the error is the usage of SQL-Detective which seems to send some strange data to the Oracle-DB. After using SQL-Developer everythings works fine. Thanks for the tester to give me the idea to change my SQL-Tool.

Regards Carsten

Marked as Answer by CarstenDD · Sep 27 2020
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 19 2015
Added on Oct 22 2015
1 comment
4,235 views