Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Java 6 and JMX problem on OpenVMS I64

Regular Advisor

Java 6 and JMX problem on OpenVMS I64

Hi,

I have a java appliaction that is running OK with java 1.5 but when I start it with java 6 I get this dump.
What should I do to get it running under Java 6?
This application is using JMX with these startup parameters:

"-Dcom.sun.management.jmxremote.port=1112" -
"-Dcom.sun.management.jmxremote.authenticate=false" -
"-Dcom.sun.management.jmxremote.ssl=false"

Error occurred during initialization of VM
java.lang.InternalError
: Mismatched VM version: JVM_InitAgentProperties not found

at sun.misc.VMSupport.initAgentProperties(Native Method)
at sun.misc.VMSupport.getAgentProperties(VMSupport.java:29)
at sun.management.Agent.startAgent(Agent.java:130)
at sun.management.Agent.startAgent(Agent.java:239)

/Toine
9 REPLIES
Respected Contributor Respected Contributor

Re: Java 6 and JMX problem on OpenVMS I64

To set up up your Java environment, use the following command:

$ @SYS$COMMON:[JAVA$60.COM]JAVA$60_SETUP ! Use the HotSpot VM

Note: The option UsePerfData is set to false by default. If you need to use JMX and JMM APIs, please specify -XX:+UsePerfData on the command line when invoking the Java application.

Rick
- Rick Retterer



Regular Advisor

Re: Java 6 and JMX problem on OpenVMS I64

Hi,

I have setup the java environment in the correct way but it looks like JMX is not yet supported in JAVA6 on OpenVMS

/Toine
Regular Advisor

Re: Java 6 and JMX problem on OpenVMS I64

Hi,

Today I got a new JAVA$HOTSPOT_SHR.EXE from HP that solved the JAVA 6 (JMX) bug in the first release of JAVA 6.

I will test it and come back with the results.

/Toine
Regular Advisor

Re: Java 6 and JMX problem on OpenVMS I64

Hi,

The new java image solved the JAVA (JMX) problem.

$ ana/image SYS$COMMON:[JAVA$60.JRE.LIB.IA64.HOTSPOT]JAVA$HOTSPOT_SHR.EXE/inter

Image name: "JAVA$JVM_SHR"
Global Symbol Table name: "java$jvm_shr"
Image file identification: "JAVA 6.0-015"
Link identification: "Linker I02-31"
Link Date/Time: 9-NOV-2009 20:16:05.12

/Toine
Regular Advisor

Re: Java 6 and JMX problem on OpenVMS I64

Closed

Re: Java 6 and JMX problem on OpenVMS I64

How do I get the latest JAVA$HOTSPOT_SHR.exe for OpenVMS IA64 that fixes the JMX problem?
Where did you find?
Regular Advisor

Re: Java 6 and JMX problem on OpenVMS I64

Hi Vince,

I reported this problem to HP and got a fix for java$hotspot_shr.exe.

This fix will be included in the next path kit for Java 6. I think it will be released the coming month.

/Toine

Re: Java 6 and JMX problem on OpenVMS I64

Hi Toine,
OK. Thanks.
When you originally reported the problem to HP, did you use the Support Case Manager (software case) through the IT Resource Center? How long did it take between reporting and receiving a new exe?
Vince
Highlighted
Regular Advisor

Re: Java 6 and JMX problem on OpenVMS I64

Vince,

I reported the problem via Support Case Manager and it was solved two weeks later.
Before it was escalated to Java engineering we had to make a good java-jmx problem case.

/Toine