Products | Versions |
---|---|
TIBCO Hawk Rendezvous Messaging Adapter | - |
Not Applicable | - |
Description:
Symptoms
=========
Hawk RVHma 4.0 version running as service in Windows will cause high CPU usage (close to 100% in single CPU system)
Impact
======
Loss of functionality; impact other applications running on the system
Workaround
===========
Solution is available, please refer to the resolution section below.
Cause
======
The problem is that the "JVM 1.1 Options" and "JVM 2 Options" registry entries
created by the RVHMA install program are incorrect.
Resolution
=========
The problem is that the "JVM 1.1 Options" and "JVM 2 Options" registry entries
created by the RVHMA install program are incorrect. The values created are:
JVM 1.1 Options
-Dhawk.hawk_root=C:\TIBCO\hawk
C:\TIBCO\hawk\adapters\rvhma\java\ami.jar;C:\TIBCO\hawk\adapters\rvhma\jav
a\amiloader.jar -ms2m -mx12m
JVM 2 Options
-Dhawk.hawk_root=C:\TIBCO\hawk
C:\TIBCO\hawk\adapters\rvhma\java\ami.jar;C:\TIBCO\hawk\adapters\rvhma\jav
a\amiloader.jar -Xms2m -Xmx12m
they should be:
JVM 1.1 Options
-Dhawk.hawk_root=C:\TIBCO\hawk -ms2m -mx12m
JVM 2 Options
-Dhawk.hawk_root=C:\TIBCO\hawk -Xms2m -Xmx12m
The C:\TIBCO\hawk\adapters\rvhma\java\ami.jar;C:\TIBCO\hawk\adapters\rvhma\java\amiloader.jar needs to be removed. If you edit these values with regedt32.exe (which allows editing of REG_MULTI_SZ strings) you can delete
this line and the problem will be fixed.
These registry values are in:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TIBHawkRVHma\Parameters
Each string in the REG_MULTI_SZ is on a separate line. Just delete the line described above.
For example change this:
-Dhawk.hawk_root=C:\TIBCO\hawk
C:\TIBCO\hawk\adapters\rvhma\java\ami.jar;C:\TIBCO\hawk\adapters\rvhma\jav
a\amiloader.jar
-ms2m
-mx12m
to this:
-Dhawk.hawk_root=C:\TIBCO\hawk
-ms2m
-mx12m
Symptoms:
Cause: