[JAVA] Steps to Use JConsole in Cognos Analytics

Steps to Use JConsole in Cognos Analytics

I'll post the steps to use JConsole in Cognos Analytics instead of a memo. It is useful for seeing the amount of memory used by the Java process in Cognos, CPU, GC occurrence status, number of threads, and so on.

The information on the manual is here. Using logging to diagnose a problem for a specific user https://www.ibm.com/support/knowledgecenter/SSEP7J_11.1.0/com.ibm.swg.ba.cognos.ug_cra.doc/t_disableipfuser.html#DisableIPFUser

Basically, the explanation can be done from a remote PC, but when I actually tried it, I could only see some information, so I followed the procedure below on the Cognos server. The environment is Cognos Analytics 11.1.3 @ Redhat 7.

** Cognos Configuration Settings ** Start Cognos Configuration, specify the "External JMX Port" in the red frame as an arbitrary value, specify the user ID and password as arbitrary in "External JMX Credentials", and restart Cognos after saving. 012.PNG

** Introducing IBM Java SDK 8 ** Download JDK 8 from here and install it on your Cognos server node. https://developer.ibm.com/javasdk/downloads/sdk8/

** Launch JConsole ** Start JConsole with the following command. 008.PNG

** Connect to process ** When connecting as a remote process, I could only see the information on the "Mbeans" tab in the image below, so specify "Local Process" and select either of the red frames as the process. dataset-service = Query Service process cognosserver = WebSphere Liberty body of Cognos 009.PNG

With "unstable connection". 011.PNG

** Introduction of each tab ** Overview tab 001.PNG

Memory tab 002.PNG

Thread Count tab 003.PNG

"Class" tab 004.PNG

VM Summary tab 005.PNG

MBeans tab 006.PNG

I think it may be useful somewhere, so please remember it.

Recommended Posts

Steps to Use JConsole in Cognos Analytics
How to use Lombok in Spring
How to use InjectorHolder in OpenAM
Steps to install Maven on Mac and use it in Eclipse
Multilingual Locale in Java How to use Locale
How to use custom helpers in rails
How to use named volume in docker-compose.yml
How to use Docker in VSCode DevContainer
How to use MySQL in Rails tutorial
Steps to set a favicon in Rails
I want to use @Autowired in Servlet
Understand in 5 minutes !! How to use Docker
How to use credentials.yml.enc introduced in Rails 5.2
How to use ExpandableListView in Android Studio
I want to use arrow notation in Ruby
[Rails] How to use select boxes in Ransack
How to use "sign_in" in integration test (RSpec)
How to use JQuery in js.erb of Rails6
[Rails] How to use PostgreSQL in Vagrant environment
I want to use Combine in UIKit as well.
[Ruby] How to use standard output in conditional branching
I want to use Clojure's convenient functions in Kotlin
Use Extend (Concerns) in Rails to standardize Controller processing.
I want to use fish shell in Laradock too! !!
How to use Z3 library in Scala with Eclipse
I want to use ES2015 in Java too! → (´ ・ ω ・ `)
I want to use a little icon in Rails
Understand how to use Swift's JSON Decoder in 3 minutes
How to use CommandLineRunner in Spring Batch of Spring Boot
How to use JDD library in Scala with Eclipse
[Swift] Use UserDefaults to save data in the app
How to use In-Memory Job repository in Spring Batch
Beginners use ubuntu in windows to prepare rails environment
Notes on how to use regular expressions in Java
How to use Map
Steps to deploy to Heroku
How to use rbenv
Use java.time in Jackson
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use collection_select
PATH to use docker-slim
Steps to deploy Struts 2.5.8
To debug in eclipse
How to use Twitter4J
Use Interceptor in Spring
How to use active_hash! !!
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
Use OpenCV in Java
[How to use label]
How to use identity
How to use hashes
Use images in Rails
Use PostgreSQL in Scala
How to use Dozer.mapper
How to use Gradle
Use PreparedStatement in Java