Monitoring Applications on Pramati Server 28 Overview The Console monitors all the *.ear, *.war, and *.jar applications that have been deployed on it. To do so, select Monitor > (type of) Application you wish to monitor. All the application statistics can also be accessed using the Home page > Applications section. Note: For being able to monitor an application, make sure that you have deployed it on the Pramati Server first, and completed all the required mappings etc. Monitoring Enterprise Applications To monitor a *.ear application on the Console, select Monitor > Enterprise Applications under the section titled Applications. The following details are displayed for the deployed applications: Table 1: Monitoring a deployed Enterprise Application Name Name Context Root Start Time Sessions Hits Transactions Statistics Description Refers to the name of the deployed application Refers to the context root of the deployed application Displays the Date and time the application was deployed Refers to the number of sessions running in the application Refers to the number of times the application was accessed Refers to the number of times the application was accessed Displays the statistics for the deployed application, when clicked
294 Pramati Server 3.5 Administration Guide Viewing Application Statistics Clicking Statistics against a deployed application displays the following details regarding the web and Java archives for the deployed *.ear: Fig Viewing Application Statistics Table 2: Viewing Statistics for a deployed Enterprise Application Archive Fields Description Web Java War Hits Sessions created Sessions active Jar Name of the war file. Clicking on the War name link displays details regarding the Sessions Created, Hit, Active Sessions, Transaction Details, RolledBack Transactions, and Servlets. Number of times the application was accessed. The number of sessions created for that application. Number of sessions active for the selected web module. Clicking the Details link displays details regarding the Minimum, imum, and Average number of sessions active. Name of the jar file. Clicking on the Jar name link displays details regarding the beans contained in the jar file, and Transaction details such as Total, Started, Committed, Container and Bean Managed Rollback.
CHAPTER 28 Monitoring Applications on Pramati Server 295 Table 2: Viewing Statistics for a deployed Enterprise Application Archive Fields Description Access Number of times the application was accessed. Viewing WAR file Statistics Clicking the *.war file name displays the following details: Table 3: War details Hits Refers to the number of times this application has been accessed Active Sessions Refers to the total number of active sessions Concurrent Sessions Min Refers to the minimum number of active sessions created Refers to the maximum number of active sessions created Refers to the average number of active sessions created Servlets/JSPs Refers to the number of Servlets in the war Servlets Displays the list of Servlets that are running as links Hits Refers to the number of times the Servlets were accessed Fig Viewing War file Statistics
296 Pramati Server 3.5 Administration Guide Viewing Servlet Statistics Clicking a Servlet name displays the following details: Fig Viewing Servlet Statistics Table 4: Servlet Statistics Servlet Hits Method Exec Time Unhandled Exceptions Min The number of times the servlet was accessed. The number of times service method was executed The minimum time taken to execute the service method The maximum time taken to execute the service method The average time taken to execute the service method The number of exceptions that occurred during service method execution
CHAPTER 28 Monitoring Applications on Pramati Server 297 Viewing Jar Statistics Clicking the *.jar name displays details regarding the beans contained in the Jar, and Transaction details: Table 5: Jar file Statistics Section Fields Description *.jar Name Bean Type Current Pool Free Pool Ready Pool Used Pool Statistics Displays the names of the beans present in the jar file as a link Displays the type of the bean, whether Stateful, Stateless or Container Managed Persistence Displays the size of the current pool Displays the size of the free pool Displays the size of the pool ready to be used Displays the used pool size Clicking this displays the details about the selected bean Note: These statistics can also be viewed using the Monitor > EJB Server > Applications. The procedure has been described in the chapter Monitoring Pramati EJB Server. Fig Viewing Jar file Statistics
298 Pramati Server 3.5 Administration Guide Viewing Statistics for a bean Clicking Statistics against a bean name displays details regarding the same. For example, if in the screen displayed above, statistics is selected against the CheckingBean bean, the following screen is displayed: Fig Viewing Statistics for a bean The following details are displayed: Table 6: Bean Statistics Bean Type Instantiation Destroy Exception Pool Size Min Pool Size Time Details Min Time Displays the type of the selected bean, whether Stateful, Stateless or Container Managed Persistence. Displays the number of beans instantiated. Displays the number of beans that were destroyed. Displays the number of exceptions that were encountered. Displays the maximum pool size. Displays the minimum pool size. Displays time details related to the beans. These details are not available for the Stateless Session Beans. Refers to the number of times the bean is accessed. Refers to the minimum time taken by the transaction to commit
CHAPTER 28 Monitoring Applications on Pramati Server 299 Table 6: Bean Statistics Pool Waits PK Waiting Thread Pool Details Time Refers to the maximum time taken by the transaction to commit Time Refers to the average time required by the transaction Load Time (ms) Refers to the load time for an Entity bean. Displayed only if the selected bean is an Entity bean. Store Time (ms) Refers to the store time for an Entity bean. Displayed only if the selected bean is an Entity bean. Locking Time (ms) Refers to the locking time for an Entity bean. Displayed only if the selected bean is an Entity bean. Activation Time (ms) Refers to the time taken to activate a bean. Displayed only if the selected bean is a Stateful Session Bean. Passivation Time (ms) Refers to the time taken to passivate a bean. Displayed only if the selected bean is a Stateful Session Bean. Alive time (ms) Refers to the alive time for the Stateful Session Bean. Displayed only if the selected bean is a Stateful Session Bean. Displays details related to the waiting threads. Min Refers to the minimum number of threads waiting to acquire lock on the bean. Refers to the maximum number of threads waiting to acquire lock on the bean. Refers to the average number of threads waiting to acquire lock on the bean. Waiting Threads Refers to the current number of waiting threads. Displays details related to the Primary Key waiting threads. Min Refers to the minimum number of threads waiting on the Primary Key. Refers to the maximum number of threads waiting on the Primary Key. Refers to the average number of threads waiting on the Primary Key. PK Waiting Thread Refers to the current number of PK Waiting Threads. Displays details related to the pool size. Min Refers to the minimum pool size. Refers to the maximum pool size. Refers to the average pool size. Free Pool Size Displays the size of the free pool. In Use Pool Size Displays the used pool size. Ready Pool Size Displays the size of the current pool.
300 Pramati Server 3.5 Administration Guide Monitoring web applications To monitor a *.war application on the Console, select Monitor > Web Applications under Applications. The following details are displayed for the deployed applications: Fig Monitoring web applications Table 7: Monitoring a deployed web application Name Name Context Root Start Time Sessions Hits Transactions Statistics Description Refers to the name of the deployed application Refers to the context root of the deployed application Displays the Date and time the application was deployed Refers to the number of sessions running in the application Refers to the number of times the application was accessed Refers to the number of times the application was accessed Displays the statistics for the deployed application, when clicked Viewing Application Statistics Clicking Statistics against a deployed application displays the following details regarding the web archives for the deployed *.war:
CHAPTER 28 Monitoring Applications on Pramati Server 301 Fig Viewing Application Statistics Table 8: War details Sessions Created Hit Active Sessions Transaction Details Transactions Started Transactions Committed Transactions RolledBack Min Min Time Time Time Displays the total number of sessions created for this web module. Refers to the number of times this application has been accessed. Refers to the total number of active sessions. Refers to the minimum number of active sessions created. Refers to the maximum number of active sessions created. Refers to the average number of active sessions created. Refers to the total number of transactions that took place. Refers to the details for the Transactions that have started. Refers to the details for the Transactions that have been committed. Refers to the number of transactions committed. Refers to the minimum time the transaction took to get committed. Refers to the maximum time the transaction took to get committed. Refers to the average time the transaction took to get committed. Refers to the transactions that have to be RolledBack.
302 Pramati Server 3.5 Administration Guide Table 8: War details Servlets Min Time Time Time Heuristic Mixed Exception Heuristic Rollback Exception Refers to the number of RolledBack transactions. Refers to the minimum time the transaction took for rollback. Refers to the maximum time the transaction took for rollback. Refers to the average time the transaction took for rollback. The transaction was not committed because there was some problem in the network and also that the data got corrupted. The transaction was not committed because there was some problem in the network. However, the database/resource was not affected because of this rollback. Set Rollback Only The transaction was not committed because of a constraint or logic that was specified in the code. Total The total number of Transaction rollbacks. Refers to the number of Servlets in the War file. Servlets Displays the list of Servlets that are running as links. Hit count Refers to the number of times the Servlets were accessed. Viewing Servlet Statistics Clicking a Servlet name displays the following details: Fig Viewing Servlet Statistics
CHAPTER 28 Monitoring Applications on Pramati Server 303 Table 9: Servlet Statistics Servlet Hits Exception Details Method Execution Details Min The number of times the servlet was accessed. The number of exceptions that occurred during service method execution. The number of times service method was executed. The minimum time taken to execute the service method. The maximum time taken to execute the service method. The average time taken to execute the service method. Monitoring EJB Applications To monitor a *.jar application on the Console screen, select Monitor > Java Applications. The following details are displayed for the deployed applications: Fig Monitoring EJB Applications
304 Pramati Server 3.5 Administration Guide Table 10: Monitoring a deployed Java Application Name Name Context Root Start Time Sessions Hits Transactions Statistics Description Refers to the name of the deployed application. Refers to the context root of the deployed application. Displays the Date and time the application was deployed. Refers to the number of sessions running in the application. Refers to the number of times the application was accessed. Refers to the number of times the application was accessed. Displays the statistics for the deployed application, when clicked. Viewing Application Statistics Clicking Statistics against a deployed application displays the following details regarding the Java archives for the deployed *.jar: Table 11: Jar file Statistics Section *.jar Transactions Name Bean Type Current Pool Free Pool Ready Pool Used Pool Statistics Total Min Time Time Time Started Committed CMT BMT Displays the names of the beans present in the Jar file as a link. Displays the type of the bean, whether Stateful, Stateless or Container Managed Persistence. Displays the size of the current pool. Displays the size of the free pool. Displays the size of the pool ready to be used. Displays the used pool size. Clicking this displays the details about the selected bean. Refers to the total number of transactions that took place. Refers to the total number of transactions committed. Refers to the minimum time taken by the transaction to commit. Refers to the maximum time taken by the transaction to commit. Refers to the average time required by the transaction. Refers to the total number of transactions started. Refers to the started Container Managed Transactions. Refers to the started Bean Managed Transactions. Refers to the time taken for a transaction to commit.
CHAPTER 28 Monitoring Applications on Pramati Server 305 Table 11: Jar file Statistics Section Container ManagedRollBack Bean Managed RollBack CMT BMT Heuristic Mixed Exception Heuristic Rollback Exception Set Rollback Only Total Heuristic Mixed Exception Heuristic Rollback Exception Set Rollback Only Total Refers to the committed Container Managed Transactions. Refers to the committed Bean Managed Transactions. Refers that the transaction was not committed because there was some problem in the network and also that the data got corrupted. Refers that the transaction was not committed because there was some problem in the network. However, the database/ resource was not affected because of this rollback. Refers that the transaction was not committed because of a constraint or logic that was specified in the code. Refers to the total number of Container Managed Rollback transactions. Refers that the transaction was not committed because there was some problem in the network and also that the data got corrupted. Refers that the transaction was not committed because there was some problem in the network. However, the database/ resource was not affected because of this rollback. Refers that the transaction was not committed because of a constraint or logic that was specified in the code. Refers to the total number of Bean Managed Rollback transactions.
306 Pramati Server 3.5 Administration Guide Fig Viewing Application Statistics Viewing Statistics for a bean Clicking Statistics against a bean name displays details regarding the same. For example, if in the screen displayed above, statistics is selected against the ProductBean bean, the following details are displayed: Table 12: Bean Statistics Bean Type Instantiation Destroy Exception Waiting Thread Min Displays the type of the selected bean, whether Stateful, Stateless or Container Managed Persistence. Refers to the number of times the bean was instantiated. Refers to the number of times the bean was deleted. Refers to the number of exceptions thrown while executing business methods. Displays details related to the waiting threads. Refers to the minimum number of threads waiting to acquire lock on the bean. Refers to the maximum number of threads waiting to acquire lock on the bean. Refers to the average number of threads waiting to acquire lock on the bean.
CHAPTER 28 Monitoring Applications on Pramati Server 307 Table 12: Bean Statistics Pool Details Min Limit Refers to the minimum number of threads that are allowed to wait for a particular bean. Limit Refers to the maximum number of threads that are allowed to wait for a particular bean. Waiting Threads Refers to the current number of waiting threads. Displays details related to the pool size. Min Refers to the minimum pool size. Refers to the maximum pool size. Refers to the average pool size. Min Limit Refers to the minimum pool size limit set by the user. Limit Refers to the maximum pool size limit set by the user. Pool Size Refers to the current pool size. Free Pool Size Displays the size of the free pool. In Use Pool Size Displays the used pool size. Fig Viewing Statistics for a Bean
308 Pramati Server 3.5 Administration Guide