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 ?
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
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 ?
What is boot.properties file ?
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 ?
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 likemanaged 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 serverwhich 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.
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.
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 ?
Bluehost is ultimately the best web-hosting company with plans for all of your hosting needs.
ReplyDelete