Skip to main content
12-Amethyst
April 24, 2023
Solved

Tibco HawkRandomAccessFile.dll starts with problems

  • April 24, 2023
  • 3 replies
  • 3144 views

I'm getting some log errors when start Tibco's services. 

The log files says that can't find dependent libraries, but don´t show the ones, at least the names.

 

 

 

 

2023 Apr 18 17:42:39:521 GMT -03:00 HawkAgent.JACVMQASESI02 Error [Application] HWKXXX-000010 E:\ptc\esi_12.0\tibco\hawk\6.2\bin\HawkRandomAccessFile.dll: Can't find dependent libraries
2023 Apr 18 17:42:39:522 GMT -03:00 HawkAgent.JACVMQASESI02 Error [Application] HWKXXX-000018 In LFMicroAgent exception from scan thread: java.lang.UnsatisfiedLinkError: E:\ptc\esi_12.0\tibco\hawk\6.2\bin\HawkRandomAccessFile.dll: Can't find dependent libraries
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:827)
at java.base/java.lang.System.loadLibrary(System.java:1871)
at COM.TIBCO.hawk.agent.logfilema.HawkRandomAccessFile.<clinit>(HawkRandomAccessFile.java:71)
at COM.TIBCO.hawk.microagent.logfilema.LFStream.<init>(LFStream.java:41)
at COM.TIBCO.hawk.microagent.logfilema.LFMonitor.initializeStream(LFMonitor.java:110)
at COM.TIBCO.hawk.microagent.logfilema.LFMonitor.initialize(LFMonitor.java:104)
at COM.TIBCO.hawk.microagent.logfilema.LFMonitor.getData(LFMonitor.java:156)
at COM.TIBCO.hawk.microagent.logfilema.LFMicroAgent$ScanThread.run(LFMicroAgent.java:524)

 

 

 

 


This cause a problems on start or stop services, that can´t be automatized and necessary someone solved manually.

Plus, there a lot of services stayed locked on memory, and need to be killed manually.


P.S.: Apparently doesn't chash the working, but fill the server´s memory with stucked aplications repeteadly.

 

 

 

 

 

 

Best answer by FabioValente

I found it a solution!

Problem solved with this post from Tibco Support page
https://support.tibco.com/s/article/Failed-to-start-hma-in-windows-server-2016-and-2019


From about 20 days ago (!)

Thank you all!

3 replies

24-Ruby III
April 25, 2023

Found a similar issue - "Unable to start TIBCO Administrator process with error: Startup error: java.lang.UnsatisfiedLinkError: <TIBCO home>\tibjre64\xx\bin\awt.dll: Can't find dependent libraries in Windchill Enterprise Systems Integration 12.0": https://www.ptc.com/en/support/article/CS369011

12-Amethyst
April 25, 2023

Thank you Vladimir, we'll try this suggestion.

14-Alexandrite
April 25, 2023

Have you checked what hawk.log file is saying?

Are there out of memory errors, such as: 'java.lang.OutOfMemoryError: Java heap space'?

12-Amethyst
April 25, 2023

Yes, i'm checked and couldn't found more information. There's not OutOfMemory or some like this, i make a search on hawk.log, hawk1... until the last one hawk5.log.

 

Pasting a litle part of the hawk.log text:

 

2023 Apr 25 01:24:40:133 GMT -03:00 HawkAgent.JACVMQASESI02 Info [Application] HWKXXX-000015 In LFMicroAgent: ScanThread started...
2023 Apr 25 01:24:50:135 GMT -03:00 HawkAgent.JACVMQASESI02 Error [Application] HWKXXX-000010 Could not initialize class COM.TIBCO.hawk.agent.logfilema.HawkRandomAccessFile
2023 Apr 25 01:24:50:135 GMT -03:00 HawkAgent.JACVMQASESI02 Error [Application] HWKXXX-000018 In LFMicroAgent exception from scan thread: java.lang.NoClassDefFoundError: Could not initialize class COM.TIBCO.hawk.agent.logfilema.HawkRandomAccessFile
at COM.TIBCO.hawk.microagent.logfilema.LFStream.<init>(LFStream.java:41)
at COM.TIBCO.hawk.microagent.logfilema.LFMonitor.initializeStream(LFMonitor.java:110)
at COM.TIBCO.hawk.microagent.logfilema.LFMonitor.initialize(LFMonitor.java:104)
at COM.TIBCO.hawk.microagent.logfilema.LFMonitor.getData(LFMonitor.java:156)
at COM.TIBCO.hawk.microagent.logfilema.LFMicroAgent$ScanThread.run(LFMicroAgent.java:524)

 

Thank you.

14-Alexandrite
April 26, 2023

You can run  HawkAgent in debug mode by setting parameter -log_level in hawkagent.cfg to 8. See if it gives more information.

FabioValente12-AmethystAuthorAnswer
12-Amethyst
April 26, 2023

I found it a solution!

Problem solved with this post from Tibco Support page
https://support.tibco.com/s/article/Failed-to-start-hma-in-windows-server-2016-and-2019


From about 20 days ago (!)

Thank you all!