Shawn_Moore

Title: CA Clarity Tuesday Tip: Clarity Logs and Service Startups

Discussion created by Shawn_Moore Employee on Oct 17, 2011
Latest reply on Oct 18, 2011 by Chris_Hackett
Title: CA Clarity Tuesday Tip: Clarity Logs and the Service Startup

CA Clarity Tuesday Tip by Shawn Moore, Sr. Principal Support Engineer for 10/18/2011

The Clarity app-niku and bg-niku logs show some valuable information when the services start up. Any time you are looking through these logs and you want to find out when the services restart, simply search for the word, "Starting" or "Initializing" both words are found in the bg and app start up sequence.

Once you find this block, you will see a number of useful items in both app and bg logs. Here are the start up messages.

App Startup

Clarity 12.0.6.5471 initializing...
JDBC Driver vendor : DataDirect
JDBC Driver name : Oracle
JDBC Driver version : 3.70.24 (029619.012904.019214)
DB product name : Oracle
DB product version : 10.2.0.5.0
DB user : SHAWNDBUSER
Starting Cache Messenger...
Initializing: wmd-init...
Initializing: odf.init...
Initializing: bpm...
Initializing Event Manager on server instance: app
Broadcasting application service startup signal...
Starting Message Receiver on Event Manager
none:none) Registering event interests...
Initializing: bpm-validation...
Initializing: njs...
Initializing: schedulers.init...
Initializing: pma.init...
Initializing: itl.init...
Clarity 12.0.6.5471 ready.

Bg startup

Starting Cache Messenger...
Initializing Event Manager on server instance: bg
Starting Process Engine on server instance: bg
Process Engine Name: bg-app10426
Starting Message Receiver on Event Manager
Registering event interests...
Clarity 12.0.6.5471 Job Scheduler bg@app10426 initializing...
Clarity 12.0.6.5471 Job Scheduler bg@app10426 initialized

Here are some great items you can derive from these start up blocks:

[list]
[*]The app-niku log shows the JDBC vendor and version. (This should be the DataDirect driver. Websphere and Weblogic sites should pay close attention to this as sometimes the admin's will use the vendor's driver rather than the DataDirect driver.)
[*]Both logs show the Clarity version.
[*]The app-niku log shows the Database version and vendor.
[*]Both logs can report whether or not the job scheduler or the process engine is initialized on that instance.
[list]

I hope this helps you. I used this technique on a case last week where the JDBC driver was incorrect and the logs showed me the driver vendor and version, which saved us quite a bit of time.

-shawn

Outcomes