Sunday, 21 August 2016

WEBLOGIC INTERVIEW QUESTIONS

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

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

Configuring Apache web server with Weblogic and accessing multiple Application with different context root

 Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix environments, the Apache Web server has been ported to Windows and other network operating systems. The name "Apache" derives from the word "patchy" that the Apache developers used to describe early versions of their software.

The Apache Web server provides a full range of Web server features, including CGI, SSL, and virtual domains. Apache also supports plug-in modules for extensibility. Apache is free software, distributed by the Apache Software Foundation that promotes various free and open source advanced Web technologies.
In Order to configure Apache with Weblogic Server we need
1.  Weblogic Server domain created with at least 2 managed server in a cluster
2.Apache Installed on the System
3,Plug in based on the Apache Version
Picture














The First thing which we have to do is to download the plugin files from the Oracle Website the latest one is 12c plugins.
Once you download the plugin and unzip it you will find the plugins available for all the Web Server which Weblogic Supports
Based on the Web Server which you are using you many choose the plugin.
In my Demo case we have Apache 2.2 and Win32 bit OS.





Picture














Extract the Plugin in



Picture














Copy the mod_wl file to the Apache modules folder .
Location in Windows
C:\Program Files\Apache Software Foundation\Apache2.2\modules

Now we have to make some configuration changes in the configuration files of Apache .

The most important configuration file of Apache is httpd.conf
Before making any changes please take the backup of the file.

Picture











Open the httpd.conf file and add the below line after copying the mod_wl.so file in modules folder .
The location of httpd.conf file is
C:\Program Files\Apache Software Foundation\Apache2.2\conf

Some time you will not be allowed to edit the httpd.conf file .
Select the file and change the permission of the file and then you will be allowed to save the configuration.

Picture












Now Deploy the some of the same application on Weblogic
We have deployed 3 application
1. Console app on localhost and the port number 7001
2.  ShoppingCart Application on the Cluster (Ms1,Ms2,Ms3)
3.Calendar Application on Cluster (Ms1,Ms2,Ms3)

Make sure the application are in active state.

Picture
Now open the httpd.conf file and we have to add the application context root and the location where the request should be passed .
For accessing the Console using apache
<Location /console>
 SetHandler weblogic-handler
 WebLogicHost localhost
 WebLogicPort 7001
 Debug ALL
</Location>



For Accessing the ShoppingCart application which is deployed on Cluster
<Location /ShoppingCart>
SetHandler weblogic-handler
WebLogicCluster localhost:7003,localhost:7004,localhost:7006
Debug ALL
DebugConfigInfo ON
</Location>
For Accessing the Calendar application which is deployed on Cluster
<Location /Calendar>
SetHandler weblogic-handler
WebLogicCluster localhost:7003,localhost:7004,localhost:7006
Debug ALL
DebugConfigInfo ON
</Location>

Save the configuration and Restart the Apache Web Server

Picture












Now We can access our application via the Apache just by giving the context root and Apache will decide to send the request to the desired managed Server which we have configured in the httpd.conf file.

Hurry we have configured Apache to be used as Web Server and deployed different application and is able to access the application via the Web Server(Apache)



In Order to troubleshoot any issue on Web server we have some parameter and Logs which we use.

Picture














To know all the parameters which are being picked up by the WebServer while accessing the Application we can use the ?__WebLogicBridgeConfig Information Which will let us know all the parameters picked up.
In order to enable this we need to add the following parameter in the httpd.conf file.
DebugConfigInfo On


Picture
Now you will get all the information about the parameters being picked up.
To check the parameter use the below URL
http://localhost/console?__WebLogicBridgeConfig

http://localhost/ShoppingCart?__WebLogicBridgeConfig

Picture













To Get the access logs from Apache We can use the following parameter and we will get the logs to view how the page was rendered.

 Debug ALL
 WLLogFile C:\temp\wlproxy1.log



Picture














You can go and check the log file for any issue and rectify it.

Accessing Multiple Admin Console in Same Browser

Have you ever wondered why you are unable to load more than one weblogic console running in same machine (even though port numbers are different)? in the same browser.

It because of the Console Cookie Name which is set in the browser.

We can resolve this issue if we change “Console Cookie Name” at Domain’s configuration advanced settings.

