For a tool like jvisualvm to show PAM threads, you must perform the following steps:
Add the following at the end of c2osvcw.conf file, so we can monitor the threads and memory. (c2osvcw.conf is located in the PAM install directory under server\c2o\bin)
wrapper.java.additional.14=-Dcom.sun.management.jmxremote
wrapper.java.additional.15=-Dcom.sun.management.jmxremote.port=40001
wrapper.java.additional.16=-Dcom.sun.management.jmxremote.ssl=false
wrapper.java.additional.17=-Dcom.sun.management.jmxremote.authenticate=false
Note: the numbers (14, 15, 16, 17) should be consecutive to what you already have in the file.
Save the file and restart the orchestrator.
On the ITPAM server, go to a command prompt and type JVisualVM. If it returns an error that it can't be found, you may need to browse to the directory where it is located. It is under your JDK install folder and in the bin directory.
It may prompt you for some callibration which is fine. Click ok to go through that.
Once you are in the tool, go to the File menu. Select-> Add JMX Connection and add the JMX Connection for hostname:port which would be your hostname for ITPAM and the port 40001 which we added to the conf file above.
Once you have done this you will see your server name listed on the left screen. Double click that to see details on threads and memory.