Oracle weblogic installation from console

the -silent mode is actually console installation without gui. Create 2 files 1 responseFile.properties [ENGINE] Response File Version=1.0.0.0.0 [GENERIC] ORACLE_HOME=/path-to-install-to INSTALL_TYPE=WebLogic Server MYORACLESUPPORT_USERNAME= MYORACLESUPPORT_PASSWORD= DECLINE_SECURITY_UPDATES=true SECURITY_UPDATES_VIA_MYORACLESUPPORT=false PROXY_HOST= PROXY_PORT= PROXY_USER= PROXY_PWD=<SECURE VALUE> COLLECTOR_SUPPORTHUB_URL= oraInst.loc inventory_loc=/inventory/ inst_group=users Run this command in shell java -jar fmw_12.2.1.1.0_wls.jar -silent -invPtrLoc /fullpath/oraInst.loc -responseFile /fullpath/responseFile.properties for windows java -jar fmw_12.2.1.1.0_wls.jar -silent -invPtrLoc c:\oracle\oraInst.loc -responseFile c:\oracle\responseFile.properties in responseFile.properties change ORACLE_HOME=c:\\some-path-to-install

July 1, 2016 · 1 min · Özkan Pakdil

How to use opatch in windows

Oracle has opatch utility for applying weblogic patches. you just need to unzip the patch package and run the command like this C:\Oracle\wls12.1.3\OPatch>opatch apply C:\Oracle\wls12.1.3\OPatch\utils\patches\20741228 Oracle Interim Patch Installer version 13.2.0.0.0 Copyright (c) 2014, Oracle Corporation. All rights reserved. Oracle Home : C:\Oracle\WLS121~1.3 Central Inventory : C:\Program Files\Oracle\Inventory from : n/a OPatch version : 13.2.0.0.0 OUI version : 13.2.0.0.0 Log file location : C:\Oracle\WLS121~1.3\cfgtoollogs\opatch\20741228_Feb_01_2016_10_10_23\appl OPatch detects the Middleware Home as "C:\Oracle\wls12.1.3" Feb 01, 2016 10:10:24 AM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl INFO: Install area Control created with access level 0 Applying interim patch '20741228' to OH 'C:\Oracle\WLS121~1.3' Verifying environment and performing prerequisite checks... All checks passed. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = 'C:\Oracle\WLS121~1.3') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Patching component oracle.javavm.jrf, 12.1.0.2.0... Verifying the update... Patch 20741228 successfully applied Log file location: C:\Oracle\WLS121~1.3\cfgtoollogs\opatch\20741228_Feb_01_2016_10_10_23\apply OPatch succeeded. for listing patches already applid in the system C:\Oracle\wls12.1.3\OPatch>opatch lspatches Feb 01, 2016 5:53:32 PM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl INFO: Install area Control created with access level 0 21370953;WebLogic Server 12.1.3.0.5 PSU Patch for BUG21370953 October 2015 20469805;One-off 20741228;JDBC 12.1.3.1 BP1 22192029;One-off making a rollback one of the patches C:\Oracle\wls12.1.3\OPatch>opatch rollback -id 21370953 Oracle Interim Patch Installer version 13.2.0.0.0 Copyright (c) 2014, Oracle Corporation. All rights reserved. Oracle Home : C:\Oracle\WLS121~1.3 Central Inventory : C:\Program Files\Oracle\Inventory from : n/a OPatch version : 13.2.0.0.0 OUI version : 13.2.0.0.0 Log file location : C:\Oracle\WLS121~1.3\cfgtoollogs\opatch\21370953_Feb_01_2016_17_56_20\roll OPatch detects the Middleware Home as "C:\Oracle\wls12.1.3" Feb 01, 2016 5:56:24 PM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl INFO: Install area Control created with access level 0 RollbackSession rolling back interim patch '21370953' from OH 'C:\Oracle\WLS121~1.3' Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = 'C:\Oracle\WLS121~1.3') Is the local system ready for patching? [y|n] y User Responded with: Y Patching component oracle.wls.libraries, 12.1.3.0.0... Patching component oracle.wls.libraries, 12.1.3.0.0... Patching component oracle.wls.clients, 12.1.3.0.0... Patching component oracle.wls.clients, 12.1.3.0.0... Patching component oracle.wls.core.app.server, 12.1.3.0.0... Patching component oracle.wls.core.app.server, 12.1.3.0.0... Patching component oracle.wls.libraries.mod, 12.1.3.0.0... Patching component oracle.wls.libraries.mod, 12.1.3.0.0... Patching component oracle.webservices.wls, 12.1.3.0.0... Patching component oracle.webservices.wls, 12.1.3.0.0... Patching component oracle.wls.server.shared.with.core.engine, 12.1.3.0.0... Patching component oracle.wls.server.shared.with.core.engine, 12.1.3.0.0... Patching component oracle.wls.workshop.code.completion.support, 12.1.3.0.0... Patching component oracle.wls.workshop.code.completion.support, 12.1.3.0.0... Patching component oracle.wls.admin.console.en, 12.1.3.0.0... Patching component oracle.wls.admin.console.en, 12.1.3.0.0... RollbackSession removing interim patch '21370953' from inventory Log file location: C:\Oracle\WLS121~1.3\cfgtoollogs\opatch\21370953_Feb_01_2016_17_56_20\rollback2016-02-01_17-56-02PM_1.log OPatch succeeded. ...

February 2, 2016 · 2 min · Özkan Pakdil

jms jsp xa and non xa examples

sometime you may need to configure jms messaging queue and when you need that you will configure jndi too. writing a jsp to test them is a good idea. or you may just got find a huge ear project like 200mbs and you need to see if this jndi and jms still works there. you can use these jsps for those. in weblogic there is XA enabled jms. which uses JTA user-transactions. and in my case I needed to test both nonXA and XA enabled jmsses. ...

January 5, 2016 · 3 min · Özkan Pakdil