<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Patch weblogic Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/patch-weblogic/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 10 Jun 2020 21:20:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to patch  Weblogic server</title>
		<link>https://www.osradar.com/how-to-patch-weblogic-server/</link>
					<comments>https://www.osradar.com/how-to-patch-weblogic-server/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Wed, 10 Jun 2020 15:16:13 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to patch weblogic]]></category>
		<category><![CDATA[Patch weblogic]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=20976</guid>

					<description><![CDATA[<p>To patch Weblogic you need support account on Oracle site, and patching is very important to ensure the stability and Security of your Weblogic server . me explain to you how to install Patch on weblogic using opatch tool . !- Download Patch from Oracle Server access support site and find latest securoyt and bug [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-patch-weblogic-server/">How to patch  Weblogic server</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>To patch  Weblogic you need support account on Oracle site,  and patching is very important to ensure the stability  and Security of your Weblogic server  .   me explain to  you  how to install Patch on weblogic using opatch tool .</p>



<p></p>



<h3>!- Download  Patch from Oracle  Server </h3>



<p>access support site and  find latest securoyt and bug fixed  and download it to some location on your Linux Server. In  my case i will show you to install this path P30970477 on Weblogic server 12.2.1.4</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="650" height="437" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/image.png" alt="" class="wp-image-20977" srcset="https://www.osradar.com/wp-content/uploads/2020/06/image.png 650w, https://www.osradar.com/wp-content/uploads/2020/06/image-300x202.png 300w" sizes="(max-width: 650px) 100vw, 650px" /></figure>



<p>Stop</p>



<h3>2-Shut down WebLogic, Nodemanager and Managed Server.</h3>



<p>In my case i have all processes on systemd.</p>



<p>  systemctl stop wls-managed.service nodemanager.service admin.service</p>



<p><strong>Check everyting is down using:</strong></p>



<p><br>ps -ef|grep -i NODE<br> ps -ef|grep -i ADMIN<br> ps -ef|grep -i JAVA</p>



<p>Kill any porcess related to weblogic.</p>



<h3> 3-Backup existing Weblogic Installation</h3>



<p>Its high recommended to back up your installation Directory to  roll back later if the installation patch failed or corrupted.</p>



<p></p>



<h3>4-Unzip the Patch file </h3>



<p>Please go to the downloaded file and unzip  it </p>



<pre class="wp-block-code"> soft_install]$ unzip p30970477_122140_Generic.zip
Archive:  p30970477_122140_Generic.zip
   creating: 30970477/
   creating: 30970477/etc/
   creating: 30970477/etc/config/
  inflating: 30970477/etc/config/inventory.xml
  inflating: 30970477/etc/config/patchdeploy.xml
  inflating: 30970477/etc/config/actions.xml
  inflating: 30970477/README.html
   creating: 30970477/files/
   creating: 30970477/files/oracle.wls.libraries/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/management/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/management/configuration/
  inflating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/management/configuration/RestfulManagementServicesMBean.class
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/security/
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/security/net/
  inflating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/server/lib/wls-api-part.jar/weblogic/security/net/ConnectionFilterImpl.class
   creating: 30970477/files/oracle.wls.libraries/12.2.1.4.0/wls.server.symbol/modules/
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="379" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/image-1-1024x379.png" alt="" class="wp-image-20983" srcset="https://www.osradar.com/wp-content/uploads/2020/06/image-1-1024x379.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/image-1-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/image-1-768x285.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/image-1-696x258.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/image-1-1068x396.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/image-1.png 1104w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3>5-Check opatch version.</h3>



<p>First thing define the Oralce_home where ur weblogic installed and add opatch to your path</p>



<p><br>[weblogic@server]$ export ORACLE_HOME=/app/weblogic/Oracle/Middleware<br> [weblogic@server]$ export PATH=$ORACLE_HOME/OPatch:$PATH</p>



<p>$ORACLE_HOME/OPatch/opatch version</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="780" height="66" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/image-2.png" alt="" class="wp-image-20986" srcset="https://www.osradar.com/wp-content/uploads/2020/06/image-2.png 780w, https://www.osradar.com/wp-content/uploads/2020/06/image-2-300x25.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/image-2-768x65.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/image-2-696x59.png 696w" sizes="(max-width: 780px) 100vw, 780px" /></figure>



<h3>6- Run the patch </h3>



<p>Change  directory the extracted  file patch and run the patch </p>



<p></p>



<pre class="wp-block-code">&#91;weblogic@server1 30970477]$ $ORACLE_HOME/OPatch/opatch  apply
Oracle Interim Patch Installer version 13.9.4.2.1
Copyright (c) 2020, Oracle Corporation.  All rights reserved.


Oracle Home       : /app/weblogic/Oracle/Middleware
Central Inventory : /app/Oracle/oraInventory
   from           : /app/weblogic/Oracle/Middleware/oraInst.loc
OPatch version    : 13.9.4.2.1
OUI version       : 13.9.4.0.0
Log file location : /app/weblogic/Oracle/Middleware/cfgtoollogs/opatch/opatch2020-06-08_15-54-36PM_1.log


OPatch detects the Middleware Home as "/app/weblogic/Oracle/Middleware"

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   30970477

Do you want to proceed? &#91;y|n]
y
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/app/weblogic/Oracle/Middleware')


Is the local system ready for patching? &#91;y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '30970477' to OH '/app/weblogic/Oracle/Middleware'
ApplySession: Optional component(s) &#91; oracle.fmwconfig.common.wls.shared, 12.2.1.4.0 ] , &#91; oracle.webservices.wls.jaxrpc, 12.2.1.4.0 ]  not present in

Patching component oracle.wls.common.cam.wlst, 12.2.1.4.0...

Patching component oracle.webservices.wls, 12.2.1.4.0...

Patching component oracle.wls.libraries, 12.2.1.4.0...

Patching component oracle.wls.shared.with.cam, 12.2.1.4.0...

Patching component oracle.fmwconfig.common.wls.shared.internal, 12.2.1.4.0...

Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.4.0...

Patching component oracle.webservices.base, 12.2.1.4.0...

Patching component oracle.wls.jrf.tenancy.ee.only.sharedlib, 12.2.1.4.0...

Patching component oracle.wls.admin.console.en, 12.2.1.4.0...

Patching component oracle.wls.admin.console.en, 12.2.1.4.0...

Patching component oracle.wls.core.app.server, 12.2.1.4.0...

Patching component oracle.wls.core.app.server, 12.2.1.4.0...
Patch 30970477 successfully applied.
Log file location: /app/weblogic/Oracle/Middleware/cfgtoollogs/opatch/opatch2020-06-08_15-54-36PM_1.log

OPatch succeeded.
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="673" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/image-3-1024x673.png" alt="" class="wp-image-20987" srcset="https://www.osradar.com/wp-content/uploads/2020/06/image-3-1024x673.png 1024w, https://www.osradar.com/wp-content/uploads/2020/06/image-3-300x197.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/image-3-768x505.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/image-3-696x458.png 696w, https://www.osradar.com/wp-content/uploads/2020/06/image-3-1068x702.png 1068w, https://www.osradar.com/wp-content/uploads/2020/06/image-3-741x486.png 741w, https://www.osradar.com/wp-content/uploads/2020/06/image-3.png 1265w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>7-Check your Installed Patch / or Patches </strong></p>



<p>opatch Command  options </p>



<pre class="wp-block-preformatted wp-block-code">/app/weblogic/Oracle/Middleware/OPatch/opatch   -help
Oracle Interim Patch Installer version 13.9.4.2.1
Copyright (c) 2020, Oracle Corporation.  All rights reserved.


 Usage: opatch [ -help ] [ -report ] [ command ]

            command := apply
                       checkapplicable
                       compare
                       lsinventory
                       lspatches
                       napply
                       nrollback
                       rollback
                       query
                       version
                       prereq
                       util
</pre>



<p><strong> List  Installed  Pathes </strong></p>



<p>Do it like This:</p>



<p>$ORACLE_HOME/OPatch/opatch lsinv</p>



<p>The results</p>



<pre class="wp-block-preformatted wp-block-code">weblogic@server1~]$ /app/weblogic/Oracle/Middleware/OPatch/opatch    lsinv
Oracle Interim Patch Installer version 13.9.4.2.1
Copyright (c) 2020, Oracle Corporation.  All rights reserved.


Oracle Home       : /app/weblogic/Oracle/Middleware
Central Inventory : /app/Oracle/oraInventory
   from           : /app/weblogic/Oracle/Middleware/oraInst.loc
OPatch version    : 13.9.4.2.1
OUI version       : 13.9.4.0.0
Log file location : /app/weblogic/Oracle/Middleware/cfgtoollogs/opatch/opatch2020-06-10_14-18-13PM_1.log


OPatch detects the Middleware Home as "/app/weblogic/Oracle/Middleware"

Lsinventory Output file location : /app/weblogic/Oracle/Middleware/cfgtoollogs/opatch/lsinv/lsinventory2020-06-10_14-18-13PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: server-osradar
ARU platform id: 226
ARU platform description:: Linux x86-64


Interim patches (2) :

Patch  30761841     : applied on Tue Jun 09 16:19:50 CEST 2020
Unique Patch ID:  23320452
Patch description:  "One-off"
   Created on 11 Jan 2020, 04:49:19 hrs PST8PDT
   Bugs fixed:
     30468443

Patch  30970477     : applied on Mon Jun 08 15:57:33 CEST 2020
Unique Patch ID:  23416256
Patch description:  "WLS PATCH SET UPDATE 12.2.1.4.200228"
   Created on 28 Feb 2020, 17:33:54 hrs PST8PDT
   Bugs fixed:
     26444945, 29247835, 29671344, 29769772, 30067299, 30068341, 30153412
     30230430, 30341541, 30342923, 30362026, 30362086, 30459026, 30558254
     30563848, 30589563, 30624882, 30633620, 30734182, 30740009, 30801769
     30814590, 30837932, 30885217, 30885237, 30729141



--------------------------------------------------------------------------------

OPatch succeeded.
</pre>



<p> </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="845" height="495" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/06/image-4.png" alt="" class="wp-image-20989" srcset="https://www.osradar.com/wp-content/uploads/2020/06/image-4.png 845w, https://www.osradar.com/wp-content/uploads/2020/06/image-4-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2020/06/image-4-768x450.png 768w, https://www.osradar.com/wp-content/uploads/2020/06/image-4-696x408.png 696w" sizes="(max-width: 845px) 100vw, 845px" /></figure>



<p>Restart your Server  and  enjoy</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-patch-weblogic-server/">How to patch  Weblogic server</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-patch-weblogic-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