By default, domain’s Console cookie name set to “ADMINCONSOLESESSION”.

Picture












You can change the console cookie name for Admin Console by
Navigating

Click on Domain Name ==>Advanced ==> You will find the Console Cookie Name: parameter just change the parameter in one of the domain .

We change the Console Cookie Name: so that the browser do not get confused .

If you have more than 2 domain running on same machine .Change the Console Cookie Name different So that they don't conflict. 

Picture
















You can check the Console Cookie Name: set by the Admin Console by double clicking the address bar and then click on show cookie and site data and then click on  host name .

Picture












Change the Console Cookie Name and then Restart the servers and then We will be able to open multiple Admin Console in the same Browser without any issue .

The Console Cookie Name after change is now 
Development_Cookie and for the second domain it is Production_Cookie.

Now browser is able to open both the console running at different port number in the same browser at the same time without issue

THREAD DUMP

•Thread dumps are one of the primary and most resourceful pieces of data used for debugging.
•Can be used in a variety of scenarios for debugging all java based applications. 
•Thread dumps primarily used to debug run-time state of a JVM (Java Virtual Machine).
•Thread dump is a real-time snapshot of JVM processing.

•Snapshot of all threads in the JVM process.
•Provides the state of each thread along with the stack trace associated with the same.
•Thread stack contains the method execution sequence that the thread has undertaken till that point in time.
•The stack populates with sequential method execution. 
•The stack unwinds when the methods return in a reverse sequence.
•Thread dump reveals information about the application’s thread activity as well.

THREAD STATES

•NEW – The thread is created, but not yet started. 
•RUNNABLE – The thread is currently executing in the JVM.
•BLOCKED – The thread is blocked waiting for a monitor lock.
•WAITING – The thread is waiting indefinitely for another thread to perform some action.
•TIMED_WAITING – The thread is waiting for a specified time for another thread to perform some action
TERMINATED – The thread has exited

DIFFERENT WAYS TO TAKE THREAD DUMP

Picture
 
 
 
 
 
Use operating system commands to get the thread dumps when WLS starts up from a command-line script:
    • On Windows OSes, thread dumps can be created by
      <ctrl>+<break> -- the thread dumps are generated in the server stdout
The Thread dump will be printed in the cmd prompt where you have started the server


    • On POSIX-compliant platforms (e.g. Solaris and Linux), first identify the process ID (pid) using ps -ef | grep java, then run
      kill -3 <pid> 2>&1
      Signal 3 is equivalent to SIGQUIT. Note that in Solaris, the thread dump is generated in the current shell, but in Linux, the thread dump is generated in the shell which started the java process specified by the pid

Picture











2. Using weblogic.WLST:
setDomain.cmd or setDomain.sh depending on the OS
java weblogic.WLST
connect("<username>","<password>","t3://<url>:<port>")
threadDump()


Picture











The thread dump will be generated in Thread_Dump_AdminServer.txt.  at the location C:\Oracle\Middleware\wlserver_10.3\common\bin


If you want to take the thread dump of the Managed Server then connect to the managed Server by using the port number of the managed Server and then execute the threadDump Command .

Picture











Picture











The thread Dump of the Managed Server will be present at the location

The thread dump will be generated in Thread_Dump_MS1.txt.  at the location C:\Oracle\Middleware\wlserver_10.3\common\bin

Picture











3. Thread Dump can be generated by using the Weblogic Admin utility setDomain.cmd or setDomain.sh depending on the OS
java weblogic.Admin <url>:<port> -username <username> -password <password> THREAD_DUMP
The thread dump will be generated in the defined server stdout.
Command to take thread dump for  Admin Server
C:\Oracle\Middleware\user_projects\domains\base_domain>java weblogic.Admin -url
t3://localhost:7001 -username weblogic -password weblogic1 THREAD_DUMP


Command to take thread dump in Managed Server Just change the port number 
C:\Oracle\Middleware\user_projects\domains\base_domain>java weblogic.Admin -url
t3://localhost:7003 -username weblogic -password weblogic1 THREAD_DUMP

Picture











4..From the WLS Administration Console, a thread dump can be created by navigating toServer -> <server_name> -> Monitoring ->Threads -> Dump threads stack. This method could lead to truncated or incomplete thread dumps


Picture










5.With jstack in Sun HotSpot
jstack <pid> or jstack -l <pid> to print additional information about locks

6.From the JRockit command line:
jrcmd <pid> print_threads

Tools for Analysis of Thread dumps

ThreadLogic  - The most powerful tool for thread dump analysis. Useful to mine thread dumps in addition to providing advisories based on pattern analysis. Great support for WLS. Developed by Oracle A-Team.
Samurai – A pretty old but useful utility to analyze multiple thread dumps.
Thread Dump analyzers provided by multiple vendors. IBM JCA Thread Analyzer being a good example. 
Notepad – probably the best way to look at thread dumps to try and get to understand the nitty-gritty of analysis.

How to apply patch in weblogic

Patch: A patch is a piece of software designed to fix problems with, or update a computer program or its supporting data. This includes fixing security vulnerabilities and other bugs, and improving the usability or performance. Though meant to fix problems, poorly designed patches can sometimes introduce new problems  In some special cases updates may knowingly break the functionality, for instance, by removing components for which the update provider is no longer licensed or disabling a device.
Patch management is the process of using a strategy and plan of what patches should be applied to which systems at a specified time

Oracle Smart Update(BSU) /online mode of applying patch

Picture
















Applying patches on WebLogic Server using Oracle Smart Update(BSU):  Oracle provides the Smart Update utility to apply patches and upgrade the WebLogic Server installations. Oracle’s WebLogic Server is now a critical component  of Fusion Middleware and every other component of Fusion Middleware requires WebLogic Server to be installed as  a pre-requisite. Applying patches and upgrading WebLogic Server is quite straight forward using the Oracle’s Smart Update utility.

Before applying patch ensure that all the Weblogic process are down .otherwise it will create a problem in applying patch.

The location of the bsu utility is
C:\Oracle\Middleware\utils\bsu

You can apply patch in 2 modes
1 .Online mode
2.Offline mode

Picture















For Online mode:
Get the Patch Jars from Oracle Support and Put them in some Location like
C:\Oracle\Middleware\utils\bsu\cache_dir(If the cache_dir folder is not available then create the same)

Place the jar file and the patch-catalog_21394 file .

Then double click on the bsu.cmd


Picture
















It will validate the patch information and it will take the information from the cache_dir folder all the patch present and will display in the Downloaded Patches .

Click on Apply 

Picture
















It will first perform validation of the patch and the conflicts between the patches .

Once no conflict is detected
Press Ok 

Picture

















The patch will be applied on the Weblogic .

Note:
To Remove the patch click on the Remove and the patch will be removed from the Weblogic.

to verify that the patch is correctly applied or not



Picture












You can verify in the console by going to
Environment==>Admin Server ==>Monitoring ==>General

WebLogic Version:
WebLogic Server Temporary Patch for BUG14758635 Wed Jul 24 11:22:18 MDT 2013 WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050


It will display the patch applied for the Bug 

Picture











Second way to verify that the patch is picked or not is to look into the out file or the cmd prompt.

It will display the following Information
WebLogic Version:
WebLogic Server Temporary Patch for BUG14758635 Wed Jul 24 11:22:18 MDT 2013 WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050

Thus we can be sure that the patch has been applied and is being picked up by Weblogic.

offline mode of applying patch

Picture















Online mode:
Get the Patch Jars from Oracle Support and Put them in some Location like
C:\Oracle\Middleware\utils\bsu\cache_dir(If the cache_dir folder is not available then create the same)

Place the jar file and the patch-catalog_21394 file .

Picture












Then run the following command

C:\Oracle\Middleware\utils\bsu>bsu.cmd -prod_dir=C:\Oracle\Middleware\wlserver_1
0.3 -patchlist=HH1Y -verbose -install



Change the patch list name based on the patch you are applying.

It will check for the conflicts and then if no conflicts are found it will apply the patch.

Picture











To remove the patch run the following command



C:\Oracle\Middleware\utils\bsu>bsu.cmd -remove -patchlist=HH1Y -prod_dir=C:\Orac
le\Middleware\wlserver_10.3 -verbose


Change the patch list name based on the patch you are removing.

Picture






















To view the patch applied on weblogic
Run:
C:\Oracle\Middleware\utils\bsu>bsu -report


You will get a detailed report of the applied patch.