oracle r12 on vmware server v 1.6

Upload: milind-gokarn

Post on 31-Oct-2015

157 views

Category:

Documents


1 download

DESCRIPTION

VMware R12 installation

TRANSCRIPT

  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    1/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 1

    Oracle R12 (12.1.1) on VMware

    Focusthread Limitedhttp://focusthread.com

    eMail - [email protected]

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/mailto:[email protected]:[email protected]://focusthread.com/http://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    2/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 2

    1 Introduction................................................................................................................. 42 Content in External Hard Drive .................................................................................. 5

    3 Install VMWare server on your windows machine .................................................... 64 Create virtual machine focusthreadr12.com ............................................................. 134.1 Change location of Disk in vmx (VMware configuration) file......................... 134.2 Import Virtual Machine focusthreadr12.com ................................................... 17

    4.2.1 Login to VMware Console........................................................................ 174.2.2 Add Datastore ........................................................................................... 184.2.3 Add Virtual Machine to Inventory............................................................ 214.2.4 Start Virtual Machine focusthreadr12.com............................................... 234.2.5 Install VMWare Remote Console Plug-In................................................ 244.2.6 Bind MAC address for Ethernet Card....................................................... 32

    5 Configure Hosts file and Install Putty on windows machine.................................... 40

    5.1 Configure hosts file on windows machine........................................................ 405.2 Test hosts file configuration.............................................................................. 405.3 Download putty and start application ............................................................... 40

    6 Start Applications R12.............................................................................................. 456.1 Start Database Tier............................................................................................ 456.2 Start Application Tier ....................................................................................... 46

    7 Access Application from Windows Machine ........................................................... 487.1 Accessing forms for first time........................................................................... 48

    8 Shutdown Applications R12 ..................................................................................... 558.1 Shutdown Application Tier............................................................................... 558.2 Shutdown Database Tier ................................................................................... 55

    9 Connect from TOAD ................................................................................................ 5910 JDeveloper Configuration..................................................................................... 6011 Troubleshooting .................................................................................................... 61

    11.1 Page not responsing .......................................................................................... 6111.1.1 Fix 1: Try stopping concurrent Manager and then try .............................. 6111.1.2 Fix 2: Check status of OC4J ..................................................................... 63

    11.2 Internal Server Error on Login Page ................................................................. 6611.3 500 Internal Server Error Servlet error : An exception occurred : The currentapplication deployment descriptor do not allow for including it in this response. ...... 7011.4 FRM-92050 Failed to connect to Server /forms/servlet -1 ............................... 7111.5 Unable to see VMWare login page................................................................... 76

    11.6 Unable to start VMWare Host Agent................................................................ 7911.7 VMWare Login issue : VMware infrastructure Web Service is not responding(Connection Refused) ................................................................................................... 8111.8 Unable to start Virtual Disk focusthreadr12.com ............................................. 8211.9 Cannot open disk XXXXXXXX ...................................................................... 8411.10 Unable to connect to foscusthreaderp.com from Putty................................. 8511.11 Invalid Security Certificate........................................................................... 8611.12 VMware virtual machine startup hangs at 95%............................................ 8711.13 Virtual Machine not recognized.................................................................... 9011.14 Remote Console Plug-In Error : Cannot access virtual machine console. Therequest timed out........................................................................................................... 95

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    3/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 3

    12 Appendix............................................................................................................... 9612.1 Change Network Adapter from Bridged to NAT ............................................. 96

    12.2 How to change memory of Linux Machine to 2 GB ...................................... 102

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    4/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 4

    1 Introduction

    This document covers installation of VMware, import Oracle Applications R12 andstart/stop Oracle Applications R12

    Steps mentioned in 1-5 are one time setup task. Step 6 Start Applications R12should be done each time you start virtual machine.

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    5/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 5

    2 Content in External Hard Drive

    Plug-in external Hard Disk (USD Disk) to your computer and access it

    Start Menu -> My Computer -> FreeAgent Drive

    Right Click on FreeAgent Drive and click on explore

    FolderR12_Vmware contains Virtual Disk which contains R12 images on LinuxFoldervmware contains Vmware server software and license key for vmware server

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    6/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 6

    3 Install VMWare server on your windows machine

    If VMWare Server is already running on your machine then skip this step and go to

    step 4 import virtual machine focusthreadr12.com

    (Installation of VMware is simple and similar to any other software installation onwindows machine)

    1. Open directory vmware and double click on VMware-server-2.0.0-122956.exe

    2. Click on Run

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    7/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 7

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    8/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 8

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    9/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 9

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    10/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 10

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    11/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 11

    Enter License Key as A8MA4-FM02M-V9536-4A6LT

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    12/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 12

    At this stage your PC will restart

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    13/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 13

    4 Create virtual machine focusthreadr12.com

    4.1 Change loc at ion of Disk in vmx (VMware conf igu rat ion ) f i le

    If your external hard diskdrive name on your system is Kthen skip this step and go tonext step

    (Disk Name in below drive is F )

    Open file focusthreadr12.com.vmx file using Notepad and change location ofvmdkfile from Kdrive to drive in your case

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    14/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 14

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    15/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 15

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    16/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 16

    In this example our external hard drive name is H so changing value in configurationfile (focusthreadr12.com.vmx) from Kto H (Change this value to D , E or Fdepending drive name at your system)

    Save vmx file after changing scsci0:0.filename location

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    17/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 17

    4.2 Imp ort Vir tual Machin e foc usth readr12.com

    4.2.1 Login to VMware Console

    Start VMware Server Console by

    Clicking on image like on Desktop

    Or by typing URL on browser (IE or Mozilla)https://localhost:8333/ui

    When prompted for username/password, enter your windows administrator username andpassword (administrator/)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    18/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 18

    Here administrator is user on local machine with admin privileges (You can use otheruser as well)

    4.2.2 Add Datastore

    Click on Add Datastore on right side under commands

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    19/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 19

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    20/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 20

    H is drive where external hard disk is attached and r12_vmware is directory underthis.

    Change H drive in directory path to Drive Name as per your external Harddisk Drive

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    21/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 21

    4.2.3 Add Virtual Machine to Inventory

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    22/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 22

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    23/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 23

    4.2.4 Start Virtual Machine focusthreadr12.com

    Select virtual machine (focusthreadr12.com) on left side under inventory and click onGreen Arrow button to start virtual machine

    Click on Console tab to open console and then click on Install Plug-In

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    24/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 24

    4.2.5 Install VMWare Remote Console Plug-In

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    25/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 25

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    26/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 26

    Start VMWare again by clicking on VMware button

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    27/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 27

    If you get above error message then add your local machine to trusted hosts list inyour browser (IE Internet Explorer)

    UnderInternet Explorer -> Tools -> Internet Explorer

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    28/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 28

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    29/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 29

    Select Security tab -> Trusted Sites -> Sites

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    30/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 30

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    31/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 31

    Try accessing console again by opening VMware console from new browser session

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    32/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 32

    4.2.6 Bind MAC address for Ethernet Card

    Login as root/welcome1 (User Name root , Password welcome1)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    33/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 33

    Applications -> System Settings -> Network

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    34/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 34

    Click on Edit

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    35/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 35

    Select Hardware Device tab and click on Probe and then click on OK

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    36/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 36

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    37/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 37

    Activate Network Card Eth0

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    38/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 38

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    39/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 39

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    40/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 40

    5 Configure Hosts file and Install Putty on windows

    machine

    5.1 Conf igure hos ts f i le on window s machine

    For Windows XP or Windows NT open hosts file (using notepad) at

    C:\WINDOWS\system32\drivers\etc

    add entry like below and save file (ctrl + s)

    192.168.1.12 focusthreadr12.com focusthreadr12

    If your windows client machine is Windows Vista then use steps here to edit hosts file

    http://onlineappsdba.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/

    5.2 Test ho sts f i le con f igurat ion

    Ping focusthreadr12.com should resolve to 192.168.1.12

    5.3 Download putty and start appl icat ion

    Download putty from herehttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://onlineappsdba.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlhttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlhttp://onlineappsdba.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/http://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    41/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 41

    Save putty.exe on desktop

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    42/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 42

    Start Putty by double clicking on putty.exe from Desktop

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    43/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 43

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    44/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 44

    Login as root / welcome1 (Username root Password welcome1)

    If you face issues connecting to focusthreadr12.com using putty then go to section

    change network card from Bridged to NAT

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    45/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 45

    6 Start Applications R12

    6.1 Start Databas e Tier

    Login as root/welcome1 (using putty installed above) to server 192.168.1.12 su ovisr12 (password is welocme1) sqlplus /as sysdba SQL> startup lsnrctl start visr12

    Database open will take 5-10 minutes

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    46/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 46

    6.2 Start Ap pl icat ion Tier

    su avisr12 (password is welcome1)cd $ADMIN_SCRIPTS_HOMEsqlplus apps/apps (This step is to check that application tier can connect to Database)

    ./adstrtal.sh apps/apps (Dot infront of forward slash)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    47/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 47

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    48/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 48

    7 Access Application from Windows Machine

    1. Add entry in your hosts file C:\WINDOWS\system32\drivers\etc\hosts192.168.1.12 focusthreadr12.com focusthreadr12

    If your operating system is windows Vista then to edit hosts file check here

    http://onlineappsdba.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/

    7.1 Accessing forms for fi rs t t ime

    2. Access Applications R12 from URL

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://onlineappsdba.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/http://onlineappsdba.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/http://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    49/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 49

    http://focusthreadr12.com:8000

    login as sysadmin/sysadmin

    This step is applicable only if JRE1.6 is not already installed on client machine fromwhere you are accessing forms in R12

    Click on link here to install JRE 1.6

    Click again on forms link like

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthreadr12.com:8000/http://focusthreadr12.com:8000/http://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    50/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 50

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    51/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 51

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    52/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 52

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    53/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 53

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    54/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 54

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    55/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 55

    8 Shutdown Applications R12

    Shutdown order is reverse of startup , first shutdown application tier and then shutdowndatabase tier

    8.1 Shutd ow n Appl icat ion Tier

    su avisr12 (password is welcome1)cd $ADMIN_SCRIPTS_HOMEsqlplus apps/apps (This step is to check that application tier can connect to Database)

    ./adstpall.sh apps/apps (Dot infront of forward slash)

    8.2 Shutd ow n Database Tier

    Login as root/welcome1 (using putty installed above) to server 192.168.1.12 su ovisr12 (password is welocme1) sqlplus /as sysdba SQL> shutdown immediate lsnrctl stop visr12

    Kill any LOCAL=NO processes (DONOT kill grep LOCAL=NO) process

    LOCAL=NO are processes while are still hanging from Middle Tier

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    56/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 56

    Shutdown Linux Machine (focusthreadr12.com)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    57/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 57

    3. Access Applications R12 from URL

    http://focusthreadr12.com:8000

    login as sysadmin/sysadmin

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthreadr12.com:8000/http://focusthreadr12.com:8000/http://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    58/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 58

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    59/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 59

    9 Connect from TOAD

    Check if you can ping focusthreadr12.com

    Install Database Client or ensure that you already have database client running onyour windows machine

    Add alias like visr12 for R12 in tnsnames.ora under database client onwindows machine

    Test if you can run tnsping visr12 from your windows command prompt Test if you can connect to database from your windows machine using sqlplus i.e.

    sqlplus apps/apps@visr12

    Connect using toad now

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    60/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 60

    10 JDeveloper Configuration

    E-Business Suite shipped as part of this external disk is version 12.1.1.To find Jdeveloper version you could refer to Oracle My Support (earlier Metalink) Note# 787209.1 How to find the correct version of Jdeveloper to use with eBusiness Suite

    11i or R12

    For 12.1.1 (We are on 12.1.1 version of Oracle Apps) : You should install Jdeveloper 10gPatch # 8431482 10g Jdeveloper with OAExtension ARU for R12.1.1 (614 MB file)

    Login to Oracle My Support (earlier Metalink) and download patch 8431482

    Follow installation steps as readme.

    In case of any doubts , drop mail to [email protected]

    http://focusthread.com/traininghttp://focusthread.com/trainingmailto:[email protected]:[email protected]://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    61/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 61

    11 Troubleshooting

    11.1 Page no t resp on sing

    If you type URL and nothing happens (blank page) then check below things

    11.1.1 Fix 1: Try stopping concurrent Manager and then try

    su avisr12 (password is welcome1)cd $ADMIN_SCRIPTS_HOMEsqlplus apps/apps (This step is to check that application tier can connect to Database)

    ./adcmctl.sh stop apps/apps (Dot infront of forward slash)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    62/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 62

    Wait for 5 minutes and then try accessing apps. If issue is still not fixed then go to nextstep Fix 2

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    63/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 63

    11.1.2 Fix 2: Check status of OC4J

    (Bounce of OC4J using OPMN should fix issue, if not then check Java Cache Logs

    and other things given below)

    Check application.log

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    64/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 64

    If you see error message in logs then restart OC4Js using adopmnctl.sh script

    Try again accessing application from client, if you still cant login then go to next

    step

    Check Java Cache log

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    65/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 65

    Entry like above means java cache is working fine

    If you see last entry asjavacache shutdown then contact Focus Thread Team and askthem to run AutoConfig on system

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    66/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 66

    11.2 Internal Server Erro r o n Login Page

    1.

    Login to putty as useravisr122. cd $ADMIN_SCRIPTS_HOME

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    67/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 67

    3. cd $LOG_HOME/ora/10.1.3/opmn

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    68/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 68

    4. cd $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/persistence5. Delete files under persistence directory (Ensure that you are in persistence

    directory by running pwd)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    69/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 69

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    70/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 70

    11.3 500 Intern al Server Erro r Servlet error : An excep tion

    occu rred : The current appl icat ion d eployment d escr iptor donot allow for including i t in this respon se.

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    71/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 71

    11.4 FRM-92050 Failed t o conn ect to Server /form s/servlet -1

    Check Internet Explorer version

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    72/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 72

    If its IE 8 then disable XSS filter

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    73/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 73

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    74/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 74

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    75/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 75

    Disable XSS filter and click OK

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    76/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 76

    11.5 Unable to see VMWare login page

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    77/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 77

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    78/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 78

    Start all services related to VMWare and try connecting to VMware again

    If you cant start services then check next section

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    79/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 79

    11.6 Unable to start VMWare Host Agent

    If you start VMware Host Agent and it fails with below error

    Start Event Viewer

    Check Logs under section in System

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    80/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 80

    VMware Host Agent service terminated with service-specific error 4294967295

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    81/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 81

    11.7 VMWare Log in is sue : VMware infrastruc ture Web Service is

    not respon ding (Connect ion Refused)

    Ensure that Administrator account is enabled

    First youll need to open a command prompt in administrator mode by right-clicking andchoosing Run as administrator

    Now type the following command:

    net user administrator /active:yes

    http://helpdeskgeek.com/virtualization/vmware-server-web-access-default-username-and-password/

    Now set password for Administrator account and reboot machine and then try

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://helpdeskgeek.com/virtualization/vmware-server-web-access-default-username-andhttp://helpdeskgeek.com/virtualization/vmware-server-web-access-default-username-andhttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    82/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 82

    11.8 Unable to start Vir tual Disk focu sthreadr12.com

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    83/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 83

    Now try starting VMware again

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    84/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 84

    11.9 Canno t open disk XXXXXXXX

    Ensure that name used in vmware configuration file (vmx) is correct for vmdk file

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    85/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 85

    11.10 Unable to con nect to fo scu sthreaderp.com from Putty

    If you are unable to ping focusthreadr12.com from your windows machine then onereason could be that there is no gateway from windows machine to connect to Linux(forcusthreadr12.com) and fix is to change Network Adapter from Bridged to NAT

    To change Network Adapter from Bridged to NAT go to appendix 1 change networkadapter from Bridged to NAT

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    86/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 86

    11.11 Inval id Secu rity Cert i f icate

    This certificate is not trusted because it is self signed (sec_error_ca_cert_invalid)

    This error is only if you are using Firefox/Mozilla

    Workaround: Use Internet explorer with URL for Vmwarwe console ashttp://localhost:8333

    Fix: For Firefox Mozilla Go to -> Options > Advanced > View certificates > Add

    Exception

    Put in your host address and port like https://:8333

    i.e. https://ramakris-pc:8333 (for above screenshot)

    'Get certificate', This will give an error - then 'confirm security Exception' and accept it .

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    87/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 87

    11.12 VMware vir tu al machine startup hang s at 95%

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    88/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 88

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    89/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 89

    Fix:

    If you see errors like above then uninstall any antivirus software including firewall,reboot machine and test again. (Disabling antivirus or firewall wont fix this should, Youmust uninstall antivirus and any firewall software)

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    90/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 90

    11.13 Vir tual Mach ine no t recognized

    Fix: Refresh Datasource

    Ensure that

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    91/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 91

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    92/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 92

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    93/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 93

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    94/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 94

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    95/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 95

    11.14 Remote Cons ole Plug -In Error : Cannot access vir tual

    machine co nsole. The requ est t imed o ut

    Fix: Uninstall VMware Console Plug-In (From Add remove program) and then install itagain

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    96/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 96

    12 Appendix

    12.1 Change Netwo rk Ad apter from Bridg ed to NAT

    Change in network adapter from Bridged to NAT is required only if you cant

    connect from your Windows machine to Linux machine because of missing Gateway

    (Ignore this step if you can connect from Windows machine to Linux machine using

    putty)

    1. Login to your Vmware console and shutdown machine focusthreadr12.com (ifalready running)

    2. Select focusthreadr12.com on left and then click on arrow sign under NetworkAdapter 1 and select Edit

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    97/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 97

    3. In next screen from drop down menu select NAT and clickOK

    4. Start virtual machine focusthreadr12.com

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    98/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 98

    5. Access console

    6. Type netconfig on command prompt in Linux machine

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    99/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 99

    7. Restart Network card by typing service network restart on Linux machine

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    100/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 100

    8. Run ifconfig on Linux machine to find new IP address of Linux machine. Inthis example new IP is 192.168.106.128 (This could defer in your case so change

    this value as per your Linux new IP)

    9. Open /etc/hosts file on Linux and change line from192.168.1.12 focusthreadr12.com focusthreadr12

    to

    focusthreadr12.com focusthreadr12

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    101/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 101

    10. In C:\WINDOWS\system32\drivers\etc\hosts file on windows change entry to

    192.168.106.128 focusthreadr12.com focusthread

    (Change 192.168.106.128 as per your Linux new IP address)

    11.Start Database and Application as given in Section 6 Start Applications R12 s12.If you face error like Internal Server Error then go to Section 10

    Troubleshooting

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    102/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 102

    12.2 How to ch ange memory o f Linux Machine to 2 GB

    Go to VMware console

    1) Click on virtual machine as shown in figure below.2) If machine is running then shut it down first3) Click on summary ass shown.

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    103/104

    Oracle R12 on VMware http://focusthread.com/training

    http://focusthread.com/training 103

    In summary Section, Scroll down to get option for Memory as shown.

    Summary HardwareMemoryClick on the green pointer as shown , to get option editClick on it to get edit window for editing the Memory.

    http://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/traininghttp://focusthread.com/training
  • 7/16/2019 Oracle R12 on VMware Server v 1.6

    104/104

    Oracle R12 on VMware http://focusthread.com/training

    Step3:

    After clicking on this edit You will see the following Window.

    Put the RAM required for your Machine and click ok.

    http://focusthread.com/traininghttp://focusthread.com/training