Sunday, September 2, 2018

WebSphere Application Server Interview Questions - Part -3.5

26)   What is the difference between WAS and WL?

A)   1. In weblogic u cant do clustering accros the domain,but in Websphere u can.

      
      2. In weblogic all the configurations are stored in a single file called Config.xml ,but in Websphere its stored in a directory structure called CELL
     
      3. In weblogic u can start the managed server without a Adminserver(using MSI-config.xml),in websphere u can not start a node with out Dmgr.
      
     4. In websphere u can add webserver as a unmanaged node where as u cannnt do that in weblogic.


27)   How do enable GC? (GARBAGE COLLECTOR)

A)  In the Administrative Console, expand Servers and then click on Application Servers.

     ----->   Click on the server that is encountering the¬ "OutOfMemory" condition.

     
    ----->  On the Configuration tab, under Server¬ Infrastructure, expand Java and Process
Management, and click Process Definition.
    
    ----->   Under the Additional Properties section, click Java Virtual¬ Machine.
    
    ----->   Select the Verbose garbage collection check box.
    
    -----> Click Apply
    
    ----->  At the top of the Administrative Client, click Save to apply changes¬ to the master

configuration.
   
    ----->  Stop and restart the Application Server

  ----->  The verbose garbage collection output is written to either native_stderr.log or

native_stdout.log for the Application Server

 ----->  verbosegc – Tells you what is being done, whether heap size is at min or max.

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 \...