Oracle R12 on VMware

http://focusthread.com/training

Oracle R12 (12.1.1) on VMware

Focusthread Limited
http://focusthread.com eMail - contact@focusthread.com

http://focusthread.com/training

1

Oracle R12 on VMware

http://focusthread.com/training

1 2 3 4

Introduction................................................................................................................. 4 Content in External Hard Drive .................................................................................. 5 Install VMWare server on your windows machine .................................................... 6 Create virtual machine focusthreadr12.com ............................................................. 13 4.1 Change location of Disk in vmx (VMware configuration) file......................... 13 4.2 Import Virtual Machine focusthreadr12.com ................................................... 17 4.2.1 Login to VMware Console........................................................................ 17 4.2.2 Add Datastore ........................................................................................... 18 4.2.3 Add Virtual Machine to Inventory............................................................ 21 4.2.4 Start Virtual Machine focusthreadr12.com............................................... 23 4.2.5 Install VMWare Remote Console Plug-In................................................ 24 4.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........................................................ 40 5.2 Test hosts file configuration.............................................................................. 40 5.3 Download putty and start application ............................................................... 40 6 Start Applications R12.............................................................................................. 45 6.1 Start Database Tier............................................................................................ 45 6.2 Start Application Tier ....................................................................................... 46 7 Access Application from Windows Machine ........................................................... 48 7.1 Accessing forms for first time........................................................................... 48 8 Shutdown Applications R12 ..................................................................................... 55 8.1 Shutdown Application Tier............................................................................... 55 8.2 Shutdown Database Tier ................................................................................... 55 9 Connect from TOAD ................................................................................................ 59 10 JDeveloper Configuration..................................................................................... 60 11 Troubleshooting .................................................................................................... 61 11.1 Page not responsing .......................................................................................... 61 11.1.1 Fix 1: Try stopping concurrent Manager and then try .............................. 61 11.1.2 Fix 2: Check status of OC4J ..................................................................... 63 11.2 Internal Server Error on Login Page ................................................................. 66 11.3 500 Internal Server Error Servlet error : An exception occurred : The current application deployment descriptor do not allow for including it in this response. ...... 70 11.4 FRM-92050 Failed to connect to Server /forms/servlet -1 ............................... 71 11.5 Unable to see VMWare login page................................................................... 76 11.6 Unable to start VMWare Host Agent................................................................ 79 11.7 VMWare Login issue : VMware infrastructure Web Service is not responding (Connection Refused) ................................................................................................... 81 11.8 Unable to start Virtual Disk focusthreadr12.com ............................................. 82 11.9 Cannot open disk XXXXXXXX ...................................................................... 84 11.10 Unable to connect to foscusthreaderp.com from Putty................................. 85 11.11 Invalid Security Certificate ........................................................................... 86 11.12 VMware virtual machine startup hangs at 95% ............................................ 87 11.13 Virtual Machine not recognized.................................................................... 90 11.14 Remote Console Plug-In Error : Cannot access virtual machine console. The request timed out........................................................................................................... 95 http://focusthread.com/training 2

Oracle R12 on VMware

http://focusthread.com/training

12 Appendix............................................................................................................... 96 12.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/training

3

com/training 4 . http://focusthread.Oracle R12 on VMware http://focusthread. import Oracle Applications R12 and start/stop Oracle Applications R12 Steps mentioned in 1-5 are one time setup task.com/training 1 Introduction This document covers installation of VMware. Step 6 “Start Applications R12” should be done each time you start virtual machine.

Oracle R12 on VMware http://focusthread.com/training 5 .com/training 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 Folder R12_Vmware contains – Virtual Disk which contains R12 images on Linux Folder vmware contains – Vmware server software and license key for vmware server http://focusthread.

exe 2.com/training 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.0. Open directory vmware and double click on VMware-server-2.com/training 6 .com” (Installation of VMware is simple and similar to any other software installation on windows machine) 1.0-122956. Click on Run http://focusthread.Oracle R12 on VMware http://focusthread.

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

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

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

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

Oracle R12 on VMware http://focusthread.com/training 11 .com/training Enter License Key as A8MA4-FM02M-V9536-4A6LT http://focusthread.

com/training 12 .com/training At this stage your PC will restart http://focusthread.Oracle R12 on VMware http://focusthread.

