Synopsis
Sometimes, the FlexNet Code Insight application can appear to hang or become unresponsive. The initial approach to debugging this situation is usually to generate a thread dump to see where the process currently is in the Java call stack.
Discussion
Process on Linux
Option 1: jstack
- The jstack utility comes with the JDK and is located in the bin folder inside the JDK home directory. We recommend using the JDK with the same version as the Java process running Tomcat for compatibility. The JDK archive downloads can be found here.
-
Find the Process ID (PID) of the Java process running FNCI using one of the following methods
- i.
jps(this can be run from$JAVA_HOME/bin/if it is not in your path)- This might return a process called "Bootstrap" with an associated process ID.
- ii.
ps aucx | grep java- This might return a process called "java" with an associated process ID.
- iii.
ps -ef | grep palamida- This is useful if you have multiple Java processes running and need to verify which one is the FNCI process. Check for the path of your FNCI installation in the output.
- i.
- Use
jstackto generate the Java stack trace to an outfile.- i. Run the command:
$JAVA_HOME/bin/jstack, pass it the Java process ID, and direct it to an outfile:
- i. Run the command:
Take three of these thread dumps, about a minute or two apart each, so that the outputs can be compared for differences.
Alternatively, you can use the kill -3 command with the process ID to send the thread dump to the $FNCI/tomcat/logs/catalina.out file instead.
Process on Windows
The process on Windows, when running Tomcat interactively (i.e., not as a Windows service) is very similar to the above. Find Tomcat's Java process ID using Task Manager, then from the CMD line, run %JAVA_HOME%\bin\jstack with the process ID as the argument and redirecting to an outfile (same as Linux).
However, if running Tomcat on Windows as a service, the process is a bit more involved, so please contact support for the full set of instructions.
Related Articles
Generate FlexNet Code Insight Report When Nothing Happens 3Number of Views Prevent My FlexNet Code Insight Scan from Hanging 4Number of Views Is there Support for .MSI file Scanning in FlexNet Code Insight 3Number of Views FlexNet Code Insight supported programming languages 3Number of Views FlexNet Code Insight support for Ubuntu 17.04 and 17.10 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago