Re: Java 6 and JMX problem on OpenVMS I64 (326 Views)
Reply
Regular Advisor
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 1 of 10 (327 Views)

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
Respected Contributor
Rick Retterer
Posts: 156
Registered: ‎04-30-2003
Message 2 of 10 (326 Views)

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
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 3 of 10 (326 Views)

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
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 4 of 10 (326 Views)

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
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 5 of 10 (326 Views)

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
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 6 of 10 (326 Views)

Re: Java 6 and JMX problem on OpenVMS I64

Closed
Advisor
Vince M. Kostoff
Posts: 21
Registered: ‎01-25-2005
Message 7 of 10 (326 Views)

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
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 8 of 10 (326 Views)

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
Advisor
Vince M. Kostoff
Posts: 21
Registered: ‎01-25-2005
Message 9 of 10 (326 Views)

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
Regular Advisor
Toine_1
Posts: 106
Registered: ‎07-12-2009
Message 10 of 10 (326 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.