com 4.Oracle R12 on VMware http://focusthread.com.com/training 4 Create virtual machine focusthreadr12.com/training 13 .vmx file using Notepad and change location of vmdk file from K drive to drive in your case http://focusthread.1 Change location of Disk in vmx (VMware configuration) file If your external hard disk drive name on your system is K then skip this step and go to next step (Disk Name in below drive is F ) Open file focusthreadr12.

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

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

Oracle R12 on VMware http://focusthread. E or F depending drive name at your system) Save vmx file after changing scsci0:0.com.com/training In this example our external hard drive name is H so changing value in configuration file (focusthreadr12.vmx) from K to H (Change this value to D .com/training 16 .filename location http://focusthread.

enter your windows administrator username and password (administrator/<password of your windows>) http://focusthread.com 4.com/training 4.2.com/training 17 .2 Import Virtual Machine focusthreadr12.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.Oracle R12 on VMware http://focusthread.

2.Oracle R12 on VMware http://focusthread.com/training Here administrator is user on local machine with admin privileges (You can use other user as well) 4.2 Add Datastore Click on “Add Datastore” on right side under commands http://focusthread.com/training 18 .

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

com/training H is drive where external hard disk is attached and r12_vmware is directory under this.Oracle R12 on VMware http://focusthread. Change H drive in directory path to Drive Name as per your external Harddisk Drive http://focusthread.com/training 20 .

3 Add Virtual Machine to Inventory http://focusthread.com/training 21 .Oracle R12 on VMware http://focusthread.2.com/training 4.

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

com/training 23 .com/training 4.4 Start Virtual Machine focusthreadr12.com Select virtual machine (focusthreadr12.com) on left side under inventory and click on Green Arrow button to start virtual machine Click on “Console” tab to open console and then click on Install Plug-In http://focusthread.2.Oracle R12 on VMware http://focusthread.

com/training 4.Oracle R12 on VMware http://focusthread.5 Install VMWare Remote Console Plug-In http://focusthread.com/training 24 .2.

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

com/training 26 .Oracle R12 on VMware http://focusthread.com/training Start VMWare again by clicking on VMware button http://focusthread.

com/training 27 .Oracle R12 on VMware http://focusthread.com/training If you get above error message then add your local machine to trusted hosts list in your browser (IE – Internet Explorer) Under Internet Explorer -> Tools -> Internet Explorer http://focusthread.

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

com/training 29 .com/training Select “Security” tab -> Trusted Sites -> Sites http://focusthread.Oracle R12 on VMware http://focusthread.

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

Oracle R12 on VMware http://focusthread.com/training Try accessing console again by opening VMware console from new browser session http://focusthread.com/training 31 .

