Thursday, October 11, 2012

Weblogic Administration Interview Questions and answers


Weblogic Server Interview Questions
Weblogic Interview questions ans answers


Here are the list of general weblogic interview questions helpful for freshers as well as for experienced guys.

Basic Questions :

Stay tuned for the answers of all questions and for many more questions :)

What is admin server ? what is the difference between admin and managed server ?


Admin server is the central domain configuration interface which is used to create,delete and configure the resources of a domain like managed server, machine, cluster, data source, work managers etc. 

There is no difference between Admin and Managed server except admin interface application by default deployed on admin server which is used to configure the domain resources. Apart from that a admin server is same as a managed server, you can deploy and create other relative resources on admin server also as you do on managed server.


How to access admin console ?

ssl enabled admin console accessed as : 

https://<hostname_or_ip_address_where_admin_server_running>:<port_on_which_admin_server_is_running>/console

Example - https://localhost:7001/console


non ssl admin console accessed as : 

http://<hostname_or_ip_address_where_admin_server_running>:<port_on_which_admin_server_is_running>/console

Example - http://localhost:7001/console

Note : - By default weblogic admin server configured on port 7001 and SSL is not enabled.

How to check pid of a weblogic server ?

To check the process of a particular managed or admin server you can use

ps -ef | grep -i <name_of_your_admin_or_manager_server>|grep -v grep

( grep -v grep will suppress your command in the output ) 

Example - 


ps -ef|grep -i wci_m1|grep -v grep

Above command will show you the process details of managed server with name wci_m1 from where you can get process id, see output below, here process id is 32121


some people use 

ps -ef|grep -i  "weblogic.Name=wci_m1"|grep -v grep

both are same, you can use anyone

To check process id of weblogic server on window

On Window, you can go to task manager, under view tab select column option, select PID option.


How many admin consoles possible in a single domain ?

only one.

What is the default port of admin server ?

7001

What is config.xml ?


config.xml is the central configuration repository for a domain. every resource you have configured from admin console or by command line or by any other tool registered under this file. 

WLS 9.x onwards, this file contain references to other xml configuration files also those are under your domain/config folder ( further sub folder under it for respective resources ) since wls 9.x onwards concept of modules are introduced for sub resources like data source, jms etc otherwise prior to 9.x ( 8.x or older ) every configuration was stored under this single config.xml file.   

What is boot.properties file ?


boot.properties is the file used by admin or managed server during startup for username and password. it exist under your domain/servers/server_name/security folder. 

( Below information is for some advance users )

To specify a customer directory for this file you can use

-Dweblogic.system.BootIdentityFile=[location]/boot.properties

 When you create a domain in development mode then it creates automatically during startup of admin server but if you create a domain in production mode then you need to define it explicitly otherwise on every reboot of admin server it will prompt you for username and password.

So in production mode - 

Start admin server by manually passing the username and password
stop it ( press cntrl+c on the started session )

go to your domain/servers/your_admin_server/ 

create a folder "security"

go inside security and create a file "boot.properties" with below contents

username=your_admin_username
password=your_admin_password

now start the admin server, it will not prompt you for username & password further.

If you are going to start your managed servers from admin console then no need to create this file for managed server but if you are going to start managed servers via startManagedweblogic script then you need to follow the same above procedure for each managed server.


How to start admin and managed server ?

check my blog page  http://weblogicserveradministration.blogspot.com/2010/10/start-stop-weblogic-servers.html


What is node manager ? what are the benefits of node manager ?

How to set classpath ?
What is weblogic.jar file ?
What is cluster ? what are the benefits of a cluster ?
What are the different cluster algorithm and difference between them ?
What is cluster address ?
What is Multicast ?
What is unicast ?
Whart is the difference between multicast and unicast ?
What is the difference between vertical and horizontol clustering ?
What is JMS ?
What is a JMS server ?
What is SSL or what is the purpose of SSL ?
How to deploy an application ?
What are different staging modes and differences between them ?
What are the different forms of weblogic deployment files ?
What are the difference between jar, war and ear files ? 
What is the difference between web.xml and weblogic.xml ?
What is virtual host ?
What is a machine ?
What is JNDI ?
What is t3 or functioning of t3 ?
What is MSI mode ?
What is connection pool ?
What is data source ?
What is the difference between Data Source and Multi Data Source ?
What is heap and how to define max and min heap size ? 
what is the difference between heapdump, memorydump and thread dump ?
What is the impact on Managed server if admin server goes down ?
Is that possible to start Managed server if admin server is not running ?
How to change the weblogic password ?
What are deployment descriptors ?
What is autodeployment ?
What is exploded form of deployment ?
What is the difference between production and development mode ?
What are the differences between weblogic 10g and 11g versions ?
How to configure apache with weblogic ?
What are startup and shutdown classes ?
What is session replication and how to enable it ?
What is MBEAN ?
What is the difference between .out and .log file ? 

Keywords : weblogic server interview questions, weblogic interview questions, weblogic interview questions blog, weblogic interview questions, weblogic Administration interview questions, Weblogic interview questions and answer, Weblogic Interview Questions & Answers

13 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hello Salman,

    Make sure -

    1. you have created security directory under your_domain/servers/your_admin_server
    2. spelling of security directory is correct
    3. spelling of boot.properties is correct
    4. proper entry inside boot.properties like below

    username=your_admin_user
    password=your_admin_password

    Hope this will help.

    ReplyDelete
    Replies
    1. Hi Sir ..
      I hope ur doing good...
      This is Mohan .If ur free pls send the full detail of weblogic to my mail.
      My id is mohan15march@gmail.com

      thanks and regards
      Mohan

      Delete
  3. Really Good Question...
    Thanks was helpful for me

    ReplyDelete
  4. For more Interview Questions, Please check here:

    http://www.wikiconsole.com/wiki/?p=2007

    ReplyDelete
  5. WLSEnv.sh

    hwo to add the root directory path
    -Dweblogic.RootDirectory=Domain_Home

    ReplyDelete
  6. i am download apache latest version.i will install the apace . the code will me not execute why because of a i am not install gcc compalier . how to gcc complaier in linux environment . please send me a link.

    ReplyDelete
  7. Hi Mukesh,

    if click in lock & Edit what happen back end what file will create.

    Thanks
    B suresh
    sureshwls4@gmail.com

    ReplyDelete
  8. I don't have prior software experience and no programing knowledge, Can you suggest me how can I go with learning Oracle weblogic administration. Please, let me know how can I survive and frequency of job opportunities in Weblogic administration in India.

    ReplyDelete
  9. Can any one post answers for all above Questions?

    ReplyDelete
  10. Thanks for your post; selenium is most trusted automation tool to validate web application and browser. This tool provides precise and complete information about a software application or environment.
    Selenium training institute in Chennai

    ReplyDelete