Q1. What is Weblogic?
WebLogic is a J2EE application server and also an HTTP web server by Oracle , for Unix, Linux, Microsoft Windows, and other platforms. WebLogic supports Oracle, DB2, Microsoft SQL Server, and other JDBC-compliant databases.
Q2.What is the Basic Components of Weblogic Server?
ANSWER : These are the basic weblogic components
1)Domains
2)Admin Server
3) Managed Server
4) Node Manager
5) Weblogic Server Cluster
Q3. What is the Domain in Weblogic server?
ANSWER : 1) Domain is a logically related group of Oracle WebLogic Server resources that are managed
as a single unit
2) Domain Provides one point of administration
3) Can logically separate:
A) Development, test, and production applications
B) Organizational divisions
Q4. What is the server?
ANSWER : A server is an instance of weblogic.Server executing in a Java Virtual Machine (JVM).
A server:
1) Runs on a designated Oracle WebLogic Server machine
2) Has a dedicated amount of RAM
3) Is multithreaded
Two types of servers:
1) Administration Server
2) Managed Server
Q5. What is the Admin Server ?
ANSWER : 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.
Q6. What is the Managed Server?
ANSWER : Managed server is a server in a domain that is not the Administration server. It contacts the
administration server for configuration information. It runs business application in a production
environment. It is independent of all other Managed servers in a domain (unless they are not in a cluster).
You can have many managed servers in a domain. Individual managed servers are typically added for
capacity and application isolation.
Q7.How Administration server and Managed servers will interact?
ANSWER : The Administration Server stores the master copy of the domain configuration, including the
configuration for all Managed Servers in the domain. Each Managed Server stores a local copy of the
domain configuration file. When a Managed Server starts, it connects to the Administration Server to
synchronize the configuration. When the configuration is changed, the Administration Server sends the
changed configuration to the Managed Servers.
Q8. What is the MSI mode in Weblogic? How can you enable and disable this option?
ANSWER : MSI is nothing but Managed Server Independence. By default, Managed Servers can function
independently of the Administration Server. A Managed Server instance can start in MSI mode if the
Administration Server is unavailable. Configure MSI mode from the Administration Console.
To start a Managed Server in MSI mode, perform the following:
Ensure that the Managed Server’s root directory contains the config subdirectory. If the config
subdirectory does not exist, copy it from the Administration Server’s root directory.
Start the Managed Server at the command line or by using a script.
Environment > Servers > Server_Name > Tuning > Advanced > Managed Server Independence Enabled
check box
Q9. Difference between Weblogic Development and Production Mode?
ANSWER : Here are some difference between Weblogic Development Mode and Production Mode:
Development Mode:
1) The default JDK for development domain is Sun Hotspot
2) You can use the demo certificates for SSL
3) Auto deployment is enabled
4) Server instances rotate their log files on startup
5) Admin Server uses an automatically created boot.properties during startup
6) The default maximum capacity for JDBC Datasource is 15
Production Mode:
1) The default JDK for production domain is JRockit
2) If you use the demo certificates for SSL a warning is displayed
3) Auto deployment is disabled
4) Server instances rotate their log files when it reaches 5MB
5) Admin Server prompts for username and password during startup
6) The default maximum capacity for JDBC Datasource is 25
Q10. How to change from development mode to production mode in Weblogic 10.3?
ANSWER : To change Weblogic start up mode from DEV to production. One way to change it is, by simply
editing setDomainEnv.cmd which resides in $root_domain/bin folder.
1. Look for the line that sets the PRODUCTION_MODE script variable: set PRODUCTION_MODE
Add false to the value of the PRODUCTION_MODE variable to ensure the server starts in development
Set true for starting in prod mode.
set PRODUCTION_MODE=false
2. Save your changes and exit the text editor.
Q11. What are the supported installation modes for WebLogic Server?
ANSWER : Graphical mode, console mode and silent mode.
Q12.How to access admin console?
ANSWER : Ssl enabled admin console accessed as :
https://hostname or ip address (where admin server running):(port on which admin server is ssl
enabled admin console accessed as :
Example - https://localhost:7002/console
mode:
non ssl admin console accessed as :
http://hostname or ip address (where admin server running):(port on which admin server is ssl enabled
admin console accessed as :
Example - http://localhost:7001/console
Q13. What is the default port of Weblogic admin server?
ANSWER : By default weblogic admin server configured on port 7001 and SSL is on 7002.
Q14.How many admin consoles possible in a single domain?
ANSWER : Only One
Q15.What is boot.proerties file in weblogic server?
ANSWER : 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.
Q16.What is config.xml?
ANSWER : 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 ).
Q17 How do I provide User credentials for starting weblogic server?
ANSWER : When you create a domain, the Configuration Wizard prompts you to provide the username
and password for an initial administrative user. If you create the domain in development mode, the
wizard saves the username and encrypted password in a boot identity file. A WebLogic Server instance
can refer to a boot identity file during its startup process. If a server instance does not find such a file,it
prompts you to enter credentials.
If you create a domain in production mode, or if you want to change user credentials in an existing boot
identity file, you can create a new boot identity file.
Q18.Can I start a Managed Server if the Administration server is unavailable?
ANSWER : By default, if a Managed Server is unable to connect to the specified Administration Server
during startup, it can retrieve its configuration by reading a configuration file and other files directly. You
cannot change the server’s configuration until the Administration Server is available. A Managed Server
that starts in this way is running in Managed Server Independence mode.
Q19. What Is a WebLogic Server Cluster?
ANSWER : A WebLogic Server cluster consists of multiple WebLogic Server server instances running
simultaneously and working together to provide increased scalability and reliability. A cluster appears to
clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on
the same machine, or be located on different machines. You can increase a cluster’s capacity by adding
additional server instances to the cluster on an existing machine, or you can add machines to the cluster
to host the incremental server instances. Each server instance in a cluster must run the same version of
WebLogic Server.
Q20.What is the advantage of clustering?
ANSWER : WebLogic clustering offers three important benefits:
1. Scalability:
The capacity of an application deployed on a WebLogic Server cluster can be increased dynamically to
meet demand. You can add server instances to a cluster without interruption of service — the application
continues to run without impact to clients and end users.
2. Load balancing:
The ability to distribute requests across all members of the cluster, according tothe workload on each
server.
3. High availability:
A mix of features that ensure applications and services are available even if aserver or machine fails.
Clients can continue to work with little or no disruption ina highly available environment. WebLogic
achieves high availability using acombination of features: replication, failover, and migratable services.
Q21.What is Mulicast and Unicast in weblogic?
ANSWER : Mulicast:
Multicast is easier to explain over Unicast. Multicast is a broadcast UDP option for sending a
packet/announcement over to a group that is listening on a specific multicast address and port over
which the announcement is sent.There is a defined range for valid Multicast address (224.0.0.1 to
239.255.255.255). Everyone listening on the given address hears the announcement just like following a
Twitter post. Some limitations with Multicast is the TTL (time to live) across machines/subnets/routers
needs to be adjusted and the routers configured to retransmit the multicast packet across subnets
Unicast:
Unicast is more of a point to point UDP option to send the packet to a specific member and not everyone.
That way, unicast is more of a private conversation between two individuals while multicast is more of a
shout to a group or room. Both are UDP based, so there can be losses unlike TCP that handles
retransmissions on message loss. But Unicast can span across routers and does not have to worry about
TTL without the everyone hearing the announcement. So, Network Admins in general prefer to go with
Unicast over Multicast for these reasons
Q23.What is Horizontal and vertical clustering?
ANSWER : There are two method of clustering Horizontal and Vertical.
Horizontal clustering :involves running multiple Java application servers that are run on two or more
separate physical machines.
Horizontal scaling is more reliable than vertical scaling, since there are multiple machines involved in the
cluster environment, as compared to only one machine
Vertical clustering: however, consists of multiple Java application servers on a single physical machine.
With vertical scaling, the machine's processing power, CPU usage, and JVM heap memory configurations
are the main factors in deciding how many server instances should be run on one machine.
Q24. How Does a Cluster Relate to a Domain?
ANSWER : A cluster is part of a particular WebLogic Server domain.A domain is an interrelated set of
WebLogic Server resources that are managed as a unit. A domain includes one or more WebLogic Server
instances, which can be clustered, non-clustered, or a combination of clustered and non-clustered
instances. A domain can include multiple clusters. A domain also contains the application components
deployed in the domain, and the resources and services required by those application components and
the server instances in the domain.
Q25.What is Node Manager?
Answer Node Manager is program that is used to control WebLogic Server instances. A single Node
Manager instance is used to control all of the server instances running on the same physical machine or different machine.
These instances can reside in different clusters, domains, and such. You must configure each machine in
your domain to communicate with Node Manager.
Q.26 How many way to start and stop weblgic servers?
ANSWER : There are many ways to start & stop weblogic Admin and managed servers:
You can start and stop Admin Server using :
1) Script
2) "Java weblogic.server "command(The weblogic.Server class is the main class for a WebLogic Server
instance)
3) From startup option on windows
4) WLST with or without node manager
You can start managed servers using:
1) scripts
2) admin console
3) using WLST
4) using node manager
5) java weblogic.server command( The weblogic.Server class is the main class for a WebLogic
Server instance )
Q27.How many types you configure managed server in weblogic server?
A.Three types
1)Domain Configuration Wizard
2)Administration Console
3)Weblogic Scripting Tool
Q28. How to know weblogic version?
ANSWER : In the WebLogic console, in the left navigation tree, click on "Environment", then "Servers".
Then click on one of the servers in the list. Then click on the "Monitoring" tab. Look at the "WebLogic
Version" field.
Q29How do you set the classpath?
ANSWER : WebLogic Server installs the following script that you can use to set the
classpath that a server requires:
WL_HOME\server\bin\setWLSEnv.cmd (on Windows)
WL_HOME/server/bin/setWLSEnv.sh (on UNIX)
Q30.. How does a server know when another server is unavailable?
WebLogic Server uses two mechanisms to determine if a given server instance is unavailable. Each
WebLogic Server instance in a cluster uses multicast to broadcast regular “heartbeat” messages that
advertise its availability. By monitoring heartbeat messages, server instances in a cluster determine when
a server instance has failed. The other server instances will drop a server instance from the cluster, if
they do not receive three consecutive heartbeats from that server instance
WebLogic Server also monitors socket errors to determine the availability of a server instance. For
example, if server instance A has an open socket to server instance B, and the socket unexpectedly closes,
server A assumes that server B is offline
Q31. How do you differentiate between a server hang and server crash issue?
Answer : When a Server crashes, the JAVA process no longer exists. When the Server is hung, it stops
responding.
We can use the WebLogic .ADMIN utility to ping the server. In case of a hang situation we can take
multiple thread dumps and analyze the cause of hang
Q32. How are notifications made when a server is added to a cluster?
Answer : The WebLogic Server cluster broadcasts the availability of a new server instance each time a
new instance joins the cluster. Cluster-aware stubs also periodically update their list of available server
instances.
Q33 How do I turn the auto-deployment feature off?
ANSWER : The auto-deployment feature checks the applications folder every three seconds to determine
whether there are any new applications or any changes to existing applications and then dynamically
deploys these changes.
The auto-deployment feature is enabled for servers that run in development mode.
To disable auto-deployment feature, use one of the following methods to place servers in production
mode:
=>In the Administration Console, click the name of the domain in the left pane, then select the Production
Mode checkbox in the right pane.
=>At the command line, include the following argument when starting the domain’s Administration
Server:
-Dweblogic.ProductionModeEnabled=true
Production mode is set for all WebLogic Server instances in a given domain.
Q34. How managed servers communicate with each other ?
ANSWER : Managed servers communicate each other using t3 protocol internally.
Q35. What is SSL in weblogic?
ANSWER : Secure Sockets Layer (SSL) provides secure connections by allowing two applications
connecting over a network connection to authenticate the other's identity and by encrypting the data
exchanged between the applications. Authentication allows a server and optionally a client to verify the
identity of the application on the other end of a network connection. Encryption makes data transmitted
over the network intelligible only to the intended recipient
Q36. How you deploy your applications on weblogic server?
ANSWER : These are the types.
1) Auto Deployment
2) Console
3) Command line – weblogic.deployer
4) ANT / WLST
Q37. What are stating modes are available in Weblogic Server ?
Answer :There are three starting modes are available:
1) Stage mode: Administration Server copies the deployment files from their original location on the
Administration Server machine to the staging directories of each target server
2) External Stage: target servers deploy using local copies of the deployment files, here the
Administration Server does not automatically copy the deployment files to targeted servers in
external_stage mode ; instead, you must copy the files to the staging directory of each target server before
deployment.
3) No Stage: The Administration Server does not copy deployment unit files; instead, all servers deploy
using the same physical copy of the deployment files, which must be directly accessible by the
Administration Server and target servers
WebLogic is a J2EE application server and also an HTTP web server by Oracle , for Unix, Linux, Microsoft Windows, and other platforms. WebLogic supports Oracle, DB2, Microsoft SQL Server, and other JDBC-compliant databases.
Q2.What is the Basic Components of Weblogic Server?
ANSWER : These are the basic weblogic components
1)Domains
2)Admin Server
3) Managed Server
4) Node Manager
5) Weblogic Server Cluster
Q3. What is the Domain in Weblogic server?
ANSWER : 1) Domain is a logically related group of Oracle WebLogic Server resources that are managed
as a single unit
2) Domain Provides one point of administration
3) Can logically separate:
A) Development, test, and production applications
B) Organizational divisions
Q4. What is the server?
ANSWER : A server is an instance of weblogic.Server executing in a Java Virtual Machine (JVM).
A server:
1) Runs on a designated Oracle WebLogic Server machine
2) Has a dedicated amount of RAM
3) Is multithreaded
Two types of servers:
1) Administration Server
2) Managed Server
Q5. What is the Admin Server ?
ANSWER : 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.
Q6. What is the Managed Server?
ANSWER : Managed server is a server in a domain that is not the Administration server. It contacts the
administration server for configuration information. It runs business application in a production
environment. It is independent of all other Managed servers in a domain (unless they are not in a cluster).
You can have many managed servers in a domain. Individual managed servers are typically added for
capacity and application isolation.
Q7.How Administration server and Managed servers will interact?
ANSWER : The Administration Server stores the master copy of the domain configuration, including the
configuration for all Managed Servers in the domain. Each Managed Server stores a local copy of the
domain configuration file. When a Managed Server starts, it connects to the Administration Server to
synchronize the configuration. When the configuration is changed, the Administration Server sends the
changed configuration to the Managed Servers.
Q8. What is the MSI mode in Weblogic? How can you enable and disable this option?
ANSWER : MSI is nothing but Managed Server Independence. By default, Managed Servers can function
independently of the Administration Server. A Managed Server instance can start in MSI mode if the
Administration Server is unavailable. Configure MSI mode from the Administration Console.
To start a Managed Server in MSI mode, perform the following:
Ensure that the Managed Server’s root directory contains the config subdirectory. If the config
subdirectory does not exist, copy it from the Administration Server’s root directory.
Start the Managed Server at the command line or by using a script.
Environment > Servers > Server_Name > Tuning > Advanced > Managed Server Independence Enabled
check box
Q9. Difference between Weblogic Development and Production Mode?
ANSWER : Here are some difference between Weblogic Development Mode and Production Mode:
Development Mode:
1) The default JDK for development domain is Sun Hotspot
2) You can use the demo certificates for SSL
3) Auto deployment is enabled
4) Server instances rotate their log files on startup
5) Admin Server uses an automatically created boot.properties during startup
6) The default maximum capacity for JDBC Datasource is 15
Production Mode:
1) The default JDK for production domain is JRockit
2) If you use the demo certificates for SSL a warning is displayed
3) Auto deployment is disabled
4) Server instances rotate their log files when it reaches 5MB
5) Admin Server prompts for username and password during startup
6) The default maximum capacity for JDBC Datasource is 25
Q10. How to change from development mode to production mode in Weblogic 10.3?
ANSWER : To change Weblogic start up mode from DEV to production. One way to change it is, by simply
editing setDomainEnv.cmd which resides in $root_domain/bin folder.
1. Look for the line that sets the PRODUCTION_MODE script variable: set PRODUCTION_MODE
Add false to the value of the PRODUCTION_MODE variable to ensure the server starts in development
Set true for starting in prod mode.
set PRODUCTION_MODE=false
2. Save your changes and exit the text editor.
Q11. What are the supported installation modes for WebLogic Server?
ANSWER : Graphical mode, console mode and silent mode.
Q12.How to access admin console?
ANSWER : Ssl enabled admin console accessed as :
https://hostname or ip address (where admin server running):(port on which admin server is ssl
enabled admin console accessed as :
Example - https://localhost:7002/console
mode:
non ssl admin console accessed as :
http://hostname or ip address (where admin server running):(port on which admin server is ssl enabled
admin console accessed as :
Example - http://localhost:7001/console
Q13. What is the default port of Weblogic admin server?
ANSWER : By default weblogic admin server configured on port 7001 and SSL is on 7002.
Q14.How many admin consoles possible in a single domain?
ANSWER : Only One
Q15.What is boot.proerties file in weblogic server?
ANSWER : 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.
Q16.What is config.xml?
ANSWER : 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 ).
Q17 How do I provide User credentials for starting weblogic server?
ANSWER : When you create a domain, the Configuration Wizard prompts you to provide the username
and password for an initial administrative user. If you create the domain in development mode, the
wizard saves the username and encrypted password in a boot identity file. A WebLogic Server instance
can refer to a boot identity file during its startup process. If a server instance does not find such a file,it
prompts you to enter credentials.
If you create a domain in production mode, or if you want to change user credentials in an existing boot
identity file, you can create a new boot identity file.
Q18.Can I start a Managed Server if the Administration server is unavailable?
ANSWER : By default, if a Managed Server is unable to connect to the specified Administration Server
during startup, it can retrieve its configuration by reading a configuration file and other files directly. You
cannot change the server’s configuration until the Administration Server is available. A Managed Server
that starts in this way is running in Managed Server Independence mode.
Q19. What Is a WebLogic Server Cluster?
ANSWER : A WebLogic Server cluster consists of multiple WebLogic Server server instances running
simultaneously and working together to provide increased scalability and reliability. A cluster appears to
clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on
the same machine, or be located on different machines. You can increase a cluster’s capacity by adding
additional server instances to the cluster on an existing machine, or you can add machines to the cluster
to host the incremental server instances. Each server instance in a cluster must run the same version of
WebLogic Server.
Q20.What is the advantage of clustering?
ANSWER : WebLogic clustering offers three important benefits:
1. Scalability:
The capacity of an application deployed on a WebLogic Server cluster can be increased dynamically to
meet demand. You can add server instances to a cluster without interruption of service — the application
continues to run without impact to clients and end users.
2. Load balancing:
The ability to distribute requests across all members of the cluster, according tothe workload on each
server.
3. High availability:
A mix of features that ensure applications and services are available even if aserver or machine fails.
Clients can continue to work with little or no disruption ina highly available environment. WebLogic
achieves high availability using acombination of features: replication, failover, and migratable services.
Q21.What is Mulicast and Unicast in weblogic?
ANSWER : Mulicast:
Multicast is easier to explain over Unicast. Multicast is a broadcast UDP option for sending a
packet/announcement over to a group that is listening on a specific multicast address and port over
which the announcement is sent.There is a defined range for valid Multicast address (224.0.0.1 to
239.255.255.255). Everyone listening on the given address hears the announcement just like following a
Twitter post. Some limitations with Multicast is the TTL (time to live) across machines/subnets/routers
needs to be adjusted and the routers configured to retransmit the multicast packet across subnets
Unicast:
Unicast is more of a point to point UDP option to send the packet to a specific member and not everyone.
That way, unicast is more of a private conversation between two individuals while multicast is more of a
shout to a group or room. Both are UDP based, so there can be losses unlike TCP that handles
retransmissions on message loss. But Unicast can span across routers and does not have to worry about
TTL without the everyone hearing the announcement. So, Network Admins in general prefer to go with
Unicast over Multicast for these reasons
Q23.What is Horizontal and vertical clustering?
ANSWER : There are two method of clustering Horizontal and Vertical.
Horizontal clustering :involves running multiple Java application servers that are run on two or more
separate physical machines.
Horizontal scaling is more reliable than vertical scaling, since there are multiple machines involved in the
cluster environment, as compared to only one machine
Vertical clustering: however, consists of multiple Java application servers on a single physical machine.
With vertical scaling, the machine's processing power, CPU usage, and JVM heap memory configurations
are the main factors in deciding how many server instances should be run on one machine.
Q24. How Does a Cluster Relate to a Domain?
ANSWER : A cluster is part of a particular WebLogic Server domain.A domain is an interrelated set of
WebLogic Server resources that are managed as a unit. A domain includes one or more WebLogic Server
instances, which can be clustered, non-clustered, or a combination of clustered and non-clustered
instances. A domain can include multiple clusters. A domain also contains the application components
deployed in the domain, and the resources and services required by those application components and
the server instances in the domain.
Q25.What is Node Manager?
Answer Node Manager is program that is used to control WebLogic Server instances. A single Node
Manager instance is used to control all of the server instances running on the same physical machine or different machine.
These instances can reside in different clusters, domains, and such. You must configure each machine in
your domain to communicate with Node Manager.
Q.26 How many way to start and stop weblgic servers?
ANSWER : There are many ways to start & stop weblogic Admin and managed servers:
You can start and stop Admin Server using :
1) Script
2) "Java weblogic.server "command(The weblogic.Server class is the main class for a WebLogic Server
instance)
3) From startup option on windows
4) WLST with or without node manager
You can start managed servers using:
1) scripts
2) admin console
3) using WLST
4) using node manager
5) java weblogic.server command( The weblogic.Server class is the main class for a WebLogic
Server instance )
Q27.How many types you configure managed server in weblogic server?
A.Three types
1)Domain Configuration Wizard
2)Administration Console
3)Weblogic Scripting Tool
Q28. How to know weblogic version?
ANSWER : In the WebLogic console, in the left navigation tree, click on "Environment", then "Servers".
Then click on one of the servers in the list. Then click on the "Monitoring" tab. Look at the "WebLogic
Version" field.
Q29How do you set the classpath?
ANSWER : WebLogic Server installs the following script that you can use to set the
classpath that a server requires:
WL_HOME\server\bin\setWLSEnv.cmd (on Windows)
WL_HOME/server/bin/setWLSEnv.sh (on UNIX)
Q30.. How does a server know when another server is unavailable?
WebLogic Server uses two mechanisms to determine if a given server instance is unavailable. Each
WebLogic Server instance in a cluster uses multicast to broadcast regular “heartbeat” messages that
advertise its availability. By monitoring heartbeat messages, server instances in a cluster determine when
a server instance has failed. The other server instances will drop a server instance from the cluster, if
they do not receive three consecutive heartbeats from that server instance
WebLogic Server also monitors socket errors to determine the availability of a server instance. For
example, if server instance A has an open socket to server instance B, and the socket unexpectedly closes,
server A assumes that server B is offline
Q31. How do you differentiate between a server hang and server crash issue?
Answer : When a Server crashes, the JAVA process no longer exists. When the Server is hung, it stops
responding.
We can use the WebLogic .ADMIN utility to ping the server. In case of a hang situation we can take
multiple thread dumps and analyze the cause of hang
Q32. How are notifications made when a server is added to a cluster?
Answer : The WebLogic Server cluster broadcasts the availability of a new server instance each time a
new instance joins the cluster. Cluster-aware stubs also periodically update their list of available server
instances.
Q33 How do I turn the auto-deployment feature off?
ANSWER : The auto-deployment feature checks the applications folder every three seconds to determine
whether there are any new applications or any changes to existing applications and then dynamically
deploys these changes.
The auto-deployment feature is enabled for servers that run in development mode.
To disable auto-deployment feature, use one of the following methods to place servers in production
mode:
=>In the Administration Console, click the name of the domain in the left pane, then select the Production
Mode checkbox in the right pane.
=>At the command line, include the following argument when starting the domain’s Administration
Server:
-Dweblogic.ProductionModeEnabled=true
Production mode is set for all WebLogic Server instances in a given domain.
Q34. How managed servers communicate with each other ?
ANSWER : Managed servers communicate each other using t3 protocol internally.
Q35. What is SSL in weblogic?
ANSWER : Secure Sockets Layer (SSL) provides secure connections by allowing two applications
connecting over a network connection to authenticate the other's identity and by encrypting the data
exchanged between the applications. Authentication allows a server and optionally a client to verify the
identity of the application on the other end of a network connection. Encryption makes data transmitted
over the network intelligible only to the intended recipient
Q36. How you deploy your applications on weblogic server?
ANSWER : These are the types.
1) Auto Deployment
2) Console
3) Command line – weblogic.deployer
4) ANT / WLST
Q37. What are stating modes are available in Weblogic Server ?
Answer :There are three starting modes are available:
1) Stage mode: Administration Server copies the deployment files from their original location on the
Administration Server machine to the staging directories of each target server
2) External Stage: target servers deploy using local copies of the deployment files, here the
Administration Server does not automatically copy the deployment files to targeted servers in
external_stage mode ; instead, you must copy the files to the staging directory of each target server before
deployment.
3) No Stage: The Administration Server does not copy deployment unit files; instead, all servers deploy
using the same physical copy of the deployment files, which must be directly accessible by the
Administration Server and target servers
Q38. What is a Thread dump? How will you take in unix/linux and windows?
ANSWER: A Java thread dump is a way of finding out what every thread in the JVM is doing at a particular
point in time. This is especially useful if your Java application sometimes seems to hang when running
under load, as an analysis of the dump will show where the threads are stuck.
1) Linux : kill -3 <ps_id>
2) Windows (console mode) : crtl+break
3) Windows (service) : beasvc -dump -svcname:mydomain_myserver
ANSWER: A Java thread dump is a way of finding out what every thread in the JVM is doing at a particular
point in time. This is especially useful if your Java application sometimes seems to hang when running
under load, as an analysis of the dump will show where the threads are stuck.
1) Linux : kill -3 <ps_id>
2) Windows (console mode) : crtl+break
3) Windows (service) : beasvc -dump -svcname:mydomain_myserver