Thursday, December 16, 2010

Tomcat Monitoring : Applications Deployment

Applications Deployment

Lambda Probe first tab is “Applications” which shows all the apps. Deployed on Tomcat server. We deploy that application as “Root.war” whose context root we want it to be “/”.
So, you see AluiPortlets and PortalTools are deployed that way so that we do not have to change URL’s throughout the OnRamp.

You can check any application details by clicking on it and get detailed info. About that app.

DataSources

Next tab you can check “DataSources” and by clicking on datasource name the details can be viewed and also can be tested.

In next tab “Deployments” the application deployments can be maintained.

Logs
Next tab “logs” you can see various log files related to Tomcat server, but for the application related logs like “portaltools.log” or “AluiPortlets.log” you still have to goto “log” folder under root tomcat server folder to analyze the same.

Memory Usage

Other important tab is “System Information”, which gives info. About tomcat server. In the “Overview” section and also It gives details about memory usage by tomcat and if required, then forceful garbage collection can also be done at this tab.

If you go to “Memory Utilization” section then more details are provided for memory usage for the following:

Code Cache : contains memory used for compilation and storage of native code
Eden Space : pool from which memory is initially allocated for most objects
Survivor Space : pool containing objects that have survived Eden space garbage collection
Tenured Gen : pool containing long-lived objects
Perm Gen : contains reflective data of the JVM itself, including class and memory objects

System Information

In “System Properties” section under “System Information” tab you can review the tomcat server system variables and other information like JVM, classpaths, classloaders etc.

Under same tab, in “OS Information” section operating system information can be checked where tomcat server is running

Analyze Traffic
In “Connector Stats” tab number of requests traffic and Volume of traffic can be analyzed.

No comments: