107
Oracle R12, SOA & AIA on VMware http://focusthread.com/training http://focusthread.com/training 1 Oracle R12 (12.1.1), SOA (10g) and AIA (2.5) on VMware Focusthread Limited http://focusthread.com eMail - [email protected]

Oracle R12 on VMware Server v 1.5

Embed Size (px)

DESCRIPTION

Oracle R12 on VMware Server v 1.5

Citation preview

Page 1: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

1

Oracle R12 (12.1.1), SOA (10g) and AIA (2.5) on VMware

Focusthread Limited http://focusthread.com

eMail - [email protected]

Page 2: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

2

1 Introduction................................................................................................................. 4 2 Content in External Hard Drive .................................................................................. 5 3 Install VMWare server on your windows machine .................................................... 6 4 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 Start SOA/AIA.......................................................................................................... 58 9.1 Start Database Tier for SOA/AIA..................................................................... 58 9.2 Start Application Tier ....................................................................................... 58

10 Access SOA/AIA from Windows Machine.......................................................... 59 10.1 Add entry in hosts file of windows ................................................................... 59 10.2 Access SOA and AIA ....................................................................................... 60

11 Shutdown SOA/AIA ............................................................................................. 61 11.1 Shutdown Application Tier............................................................................... 61 11.2 Shutdown Database Tier ................................................................................... 61

12 Connect from TOAD ............................................................................................ 63 13 Troubleshooting .................................................................................................... 64

13.1 Page not responsing .......................................................................................... 64 13.1.1 Fix 1: Try stopping concurrent Manager and then try .............................. 64 13.1.2 Fix 2: Check status of OC4J ..................................................................... 66

13.2 Internal Server Error on Login Page................................................................. 69 13.3 500 Internal Server Error Servlet error : An exception occurred : The current application deployment descriptor do not allow for including it in this response. ...... 73 13.4 FRM-92050 Failed to connect to Server /forms/servlet -1 ............................... 74 13.5 Unable to see VMWare login page................................................................... 79

Page 3: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

3

13.6 Unable to start VMWare Host Agent................................................................ 82 13.7 VMWare Login issue : VMware infrastructure Web Service is not responding (Connection Refused) ................................................................................................... 84 13.8 Unable to start Virtual Disk focusthreadr12.com ............................................. 85 13.9 Cannot open disk XXXXXXXX ...................................................................... 87 13.10 Unable to connect to foscusthreaderp.com from Putty................................. 88 13.11 Invalid Security Certificate ........................................................................... 89 13.12 VMware virtual machine startup hangs at 95%............................................ 90 13.13 Virtual Machine not recognized.................................................................... 93 13.14...............................................................................Error! Bookmark not defined. 13.15 Remote Console Plug-In Error : Cannot access virtual machine console. The request timed out........................................................................................................... 98

14 Appendix............................................................................................................... 99 14.1 Change Network Adapter from Bridged to NAT ............................................. 99 14.2 How to change memory of Linux Machine to 2 GB ...................................... 105

Page 4: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

4

1 Introduction This document covers installation of VMware, import Oracle Applications R12, start/stop Oracle Applications R12 and SOA/AIA Steps mentioned in 1-5 are one time setup task. Step 6 “Start Applications R12” should be done each time you start virtual machine. AIA & SOA start/stop is optional component and if you don’t want to use SOA/AIA then there is no need to start SOA/AIA services.

Page 5: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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

Folder R12_Vmware contains – Virtual Disk which contains R12 images on Linux Folder vmware contains – Vmware server software and license key for vmware server

Page 6: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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 on windows machine)

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

2. Click on Run

Page 7: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

7

Page 8: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

8

Page 9: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

9

Page 10: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

10

Page 11: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

11

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

Page 12: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

12

At this stage your PC will restart

Page 13: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

13

4 Create virtual machine focusthreadr12.com

4.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.vmx file using Notepad and change location of vmdk file from K drive to drive in your case

Page 14: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

14

Page 15: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

15

Page 16: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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 configuration file (focusthreadr12.com.vmx) from K to H (Change this value to D , E or F depending drive name at your system)

Save vmx file after changing scsci0:0.filename location

Page 17: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

17

4.2 Import Virtual Machine focusthreadr12.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 and password (administrator/<password of your windows>)

Page 18: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

18

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

4.2.2 Add Datastore

Click on “Add Datastore” on right side under commands

Page 19: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

19

Page 20: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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 under this. Change H drive in directory path to Drive Name as per your external Harddisk Drive

Page 21: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

21

4.2.3 Add Virtual Machine to Inventory

Page 22: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

22

Page 23: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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 on Green Arrow button to start virtual machine

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

Page 24: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

24

4.2.5 Install VMWare Remote Console Plug-In

Page 25: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

25

Page 26: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

26

Start VMWare again by clicking on VMware button

Page 27: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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 in your browser (IE – Internet Explorer) Under Internet Explorer -> Tools -> Internet Explorer

Page 28: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

28

Page 29: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

29

Select “Security” tab -> Trusted Sites -> Sites

Page 30: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

30

Page 31: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

31

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

Page 32: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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)

Page 33: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

33

Applications -> System Settings -> Network

Page 34: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

34

Click on Edit

Page 35: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

35

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

Page 36: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

36

Page 37: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

37

Activate Network Card Eth0

Page 38: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

38

Page 39: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

39

Page 40: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

40

5 Configure Hosts file and Install Putty on windows machine

5.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.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 hosts file configuration

Ping focusthreadr12.com should resolve to 192.168.1.12

5.3 Download putty and start application Download putty from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Page 41: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

41

Save putty.exe on desktop

Page 42: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

42

Start Putty by double clicking on putty.exe from Desktop

Page 43: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

43

Page 44: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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”

Page 45: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

45

6 Start Applications R12

6.1 Start 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> startup

• lsnrctl start visr12

Database open will take 5-10 minutes

Page 46: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

46

6.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) ./adstrtal.sh apps/apps (Dot infront of forward slash)

Page 47: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

47

Page 48: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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\hosts 192.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 first time

Page 49: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

49

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

Click on link here to install JRE 1.6

Click again on forms link like

Page 50: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

50

Page 51: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

51

Page 52: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

52

Page 53: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

53

Page 54: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

54

Page 55: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA 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 shutdown database tier

8.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) ./adstpall.sh apps/apps (Dot infront of forward slash)

8.2 Shutdown 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

Page 56: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

56

Shutdown Linux Machine (focusthreadr12.com)

Page 57: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

57

2. Access Applications R12 from URL http://focusthreadr12.com:8000 login as sysadmin/sysadmin

Page 58: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

58

9 Start SOA/AIA AIA & SOA start/stop is optional component and if you don’t want to use SOA/AIA then there is no need to start SOA/AIA services.

9.1 Start Database Tier for SOA/AIA

• Login as root/welcome1 (using putty installed above) to server 192.168.1.12 • su – osoa (password is welcome1) • sqlplus “/as sysdba” • SQL> startup • lsnrctl start

9.2 Start Application Tier

• Login as root/welcome1 (using putty installed above) to server 192.168.1.12 • su – asoa (password is welcome1) • opmnctl startall

Page 59: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

59

10 Access SOA/AIA from Windows Machine

10.1 Add entry in hosts file of windows Add entry in your hosts file C:\WINDOWS\system32\drivers\etc\hosts 192.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/

Page 60: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

60

10.2 Access SOA and AIA AIA & SOA start/stop is optional component and if you don’t want to use SOA/AIA then there is no need to start SOA/AIA services.

• AIA http://focusthreadr12.com:7777/AIA (oc4jadmin/welcome1) • BPEL Console http://focusthreadr12.com:7777/BPELConsole (oc4jadmin/welcome1) • ESB http://focusthreadr12.com:7777/esb (oc4jadmin/welcome1)

Page 61: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

61

11 Shutdown SOA/AIA Shutdown order is reverse of startup, first shutdown application tier for SOA/AIA and then shutdown database tier for SOA/AIA

11.1 Shutdown Application Tier

• su – asoa (password is welcome1) • opmnctl stopall (If you get error as shown below then it is safe to ignore them)

11.2 Shutdown Database Tier

Login as root/welcome1 (using putty installed above) to server 192.168.1.12 • su – osoa (Password is welocme1) • sqlplus “/as sysdba” • SQL> shutdown immediate • lsnrctl stop

Page 62: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

62

Page 63: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

63

12 Connect from TOAD

• Check if you can ping focusthreadr12.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.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.e.

“sqlplus apps/apps@visr12” • Connect using toad now

Page 64: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

64

13 Troubleshooting

13.1 Page not responsing

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

13.1.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) ./adcmctl.sh stop apps/apps (Dot infront of forward slash)

Page 65: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

65

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

Page 66: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

66

13.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

Page 67: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

67

If you see error message in logs then restart OC4J’s using adopmnctl.sh script

Try again accessing application from client, if you still can’t login then go to next step

• Check Java Cache log

Page 68: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

68

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

Page 69: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

69

13.2 Internal Server Error on Login Page

1. Login to putty as user avisr12 2. cd $ADMIN_SCRIPTS_HOME

Page 70: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

70

3. cd $LOG_HOME/ora/10.1.3/opmn

Page 71: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

71

4. cd $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/persistence

5. Delete files under persistence directory (Ensure that you are in persistence directory by running pwd)

Page 72: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

72

Page 73: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

73

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

Page 74: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

74

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

Check Internet Explorer version

Page 75: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

75

If its IE 8 then disable XSS filter

Page 76: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

76

Page 77: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

77

Page 78: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

78

Disable XSS filter and click OK

Page 79: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

79

13.5 Unable to see VMWare login page

Page 80: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

80

Page 81: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

81

Start all services related to VMWare and try connecting to VMware again If you can’t start services then check next section

Page 82: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

82

13.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”

Page 83: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

83

VMware Host Agent service terminated with service-specific error 4294967295

Page 84: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

84

13.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.com/virtualization/vmware-server-web-access-default-username-and-password/ Now set password for Administrator account and reboot machine and then try

Page 85: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

85

13.8 Unable to start Virtual Disk focusthreadr12.com

Page 86: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

86

Now try starting VMware again

Page 87: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

87

13.9 Cannot open disk XXXXXXXX Ensure that name used in vmware configuration file (vmx) is correct for vmdk file

Page 88: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

88

13.10 Unable to connect to foscusthreaderp.com from Putty If you are unable to ping focusthreadr12.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”

Page 89: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

89

13.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.e. https://ramakris-pc:8333 (for above screenshot) 'Get certificate', This will give an error - then 'confirm security Exception' and accept it .

Page 90: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

90

13.12 VMware virtual machine startup hangs at 95%

Page 91: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

91

Page 92: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

92

Fix: If you see errors like above then uninstall any antivirus software including firewall, reboot machine and test again. (Disabling antivirus or firewall won’t fix this should, You must uninstall antivirus and any firewall software)

Page 93: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

93

13.13 Virtual Machine not recognized

Fix: Refresh Datasource Ensure that

Page 94: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

94

Page 95: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

95

Page 96: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

96

Page 97: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

97

Page 98: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

98

13.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

Page 99: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

99

14 Appendix

14.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. Login to your Vmware console and shutdown machine “focusthreadr12.com” (if already running)

2. Select “focusthreadr12.com” on left and then click on arrow sign under “Network Adapter 1” and select “Edit”

Page 100: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

100

3. In next screen from drop down menu select “NAT” and click OK

4. Start virtual machine “focusthreadr12.com”

Page 101: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

101

5. Access console

6. Type “netconfig” on command prompt in Linux machine

Page 102: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

102

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

Page 103: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

103

8. Run “ifconfig” on Linux machine to find new IP address of Linux machine. In this 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 from 192.168.1.12 focusthreadr12.com focusthreadr12 to <your_new_ip> focusthreadr12.com focusthreadr12

Page 104: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

104

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 s 12. If you face error like “Internal Server Error” then go to Section 10

Troubleshooting

Page 105: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

105

14.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. 2) If machine is running then shut it down first 3) Click on “summary” ass shown.

Page 106: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

106

In summary Section, Scroll down to get option for “Memory” as shown. 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.

Page 107: Oracle R12 on VMware Server v 1.5

Oracle R12, SOA & AIA on VMware http://focusthread.com/training

http://focusthread.com/training

107

Step3: After clicking on this “edit ” You will see the following Window. Put the RAM required for your Machine and click ok.

Step4: Restart the Linux machine for these changes to take into effect.