Sunday, September 2, 2018

WAS definitions - WebSphere Application Server Interview Questions - Part -8.2

11) What is Connection Pooling ? 

A)  ----> Connection Pool is used as Cache(Speed up) of database Connections maintained so that the connections can be reused for further requests to Database.

     -----> Opening and maintaining a Data Base connection for each user


12)  What is Heap Dump  ?

A)  -----> It is used when sufficient memory is not available for a new object

      -----> It generates a dump of all live objects that are on the Java Heap.

      -----> By default we get OutOfMemoryErrors because of JVM crashes 

     ------> Heap dump is created in < profile-root > directory when OutOfMemoryErrorException is thrown

    ------> When JVM crashes we cannot get any application.


13) What is Thread Dump ?

A)  ----> It provides detailed information of all active Java Threads.

    ----> It is used to know how many threads are there in Connection Pool 

    ------> How many are there in Dead lock state.


14) How to generate Thread Dump  ?

A) Kill -3 Pid

15) What is Activity log  ?

A)  ----->  It is also called as IBM Service log file 

     ----->  It will have complete information about Application Server environment

     -----> It is not in readable format

    ------> We have to use one log file to view the complete information of any application

   -------> waslogbr.bat : For Opening and Viewing this log (It will have complete information about base class and other applications)

   -----> We have to use Symptom database for fixing or compare identify the issue.

Next Page : http://webspherelife.blogspot.com/2018/09/was-definitions-websphere-application_22.html

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Recover password from .sth file

Create perl file (unstash.pl) and run the script. #!/usr/bin/perl #usage perl unstash.pl use strict; die "Usage: $0 \...