6 Bind MAC address for Ethernet Card Login as root/welcome1 (User Name – root .2.Oracle R12 on VMware http://focusthread.com/training 4. Password – welcome1) http://focusthread.com/training 32 .

Oracle R12 on VMware http://focusthread.com/training Applications -> System Settings -> Network http://focusthread.com/training 33 .

com/training Click on Edit http://focusthread.com/training 34 .Oracle R12 on VMware http://focusthread.

com/training 35 .com/training Select Hardware Device tab and click on Probe and then click on OK http://focusthread.Oracle R12 on VMware http://focusthread.

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

com/training 37 .Oracle R12 on VMware http://focusthread.com/training Activate Network Card Eth0 http://focusthread.

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

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

168.1.Oracle R12 on VMware http://focusthread.168.12 5.chiark.org.com focusthreadr12 If your windows client machine is Windows Vista then use steps here to edit hosts file http://onlineappsdba.html http://focusthread.12 focusthreadr12.3 Download putty and start application Download putty from here http://www.php/2008/05/11/change-hosts-file-in-windows-vista/ 5.com/training 40 .greenend.1 Configure hosts file on windows 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.com/training 5 Configure Hosts file and Install Putty on windows machine 5.1.com/index.uk/~sgtatham/putty/download.com should resolve to 192.2 Test hosts file configuration Ping focusthreadr12.

exe on desktop http://focusthread.com/training Save putty.Oracle R12 on VMware http://focusthread.com/training 41 .

com/training 42 .com/training Start Putty by double clicking on putty.exe from Desktop http://focusthread.Oracle R12 on VMware http://focusthread.

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

com/training 44 .com using putty then go to section “change network card from Bridged to NAT” http://focusthread.Oracle R12 on VMware http://focusthread.com/training Login as root / welcome1 (Username root – Password welcome1) If you face issues connecting to focusthreadr12.

12 • su – ovisr12 (password is welocme1) • sqlplus “/as sysdba” • SQL> startup • lsnrctl start visr12 Database open will take 5-10 minutes http://focusthread.com/training 45 .1.com/training 6 Start Applications R12 6.1 Start Database Tier • Login as root/welcome1 (using putty installed above) to server 192.168.Oracle R12 on VMware http://focusthread.

2 Start Application Tier su – avisr12 (password is welcome1) cd $ADMIN_SCRIPTS_HOME sqlplus apps/apps (This step is to check that application tier can connect to Database) .Oracle R12 on VMware http://focusthread.com/training 6./adstrtal.sh apps/apps (Dot infront of forward slash) http://focusthread.com/training 46 .

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

com/training 7 Access Application from Windows Machine 1.168. Add entry in your hosts file C:\WINDOWS\system32\drivers\etc\hosts 192.1 Accessing forms for first time 2. Access Applications R12 from URL http://focusthread.com/index.php/2008/05/11/change-hosts-file-in-windows-vista/ 7.Oracle R12 on VMware http://focusthread.12 focusthreadr12.1.com/training 48 .com focusthreadr12 If your operating system is windows Vista then to edit hosts file check here http://onlineappsdba.

com:8000 login as sysadmin/sysadmin This step is applicable only if JRE1.Oracle R12 on VMware http://focusthread.com/training http://focusthreadr12.com/training 49 .6 Click again on forms link like http://focusthread.6 is not already installed on client machine from where you are accessing forms in R12 Click on link here to install JRE 1.

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

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

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

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

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

com/training 8 Shutdown Applications R12 Shutdown order is reverse of startup .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./adstpall.168.com/training 55 .sh apps/apps (Dot infront of forward slash) 8. first shutdown application tier and then shutdown database tier 8.2 Shutdown Database Tier • Login as root/welcome1 (using putty installed above) to server 192.1.1 Shutdown Application Tier su – avisr12 (password is welcome1) cd $ADMIN_SCRIPTS_HOME sqlplus apps/apps (This step is to check that application tier can connect to Database) .Oracle R12 on VMware http://focusthread.

com/training Shutdown Linux Machine (focusthreadr12.com) http://focusthread.Oracle R12 on VMware http://focusthread.com/training 56 .

com/training 57 .com:8000 login as sysadmin/sysadmin http://focusthread.com/training 3.Oracle R12 on VMware http://focusthread. Access Applications R12 from URL http://focusthreadr12.

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

e.ora under database client on windows 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.com • • • • • Install Database Client or ensure that you already have database client running on your windows machine Add alias like “visr12” for R12 in tnsnames.com/training 9 Connect from TOAD • Check if you can ping focusthreadr12.com/training 59 .Oracle R12 on VMware http://focusthread. “sqlplus apps/apps@visr12” Connect using toad now http://focusthread.

com/training 60 . In case of any doubts .1. To find Jdeveloper version you could refer to Oracle My Support (earlier Metalink) Note # 787209.1.com http://focusthread.1 (We are on 12.1.com/training 10 JDeveloper Configuration E-Business Suite shipped as part of this external disk is version 12.Oracle R12 on VMware http://focusthread.1 (614 MB file) Login to Oracle My Support (earlier Metalink) and download patch 8431482 Follow installation steps as readme. drop mail to support@focusthread.1 How to find the correct version of Jdeveloper to use with eBusiness Suite 11i or R12 For 12.1.1.1 version of Oracle Apps) : You should install Jdeveloper 10g Patch # 8431482 10g Jdeveloper with OAExtension ARU for R12.

com/training 61 .Oracle R12 on VMware http://focusthread.1 Page not responsing If you type URL and nothing happens (blank page) then check below things 11.1 Fix 1: Try stopping concurrent Manager and then try su – avisr12 (password is welcome1) cd $ADMIN_SCRIPTS_HOME sqlplus apps/apps (This step is to check that application tier can connect to Database) .1./adcmctl.sh stop apps/apps (Dot infront of forward slash) http://focusthread.com/training 11 Troubleshooting 11.

com/training Wait for 5 minutes and then try accessing apps.Oracle R12 on VMware http://focusthread.com/training 62 . If issue is still not fixed then go to next step Fix 2 http://focusthread.

log http://focusthread.Oracle R12 on VMware http://focusthread.2 Fix 2: Check status of OC4J (Bounce of OC4J using OPMN should fix issue.com/training 11. if not then check Java Cache Logs and other things given below) • Check application.1.com/training 63 .

com/training 64 .com/training If you see error message in logs then restart OC4J’s using adopmnctl. if you still can’t login then go to next step • Check Java Cache log http://focusthread.Oracle R12 on VMware http://focusthread.sh script Try again accessing application from client.

com/training 65 .Oracle R12 on VMware http://focusthread.com/training Entry like above means java cache is working fine If you see last entry as javacache shutdown then contact Focus Thread Team and ask them to run AutoConfig on system http://focusthread.

com/training 66 .Oracle R12 on VMware http://focusthread. Login to putty as user avisr12 2. cd $ADMIN_SCRIPTS_HOME http://focusthread.com/training 11.2 Internal Server Error on Login Page 1.

com/training 67 .Oracle R12 on VMware http://focusthread.1.com/training 3.3/opmn http://focusthread. cd $LOG_HOME/ora/10.

1.com/training 4. Delete files under persistence directory (Ensure that you are in persistence directory by running pwd) http://focusthread. cd $ORA_CONFIG_HOME/10.Oracle R12 on VMware http://focusthread.3/j2ee/oacore/persistence 5.com/training 68 .

Oracle R12 on VMware

http://focusthread.com/training

http://focusthread.com/training

69

Oracle R12 on VMware

http://focusthread.com/training

11.3 500 Internal Server Error Servlet error : An exception occurred : The current application deployment descriptor do not allow for including it in this response.

http://focusthread.com/training

70

Oracle R12 on VMware

http://focusthread.com/training

11.4 FRM-92050 Failed to connect to Server /forms/servlet -1

Check Internet Explorer version

http://focusthread.com/training

71

com/training 72 .Oracle R12 on VMware http://focusthread.com/training If its IE 8 then disable XSS filter http://focusthread.

Oracle R12 on VMware

http://focusthread.com/training

http://focusthread.com/training

73

Oracle R12 on VMware

http://focusthread.com/training

http://focusthread.com/training

74

Oracle R12 on VMware

http://focusthread.com/training

Disable XSS filter and click OK

http://focusthread.com/training

75

5 Unable to see VMWare login page http://focusthread.com/training 11.com/training 76 .Oracle R12 on VMware http://focusthread.

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

Oracle R12 on VMware http://focusthread.com/training Start all services related to VMWare and try connecting to VMware again If you can’t start services then check next section http://focusthread.com/training 78 .

com/training 11.com/training 79 .Oracle R12 on VMware http://focusthread.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.

Oracle R12 on VMware http://focusthread.com/training VMware Host Agent service terminated with service-specific error 4294967295 http://focusthread.com/training 80 .

com/virtualization/vmware-server-web-access-default-username-andpassword/ Now set password for Administrator account and reboot machine and then try http://focusthread.7 VMWare Login issue : VMware infrastructure Web Service is not responding (Connection Refused) Ensure that Administrator account is enabled First you’ll need to open a command prompt in administrator mode by right-clicking and choosing “Run as administrator” Now type the following command: net user administrator /active:yes http://helpdeskgeek.Oracle R12 on VMware http://focusthread.com/training 11.com/training 81 .

com/training 82 .com http://focusthread.com/training 11.Oracle R12 on VMware http://focusthread.8 Unable to start Virtual Disk focusthreadr12.

com/training Now try starting VMware again http://focusthread.Oracle R12 on VMware http://focusthread.com/training 83 .

com/training 84 .9 Cannot open disk XXXXXXXX Ensure that name used in vmware configuration file (vmx) is correct for vmdk file http://focusthread.Oracle R12 on VMware http://focusthread.com/training 11.

com from your windows machine then one reason 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 network adapter from Bridged to NAT” http://focusthread.com/training 85 .com/training 11.10 Unable to connect to foscusthreaderp.com from Putty If you are unable to ping focusthreadr12.Oracle R12 on VMware http://focusthread.

This will give an error .Oracle R12 on VMware http://focusthread.com/training 11.e.then 'confirm security Exception' and accept it .11 Invalid Security Certificate 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 as http://localhost:8333 Fix: For Firefox Mozilla Go to -> Options > Advanced > View certificates > Add Exception Put in your host address and port like https://<computer_name>:8333 i.com/training 86 . https://ramakris-pc:8333 (for above screenshot) 'Get certificate'. http://focusthread.

com/training 11.12 VMware virtual machine startup hangs at 95% http://focusthread.Oracle R12 on VMware http://focusthread.com/training 87 .

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

reboot machine and test again.Oracle R12 on VMware http://focusthread.com/training Fix: If you see errors like above then uninstall any antivirus software including firewall.com/training 89 . You must uninstall antivirus and any firewall software) http://focusthread. (Disabling antivirus or firewall won’t fix this should.

13 Virtual Machine not recognized Fix: Refresh Datasource Ensure that http://focusthread.com/training 11.Oracle R12 on VMware http://focusthread.com/training 90 .

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

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

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

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

com/training 11.Oracle R12 on VMware http://focusthread.14 Remote Console Plug-In Error : Cannot access virtual machine console. The request timed out Fix: Uninstall VMware Console Plug-In (From Add remove program) and then install it again http://focusthread.com/training 95 .

com/training 96 .1 Change Network Adapter from Bridged to NAT Change in network adapter from Bridged to NAT is required only if you can’t 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.com/training 12 Appendix 12.Oracle R12 on VMware http://focusthread. Select “focusthreadr12. Login to your Vmware console and shutdown machine “focusthreadr12.com” (if already running) 2.com” on left and then click on arrow sign under “Network Adapter 1” and select “Edit” http://focusthread.

com/training 3. Start virtual machine “focusthreadr12.com” http://focusthread. In next screen from drop down menu select “NAT” and click OK 4.Oracle R12 on VMware http://focusthread.com/training 97 .

com/training 98 .com/training 5. Type “netconfig” on command prompt in Linux machine http://focusthread. Access console 6.Oracle R12 on VMware http://focusthread.

com/training 99 .Oracle R12 on VMware http://focusthread. Restart Network card by typing “service network restart” on Linux machine http://focusthread.com/training 7.

168.com/training 8.12 focusthreadr12.128 (This could defer in your case so change this value as per your Linux new IP) 9.168.com focusthreadr12 http://focusthread.106. In this example new IP is 192. Open /etc/hosts file on Linux and change line from 192.1.Oracle R12 on VMware http://focusthread.com/training 100 .com focusthreadr12 to <your_new_ip> focusthreadr12. Run “ifconfig” on Linux machine to find new IP address of Linux machine.

168.106.com/training 10. Start Database and Application as given in Section 6 Start Applications R12 s 12.com focusthread (Change 192.128 as per your Linux new IP address) 11.106.168. If you face error like “Internal Server Error” then go to Section 10 Troubleshooting http://focusthread.Oracle R12 on VMware http://focusthread. In C:\WINDOWS\system32\drivers\etc\hosts file on windows change entry to 192.com/training 101 .128 focusthreadr12.

2) If machine is running then shut it down first 3) Click on “summary” ass shown. http://focusthread.2 How to change memory of Linux Machine to 2 GB Go to VMware console 1) Click on “virtual machine” as shown in figure below.com/training 12.Oracle R12 on VMware http://focusthread.com/training 102 .

Summary à Hardware àMemory Click on the green pointer as shown . to get option “edit” Click on it to get edit window for editing the Memory.com/training 103 .Oracle R12 on VMware http://focusthread.com/training In summary Section. http://focusthread. Scroll down to get option for “Memory” as shown.

com/training Step3: After clicking on this “edit ” You will see the following Window.com/training 104 . http://focusthread.Oracle R12 on VMware http://focusthread. Put the RAM required for your Machine and click ok. Step4: Restart the Linux machine for these changes to take into effect.

Sign up to vote on this title
UsefulNot useful