JRockit 1.4.2_05 - jrockit.license.LicenseException (Doc ID 776676.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 1.4.2_05
Information in this document applies to any platform

Goal

Customer is using JRockit 1.4.2_05, which has Memory leak Detection as a part of WLS 8.1 SP4. 
However, on the MemLeak Detector tab, when clicked on Enable memleak system, customer encountered an exception in the
WebLogic debugger console:

jrockit.license.LicenseException: java.lang.reflect.InvocationTargetException
        at jrockit.memleak.MemLeakFactory.createMemLeakDetector()Ljrockit.memleak.MemoryLeakDetector;(Unknown Source)
        at jrockit.memleak.MemLeakFactory.getInstance()Ljrockit.memleak.MemoryLeakDetector;(Unknown Source)
        at
com.jrockit.management.rmp.RmpQueries$5.doCommand(Lcom.jrockit.management.rmp.RmpServer;Ljava.lang.String;)Z(RmpQueries
.java:184)
        at
com.jrockit.management.rmp.RmpQueries.executeRmpCommand(Lcom.jrockit.common.rmp.RmpPacket;Lcom.jrockit.management.rmp.R
mpServer;)Ljava.lang.Boolean;(RmpQueries.java:1127)
        at com.jrockit.management.rmp.RmpServer.handleCommand(Lcom.jrockit.common.rmp.RmpPacket;)V(RmpServer.java:324)
        at com.jrockit.management.rmp.RmpServer.runConnectionLoop()V(RmpServer.java:356)
        at com.jrockit.management.rmp.RmpServer.run()V(RmpServer.java:163)
        at java.lang.Thread.run()V(Unknown Source)
        at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
        at
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;
(Unknown Source)
        at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
        at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        ... 9 more
Caused by: jrockit.license.LicenseException: jrockit.license.LicenseException: License not valid: license has expired
        at jrockit.license.LicenseManager.initialize0([Ljava.lang.String;)V(Unknown Source)
        at jrockit.license.LicenseManager.initialize()V(Unknown Source)
        at jrockit.memleak.MemLeak.getInstance()Ljrockit.memleak.MemLeak;(Unknown Source)
        ... 12 more
Caused by: jrockit.license.LicenseException: License not valid: license has expired
        ... 15 more

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms