Professional Documents
Culture Documents
LinkedIn: https://www.linkedin.com/in/prathamesh-sawant7882
5. On the Patch Search page, in the Patch Advanced Search Results pane, click 22248372 and
click Download.
6. In the File Download window, click the p22248372_122100_Generic.zip link.
7. In the Opening p22248372_122100_Generic.zip window, select Save File and click OK.
8. Save the patch file in an appropriate location. In this tutorial, the file was saved
in /install/weblogicpatch.
$ cd /scratch/u01/app/fmw/OPatch
3. $ ./opatch version
4. OPatch Version: 13.3.0.0.0
5.
6. OPatch succeeded.
2. $ cd /scratch/u01/app/fmw/oracle_common/bin
INFO : Apr 13, 2016 5:24:00 AM - CLONE-21016 Adding Oracle Home "
/scratch/u01/app/fmw" binaries to the archive started ...
Mandatory Arguments:
Argument name Shortcut Description
-archiveLoc -al The absolute path of the archive location. Use this option
to specify the location of the archive file to be created
with the copyBinary script. Ensure that the archive
location isn't within the Oracle home structure.
4. To apply the archive to the target destination, paste the binary files of the source Oracle home to
the target environment.
INFO : Apr 13, 2016 5:35:12 AM - CLONE-21157 OUI and engine binar
ies are extracted to temporary location successfully.
INFO : Apr 13, 2016 5:35:30 AM - CLONE-21161 Oracle Home name "fm
w_prod" is valid as it is not yet registered with the Oracle invent
ory.
Mandatory Arguments:
Name: Prathamesh Sawant
LinkedIn: https://www.linkedin.com/in/prathamesh-sawant7882
-archiveLoc -al The absolute path of the archive location. Use this option
to specify the location of the archive file created with
the copyBinary script. Ensure that the archive location
isn't within the Oracle home structure.
- -toh The absolute path to the target Oracle home. The Oracle
targetOracleHomeLoc home directory can’t be at that location. If it is, it must be
an empty directory. Otherwise, the script returns an error
message. Don’t put -targetOracleHomeLoc inside
another Oracle home.
$ cd /install/weblogicpatch
$ export PATCH_TOP=/install/weblogicpatch
3. Set the ORACLE_HOME environment variable to the target Oracle home directory.
$ export ORACLE_HOME=/scratch/u01/app/fmw_prod
$ export JAVA_HOME=/scratch/jdk1.8.0_51
5. Add the directory for the OPatch utility to the Linux PATH.
$ export PATH=$ORACLE_HOME/OPatch:$PATH
6. Confirm that the opatch executable file appears in your system PATH.
7. $ which opatch
8. /scratch/u01/app/fmw_prod/OPatch/opatch
9. Extract the patch zip file into the PATCH_TOP directory. If you're asked to replace an existing file,
enter A for “All.”
$ cd $PATCH_TOP/22250572
from : /scratch/u01/app/fmw_prod/oraInst.loc
-------------------------------------------------------------------
-------------
Hostname: host01.example.com
19030178
19154304
-------------------------------------------------------------------
-------------
OPatch succeeded.
12.Display the information about the six interim patches that ship with WebLogic Server.
from : /scratch/u01/app/fmw_prod/oraInst.loc
Backing up files...
OPatch succeeded.
17.Repeat step 9. The OPatch utility should find the interim patch that you just applied.
from : /scratch/u01/app/fmw_prod/oraInst.loc
-------------------------------------------------------------------
-------------
Hostname: host01.example.com
Bugs fixed:
22175246, 22200449, 21495475, 22247869
19154304
-------------------------------------------------------------------
-------------
OPatch succeeded.
$ cd /scratch/u01/app/fmw/user_projects/domains/mydomain/bin
$ ./stopWebLogic.sh
WLST lost connection to the WebLogic Server that you were connected
to.
You will have to re-connect to the server once the server is availa
ble.
Name: Prathamesh Sawant
LinkedIn: https://www.linkedin.com/in/prathamesh-sawant7882
Done
2. If the Node Manager isn't running, open a terminal window and change to the following directory.
$ cd /scratch/u01/app/fmw/user_projects/domains/mydomain/bin
$ ./startNodeManager.sh
$ cd /scratch/u01/app/fmw/oracle_common/common/bin
$ ./wlst.sh
wls:/offline>
wls:/offline> nmConnect('weblogic','welcome1','host01.example.com','
5556','myDomain','/scratch/u01/app/fmw/user_projects/domains/myDomai
n','ssl')
wls:/nm/mydomain> nmStart('AdminServer','/scratch/u01/app/fmw/user_p
rojects/domains/mydomain')
Name: Prathamesh Sawant
LinkedIn: https://www.linkedin.com/in/prathamesh-sawant7882
Description of
this image
7. On the Rollout Task page, select Oracle Home and click Next.
Name: Prathamesh Sawant
LinkedIn: https://www.linkedin.com/in/prathamesh-sawant7882
Description
of this image
8. On the Oracle Home Patching page, enter the following values and then click Finish.
Rollout OracleHome: /scratch/u01/app/wls1221_patched.jar
Backup OracleHome: /scratch/u01/app/Oracle_Home_backup
The rollout task starts:
Description of
this image
9. Reload the WebLogic Server Administration Console and log in with your credentials.
10.Repeat steps 4 and 5. In the Domain table, verify that SUCCESS appears in the Status of Last
Action column.
Description
of this image