Top Banner
Rapid Planning 12.1.3.x Implementation with WebLogic/ADF Runtime Installation Note 1285459.1 Erick Evans Global Value Chain Planning Support Team
247
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Install and Implement Rapid Planning-Version1

Rapid Planning 12.1.3.x

Implementation

with WebLogic/ADF Runtime

Installation

Note 1285459.1

Erick Evans

Global Value Chain Planning Support Team

Page 2: Install and Implement Rapid Planning-Version1

Contents Summary steps .............................................................................................................................................. 9

Rapid Planning Installation Index (pic ;o).................................................................................................... 10

VCP .............................................................................................................................................................. 12

EBS/VCP Basic Centralized Topology .................................................................................................. 12

System Requirements ............................................................................................................................. 13

Hardware ............................................................................................................................................ 13

Operating System ................................................................................................................................ 13

Opatch ................................................................................................................................................. 14

Database ............................................................................................................................................. 14

Java ...................................................................................................................................................... 14

Middleware ......................................................................................................................................... 14

Install VCP 12.1.1 .................................................................................................................................... 14

Upgrade VCP to 12.1.3 ............................................................................................................................ 15

Patch VCP to 12.1.3.1 or .2 ..................................................................................................................... 16

Weblogic ..................................................................................................................................................... 17

Basic WebLogic Topology ........................................................................................................................ 17

WebLogic System Requirements ............................................................................................................ 17

Install WebLogic Server ........................................................................................................................... 17

Read the WebLogic Guide ................................................................................................................... 18

Download ............................................................................................................................................ 18

Middleware Home ($MW_HOME)...................................................................................................... 19

WebLogicServer Home ($OWLS_HOME) ............................................................................................ 19

Prepare to Impelement RP .................................................................................................................. 20

Install ADF Runtime................................................................................................................................. 21

Reference Documents ......................................................................................................................... 21

Download ............................................................................................................................................ 21

RunInstaller ......................................................................................................................................... 21

JRE Location ........................................................................................................................................ 22

Our ADF Runtime installation ............................................................................................................. 22

Page 3: Install and Implement Rapid Planning-Version1

Prerequisite Checks ............................................................................................................................. 23

ERROR – Checking recommended operating system packages .......................................................... 24

hardnofiles / softnofiles ...................................................................................................................... 26

Example limits.conf file ....................................................................................................................... 27

Restarting the ADF Runtime ............................................................................................................... 28

ADF Runtime Installation Log File ....................................................................................................... 31

Ok Now What .......................................................................................................................................... 31

Configuration Wizard .......................................................................................................................... 31

Mount VCP $APPLCSF ............................................................................................................................. 33

Get VCP’s APPLCSF setting .................................................................................................................. 33

Share that VCP APPLCSF directory ...................................................................................................... 33

Mount a Local Directory on WebLogic server ..................................................................................... 35

Set the APPLCSF environment on WebLogic Server ........................................................................... 35

Set oraowls environment variables ........................................................................................................ 36

Rapid Planning ............................................................................................................................................ 38

Rapid Planning System Requirements .................................................................................................... 38

Hardware ............................................................................................................................................ 38

Operating System ................................................................................................................................ 38

Database ............................................................................................................................................. 38

Java ...................................................................................................................................................... 38

Middleware ......................................................................................................................................... 38

Applications ......................................................................................................................................... 38

Rapid Planning Topology ......................................................................................................................... 39

Basic RP WebLogic deployment .......................................................................................................... 39

Rapid Planning Detailed WebLogic Topology ..................................................................................... 40

Full Centralized EBS-VCP-RP Implementation Topology ..................................................................... 41

Create Rapid Planning Engine Domain ................................................................................................... 42

Launch WebLogic Configuration Wizard ............................................................................................. 42

Create a new WebLogic domain ......................................................................................................... 43

Rp Engine Domain ............................................................................................................................... 45

RP Engine Domain Administrator ....................................................................................................... 46

Rp Engine Admin Server ...................................................................................................................... 48

Page 4: Install and Implement Rapid Planning-Version1

RP Engine Domain Summary ............................................................................................................... 50

Create Rapid Planning UI Domain ........................................................................................................... 52

Launch WebLogic Configuration Wizard ............................................................................................. 52

Create a new WebLogic domain ......................................................................................................... 52

Rp UI Domain ...................................................................................................................................... 54

RP UI Domain Administrator .............................................................................................................. 55

Rp UI Admin Server ............................................................................................................................. 57

RP UI Domain Summary ...................................................................................................................... 60

Start RP Engine Domain Administration Server ...................................................................................... 61

Rp Engine Admin Server shell console output .................................................................................... 61

RP Engine Domain Admin Server Console .............................................................................................. 64

Create RP Engine JDBC Data Source ................................................................................................... 66

Increase Java Transaction API (JTA) Timeout ...................................................................................... 72

Start Rp UI Domain Administration Server ............................................................................................. 74

RP UI Domain Admin Server Console ...................................................................................................... 78

Create RP UI JDBC Data Source ........................................................................................................... 80

JDBC Data Source Name for RP UI ...................................................................................................... 82

Summary of JDBC Data ....................................................................................................................... 86

Increase Java Transaction API (JTA) Timeout ...................................................................................... 86

Create Persistent Store ....................................................................................................................... 88

Update setDomainEnv.sh .................................................................................................................... 92

Rp Ui Admin Server Log Files .............................................................................................................. 93

FTP the RP *.zip to the WebLogic Server ................................................................................................ 94

Create a RP Temporary Directory ....................................................................................................... 94

Unzi p the files to the rp_temp directory ........................................................................................... 96

Deploy the RP Administration Application (ORPAdmin.ear) .................................................................. 97

Login to RP UI Domain Adminstration Console .................................................................................. 97

Select the ORPAdmin.ear .................................................................................................................... 98

Activate Changes ............................................................................................................................... 102

Attempt RP Admin Application Login ............................................................................................... 102

Error Log ............................................................................................................................................ 104

Killed Sessions Lock Cleanup ................................................................................................................. 107

Page 5: Install and Implement Rapid Planning-Version1

Setup VCP E-Business Suite Applications for RP ................................................................................... 108

Login VCP instance ............................................................................................................................ 108

Set the profiles .................................................................................................................................. 109

Run Script InitialEngineSetpu.sh ....................................................................................................... 109

Enable the Redirect ........................................................................................................................... 112

Bounce VCP Application Services ...................................................................................................... 113

Now Login to RP Admin ........................................................................................................................ 116

Workaround JDBC connection bug … hardcoded ma0dv220 ............................................................... 120

Login to the RP Admin........................................................................................................................... 121

Enter Machine Details ....................................................................................................................... 123

Create Managed Servers ................................................................................................................... 124

ERROR – creating managed servers .................................................................................................. 125

Manual Create Machine, NodeManager, and 1 Managed Server, with supporting JMS components 128

CreateServer.properties.................................................................................................................... 129

WLST_Config.properties ................................................................................................................... 129

Create a Machine .............................................................................................................................. 130

Configure Node Manager .................................................................................................................. 130

Start Node Manager .......................................................................................................................... 130

Create Managed Server 1 ................................................................................................................. 130

Run Script(s) InitialSetup.sh and CreateServer.sh ................................................................................ 131

RP Admin Application - Notes ............................................................................................................... 131

Running Managed Server1 .................................................................................................................... 132

Review Created Machine, Managed Server, NodeManager, and JMS supporting components ......... 133

Deploy RP Engine Application (rpws.ear) ............................................................................................. 139

Login RP Engine Administration Console .......................................................................................... 139

Deploy the rpws.ear file .................................................................................................................... 140

Associate Managed Server to this Engine deployment .................................................................... 142

Start RP Engine Application .................................................................................................................. 146

Deploy RP UI Application (OrpUI_EAR.ear) ........................................................................................... 147

Login the RP UI Administration Console ........................................................................................... 147

Deploy the OrpUI_EAR.ear file .......................................................................................................... 148

Start RP UI Application .......................................................................................................................... 153

Page 6: Install and Implement Rapid Planning-Version1

Login to RP UI Application ..................................................................................................................... 154

Error .................................................................................................................................................. 154

Error Log Information ....................................................................................................................... 156

Error Solution .................................................................................................................................... 163

Create Persistent Stores in RP UI ...................................................................................................... 163

Bounce the Engine and UI Domain servers ....................................................................................... 166

Restart Managed Server ................................................................................................................... 167

Rapid Planning Workbench ................................................................................................................... 167

Error .................................................................................................................................................. 169

Setup, Define, Launch Collections ........................................................................................................ 170

Create Instance ................................................................................................................................. 170

Launch Standard Collections ............................................................................................................. 170

Create New RP Simulation Plan ............................................................................................................ 170

Create APS Partition .......................................................................................................................... 170

Create Plan ........................................................................................................................................ 176

Plan Options ...................................................................................................................................... 178

Errors ................................................................................................................................................. 183

Save Plan ........................................................................................................................................... 195

Launch Plan ........................................................................................................................................... 195

Plan Status......................................................................................................................................... 197

Monitor Concurrent Requests on VCP instance ............................................................................... 198

Concurrent Request Export ............................................................................................................... 200

Error - WARNING: Unable to connect to URL ................................................................................... 201

Solution – Error WARNING: Unable to connect to URL .................................................................... 204

Root Cause: ....................................................................................................................................... 206

Fix: ..................................................................................................................................................... 206

Valid Workaround: ............................................................................................................................ 207

Error - Plan Status: Plan input directory is not a valid directory. The input files were removed.

Please rerun the snapshot. ............................................................................................................... 210

Solution - Plan Status: Plan input directory is not a valid directory. The input files were removed.

Please rerun the snapshot. ............................................................................................................... 210

ERROR: Import directory is not a valid directory .............................................................................. 213

Page 7: Install and Implement Rapid Planning-Version1

SOLUTION: Import directory is not a valid directory ........................................................................ 214

View RP Plan in RP UI Workbench - Finally, RP Plan Success! .............................................................. 216

Completed Requests ......................................................................................................................... 216

Requests Export ................................................................................................................................ 216

RP UI Workbench .............................................................................................................................. 217

Summary of Servers and Logins ................................................................................................................ 218

VCP Instance Server .............................................................................................................................. 218

VCP Applications Login .......................................................................................................................... 218

WebLogic Instance Server ..................................................................................................................... 218

RP Engine Administration Console ........................................................................................................ 218

RP UI Administration Console ............................................................................................................... 219

RP Admin Application ........................................................................................................................... 219

RP Plan UI (Workbench) ........................................................................................................................ 221

RP Server Log Files ................................................................................................................................ 222

Rp Ui Admin Server (RpUiAdminServer) Log files: ............................................................................ 222

Rp Engine Admin Server (RpEngineAdminServer) Log files: ............................................................. 222

RP Managed Server 1 (RpMgdSrv1) Log Files ................................................................................... 222

RP Plan Engine’s Server Log file ........................................................................................................ 223

RP Planner’s Log file: ......................................................................................................................... 223

Additional Information.............................................................................................................................. 225

Troubleshooting .................................................................................................................................... 225

Mount APPLCSF notes ........................................................................................................................... 229

Notes ..................................................................................................................................................... 235

Other Notes........................................................................................................................................... 236

How it works ......................................................................................................................................... 238

Readme files .......................................................................................................................................... 240

General RP README ......................................................................................................................... 240

Engine README ................................................................................................................................ 240

UI README ........................................................................................................................................ 246

Page 8: Install and Implement Rapid Planning-Version1
Page 9: Install and Implement Rapid Planning-Version1

Summary steps RP Implement Document Master Index

EBS Install EBS source

VCP Install VCP destination

WebLogic Install Weblogic Install ADF Runtime

Rapid Planning Create RP Engine Domain and RP Engine Admin Server Start the RP Engine Admin Server Create RP Engine JDBC Connection (RapidPlanningDS2) Create RP UI Domain and RP UI Admin Server Start the RP UI Admin Server Create RP UI JDBC Connection (ma0dv220 : jdbc/ma0dv220DS)

VCP Setup the VCP instance for RP Unzip and Run the WLST_scripts InitialEngineSetup.sh

Rapid Planning Copy the WLST_scripts to Domains directory Deploy ORPAdmin.ear (RP Administration Application) to RP UI Domain Login to the VCP Advanced Planning Administrator > Rapid Planning > Setup and Configuration Create the Machine, NodeManager, and Managed Servers, and JMS components Save, Configure, (Run Scripts manually if required) Deploy rpws.ear (RP Engine Application) to the RP Engine Domain Deploy OrpUI_EAR.ear (RP UI Application) to the RP UI Domain

VCP Setup/Launch Collections Create Plan Partition

Rapid Planning Login RP Workench Create Plan Run Plan

Page 10: Install and Implement Rapid Planning-Version1

Rapid Planning Installation Index (pic ;o)

Step Component SubComponent Category SubCategory Article Type Article ID Article Title

1 All Components All SubComponents Install Install Installation Guide 961442.1 Oracle Rapid Planning Installation Guide for Release 12.1 (Doc ID 961442.1)

2 VCP All SubComponents End to End Master Index Implementation Guide 1270662.1

Demantra 7.3.0.1 End to End Case Study Master Index

3 VCP All SubComponents System Requirements Hardware Implementation Guide 1270640.1 End to End Case Study - Hardware

4 VCP All SubComponents System Requirements Operating System Implementation Guide 1270641.1 End to End Case Study - Operating System

5 VCP All SubComponents System Requirements Opatch Implementation Guide 1270725.1 End to End Case Study - Database

6 VCP All SubComponents System Requirements Database Implementation Guide 1270725.1 End to End Case Study - Database

7 VCP All SubComponents System Requirements Java Implementation Guide 1270712.1 End to End Case Study - Java

8 VCP All SubComponents System Requirements Middleware Implementation Guide 1270713.1 End to End Case Study - Middleware

9 VCP Install Install Install EBS Release 12.1.1 Implementation Guide 790942.1 Oracle Applications Documentation Resources, Release 12.1

10 VCP Upgrade Install Upgrade EBS to Release 12.1.3 Implementation Guide 1080973.1 Oracle E-Business Suite Release 12.1.3 Readme

11 VCP Patch Install Patch VCP to Release 12.1.3.1/.2 Implementation Guide 1086459.1 Oracle Value Chain Planning Installation Guide for Release 12.1.3

12 VCP DB Links

Install Create DB Links

Implementation Guide 465259.1 EBS and APS Decentralized Apps Instances Overview and Diagram

13 VCP Instance

Install Instance Overview

Implementation Guide 444875.1 EBS - APS Decentralized Overview and Diagnostics

14 VCP Instance

Install Create Instance

Implementation Guide 465259.1 EBS and APS Decentralized Apps Instances Overview and Diagram

15 VCP Collections

Install Standard Collections

Implementation Guide tbd id Launch Oracle Standard Collections - steps detailed in Demantra end to end case study

16 VCP Rapid Planning Install Run InitialEngineSetup.sh script Implementation Guide 1285459.1

End to End Support RP Installation

17 OWLS Rapid Planning System Requirements Application Server Implementation Guide tbd id End to End Case Study - Application Server

18 OWLS Rapid Planning System Requirements RP Weblogic requirements Implementation Guide 1096517.1 Oracle Rapid Planning System Requirements for Release 12.1.3

19 OWLS Rapid Planning Install Install WebLogic Server Implementation Guide 1285459.1

End to End Support RP Installation

20 OWLS Rapid Planning Install ADF Runtime Implementation Guide 1285459.1

End to End Support RP Installation

21 OWLS Rapid Planning Implement APPLCSF Implementation Guide 1285459.1

End to End Support RP Installation

22 OWLS Rapid Planning Implement Env Variables Implementation Guide 1285459.1

End to End Support RP Installation

23 OWLS Rapid Planning Implement Configuration Wizard Implementation Guide 1285459.1

End to End Support RP Installation

24 All Components System Requirements System Requirements Hardware Implementation Guide 1270640.1 End to End Case Study - Hardware

25 All Components System Requirements System Requirements Operating System Implementation Guide 1270641.1 End to End Case Study - Operating System

26 All Components System Requirements System Requirements Database Implementation Guide 1270725.1 End to End Case Study - Database

27 All Components System Requirements System Requirements Java Implementation Guide 1270712.1 End to End Case Study - Java

28 All Components System Requirements System Requirements Middleware Implementation Guide 1270713.1 End to End Case Study - Middleware

29 All Components System Requirements System Requirements Applications Implementation Guide 1270642.1 End to End Case Study - Applications - EBS

30 All Components Topology Topology Topology Implementation Guide 1285459.1

End to End Support RP Installation

31 RP Engine Domain Configuration Wizard Setup Domain Run Configuration Wizard Implementation Guide 1285459.1

End to End Support RP Installation

32 RP Engine Domain RP Engine Domain Setup Domain Define RP Engine Domain Implementation Guide 1285459.1

End to End Support RP Installation

33 RP Engine Domain RP Engine Domain Administrator Setup Domain Define RP Engine Domain Administrator Implementation Guide 1285459.1

End to End Support RP Installation

34 RP Engine Domain RP Engine Admin Server Setup Domain Define RP Engine Admin Server Implementation Guide 1285459.1

End to End Support RP Installation

35 RP Engine Domain RP Engine Admin Server Console Setup Domain Use RP Engine Admin Server Console Implementation Guide 1285459.1

End to End Support RP Installation

36 RP Engine Domain JDBC Connection Setup Domain Create JDBC Connection Implementation Guide 1285459.1

End to End Support RP Installation

37 RP Engine Domain JTA Session Timeout Setup Domain Setup JTA Session Timeout Implementation Guide 1285459.1

End to End Support RP Installation

Page 11: Install and Implement Rapid Planning-Version1

38 RP UI Domain Configuration Wizard Setup Domain Run Configuration Wizard Implementation Guide 1285459.1

End to End Support RP Installation

39 RP UI Domain RP UI Domain Setup Domain Define RP UI Domain Implementation Guide 1285459.1

End to End Support RP Installation

40 RP UI Domain RP UI Domain Administrator Setup Domain Define RP UI Domain Administrator Implementation Guide 1285459.1

End to End Support RP Installation

41 RP UI Domain RP UI Admin Server Setup Domain Define RP UI Admin Server Implementation Guide 1285459.1

End to End Support RP Installation

42 RP UI Domain RP UI Admin Server Console Setup Domain Use RP UI Admin Server Console Implementation Guide 1285459.1

End to End Support RP Installation

43 RP UI Domain JDBC Connection Setup Domain Create JDBC Connection Implementation Guide 1285459.1

End to End Support RP Installation

44 RP UI Domain JTA Session Timeout Setup Domain Setup JTA Session Timeout Implementation Guide 1285459.1

End to End Support RP Installation

45 RP UI Domain Persistent Store Setup Domain Create Persistent Store Implementation Guide 1285459.1

End to End Support RP Installation

46 RP UI Domain Persistent Store Setup Domain Errors Implementation Guide 1285459.1

End to End Support RP Installation

47 WLST_scripts All SubComponents Setup Setup Scripts Implementation Guide 1285459.1

End to End Support RP Installation

48 VCP Profiles All Categories Profiles Implementation Guide 1285459.1

End to End Support RP Installation

49 VCP WLST_scripts All Categories WLST_scripts Implementation Guide 1285459.1

End to End Support RP Installation

50 VCP Redirect All Categories Redirect Implementation Guide 1285459.1

End to End Support RP Installation

51 VCP Bounce Apps Instance All Categories Bounce Apps Instance Implementation Guide 1285459.1

End to End Support RP Installation

52 RP Admin Application Deploy Deploy Deploy ORPAdmin.ear Implementation Guide 1285459.1

End to End Support RP Installation

53 RP Admin Application Machine Machine Create Machine Implementation Guide 1285459.1

End to End Support RP Installation

54 RP Admin Application NodeManager NodeManager Create/Configure Nodemanager Implementation Guide 1285459.1

End to End Support RP Installation

55 RP Admin Application Managed Server Managed Server Create Managed Server Implementation Guide 1285459.1

End to End Support RP Installation

56 WLST_scripts Machine Machine Create Machine Implementation Guide 1285459.1

End to End Support RP Installation

57 WLST_scripts NodeManager NodeManager Create/Configure Nodemanager Implementation Guide 1285459.1

End to End Support RP Installation

58 WLST_scripts Managed Server Managed Server Create Managed Server Implementation Guide 1285459.1

End to End Support RP Installation

59 WLST_scripts Managed Server Managed Server JMS Components Implementation Guide 1285459.1

End to End Support RP Installation

60 Maintenance RP Engine Admin Server Start/Stop Scripts RP Engine Admin Server Implementation Guide 1285459.1

End to End Support RP Installation

61 Maintenance RP UI Admin Server Start/Stop Scripts RP UI Admin Server Implementation Guide 1285459.1

End to End Support RP Installation

62 Maintenance NodeManager Start/Stop Scripts NodeManager Implementation Guide 1285459.1

End to End Support RP Installation

63 Maintenance Managed Server Start/Stop Scripts Managed Servers Implementation Guide 1285459.1

End to End Support RP Installation

64 Maintenance RP Admin App Start/Stop Scripts RP Admin App Implementation Guide 1285459.1

End to End Support RP Installation

65 RP Engine Application Ear File Deploy Deploy rpws.ear Implementation Guide 1285459.1

End to End Support RP Installation

66 RP Engine Application Managed Server Deploy Associate Managed Server Implementation Guide 1285459.1

End to End Support RP Installation

67 RP UI Application Ear File Deploy Deploy OrpUI_EAR.ear Implementation Guide 1285459.1

End to End Support RP Installation

68 Maintenance RP Engine App Start/Stop Scripts RP Engine App Implementation Guide 1285459.1

End to End Support RP Installation

69 Maintenance RP UI App Start/Stop Scripts RP UI App Implementation Guide 1285459.1

End to End Support RP Installation

70 Login RP Workbench RP UI Application RP Workbench Implementation Guide 1285459.1

End to End Support RP Installation

70 Collections Setup and Run Collections Collections Define Instance and Run Collections Implementation Guide 1285459.1

End to End Support RP Installation

71 Plans Plan Partition Plan Partition Create Plan Partition Implementation Guide 1285459.1

End to End Support RP Installation

72 Plans All SubComponents All SubComponents All Categories Implementation Guide 1285459.1

End to End Support RP Installation

Page 12: Install and Implement Rapid Planning-Version1

VCP

EBS/VCP Basic Centralized Topology

Page 13: Install and Implement Rapid Planning-Version1

System Requirements 1. VCP (EBS) System Requirements

Note 1086459.1 - Oracle Value Chain Planning Installation Guide for Release 12.1.3

Note 790942.1 - Oracle Applications Documentation Resources, Release 12.1

Hardware

Operating System

Note 1270641.1 - End to End Case Study - Operating System - (Coming Soon)

Linux x86

o Note 761564.1

Linux x86-64

o Note 761566.1

HP-UX PA-RISC (64-bit)

o Note 762894.1

HP-UX Itanium

o Note 762891.1

IBM AIX on Power Systems (64-bit)

o Note 761569.1

Microsoft Windows Server (32-bit)

o Note 761567.1

Sun Solaris SPARC (64-bit)

o Note 761568.1

We chose

Oracle Enterprise Linux (OEL5-x86-64)

o Note 761566.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12

(12.1.1) for Linux x86-64 (Doc ID 761566.1)

Page 14: Install and Implement Rapid Planning-Version1

Opatch

Note 189489.1 - Oracle Data Server Interim Patch Installation (OPatch)

Database

Note 1270725.1 - End to End Case Study – Database - (Coming Soon)

Upgrade/patch

Note 782224.1 - Interoperability Notes Oracle E-Business Suite Release 12 with

11gR1 (11.1.0.6)

Note 735276.1 - Interoperability Notes E-Business Suite R12 with Oracle

Database 11gR1 (11.1.0) (Doc ID 735276.1)

Note 761570.1 - Database Preparation Guidelines for an Oracle E-Business Suite

Release 12.1.1 Upgrade

Documentation Library

o Database Documentation (11.2) - E11882-01 View Library

Java

Note 1270712.1 - End to End Case Study – Java - (Coming Soon)

E-Business Suite Requirements

o Note 455492.1 - Using Latest Java 6.0 Update With Oracle E-Business Suite Release 12

Middleware

OAS 10.1.2 - forms

Note 437878.1 - Upgrading OracleAS 10g Forms and Reports - in Oracle E-Business Suite

Release 12

OAS 10.1.3 - oc4j

Note 454811.1 - Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-

Business Suite Release 12

Install VCP 12.1.1 2. Install VCP Applications Instance 12.1.1

Page 15: Install and Implement Rapid Planning-Version1

Note 790942.1 - Oracle Applications Documentation Resources, Release 12.1

o Oracle E-Business Suite Installation Guide: Using Rapid Install

Oracle® E-Business Suite Installation Guide: Using Rapid Install Release 12.1 (12.1.1)

o Basic Steps of a 12.1.1 to 12.1.3 install

Pre-install 12.1.1

1. Setup H/W

2. Install and Setup O/S

Install 12.1.1

3. Install EBS 12.1.1 (i.e. run rapidwiz)

Post-install 12.1.1

4. Upgrade OPatch in 10.1.2 Home

5. Upgrade/Patch OAS 10.1.2.3 (incl. in 12.1.1)

6. Re-deploy forms.ear

Pre-Install 12.1.3

7. Upgrade OPatch in Database Home

8. Upgrade/Patch Database 11.1.0.7

9. Upgrade OPatch in 10.1.3 Home

10. Upgrade/Patch OAS 10.1.3.4 to .5

11. Upgrade Java to 1.6_0_17 or lower

Install 12.1.3

12. Install EBS 12.1.3 Maintenance Pack using adpatch

Upgrade VCP to 12.1.3 3. Upgrade VCP to 12.1.3

Note 1080973.1 - Oracle E-Business Suite Release 12.1.3 Readme

patch 9239090 - readme 12.1.3

Beginning Note 1080973.1 - Oracle E-Business Suite Release 12.1.3 Readme

Page 16: Install and Implement Rapid Planning-Version1

Overview

Note 761570.1 - Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade

Note 454811.1 - Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12

Note 1077769.1 - Oracle E-Business Suite Applications DBA Readme, Release 12.1.3 (R12.AD.B.DELTA.3, Patch 9239089)

Patch 9239090

Patch VCP to 12.1.3.1 or .2 4. Patch VCP to 12.1.3.1 (or 12.1.3.2)

VCP 12.1.3.1

Patch 9771731:R12.SCP_PF.B

VCP 12.1.3.2

Patch 10192383:R12.SCP_PF.B

Page 17: Install and Implement Rapid Planning-Version1

Weblogic

Basic WebLogic Topology

WebLogic MiddleWare Home and WebLogic Server installed on a separate instance.

Applications are Deployed to MiddleWare Home/User Projects/Domain

Use Configuration Wizard to create Domains, Admin Server and Console to deploy applications.

WebLogic System Requirements 5. Weblogic System Requirements

Point to new End to End Note

Install WebLogic Server 6. Install Oracle Weblogic Server 10.3.2 (or 10.3.3)

Follow the Standard Installation Below

Except Populate your own values for these

Middleware Home $MW_HOME=/u01/vcp/oraowls/middleware

WebLogic Server Home $OWLS_HOME=/u01/vcp/oraowls/middleware/owls1032

Page 18: Install and Implement Rapid Planning-Version1

<<Point to new End to End Note>???>

-- with links/categories/subcategories

-- to rapid planning or Demantra or other planning suite app related install weblogic

problem occurs????

Read the WebLogic Guide

Following from http://download.oracle.com/docs/cd/E15523_01/web.1111/e13751/toc.htm Oracle® Fusion Middleware Getting Started With Installation for Oracle WebLogic Server 11g Release 1 (10.3.1) Part Number E13751-02 Example of <Basic> Performing a Custom Installation: Reference:

Download

Step 1: Download the Net Installer http://edelivery.oracle.com

Step 2: Start the Installation Process ./wls1031_linux32.bin

Page 19: Install and Implement Rapid Planning-Version1

Middleware Home ($MW_HOME)

Step 3: Select an Installation Directory Middleware Home ($MW_HOME): /u01/vcp/oraowls/middleware Step 4: Register for Security Updates Step 5: Specify Download Options Step 6: Choose a Custom Installation Step 7: Choose Products and Components Step 8: JDK Selection Sun SDK 1.6.0_14 Oracle JRockit SDK 1.6.0_14 Step 9: Monitor Download Progress

WebLogicServer Home ($OWLS_HOME)

Step 10: Choose Product Installation Directory WebLogicServer Home ($OWLS_HOME): /u01/vcp/oraowls/middleware/owls1032 Step 11: Install Node Manager Windows Service Step 12: Choose Shortcut Location (windows) Step 13: View Installation Summary The Installation begins. After you click Next in the Installation Summary window When the installation is complete, Click Done. Summary of Installation: $MW_HOME=/u01/vcp/oraowls/middleware $OWLS_HOME=/u01/vcp/oraowls/middleware/owls1032

Page 20: Install and Implement Rapid Planning-Version1

. ./$OWLS_HOME/bin/config.sh After Installation, (added by ~ee)

Prepare to Impelement RP

Step 14: Create Domains, Admin Server and Console to deploy applications using the Configuration Wizard Domains Configuration Wizard . ./$OWLS_HOME/bin/config.sh Rapid Planning Deployment Note: 1285459.1 Demantra - DM Deployment Note: <not yet created>

Page 21: Install and Implement Rapid Planning-Version1

Install ADF Runtime 7. Install ADF Runtime 11112

Reference Documents

Note 853789.1 - Installing ADF Runtime and Oracle Enterprise Manager on Oracle Fusion

Middleware 11g R1 (Doc ID )

Note 58748.1 - Oracle Fusion Middleware 11g - Getting Started FAQ (Doc ID )

Note 1151602.1 - How to Check Fusion Middleware and WebLogic Component Versions

(Doc ID )

Point to new End to End to Note << ??? >>

Download

a. Download ADF Runtime 1112

RunInstaller

b. Run Installer

./runInstaller -jreLoc JRE_LOCATION

Page 22: Install and Implement Rapid Planning-Version1

JRE Location

On UNIX operating systems:

./runInstaller -jreLoc JRE_LOCATION /u01/vcp/oraowls/middleware/jdk160_14_R27.6.5-32/jre

JRE_LOCATION

[root@wolfram Disk1]# ls /u01/vcp/oraowls/middleware/jdk160_14_R27.6.5-32 bin jre man README_zh_CN.html COPYRIGHT lib README.html src.zip include LICENSE README_ja.html THIRDPARTYLICENSEREADME.txt [root@wolfram Disk1]# ls /u01/vcp/oraowls/middleware/jdk160_14_R27.6.5-32/jre bin javaws LICENSE README Welcome.html COPYRIGHT lib plugin THIRDPARTYLICENSEREADME.txt [root@wolfram Disk1]#

Launch the runInstaller with the –jreLoc parameter

[root@wolfram Disk1]# ls doc install runInstaller setup.exe stage [root@wolfram Disk1]# ./runInstaller -jreLoc /u01/vcp/oraowls/middleware/jdk160_14_R27.6.5-32/jre

Our ADF Runtime installation

./runInstaller -jreLoc /u01/vcp/oraowls/middleware/jdk160_14_R27.6.5-32/jre

Page 23: Install and Implement Rapid Planning-Version1

After properly finding and setting the JAVA_HOME (JRE_LOCATION)

and launching the runinstaller from the oraowls unix user

After Clicking Next

The Installer checks “Prerequisite Checks”

Prerequisite Checks

Page 24: Install and Implement Rapid Planning-Version1

Ours failed

Right Click > Copy

ERROR – Checking recommended operating system packages

Root Checking operating system certification Expected result: One of enterprise-5.4,enterprise-4,enterprise-5,redhat-5.4,redhat-4,redhat-5,SuSE-10 Actual Result: enterprise-5 Check complete. The overall result of this check is: Passed Checking recommended operating system packages Checking for binutils-2.17.50.0.6; found binutils-2.17.50.0.6-14.el5-x86_64. Passed Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-61-x86_64. Passed Checking for compat-libstdc++-33-3.2.3-i386; found compat-libstdc++-33-3.2.3-61-i386. Passed Checking for elfutils-libelf-0.125; found elfutils-libelf-0.137-3.el5-x86_64. Passed Checking for elfutils-libelf-devel-0.125; found elfutils-libelf-devel-0.137-3.el5-x86_64. Passed Checking for gcc-4.1.1; found gcc-4.1.2-48.el5-x86_64. Passed Checking for gcc-c++-4.1.1; found gcc-c++-4.1.2-48.el5-x86_64. Passed Checking for glibc-2.5-12-x86_64; found glibc-2.5-49-x86_64. Passed Checking for glibc-2.5-12-i686; found glibc-2.5-49-i686. Passed Checking for glibc-common-2.5; found glibc-common-2.5-49-x86_64. Passed Checking for glibc-devel-2.5-x86_64; found glibc-devel-2.5-49-x86_64. Passed Checking for glibc-devel-2.5-12-i386; found glibc-devel-2.5-49-i386. Passed

Page 25: Install and Implement Rapid Planning-Version1

Checking for libaio-0.3.106-x86_64; found libaio-0.3.106-5-x86_64. Passed Checking for libaio-0.3.106-i386; found libaio-0.3.106-5-i386. Passed Checking for libaio-devel-0.3.106; Not found.Failed <<<< Checking for libgcc-4.1.1-x86_64; found libgcc-4.1.2-48.el5-x86_64. Passed Checking for libgcc-4.1.1-i386; found libgcc-4.1.2-48.el5-i386. Passed Checking for libstdc++-4.1.1-x86_64; found libstdc++-4.1.2-48.el5-x86_64. Passed Checking for libstdc++-4.1.1-i386; found libstdc++-4.1.2-48.el5-i386. Passed Checking for libstdc++-devel-4.1.1; found libstdc++-devel-4.1.2-48.el5-x86_64. Passed Checking for make-3.81; found make-1:3.81-3.el5-x86_64. Passed Checking for sysstat-7.0.0; Not found. Failed <<<< Check complete. The overall result of this check is: Failed <<<< Problem: Some recommended packages are missing (see above). Recommendation: You may actually have installed packages which have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the product release notes to find out how to get the missing packages and update the system. Checking kernel parameters Checking for VERSION=2.6.18; found VERSION=2.6.18-194.el5. Passed Checking for hardnofiles=4096; hardnofiles=1024. Failed <<<< Checking for softnofiles=4096; softnofiles=1024. Failed <<<< Check complete. The overall result of this check is: Failed <<<< Problem: The kernel parameters do not meet the minimum requirements (see above). Recommendation: Perform operating system specific instructions to update the kernel parameters. Checking Recommended glibc version Expected result: ATLEAST=2.5-12 Actual Result: 2.5-49 Check complete. The overall result of this check is: Passed Checking physical memory Expected result: 1024MB Actual Result: 7820MB Check complete. The overall result of this check is: Passed

Login backend and check those things

sysstat-7.0.0

rpm -qa sysstat*

not found

need to install it or newer

searched web

found http://whatislinux.net/rpm/sysstat-700-3el5i386rpm

downloaded:

http://www.soft30.com/rpmdownload/redhatrpm/sysstat-7.0.0-3.el5.i386.rpm

rpm -ivh sysstat-7.0.0-3.el5.i386.rpm

Page 26: Install and Implement Rapid Planning-Version1

sysstat Package download link ---------------- http://www.soft30.com/rpmdownload/redhatrpm/sysstat-7.0.0-3.el5.i386.rpm

Downloaded and Installed as root

Verified it was installed as oraowls

libaio-devel-0.3.106

http://rpm.pbone.net/index.php3/stat/4/idpl/12269788/dir/fedora_7/com/libaio-devel-

0.3.106-3.2.i386.rpm.html

[root@wolfram u02]# ls adf_11112 libaio-devel-0.3.106-3.2.i386.rpm wls10_3_2 adf_2 sysstat-7.0.0-3.el5.i386.rpm [root@wolfram u02]# rpm -ivh libaio-devel-0.3.106-3.2.i386.rpm warning: libaio-devel-0.3.106-3.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2 Preparing... ########################################### [100%] 1:libaio-devel ########################################### [100%] [root@wolfram u02]#

hardnofiles / softnofiles

Added the following lines to /etc/security/limits.conf file:

[root@wolfram ~]# vi /etc/security/limits.conf

* soft nofile 4096

* hard nofile 65536

The * denotes all users

Could have entered it for oraowls user (doing the ADF installation) only

oraowls soft nofile 4096 oraowls hard nofile 65536

Page 27: Install and Implement Rapid Planning-Version1

Example limits.conf file

# /etc/security/limits.conf # #Each line describes a limit for a user in the form: # #<domain> <type> <item> <value> # #Where: #<domain> can be: # - an user name # - a group name, with @group syntax # - the wildcard *, for default entry # - the wildcard %, can be also used with %group syntax, # for maxlogin limit # #<type> can have the two values: # - "soft" for enforcing the soft limits # - "hard" for enforcing hard limits # #<item> can be one of the following: # - core - limits the core file size (KB) # - data - max data size (KB) # - fsize - maximum filesize (KB) # - memlock - max locked-in-memory address space (KB) # - nofile - max number of open files # - rss - max resident set size (KB) # - stack - max stack size (KB) # - cpu - max CPU time (MIN) # - nproc - max number of processes # - as - address space limit # - maxlogins - max number of logins for this user # - maxsyslogins - max number of logins on the system # - priority - the priority to run user process with # - locks - max number of file locks the user can hold # - sigpending - max number of pending signals # - msgqueue - max memory used by POSIX message queues (bytes) # - nice - max nice priority allowed to raise to # - rtprio - max realtime priority # #<domain> <type> <item> <value> # #* soft core 0 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #@student - maxlogins 4 # # added by system administrator 29-Dec-2010 # for ADF Runtime 1.1.1.2.0 install * soft nofile 4096 * hard nofile 65536 # End of file

Page 28: Install and Implement Rapid Planning-Version1

After making the fixes above, clicked the BACK Button

And tested the setups again.

Found it also failed on that libaio-devel* package missing to, so downloaded and installed

that as per above noted as well.

Because the hardnofiles and softnofiles is a operating system environment setting, and this

installer reads those as it installs and the settings I made in limits.conf file are read on o/s

startup, …

Need to enable those for this session so I can restart the installation to read them.

ulimit –aH

ulimit –a

ulimit –aS

ulimit –u – user processes

ulimit –n – open files

we need to increase the soft and hard ulimits of open files for the installer to run through on

that prereq check.

But, will need exit and restart installer.

So, set those for the environment as noted:

ulimit -n 4096

Restarting the ADF Runtime

Restarting the ADF Runtime

Ok, it finally validates a 100%

Page 29: Install and Implement Rapid Planning-Version1

Specify Installation Location

Enter the Oracle Middleware Home (MW_HOME) created previously

Review the Installation Options Summary

Page 30: Install and Implement Rapid Planning-Version1

Monitor the Installation Progres

Click Next Review Installation Complete

Page 31: Install and Implement Rapid Planning-Version1

Click Finish

ADF Runtime Installation Log File ADF Runtime Installation Log File ---------------- /u01/vcp/oraowls/middleware/owls1032/logs/install2010-12-29_04-14-49PM.log Install Oracle Application Developer Directory Details Middleware Home Location: /u01/vcp/oraowls/middleware Oracle Home Location: /u01/vcp/oraowls/middleware/oracle_common Disk Space Oracle Home Size: 743 MB Available: 420184 MB Applications Oracle Enterprise Manager

Ok Now What How to Start/Stop Webservices/servers as related to Weblogic? Is there any other setups necessary related to the ADF Runtime? What is the Login Page to the Weblogic URL’s for the Administration/Configuration Console to create new domain and the such ? I believe it called: Configuration Manager

Configuration Wizard

Cd to the Oracle Weblogic Server / Common / Bin directory

Page 32: Install and Implement Rapid Planning-Version1

Run Config.sh

The Configuration Wizard opens to create a new Domain in which to deploy Rapid Planning which will have its own servers/services to start/run and URL to log into for the Adminstration Server of Rapid Planning UI and Engine components.

Page 33: Install and Implement Rapid Planning-Version1

Mount VCP $APPLCSF 8. Create and Mount remote VCP $APPLCSF directory to WebLogic server.

$APPLCSF – mounted directory to the VCP instance concurrent manager tier APPLCSF variable create directory: APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc unix$ mkdir -p /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

NOTE: If the APPLCSF directory from VCP instance is not created identically on the WebLogic

Enviroment, the Error recorded at bottom of this document in the RP Planner run, will

occur. Error: Import directory is not a valid directory

Get VCP’s APPLCSF setting

On VCP instance Concurrent Manager Tier server (ptolemy.us.oracle.com) 1. login as applmgr 2. echo $APPLCSF

unix$ echo $APPLCSF or unix$ env|grep APPLCSF APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

Share that VCP APPLCSF directory

Share the APPLCSF directory 3. update the /etc/exports file vi /etc/exports /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc 10.148.52.175(rw,sync) :x

4. update the /etc/hosts hosts.allow or .deny files as required add this entry to client that will use this shared directory 10.148.52.175 wolfram.us.oracle.com wolfram 5. restart the nfs services /sbin/service nfs reload /sbin/service nfs restart/start???

Page 34: Install and Implement Rapid Planning-Version1

Or use the Linux Desktop

6. verify the services started rpcinfo -p localhost program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 920 status 100024 1 tcp 923 status

Page 35: Install and Implement Rapid Planning-Version1

ps –efH -- ???? which ones running now?

Mount a Local Directory on WebLogic server

On Weblogic Server -- where RP is deployed 7. login as the weblogic unix user -- oraowls for our instance login as: oraowls [email protected]'s password: Last login: Thu Dec 30 11:43:33 2010 from client.vpn.oracle.com 8. ensure proper services running on source where shared directory is unix# rpcinfo -p ptolemy.us.oracle.com 9. Create the APPLCSF directory wolfram exactly as is on ptolemy.

On WebLogic machine: wolfram.us.oracle.com, make this directory structure: /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc mkdir -p /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

Set the APPLCSF environment on WebLogic Server

10. set the APPLCSF environment for the unix user that will start the RP admin/engine services

Page 36: Install and Implement Rapid Planning-Version1

NOTE: I don’t believe this is needed. From what I found launching the RP Plan, it gets the APPLCSF directory by checking the MSC_FILES table for plan_id and attempts to find that exact same directory structure on the WebLogic environment. So, it doesn’t check if there is an $APPLCSF environment variable set pointing to some other mounted directory.

APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc export APPLCSF; login as oraowls unix user vi .bash_profile add these lines: APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc export APPLCSF; save :x

11. mount that newly created local directory to the shared EBS APPLCSF directory mount -t nfs ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

Set oraowls environment variables 9. Set these environment variables on WebLogic Server for unix user that will start the RP

Engine and UI servers.

$BEAHOME - BEA install home (e.g. /slot/ems3157/appmgr/WLS)

$WLSHOME - Weblogic home (e.g. /slot/ems3157/appmgr/WLS/wlserver_10.3)

$MACHINENAME - Host name of the machine on which the Weblogic server is

running

(e.g. rws60144rems.us.oracle.com).

$APPLCSF - Top directory where plan MBP files are generated by concurrent

programs.

$JAVA_TOP - Top directory for java classes in environment

We ought to have the env variables named as this instead of beahome and wlshome and ought to create some that

point to the engine and ui domain directories… just because :o)

$OWLS_HOME – weblogic server home inside middleware home structure

$MW_HOME – middleware home (i.e. BEAHOME)

$RPUIDOM and $RPENGDOM or $RPUI_DOMAIN or $RPENG_DOMAIN

Page 37: Install and Implement Rapid Planning-Version1

Our values:

------ $BEAHOME=/u01/vcp/oraowls/middleware/

$WLSHOME=/u01/vcp/oraowls/middleware/owls1032/

$MACHINENAME=wolfram.us.oracle.com

$APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

$JAVA_TOP=/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-32/

Create orp.env in oraowls home user directory home/oraowls

orp.env

-------- [oraowls@wolfram ~]$ more orp.env #!/bin/sh # $Header: orp.env 120.1 2011/01/14 24:10:00 rbevans $ # this file was manually created to setup the RP environment # on WebLogic server BEAHOME=/u01/vcp/oraowls/middleware; export BEAHOME; WLSHOME=/u01/vcp/oraowls/middleware/owls1032 export WLSHOME; MACHINENAME=wolfram.us.oracle.com export MACHINENAME; APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf export APPLCSF; MW_HOME=$BEAHOME; export MW_HOME; OWLS_HOME=$WLSHOME; export OWLS_HOME;

.bash_profile

------ [oraowls@wolfram ~]$ more .bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH . ./orp.env

Page 38: Install and Implement Rapid Planning-Version1

Rapid Planning

Rapid Planning System Requirements 10. Rapid Planning System Requirements

Oracle Rapid Planning System Requirements for Release 12.1.3 (Doc ID 1096517.1)

Oracle Rapid Planning Release Notes, Release 12.1.3 (Doc ID 1081471.1)

Note 964316.1 - Oracle Rapid Planning Documentation Library

Note 961442.1 - Oracle Rapid Planning Installation Guide for Release 12.1

Note 1081471.1 - Oracle Rapid Planning Release Notes, Release 12.1.3

Note 1096517.1 - Oracle Rapid Planning System Requirements for Release

12.1.3

Note 1200283.1 - Which Weblogic Version Should be Used With Oracle Rapid

Planning?

Note 961444.1 - Oracle Rapid Planning - New Product Release Notes, Release

12.1

Hardware

Hardware

Note 1096517.1 - Oracle Rapid Planning System Requirements for Release 12.1.3

Operating System

Operating System

Note 1096517.1 - Oracle Rapid Planning System Requirements for Release 12.1.3

Database

Database

Note 1096517.1 - Oracle Rapid Planning System Requirements for Release 12.1.3

Java

Java

Note 1096517.1 - Oracle Rapid Planning System Requirements for Release 12.1.3

Middleware

Middleware

Note 1096517.1 - Oracle Rapid Planning System Requirements for Release 12.1.3

Applications

Applications

Page 39: Install and Implement Rapid Planning-Version1

Rapid Planning Topology 11. Rapid Planning Topology

Basic RP WebLogic deployment

Page 40: Install and Implement Rapid Planning-Version1

Rapid Planning Detailed WebLogic Topology

Then, after implementing EBS E-Business Mfg Suite , VCP E-Business Planning Suite, Installing WebLogic, Deploying Rapid Planning, and integrating

all the same, we have the full Implementation topology as follows:

Page 41: Install and Implement Rapid Planning-Version1

Full Centralized EBS-VCP-RP Implementation Topology

Page 42: Install and Implement Rapid Planning-Version1

Create Rapid Planning Engine Domain 12. Create Rapid Planning Engine Domain

Launch WebLogic Configuration Wizard

a. Launch WebLogic Configuration Wizard

cd to the Oracle WebLogic Server / Common / Bin directory

Run config.sh

To create a new Domain in which to deploy Rapid Planning which will have its own

servers/services to start/run and URL to log into for the Administration Server of Rapid

Planning UI and Engine components.

The Fusion Middleware Configuration Wizard opens.

Page 43: Install and Implement Rapid Planning-Version1

Create a new WebLogic domain

b. Create a new WebLogic domain, and click Next

The Select Domain Source opens.

c. Generate a domain configured automatically to support the following products, and

click Next.

Basic WebLogic Server Domain – 10.3.2.0 [owls1032]*

Page 44: Install and Implement Rapid Planning-Version1

Specify Domain Name and Location opens

Page 45: Install and Implement Rapid Planning-Version1

Rp Engine Domain

d. Enter the name and location for the domain, and click Next.

Domain name: rp_engine_domain

Domain location: /u01/vcp/oraowls/middleware/user_projects/domains

Configure Administrator User Name and Password opens.

Page 46: Install and Implement Rapid Planning-Version1

RP Engine Domain Administrator

e. Enter the RP Engine Domain Administrator User Name and Password, and click Next.

User name: rp_engine_admin

User password: rp_engine_admin

Confirm user password: rp_engine_admin

Description: This user is the default RP Engine administrator.

Configure Server Start Mode and JDK opens.

f. Select the WebLogic Domain Startup Mode and JDK Selection, and click Next

Production Mode: selected

Available JDKs: JRockit – defaults for Production Mode.

Page 47: Install and Implement Rapid Planning-Version1

Select Optional Configuration opens.

g. Select Administration Server, and click Next.

Configure Administration Server opens.

Page 48: Install and Implement Rapid Planning-Version1

Rp Engine Admin Server

h. Enter the Name, Listen Address, Listen Port, SSL listen port, and SSL enabled.

Name: RpEngineAdminServer

Listen Address: All Local Addresses

Listen Port: 7001 – default

SSL listen port: 7002 – default

SSL enabled: checked… as required

Verify the Ports are not already in use.

unix$ netstat -a | grep LISTEN|grep 7001

unix$ netstat -a | grep LISTEN|grep 7002

unix$ netstat -lntp

Configuration Summary opens.

i. Review the Summary, and click Create.

Page 49: Install and Implement Rapid Planning-Version1

j. Creating the domain

Page 50: Install and Implement Rapid Planning-Version1

RP Engine Domain Summary

Review the Domain Location and Admin Server URL:

Domain Location:

/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain

Admin Server URL:

http://wolfram.us.oracle.com:7001 , https://wolfram.us.oracle.com:7002

remember,

User name: rp_engine_admin

Password: rp_engine_admin

k. Click Done.

l. File System structure ... after Weblogic,ADF Runtime, and RP Engine Domain creation.

Page 51: Install and Implement Rapid Planning-Version1

m. Set EXTRA_JAVA_PROPERTIES in setDomainEnv.sh as shown:

NOTE: The EXTRA_JAVA_PROPERTIES is ONLY set for the UI Domain NOT the Engine

Domain

Change this Line: adding -Djava.awt.headless=true to the

From : JAVA_PROPERTIES="${JAVA_PROPERTIES} ${EXTRA_JAVA_PROPERTIES} "

To : JAVA_PROPERTIES="${JAVA_PROPERTIES} ${EXTRA_JAVA_PROPERTIES} -Djava.awt.headless=true"

JAVA_PROPERTIES="-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -

Dweblogic.home=${WLS_HOME} "

export JAVA_PROPERTIES

# To use Java Authorization Contract for Containers (JACC) in this domain,

# please uncomment the following section. If there are multiple machines in

# your domain, be sure to edit the setDomainEnv in the associated domain on

# each machine.

#

# -Djava.security.manager

# -Djava.security.policy=location of weblogic.policy

# -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy

# -

Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.Poli

cyConfigurationFactoryImpl

# -

Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleM

apperFactoryImpl

JAVA_PROPERTIES="${JAVA_PROPERTIES} ${EXTRA_JAVA_PROPERTIES} -Djava.awt.headless=true"

export JAVA_PROPERTIES

[oraowls@wolfram bin]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/bin

[oraowls@wolfram bin]$ ls

nodemanager setDomainEnv.sh startWebLogic.sh

server_migration startManagedWebLogic.sh stopManagedWebLogic.sh

service_migration startPointBaseConsole.sh stopWebLogic.sh

[oraowls@wolfram bin]$ vi setDomainEnv.sh

Page 52: Install and Implement Rapid Planning-Version1

Create Rapid Planning UI Domain 13. Create Rapid Planning UI Domain

Launch WebLogic Configuration Wizard

a. Launch WebLogic Configuration Wizard

cd to the Oracle WebLogic Server / Common / Bin directory

Run Config.sh

To create a new Domain in which to deploy Rapid Planning which will have its own

servers/services to start/run and URL to log into for the Administration Server of Rapid

Planning UI and Engine components.

The Fusion Middleware Configuration Wizard opens.

Create a new WebLogic domain

b. Create a new WebLogic domain, and click Next

Page 53: Install and Implement Rapid Planning-Version1

The Select Domain Source opens.

c. Generate a domain configured automatically to support the following products, and

click Next.

Select

Basic WebLogic Server Domain – 10.3.2.0 [owls1032]*

Oracle JRF – 11.1.1.0 [oracle_common]

Page 54: Install and Implement Rapid Planning-Version1

Specify Domain Name and Location opens

Rp UI Domain

d. Enter the name and location for the domain, and click Next.

Domain name: rp_ui_domain

Domain location: /u01/vcp/oraowls/middleware/user_projects/domains

Configure Administrator User Name and Password opens.

Page 55: Install and Implement Rapid Planning-Version1

RP UI Domain Administrator

e. Enter the RP UI Domain Administrator User Name and Password, and click Next.

User name: rp_ui_admin

User password: rp_ui_admin

Confirm user password: rp_ui_admin

Description: This user is the default RP UI administrator.

Configure Server Start Mode and JDK opens.

f. Select the WebLogic Domain Startup Mode and JDK Selection, and click Next

Production Mode: selected

Available JDKs: JRockit – defaults for Production Mode.

Page 56: Install and Implement Rapid Planning-Version1

Select Optional Configuration opens.

g. Select Administration Server, and click Next.

Configure Administration Server opens.

Page 57: Install and Implement Rapid Planning-Version1

Rp UI Admin Server

h. Enter the Name, Listen Address, Listen Port, SSL listen port, and SSL enabled.

Name: RpUiAdminServer

Listen Address: All Local Addresses

Listen Port: 7003 – or other available port

SSL listen port: 7004 – or other available port

Note: This Listen Port is supposed to be used to set up the profile MSC_RP_HOST_URL

SSL enabled: checked… as required

Configuration Summary opens.

i. Review the Summary, and click Create.

Page 58: Install and Implement Rapid Planning-Version1

j. Creating the domain

Page 59: Install and Implement Rapid Planning-Version1
Page 60: Install and Implement Rapid Planning-Version1

RP UI Domain Summary

Review the Domain Location and Admin Server URL:

Domain Location:

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain

Admin Server URL:

http://wolfram.us.oracle.com:7003, https://wolfram.us.oracle.com:7004

Admin Console is at :7003/console

remember,

User name: rp_ui_admin

Password: rp_ui_admin

k. Click Done.

l. Review the File System structure for rp_ui_admin domain

Page 61: Install and Implement Rapid Planning-Version1

Start RP Engine Domain Administration Server 14. Start the rp_engine_domain administration server

a. cd $MW_HOME/user_projects/domains/rp_engine_domain/

b. ./startWebLogic.sh

Rp Engine Admin Server shell console output

[oraowls@wolfram rp_engine_domain]$ ./startWebLogic.sh

.

.

JAVA Memory arguments: -Xms512m -Xmx512m

.

WLS Start Mode=Production

.

CLASSPATH=/u01/vcp/oraowls/middleware/patch_wls1032/profiles/default/sys_manifest_classpat

h/weblogic_patch.jar:/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-

32/lib/tools.jar:/u01/vcp/oraowls/middleware/utils/config/10.3/config-

launch.jar:/u01/vcp/oraowls/middleware/owls1032/server/lib/weblogic_sp.jar:/u01/vcp/oraowl

s/middleware/owls1032/server/lib/weblogic.jar:/u01/vcp/oraowls/middleware/modules/features

/weblogic.server.modules_10.3.2.0.jar:/u01/vcp/oraowls/middleware/owls1032/server/lib/webs

ervices.jar:/u01/vcp/oraowls/middleware/modules/org.apache.ant_1.7.0/lib/ant-

all.jar:/u01/vcp/oraowls/middleware/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-

contrib.jar:/u01/vcp/oraowls/middleware/owls1032/common/eval/pointbase/lib/pbclient57.jar:

/u01/vcp/oraowls/middleware/owls1032/server/lib/xqrl.jar

.

PATH=/u01/vcp/oraowls/middleware/owls1032/server/bin:/u01/vcp/oraowls/middleware/modules/o

rg.apache.ant_1.7.0/bin:/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-

32/jre/bin:/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-

32/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oraowls/bin

.

***************************************************

* To start WebLogic Server, use a username and *

* password assigned to an admin-level user. For *

* server administration, use the WebLogic Server *

* console at http://hostname:port/console *

***************************************************

starting weblogic with Java version:

java version "1.6.0_14"

Java(TM) SE Runtime Environment (build 1.6.0_14-b08)

BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled

mode)

Starting WLS with line:

/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-32/bin/java -jrockit -Xms512m -

Xmx512m -Dweblogic.Name=RpEngineAdminServer -

Djava.security.policy=/u01/vcp/oraowls/middleware/owls1032/server/lib/weblogic.policy -

da -Dplatform.home=/u01/vcp/oraowls/middleware/owls1032 -

Dwls.home=/u01/vcp/oraowls/middleware/owls1032/server -

Dweblogic.home=/u01/vcp/oraowls/middleware/owls1032/server -

Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -

Dwlw.logErrorsToConsole=false -

Dweblogic.ext.dirs=/u01/vcp/oraowls/middleware/patch_wls1032/profiles/default/sysext_manif

est_classpath weblogic.Server

Page 62: Install and Implement Rapid Planning-Version1

<Jan 10, 2011 6:34:16 PM MST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic

Server with BEA JRockit(R) Version R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32

from BEA Systems, Inc.>

<Jan 10, 2011 6:34:17 PM MST> <Info> <Management> <BEA-141107> <Version: WebLogic Server

10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >

<Jan 10, 2011 6:34:18 PM MST> <Info> <Security> <BEA-090065> <Getting boot identity from

user.>

Enter username to boot WebLogic server:rp_engine_admin

Enter password to boot WebLogic server:*************** (rp_engine_admin)

<Jan 10, 2011 6:37:24 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to STARTING> <Jan 10, 2011 6:37:24 PM MST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>

<Jan 10, 2011 6:37:24 PM MST> <Notice> <Log Management> <BEA-170019> <The server log file

/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/servers/RpEngineAdminServer/logs/Rp

EngineAdminServer.log is opened. All server side log events will be written to this file.>

<Jan 10, 2011 6:37:28 PM MST> <Notice> <Security> <BEA-090082> <Security initializing using security

realm myrealm.>

<Jan 10, 2011 6:37:30 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>

<Jan 10, 2011 6:37:30 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to

STARTING>

Jan 10, 2011 6:37:33 PM com.sun.faces.config.ConfigureListener contextInitialized

INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'

Jan 10, 2011 6:37:33 PM com.sun.faces.config.ConfigureListener contextInitialized

INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context

'/console'

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Log Management> <BEA-170027> <The Server has established

connection with the Domain level Diagnostic Service successfully.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to

RESUMING>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and

private key stored under the alias DemoIdentity from the jks keystore file

/u01/vcp/oraowls/middleware/owls1032/server/lib/DemoIdentity.jks.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the

jks keystore file /u01/vcp/oraowls/middleware/owls1032/server/lib/DemoTrust.jks.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the

jks keystore file /u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-32/jre/lib/security/cacerts.>

<Jan 10, 2011 6:37:35 PM MST> <Alert> <Security> <BEA-090152> <Demo trusted CA certificate is being

used in production mode: [

[

Version: V3

Subject: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US

Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4

Key: Sun RSA public key, 512 bits

modulus:

955019287786924425883848070339045601504642537525227827919067306354412251092548217996332923605214604735

6415957587628011282484772458983977898996276815440753

public exponent: 65537

Validity: [From: Thu Mar 21 13:12:27 MST 2002,

To: Tue Mar 22 14:12:27 MDT 2022]

Issuer: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US

SerialNumber: [ 33f10648 fcde0deb 4199921f d64537f4]

Certificate Extensions: 1

[1]: ObjectId: 2.5.29.15 Criticality=true

KeyUsage [

Key_CertSign

]

]

Algorithm: [MD5withRSA]

Signature:

0000: 9D 26 4C 29 C8 91 C3 A7 06 C3 24 6F AE B4 F8 82 .&L)......$o....

0010: 80 4D AA CB 7C 79 46 84 81 C4 66 95 F4 1E D8 C4 .M...yF...f.....

Page 63: Install and Implement Rapid Planning-Version1

0020: E9 B7 D9 7C E2 23 33 A4 B7 21 E0 AA 54 2B 4A FF .....#3..!..T+J.

0030: CB 21 20 88 81 21 DB AC 90 54 D8 7D 79 63 23 3C .! ..!...T..yc#<

] The system is vulnerable to security attacks, since it trusts certificates signed by the demo

trusted CA.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate

"CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a

certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object:

1.2.840.113549.1.1.11.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate

"CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE".

The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported

OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate

"CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE".

The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported

OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[3]" is now

listening on 127.0.0.1:7002 for protocols iiops, t3s, ldaps, https.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on

10.148.52.175:7001 for protocols iiop, t3, ldap, snmp, http.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening

on 10.148.52.175:7002 for protocols iiops, t3s, ldaps, https.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[2]" is now

listening on 0:0:0:0:0:0:0:1:7002 for protocols iiops, t3s, ldaps, https.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on

127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on

0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on

fe80:0:0:0:baac:6fff:fe1f:55b8:7001 for protocols iiop, t3, ldap, snmp, http.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now

listening on fe80:0:0:0:baac:6fff:fe1f:55b8:7002 for protocols iiops, t3s, ldaps, https.>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server

"RpEngineAdminServer" for domain "rp_engine_domain" running in Production Mode>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>

<Jan 10, 2011 6:37:35 PM MST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

c. Enter the rp_engine_admin user name and password

rp_engine_admin / rp_engine_admin

Enter username to boot WebLogic server:rp_engine_admin

Enter password to boot WebLogic server:*************** (rp_engine_admin)

Page 64: Install and Implement Rapid Planning-Version1

RP Engine Domain Admin Server Console d. Login into the RP Engine Domain Admin Server Console

http://wolfram.us.oracle.com:7001/console

e. The RP Engine Admin Console opens

Page 65: Install and Implement Rapid Planning-Version1
Page 66: Install and Implement Rapid Planning-Version1

Create RP Engine JDBC Data Source

15. Create RP Engine JDBC DataSource : rp_vcp_ds_1

a. Select Lock & Edit

b. Expand Services > JDBC > Data Sources in the Domain Structure

Page 67: Install and Implement Rapid Planning-Version1

c. Click New, and Enter the JDBC Data Source Name

Note: Ensure Name and JNDI Name are both the same.

Also if using a Different Name than mentioned in the Installation Guide

“RapidPlanningDS2” then ensure to update the *.sh file

WARNING WARNING WARNING

----

Must create Name as RapidPlanningDS2

Else … it won’t connect …

Name: rp_vcp_ds_1

JNDI Name: rp_vcp_ds_1

Database Type: Oracle

Database Driver: Oracle's Driver (Thin) for instance connections: 9.0.1, 9.2.0, 10, 11

Page 68: Install and Implement Rapid Planning-Version1

Click Next

d. De-select Supports Global Transaction and click Next

Page 69: Install and Implement Rapid Planning-Version1

e. Enter Database Connection Properties, and click Next

Database Name: vcp

– vcp applications instance database

Host Name: ptolemy.us.oracle.com

– vcp applications instance computer hostname

Port: 1521

– vcp applications database port

Database User Name: apps

– vcp applications database APPS user

Password: apps

Confirm Password: apps

f. Test Connection, verify it was successful

Page 70: Install and Implement Rapid Planning-Version1

Click Next, and Select Targets opens

g. Do not select any Target Server. Click Finish.

Page 71: Install and Implement Rapid Planning-Version1

h. Review the Summary of JDBC Data Sources in this rp engine domain

Page 72: Install and Implement Rapid Planning-Version1

Increase Java Transaction API (JTA) Timeout

16. Increase Timeout Seconds in the Java Transaction API configuration on RP Engine Domain

a. In Domain Sources > expand Services, and Select JTA.

b. View the rp_engine_domain Settings

c. On Configuration tab, JTA sub-tab, Increase the Timeout Seconds

Page 73: Install and Implement Rapid Planning-Version1

d. Click Save.

e. Activate Changes

f. Verify changes saved.

Page 74: Install and Implement Rapid Planning-Version1

Start Rp UI Domain Administration Server 17. Start the rp_ui_domain administration server

a. cd $MW_HOME/user_projects/domains/rp_ui_domain/

[oraowls@wolfram rp_ui_domain]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain

[oraowls@wolfram rp_ui_domain]$ ls

autodeploy config fileRealm.properties lib startWebLogic.sh

bin console-ext init-info security

b. ./startWebLogic.sh

[oraowls@wolfram rp_ui_domain]$ ./startWebLogic.sh & .

JAVA Memory arguments: -Xms256m -Xmx512m

.

WLS Start Mode=Production

.

CLASSPATH=/u01/vcp/oraowls/middleware/patch_wls1032/profiles/default/sys_manifest_classpat

h/weblogic_patch.jar:/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-

32/lib/tools.jar:/u01/vcp/oraowls/middleware/utils/config/10.3/config-

launch.jar:/u01/vcp/oraowls/middleware/owls1032/server/lib/weblogic_sp.jar:/u01/vcp/oraowl

s/middleware/owls1032/server/lib/weblogic.jar:/u01/vcp/oraowls/middleware/modules/features

/weblogic.server.modules_10.3.2.0.jar:/u01/vcp/oraowls/middleware/owls1032/server/lib/webs

ervices.jar:/u01/vcp/oraowls/middleware/modules/org.apache.ant_1.7.0/lib/ant-

all.jar:/u01/vcp/oraowls/middleware/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-

contrib.jar:/u01/vcp/oraowls/middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/u

01/vcp/oraowls/middleware/owls1032/common/eval/pointbase/lib/pbclient57.jar:/u01/vcp/oraow

ls/middleware/owls1032/server/lib/xqrl.jar

.

PATH=/u01/vcp/oraowls/middleware/owls1032/server/bin:/u01/vcp/oraowls/middleware/modules/o

rg.apache.ant_1.7.0/bin:/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-

32/jre/bin:/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-

32/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oraowls/bin

.

***************************************************

* To start WebLogic Server, use a username and *

* password assigned to an admin-level user. For *

* server administration, use the WebLogic Server *

* console at http://hostname:port/console *

***************************************************

starting weblogic with Java version:

java version "1.6.0_14"

Java(TM) SE Runtime Environment (build 1.6.0_14-b08)

BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled

mode)

Starting WLS with line:

/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-32/bin/java -jrockit -Xms256m -

Xmx512m -Dweblogic.Name=RpUiAdminServer -

Djava.security.policy=/u01/vcp/oraowls/middleware/owls1032/server/lib/weblogic.policy -

da -Dplatform.home=/u01/vcp/oraowls/middleware/owls1032 -

Dwls.home=/u01/vcp/oraowls/middleware/owls1032/server -

Dweblogic.home=/u01/vcp/oraowls/middleware/owls1032/server -

Ddomain.home=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain -

Dcommon.components.home=/u01/vcp/oraowls/middleware/oracle_common -Djrf.version=11.1.1 -

Page 75: Install and Implement Rapid Planning-Version1

Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -

Djrockit.optfile=/u01/vcp/oraowls/middleware/oracle_common/modules/oracle.jrf_11.1.1/jrock

et_optfile.txt -

Doracle.domain.config.dir=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/c

onfig/fmwconfig -

Doracle.server.config.dir=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/c

onfig/fmwconfig/servers/RpUiAdminServer -

Doracle.security.jps.config=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain

/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -

Digf.arisidbeans.carmlloc=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/c

onfig/fmwconfig/carml -

Digf.arisidstack.home=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/confi

g/fmwconfig/arisidprovider -

Dweblogic.alternateTypesDirectory=/modules/oracle.ossoiap_11.1.1,/modules/oracle.oamprovid

er_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -

Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -

Dweblogic.ext.dirs=/u01/vcp/oraowls/middleware/patch_wls1032/profiles/default/sysext_manif

est_classpath weblogic.Server

<Jan 13, 2011 8:41:44 PM MST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic

Server with BEA JRockit(R) Version R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32

from BEA Systems, Inc.>

<Jan 13, 2011 8:41:45 PM MST> <Info> <Management> <BEA-141107> <Version: WebLogic Server

10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >

<Jan 13, 2011 8:41:46 PM MST> <Info> <Security> <BEA-090065> <Getting boot identity from

user.>

Enter username to boot WebLogic server:rp_ui_admin

Enter password to boot WebLogic server:*********** (rp_ui_admin)

<Jan 13, 2011 8:42:20 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to STARTING>

<Jan 13, 2011 8:42:20 PM MST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning

thread pool>

<Jan 13, 2011 8:42:20 PM MST> <Notice> <Log Management> <BEA-170019> <The server log file

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminServer/log

s/RpUiAdminServer.log is opened. All server side log events will be written to this file.>

<Jan 13, 2011 8:42:25 PM MST> <Notice> <Security> <BEA-090082> <Security initializing

using security realm myrealm.>

<Jan 13, 2011 8:42:30 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to STANDBY>

<Jan 13, 2011 8:42:30 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to STARTING>

<Jan 13, 2011 8:42:38 PM MST> <Error>

<org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000>

<ServletContainerAdapter manager not initialized correctly.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Log Management> <BEA-170027> <The Server has

established connection with the Domain level Diagnostic Service successfully.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to ADMIN>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to RESUMING>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Security> <BEA-090171> <Loading the identity

certificate and private key stored under the alias DemoIdentity from the jks keystore file

/u01/vcp/oraowls/middleware/owls1032/server/lib/DemoIdentity.jks.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Security> <BEA-090169> <Loading trusted

certificates from the jks keystore file

/u01/vcp/oraowls/middleware/owls1032/server/lib/DemoTrust.jks.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Security> <BEA-090169> <Loading trusted

certificates from the jks keystore file

/u01/vcp/oraowls/middleware/jrockit_160_14_R27.6.5-32/jre/lib/security/cacerts.>

Page 76: Install and Implement Rapid Planning-Version1

<Jan 13, 2011 8:42:40 PM MST> <Alert> <Security> <BEA-090152> <Demo trusted CA certificate

is being used in production mode: [

[

Version: V3

Subject: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US

Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4

Key: Sun RSA public key, 512 bits

modulus:

955019287786924425883848070339045601504642537525227827919067306354412251092548217996332923

6052146047356415957587628011282484772458983977898996276815440753

public exponent: 65537

Validity: [From: Thu Mar 21 13:12:27 MST 2002,

To: Tue Mar 22 14:12:27 MDT 2022]

Issuer: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US

SerialNumber: [ 33f10648 fcde0deb 4199921f d64537f4]

Certificate Extensions: 1

[1]: ObjectId: 2.5.29.15 Criticality=true

KeyUsage [

Key_CertSign

]

]

Algorithm: [MD5withRSA]

Signature:

0000: 9D 26 4C 29 C8 91 C3 A7 06 C3 24 6F AE B4 F8 82 .&L)......$o....

0010: 80 4D AA CB 7C 79 46 84 81 C4 66 95 F4 1E D8 C4 .M...yF...f.....

0020: E9 B7 D9 7C E2 23 33 A4 B7 21 E0 AA 54 2B 4A FF .....#3..!..T+J.

0030: CB 21 20 88 81 21 DB AC 90 54 D8 7D 79 63 23 3C .! ..!...T..yc#<

] The system is vulnerable to security attacks, since it trusts certificates signed by the

demo trusted CA.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA

certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted

certificate list raised a certificate parsing exception PKIX: Unsupported OID in the

AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA

certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems

Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a

certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object:

1.2.840.113549.1.1.11.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA

certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems

Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a

certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object:

1.2.840.113549.1.1.11.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default" is now

listening on 10.148.52.175:7003 for protocols iiop, t3, ldap, snmp, http.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now

listening on 127.0.0.1:7003 for protocols iiop, t3, ldap, snmp, http.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is

now listening on 10.148.52.175:7004 for protocols iiops, t3s, ldaps, https.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[2]"

is now listening on 0:0:0:0:0:0:0:1:7004 for protocols iiops, t3s, ldaps, https.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[3]"

is now listening on 127.0.0.1:7004 for protocols iiops, t3s, ldaps, https.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now

listening on 0:0:0:0:0:0:0:1:7003 for protocols iiop, t3, ldap, snmp, http.>

Page 77: Install and Implement Rapid Planning-Version1

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now

listening on fe80:0:0:0:baac:6fff:fe1f:55b8:7003 for protocols iiop, t3, ldap, snmp,

http.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]"

is now listening on fe80:0:0:0:baac:6fff:fe1f:55b8:7004 for protocols iiops, t3s, ldaps,

https.>

<Jan 13, 2011 8:42:40 PM MST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic

Admin Server "RpUiAdminServer" for domain "rp_ui_domain" running in Production Mode>

<Jan 13, 2011 8:42:41 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed

to RUNNING>

<Jan 13, 2011 8:42:41 PM MST> <Notice> <WebLogicServer> <BEA-000360> <Server started in

RUNNING mode>

c. Enter the rp_ui_admin user name and password

rp_ui_admin / rp_ui_admin

Enter username to boot WebLogic server:rp_ui_admin

Enter password to boot WebLogic server:*************** (rp_ui_admin)

Page 78: Install and Implement Rapid Planning-Version1

RP UI Domain Admin Server Console d. Login into the RP UI Domain Admin Server Console

http://wolfram.us.oracle.com:7003/console

e. The RP UI Admin Console opens

Page 79: Install and Implement Rapid Planning-Version1
Page 80: Install and Implement Rapid Planning-Version1

Create RP UI JDBC Data Source

18. Create RP UI JDBC DataSource : rp_vcp_ds_2

Note: This MUST be named: ma0dv220 and jdbc/ma0dv220DS

Else it will fail.

a. Select Lock & Edit

b. Expand Services > JDBC > Data Sources in the Domain Structure

Page 81: Install and Implement Rapid Planning-Version1
Page 82: Install and Implement Rapid Planning-Version1

JDBC Data Source Name for RP UI

c. Click New, and Enter the JDBC Data Source Name

Note: Ensure Name and JNDI Name are both the same.

If using a Different Name than mentioned in the Installation Guide “ma0dv220

and jdbc/ma0dv220DS” then ensure to update the files in WLST_script directory

CreateServer.py and WLST_Config.properties files as those are seeded.

Name: rp_vcp_ds_2 (ma0dv220)

JNDI Name: jdbc/rp_vcp_ds_2 (jdbc/ma0dv220DS)

Database Type: Oracle

Database Driver: Oracle's Driver (Thin) for instance connections: 9.0.1, 9.2.0, 10, 11

Click Next

d. De-select Supports Global Transaction and click Next

Page 83: Install and Implement Rapid Planning-Version1

e. Enter Database Connection Properties, and click Next

Database Name: vcp

– vcp applications instance database

Host Name: ptolemy.us.oracle.com

– vcp applications instance computer hostname

Port: 1521

– vcp applications database port

Database User Name: apps

– vcp applications database APPS user

Password: apps

Confirm Password: apps

Page 84: Install and Implement Rapid Planning-Version1

f. Test Connection, verify it was successful

Page 85: Install and Implement Rapid Planning-Version1

Click Next, and Select Targets opens

Target Server RpUiAdminServer

Page 86: Install and Implement Rapid Planning-Version1

g. Select the Target Server RpUiAdminServer, Click Finish.

Summary of JDBC Data

h. Review the Summary of JDBC Data Sources in this rp ui domain

Increase Java Transaction API (JTA) Timeout

19. Increase Timeout Seconds in the Java Transaction API configuration on RP UI Domain

a. In Domain Sources > expand Services, and Select JTA.

Page 87: Install and Implement Rapid Planning-Version1

b. View the rp_ui_domain JTA (Java Transaction API) Settings

c. On Configuration tab, JTA sub-tab, Increase the Timeout Seconds

d. Click Save.

e. Activate Changes

Page 88: Install and Implement Rapid Planning-Version1

f. Verify changes saved.

Create Persistent Store

Create Persistent Stores in RP UI

20. Create Persistent Store in RP UI Admin Console

a. Create mds directory

In rp_ui_domain RpUiAdminServer’s directory

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdm

inServer/

[oraowls@wolfram rp_ui_domain]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/

ls rp_ui_domain

[oraowls@wolfram rp_ui_domain]$ ls

2uycn7 config edit.lok lib servers

tmp

autodeploy console-ext fileRealm.properties pending shutdown.py

bin disw1o init-info security

startWebLogic.sh

cd servers

[oraowls@wolfram rp_ui_domain]$ cd servers

[oraowls@wolfram servers]$ ls

AdminServerTag domain_bak RpUiAdminServer

cd RpUiAdminServer

[oraowls@wolfram servers]$ cd RpUiAdminServer

Page 89: Install and Implement Rapid Planning-Version1

[oraowls@wolfram RpUiAdminServer]$ ls

adr cache data logs sysman tmp

mkdir mds

[oraowls@wolfram RpUiAdminServer]$ mkdir mds

b. Open RP UI Administration Console

To create a file persistence store in WLS, perform the following: Click Lock & Edit button in top left corner to change the domain configuration, if applicable. Click the Persistent Stores link (or you can click "Services > Persistent Stores" from the left side menu)

c. Click New, Create File Store

Select Create File Store.

Page 90: Install and Implement Rapid Planning-Version1

d. File Store Properties

Set Name as "mds-repos". Select Target "RpUiAdminServer".

Set the path to <UI_Domain_Home>/servers/<Admin_Server>/mds. /u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminServer/mds

Page 91: Install and Implement Rapid Planning-Version1

Click OK. In Change Center (in top left pane), click Activate Changes.

Notice the above screenshot … shows Name = mds-repo… that is INCORRECT

And this is the correct one mds-repos notice the S on the end was missing by typo.

Page 92: Install and Implement Rapid Planning-Version1

Update setDomainEnv.sh

21. Update setDomainEnv.sh

for Rp Ui Domain:

a. cd to the $MW_HOME/user_projects/domains/rp_ui_domain/bin directory

[oraowls@wolfram bin]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/bin

[oraowls@wolfram bin]$ ls

nodemanager setDomainEnv.sh startWebLogic.sh

server_migration startManagedWebLogic.sh stopManagedWebLogic.sh

service_migration startPointBaseConsole.sh stopWebLogic.sh

[oraowls@wolfram bin]$ more setDomainEnv.sh

#!/bin/sh

# WARNING: This file is created by the Configuration Wizard.

# Any changes to this script may be lost when adding extensions to this configur

ation.

# --- Start Functions ---

BP=100

SP=$BP

pushd()

{

if [ -z "$1" ]

then

return

fi

Page 93: Install and Implement Rapid Planning-Version1

SP=`expr $SP - 1`

eval _stack$SP=`pwd`

cd $1

return

}

/EXTRA_JAVA

...skipping

# -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.sim

pleprovider.RoleMapperFactoryImpl

EXTRA_JAVA_PROPERTIES="-Ddomain.home=${DOMAIN_HOME} -Dcommon.components.home=${C

OMMON_COMPONENTS_HOME} -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org

.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=${COMMON_COMPONENTS_H

OME}/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=${

ORACLE_DOMAIN_CONFIG_DIR} -Doracle.server.config.dir=${ORACLE_DOMAIN_CONFIG_DIR}

/servers/${SERVER_NAME} -Doracle.security.jps.config=${DOMAIN_HOME}/config/fmwco

nfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.

arisidbeans.carmlloc=${ORACLE_DOMAIN_CONFIG_DIR}/carml -Digf.arisidstack.home=$

{ORACLE_DOMAIN_CONFIG_DIR}/arisidprovider -Dweblogic.alternateTypesDirectory=${A

LT_TYPES_DIR} ${WLS_JDBC_REMOTE_ENABLED} ${EXTRA_JAVA_PROPERTIES}"

export EXTRA_JAVA_PROPERTIES

JAVA_PROPERTIES="${JAVA_PROPERTIES} ${EXTRA_JAVA_PROPERTIES} -Djava.awt.headless

=true"

export JAVA_PROPERTIES

ARDIR="${WL_HOME}/server/lib"

export ARDIR

--More--(67%)

b. Edit the file and add this line in EXTRA_JAVA_PROPERTIES (seen entered above)

-Djava.awt.headless=true

Note: it could be added where shown, or just above in the entry directly … it appears to

work where I placed it ;o)

c. Save the file

d. Restart the rp ui domain.

Rp Ui Admin Server Log Files

Rp Ui Admin Server Log files:

-----------------------------

Page 94: Install and Implement Rapid Planning-Version1

[oraowls@wolfram logs]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminServe

r/logs

[oraowls@wolfram logs]$ ls

access.log

RpUiAdminServer.log

RpUiAdminServer-diagnostic.log

rp_ui_domain.log

At this point, we’ve installed vcp e-buisness planning suite, weblogic, adf runtime, mounted the applcsf,

set the environment variables, created the rp engine and ui domains and admin servers, started them,

logged in to each, and created jdbc connections to the database. Now we have to deploy the RP

applications components: RP Admin, RP UI, and RP Engine *.ear application files to the WebLogic

environment domains.

FTP the RP *.zip to the WebLogic Server 22. FTP the RP UI, Admin, and Engine *.zip files from the VCP Applications Instance to the

WebLogic Server temporary directory.

Create a RP Temporary Directory

a. Create temporary directory and change directory to it.

b. FTP the files from VCP Apps Instance $MSC_TOP/dist/orp

On the VCP instance, echo $MSC_TOP

Ftp and cd to that directory

Page 95: Install and Implement Rapid Planning-Version1

Change directory and get (or mget) the files

c. List the contents of the ZIP files

[oraowls@wolfram rp_temp]$ unzip -l engine.zip

Archive: engine.zip

$Header: engine.zip 120.46.12010000.68 2010/08/31 13:08 mkpatel ship $

Length Date Time Name

Page 96: Install and Implement Rapid Planning-Version1

-------- ---- ---- ----

6444171 08-31-10 11:26 rpws.ear

14473 08-31-10 11:26 readme.txt

0 08-31-10 11:02 install/

-------- -------

6458644 3 files

[oraowls@wolfram rp_temp]$ unzip -l RPAdmin.zip

Archive: RPAdmin.zip

$Header: RPAdmin.zip 120.0.12010000.6 2010/04/29 02:37 nyell $

Length Date Time Name

-------- ---- ---- ----

0 04-28-10 15:54 RPAdmin/WLST_scripts/

0 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.properties

11562 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.py

1119 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.sh

5812 12-17-09 02:05 RPAdmin/WLST_scripts/DeleteServer.py

839 12-17-09 02:05 RPAdmin/WLST_scripts/DeleteServer.sh

3392 12-17-09 02:05 RPAdmin/WLST_scripts/EngineInitialSetup.py

1200 12-17-09 02:05 RPAdmin/WLST_scripts/InitialEngineSetup.sh

691 12-17-09 02:05 RPAdmin/WLST_scripts/InitialSetup.sh

3098 12-17-09 02:05 RPAdmin/WLST_scripts/StartManServer.py

715 12-17-09 02:05 RPAdmin/WLST_scripts/StartManServer.sh

282 12-17-09 02:05 RPAdmin/WLST_scripts/startServer.sh

2833 12-17-09 02:05 RPAdmin/WLST_scripts/StopManServer.py

702 12-17-09 02:05 RPAdmin/WLST_scripts/StopManServer.sh

299 12-17-09 02:05 RPAdmin/WLST_scripts/stopServer.sh

633 12-17-09 02:05 RPAdmin/WLST_scripts/WLST_Config.properties

3408936 04-28-10 16:44 RPAdmin/ORPAdmin.ear

0 04-28-10 15:56 RPAdmin/

-------- -------

3442113 18 files

[oraowls@wolfram rp_temp]$ unzip -l ui.zip

Archive: ui.zip

$$Header: ui.zip 120.65.12010000.96 2010/09/08 17:46 shaohuan ship $

Length Date Time Name

-------- ---- ---- ----

86782367 09-08-10 18:41 OrpUI_EAR.ear

2007 04-10-09 18:34 readme.txt

-------- -------

86784374 2 files

Note: the engine and ui zip files both have readme.txt in them and unzip into the same

directory, so, unzipping either after the other will overwrite the readme.txt that is in the

files.

Unzi p the files to the rp_temp directory

23. Unzip the files

a. unzip engine.zip

rename readme.txt to engine_readme.txt

unix$ mv readme.txt engine_readme.txt

Page 97: Install and Implement Rapid Planning-Version1

b. unzip RPAdmin.zip

c. unzip ui.zip

unix$ mv readme.txt ui_readme.txt

d. list the rp_temp directory

Deploy the RP Administration Application (ORPAdmin.ear)

24. Deploy the RP Administration Application into the UI Domain

Login to RP UI Domain Adminstration Console

a. Login to the WebLogic RP UI Domain

http://wolfram.us.oracle.com:7003/console

b. Click Lock & Edit

c. In Domain Structure on Left Pane, select Deployments

d. Click Install

Page 98: Install and Implement Rapid Planning-Version1

Select the ORPAdmin.ear

e. Navigate to the temp directory where the RP *.zip files were unzipped and the *.ear

files exist.

ui.zip

engine.zip

RPAdmin.zip

Page 99: Install and Implement Rapid Planning-Version1

These files are contained in the VCP 12.1.3.1 and 12.1.3.2 patches.

The reside in MSC_TOP/dist/orp directory

WLST_scripts/InitialEngineSetup.sh needs run on the VCP instance

We copied and unzipped them into the oraowls home directory

/home/oraowls/rp_temp/RPAdmin

f. Select the ORPAdmin.ear radio button, and click Next

g. Select Install this deployment as an application, and click Next.

Page 100: Install and Implement Rapid Planning-Version1

h. Verify the settings as required, and click Next or Finish

Page 101: Install and Implement Rapid Planning-Version1

i. Click Finish, and Review the Summary of Deployments

Page 102: Install and Implement Rapid Planning-Version1

j. If any changes were made there, click Save.

Activate Changes

k. Activate Changes.

l. The Deployed RP Admin Application may be Updated, Deleted, Started, or Stopped from

the RP Ui Adminstration Server, Deployments navigation. Select the ORPAdmin

checkbox, and then control it as required.

m. Select, and Start the ORPAdmin application

Attempt RP Admin Application Login

n. Try to login to the RP Admin Application

Page 103: Install and Implement Rapid Planning-Version1

http://wolfram.us.oracle.com:7003/rpadmin/faces/oracle/apps/msc/orp/admin/ui/pag

e/AdminMainUI.jspx

Note:

Don’t login now … until …

1. Rapid Planning setups have been completed on the VCP instance

2. jdbc connections are named per install manual :o(

Received ERROR

-------

Error 503--Service Unavailable

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.4 503 Service Unavailable

The server is currently unable to handle the request due to a temporary overloading or

maintenance of the server. The implication is that this is a temporary condition which will be

alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After

header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500

response.

Note: The existence of the 503 status code does not imply that a server must use it when becoming

overloaded. Some servers may wish to simply refuse the connection.

o. Need to confirm … something … such as the WLST_scripts was copied to domains

directory. Are any scripts to be run on the weblogic server? Is there a log file

somewhere that reports more detailed error messages with the above? Did I need to

change the settings in any of the properties files? Does the URL above call any of the

scripts in WLST_scripts directory… or are ALL of those scripts 100% manually run as

needed? Which ones need to be to run or … are run during the implementation process

either automatically or manually by user?

Domain directory:

[oraowls@wolfram domains]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains

Temp directory where scripts initially unzipped.

[oraowls@wolfram RPAdmin]$ pwd

/home/oraowls/rp_temp/RPAdmin

[oraowls@wolfram RPAdmin]$ ls

Page 104: Install and Implement Rapid Planning-Version1

ORPAdmin.ear WLST_scripts

Copy the WLST_scripts to the domain directory

In domain directory

Create WLST_scripts

cp /home/oraowls/rp_temp/RPAdmin/WLST_scripts/*

/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/

p. Still Receive an error … tho, a different one. Error

Error 403--Forbidden

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization will not help and

the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to

make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal

in the entity. This status code is commonly used when the server does not wish to reveal exactly

why the request has been refused, or when no other response is applicable.

Error Log

q. Found these errors in the shell I had launched the rp_ui_domain from

<Jan 14, 2011 12:46:31 AM MST> <Warning> <netuix> <BEA-423420> <Redirect is executed in

begin or refresh action. Redirect url is

/console/console.portal?_nfpb=true&_pageLabel=AppApplicationOverviewPage&AppApplicationOve

rviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DORPAd

min%2CType%3DAppDeployment%22%29.>

<Jan 14, 2011 12:52:08 AM MST> <Warning> <J2EE> <BEA-160195> <The application version

lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener

is ignored because the application ORPAdmin is not versioned.>

<Jan 14, 2011 12:53:15 AM MST> <Warning> <netuix> <BEA-423420> <Redirect is executed in

begin or refresh action. Redirect url is

/console/console.portal?_nfpb=true&_pageLabel=AppApplicationOverviewPage&AppApplicationOve

rviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DORPAd

min%2CType%3DAppDeployment%22%29.>

<Jan 14, 2011 1:01:11 AM MST> <Warning> <oracle.adf.share.jndi.ReferenceStoreHelper> <BEA-

000000> <Incomplete connection reference object for connection:ma0dv220>

validate session

<Jan 14, 2011 1:01:24 AM MST> <Warning> <oracle.adf.share.jndi.ReferenceStoreHelper> <BEA-

000000> <Incomplete connection reference object for connection:ma0dv220>

<Jan 14, 2011 1:01:26 AM MST> <Error> <HTTP> <BEA-101020>

<[ServletContext@35618086[app:ORPAdmin module:rpadmin path:/rpadmin spec-version:2.5]]

Servlet failed with Exception

Page 105: Install and Implement Rapid Planning-Version1

oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context

java:comp/env/jdbc/ma0dv220DS

at

oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1414)

at

oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)

at

oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:

203)

at

oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandle

r.java:553)

at

oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandle

r.java:409)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.LinkException: [Root exception is

javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'. Resolved 'jdbc';

remaining name 'ma0dv220DS']; Link Remaining Name: 'jdbc/ma0dv220DS'

at

weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:104)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:884)

at

weblogic.jndi.internal.ApplicationNamingNode.resolveObject(ApplicationNamingNode.java:187)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'.

Resolved 'jdbc'; remaining name 'ma0dv220DS'

at

weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)

at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)

Truncated. see log file for complete stacktrace

>

validate session

<Jan 14, 2011 1:14:37 AM MST> <Error> <HTTP> <BEA-101020>

<[ServletContext@35618086[app:ORPAdmin module:rpadmin path:/rpadmin spec-version:2.5]]

Servlet failed with Exception

oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context

java:comp/env/jdbc/ma0dv220DS

at

oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1414)

at

oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)

at

oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:

203)

at

oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandle

r.java:553)

at

oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandle

r.java:409)

Truncated. see log file for complete stacktrace

Page 106: Install and Implement Rapid Planning-Version1

Caused By: javax.naming.LinkException: [Root exception is

javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'. Resolved 'jdbc';

remaining name 'ma0dv220DS']; Link Remaining Name: 'jdbc/ma0dv220DS'

at

weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:104)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:884)

at

weblogic.jndi.internal.ApplicationNamingNode.resolveObject(ApplicationNamingNode.java:187)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'.

Resolved 'jdbc'; remaining name 'ma0dv220DS'

at

weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)

at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)

Truncated. see log file for complete stacktrace

>

validate session

<Jan 14, 2011 1:15:23 AM MST> <Error> <HTTP> <BEA-101020>

<[ServletContext@35618086[app:ORPAdmin module:rpadmin path:/rpadmin spec-version:2.5]]

Servlet failed with Exception

oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context

java:comp/env/jdbc/ma0dv220DS

at

oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1414)

at

oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)

at

oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:

203)

at

oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandle

r.java:553)

at

oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandle

r.java:409)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.LinkException: [Root exception is

javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'. Resolved 'jdbc';

remaining name 'ma0dv220DS']; Link Remaining Name: 'jdbc/ma0dv220DS'

at

weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:104)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:884)

at

weblogic.jndi.internal.ApplicationNamingNode.resolveObject(ApplicationNamingNode.java:187)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'.

Resolved 'jdbc'; remaining name 'ma0dv220DS'

at

weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)

Page 107: Install and Implement Rapid Planning-Version1

at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)

Truncated. see log file for complete stacktrace

>

Killed Sessions Lock Cleanup r. I closed out the unix shell prompt that the rp_ui_domain was running in, and it killed the

process leaving lock files

Reference: Weblogic Fails To Start With Error "Unable To Obtain Lock" (Doc ID

957377.1)

Cause

This problem sometimes occurs if you killed the bin/startWebLogic process via:

kill -KILL

Solution

To start the server again:

1. Find -name "*.DAT" files in user_projects/domains/<your domain name> directory (as appropriate) and

move or remove them, for example:

$ find . -name "*DAT"

./servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT

./servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT

NOTE: Gentle reminder that Unix is case sensitive. you do need to make sure you do NOT delete the file

<CM HOME>/security/SerializedSystemIni.dat, it is the files ending with "*.DAT" not "*.dat"

2. Remove lock files: "EmbeddedLDAP.lok" and "AdminServer.lok" (maybe some more)

3. Use the following command to find out which process listen to your serverport, kill this via kill -TERM:

netstat -lntp

4. Execute:

./startWebLogic.sh

find . -name "*DAT"

[oraowls@wolfram rp_ui_domain]$ find . -name "*DAT" ./servers/RpUiAdminServer/data/store/default/_WLS_RPUIADMINSERVER000000.DAT

Page 108: Install and Implement Rapid Planning-Version1

./servers/RpUiAdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT

find . -name "*lok"

[oraowls@wolfram rp_ui_domain]$ find . -name "*lok" ./edit.lok ./config/config.lok ./servers/RpUiAdminServer/tmp/RpUiAdminServer.lok ./servers/RpUiAdminServer/data/ldap/ldapfiles/EmbeddedLDAP.lok

s. Cleaned out DAT files and got ui domain restarted

t. The RP Admin Application needs to be setup on VCP instance

u. Then Login to the VCP Instance

v. Which redirects to the WebLogic RP Admin UI deployment

w. So, proceed to next step

Setup VCP E-Business Suite Applications for RP 25. Setup VCP E-Business Suite Applications for RP

a. Set Profiles

MSC: Oracle Rapid Planning URL

RP UI Domain Administration Server port

http://wolfram.us.oracle.com:7003

MSC: Rapid Planning WebLogic Server Home

/u01/vcp/oraowls/middleware/owls1032

MSC: Rapid Planning Scripts Home

/u01/vcp/oraowls/middleware/user_project/domains/WLST_scripts

MSC: Rapid Planning UI Refresh Timeout

5000

Profile Option Name Site MSC: Default Category Set for Rapid Planning

MSC: Oracle Rapid Planning URL http://wolfram.us.oracle.com:7003 MSC: Rapid Planning Group Planned Orders None MSC: Rapid Planning Scripts Home /u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts MSC: Rapid Planning UI Refresh Timeout 5000 MSC: Rapid Planning WebLogic Server Home /u01/vcp/oraowls/middleware/owls1032 Msc: Rapid Planning maximum number of rows to be flushed 100000

Login VCP instance

1. Login VCP instance

Page 109: Install and Implement Rapid Planning-Version1

Set the profiles

2. Set the profiles

Run Script InitialEngineSetpu.sh

b. Run Script InitialEngineSetpu.sh on the VCP instance from the

MSC_TOP/dist/orp/RPAdmin/WLST_scripts directory …

Page 110: Install and Implement Rapid Planning-Version1

The WLST_scripts are in the RPAdmin.zip file

InitialEngineSetup.sh needs run on the VCP instance server.

The WLST_scripts directory needs copied to the OWLS … user_projects/domains

directory.

Are the scripts used by any of the RP UI or Engine components on the owls?

Or, are the scripts only used in manual maintenance or manual running of

them?

1. Login to the vcp instance

[applmgr@ptolemy orp]$ hostname ptolemy.us.oracle.com [applmgr@ptolemy orp]$ echo $MSC_TOP /u01/vcp/applmgr/apps/apps_st/appl/msc/12.0.0 [applmgr@ptolemy orp]$ echo $JAVA_TOP /u01/vcp/applmgr/apps/apps_st/comn/java/classes [applmgr@ptolemy orp]$ pwd /u01/vcp/applmgr/apps/apps_st/appl/msc/12.0.0/dist/orp

2. View the contents of the RPAdmin.zip filein MSC_TOP

[applmgr@ptolemy orp]$ unzip -l RPAdmin.zip Archive: RPAdmin.zip $Header: RPAdmin.zip 120.0.12010000.6 2010/04/29 02:37 nyell $ Length Date Time Name -------- ---- ---- ---- 0 04-28-10 15:54 RPAdmin/WLST_scripts/ 0 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.properties 11562 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.py 1119 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.sh 5812 12-17-09 02:05 RPAdmin/WLST_scripts/DeleteServer.py 839 12-17-09 02:05 RPAdmin/WLST_scripts/DeleteServer.sh 3392 12-17-09 02:05 RPAdmin/WLST_scripts/EngineInitialSetup.py 1200 12-17-09 02:05 RPAdmin/WLST_scripts/InitialEngineSetup.sh 691 12-17-09 02:05 RPAdmin/WLST_scripts/InitialSetup.sh 3098 12-17-09 02:05 RPAdmin/WLST_scripts/StartManServer.py 715 12-17-09 02:05 RPAdmin/WLST_scripts/StartManServer.sh 282 12-17-09 02:05 RPAdmin/WLST_scripts/startServer.sh 2833 12-17-09 02:05 RPAdmin/WLST_scripts/StopManServer.py 702 12-17-09 02:05 RPAdmin/WLST_scripts/StopManServer.sh 299 12-17-09 02:05 RPAdmin/WLST_scripts/stopServer.sh 633 12-17-09 02:05 RPAdmin/WLST_scripts/WLST_Config.properties 3408936 04-28-10 16:44 RPAdmin/ORPAdmin.ear 0 04-28-10 15:56 RPAdmin/ -------- ------- 3442113 18 files

3. The InitialEngineSetup.sh script extracts rpws.ear file, copies its java

class files to $JAVA_TOP/oracle/apps/msc/orp using a temp directory in

the process which is deleted when completed.

#Path for the zip file EAR_HOME=$MSC_TOP/dist/orp/ # Create a temporary directory to extract ORP files if [ ! -d /tmp/extract_ORP ]; then mkdir -m 777 /tmp/extract_ORP/ else

Page 111: Install and Implement Rapid Planning-Version1

echo "Existing directory found by name 'extract_ORP'.Deleting & recreati ng it..." rm -R /tmp/extract_ORP mkdir -m 777 /tmp/extract_ORP/ fi # cd to that directory. cd /tmp/extract_ORP/ # Copy engine.zip (from $MSC_TOP/dist/orp/) to that temporary directory cp $EAR_HOME/engine.zip /tmp/extract_ORP/ # Unzip this file unzip engine.zip # rpws.ear file can be seen. Unzip that as well. unzip rpws.ear # Ater unzipping, APP-INF directory can be seen. CD to lib/ inside that directory. cd APP-INF/lib/ # Inside lib/directory rpengine.jar file is present. Unzip this file. unzip rpengine.jar # Aftering extracting, oracle/ directory can be seen. CD to oracle/apps/msc/ cd oracle/apps/msc # This directory has orp/ directory inside. The orp/ directory needs to be copied to $JAVA_TOP/oracle/apps/msc/ directory. if [ -d $JAVA_TOP/oracle/apps/msc/orp ]; then echo "Existing directory found by name 'orp'. Deleting and recreating it..." rm -R $JAVA_TOP/oracle/apps/msc/orp fi cp -R orp/ $JAVA_TOP/oracle/apps/msc/ (END)

4. Unzip it.

[applmgr@ptolemy orp]$ unzip RPAdmin.zip

Archive: RPAdmin.zip

$Header: RPAdmin.zip 120.0.12010000.6 2010/04/29 02:37 nyell $

creating: RPAdmin/WLST_scripts/

extracting: RPAdmin/WLST_scripts/CreateServer.properties

inflating: RPAdmin/WLST_scripts/CreateServer.py

inflating: RPAdmin/WLST_scripts/CreateServer.sh

inflating: RPAdmin/WLST_scripts/DeleteServer.py

inflating: RPAdmin/WLST_scripts/DeleteServer.sh

inflating: RPAdmin/WLST_scripts/EngineInitialSetup.py

inflating: RPAdmin/WLST_scripts/InitialEngineSetup.sh

inflating: RPAdmin/WLST_scripts/InitialSetup.sh

inflating: RPAdmin/WLST_scripts/StartManServer.py

inflating: RPAdmin/WLST_scripts/StartManServer.sh

inflating: RPAdmin/WLST_scripts/startServer.sh

inflating: RPAdmin/WLST_scripts/StopManServer.py

inflating: RPAdmin/WLST_scripts/StopManServer.sh

inflating: RPAdmin/WLST_scripts/stopServer.sh

inflating: RPAdmin/WLST_scripts/WLST_Config.properties

inflating: RPAdmin/ORPAdmin.ear

You have new mail in /var/spool/mail/applmgr

[applmgr@ptolemy orp]$ ls

engine.zip orp_readme.txt RPAdmin RPAdmin.zip ui.zip

[applmgr@ptolemy orp]$ cd RPAdmin

[applmgr@ptolemy RPAdmin]$ ls

Page 112: Install and Implement Rapid Planning-Version1

ORPAdmin.ear WLST_scripts

[applmgr@ptolemy RPAdmin]$ cd WLST_scripts

[applmgr@ptolemy WLST_scripts]$ ls

CreateServer.properties EngineInitialSetup.py startServer.sh

CreateServer.py InitialEngineSetup.sh StopManServer.py

CreateServer.sh InitialSetup.sh StopManServer.sh

DeleteServer.py StartManServer.py stopServer.sh

DeleteServer.sh StartManServer.sh WLST_Config.properties

[applmgr@ptolemy WLST_scripts]$ pwd /u01/vcp/applmgr/apps/apps_st/appl/msc/12.0.0/dist/orp/RPAdmin/WLST_scripts

5. Run InitialEngineSetup.sh

[applmgr@ptolemy WLST_scripts]$ chmod 744 InitialEngineSetup.sh

[applmgr@ptolemy WLST_scripts]$ ls -ail InitialEngineSetup.sh

total 144

20103367 drwxr-xr-x 2 applmgr dba 4096 Apr 28 2010 .

20103251 drwxr-xr-x 3 applmgr dba 4096 Jan 15 17:46 ..

20103374 -rwxr--r-- 1 applmgr dba 1200 Dec 17 2009

InitialEngineSetup.sh

[applmgr@ptolemy WLST_scripts]$./InitialEngineSetup.sh

[applmgr@ptolemy WLST_scripts]$ ls

$JAVA_TOP/oracle/apps/msc/orp/

common engine reformat ws

Enable the Redirect

6. Enable the Redirect.

Follow the steps below for enabling the Rapid Planning application

access through EBS:

cd $FND_TOP/patch/115/bin

perl ojspCompile.pl --compile -s 'MscRPRedirect.jsp' --flush

[applmgr@ptolemy bin]$ perl ojspCompile.pl --compile -s 'MscRPRedirect.jsp' --flush

logfile set: /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/rgf/ojsp/ojspc_error.log

starting...(compiling all)

using 10i internal ojsp ver: 10

quick compile:

files to compile...1

translating and compiling:

Page 113: Install and Implement Rapid Planning-Version1

translating jsps...1/1 in 1s

compiling jsps...1/1 in 4s

Finished!

After compiling, please verify that the time-stamp of file _MscRPRedirect.class under

$COMMON_TOP/_pages is current.

ls -ail $COMMON_TOP/_pages/_MscRPRedirect*

[applmgr@ptolemy bin]$ ls -ail $COMMON_TOP/_pages/_MscRPRedirect*

78168066 -rw-r--r-- 1 applmgr dba 9827 Jan 15 18:50

/u01/vcp/applmgr/apps/apps_st/comn/_pages/_MscRPRedirect.class

After compilation, restart the EBS Middle Tier.

7.

Bounce VCP Application Services

c. Bounce VCP Application Services.

8. Change directory to the Applications Admin Scripts Home

[applmgr@ptolemy WLST_scripts]$ cd $ADMIN_SCRIPTS_HOME [applmgr@ptolemy scripts]$ pwd /u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts [applmgr@ptolemy scripts]$ ls adalnctl.sh adforms-c4wsctl.sh adopmnctl.sh ieo mwactlwrpr.sh adapcctl.sh adformsctl.sh adpreclone.pl java.sh adautocfg.sh adformsrvctl.sh adstpall.sh jtffmctl.sh adcmctl.sh adoacorectl.sh adstrtal.sh msc adexecsql.pl adoafmctl.sh gsmstart.sh mwactl.sh

9. Stop all the apps services

[applmgr@ptolemy scripts]$ ./adstpall.sh apps/apps > stopapps.log

View the log we just output to…

You are running adstpall.sh version 120.10.12010000.4

The logfile for this session is located at /u01/vcp/applmgr/inst/apps/VCP_ptolem

y/logs/appl/admin/log/adstpall.log

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/jtffmctl.sh stop

script returned:

****************************************************

You are running jtffmctl.sh version 120.3

Shutting down Fulfillment Server for VCP on port 9300 ...

jtffmctl.sh: exiting with status 0

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adcmctl.sh stop

script returned:

****************************************************

Page 114: Install and Implement Rapid Planning-Version1

You are running adcmctl.sh version 120.17.12010000.5

Shutting down concurrent managers for VCP ...

ORACLE Password:

Submitted request 5838407 for CONCURRENT FND SHUTDOWN

adcmctl.sh: exiting with status 0

adcmctl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/a

dmin/log/adcmctl.txt for more information ...

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adoafmctl.sh stop

script returned:

****************************************************

You are running adoafmctl.sh version 120.8

Stopping OPMN managed OAFM OC4J instance ...

adoafmctl.sh: exiting with status 0

adoafmctl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl

/admin/log/adoafmctl.txt for more information ...

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adformsctl.sh stop

script returned:

****************************************************

You are running adformsctl.sh version 120.16.12010000.3

Stopping OPMN managed FORMS OC4J instance ...

adformsctl.sh: exiting with status 0

adformsctl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/app

l/admin/log/adformsctl.txt for more information ...

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adoacorectl.sh stop

script returned:

****************************************************

You are running adoacorectl.sh version 120.13

Stopping OPMN managed OACORE OC4J instance ...

adoacorectl.sh: exiting with status 0

adoacorectl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/ap

pl/admin/log/adoacorectl.txt for more information ...

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adapcctl.sh stop

script returned:

****************************************************

You are running adapcctl.sh version 120.7.12010000.2

Stopping OPMN managed Oracle HTTP Server (OHS) instance ...

opmnctl: stopping opmn managed processes...

Page 115: Install and Implement Rapid Planning-Version1

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/

admin/log/adapcctl.txt for more information ...

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adalnctl.sh stop

script returned:

****************************************************

adalnctl.sh version 120.3

Shutting down listener process APPS_VCP.

adalnctl.sh: exiting with status 0

adalnctl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/

admin/log/adalnctl.txt for more information ...

.end std out.

.end err out.

****************************************************

Executing service control script:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/admin/scripts/adopmnctl.sh stop

script returned:

****************************************************

You are running adopmnctl.sh version 120.6.12010000.5

Stopping Oracle Process Manager (OPMN) and the managed processes ...

opmnctl: stopping opmn and all managed processes...

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl

/admin/log/adopmnctl.txt for more information ...

.end std out.

.end err out.

****************************************************

All enabled services on this node are stopped.

adstpall.sh:Exiting with status 0

adstpall.sh: check the logfile /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/

admin/log/adstpall.log for more information ...

You have new mail in /var/spool/mail/applmgr

10. Start all the apps services

[applmgr@ptolemy scripts]$ ./adstrtal.sh apps/apps

11. Verify the services are running

[applmgr@ptolemy scripts]$ ps -ef|grep applmgr|grep FNDLIB

[applmgr@ptolemy scripts]$ ps -ef|grep applmgr|grep FNDL

applmgr 8562 8557 0 18:44 pts/1 00:00:00 FNDLIBR

applmgr 8853 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8857 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8858 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8859 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8861 8730 0 18:45 ? 00:00:00 FNDLIBR

Page 116: Install and Implement Rapid Planning-Version1

applmgr 8867 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8870 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8877 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8887 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8890 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8891 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8892 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8895 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8896 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8897 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8898 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8900 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8901 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8902 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8903 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 8913 8730 0 18:45 ? 00:00:00 FNDLIBR

applmgr 9135 5148 0 18:45 pts/1 00:00:00 grep FNDL

[applmgr@ptolemy scripts]$

[applmgr@ptolemy scripts]$ ps -ef|grep applmgr|grep FNDS

applmgr 8730 1 0 18:45 ? 00:00:00 FNDSM

12.

d.

Now Login to RP Admin 26. Now, Login to RP Administration Application

http://<MACHINE_NAME>:<PORT_NO>/rpadmin/faces/oracle/apps/msc/orp/admin/ui/pag

e/AdminMainUI.jspx

Our URL – Correct one …

http://wolfram.us.oracle.com:7003/rpadmin/faces/oracle/apps/msc/orp/admin/ui/page/Ad

minMainUI.jspx

Our URL – the Incorrect one that points to the VCP instance.

http://ptolemy.us.oracle.com:8000/rpadmin/faces/oracle/apps/msc/orp/admin/ui/page/Ad

minMainUI.jspx

Or … well… ummm… it still don’t work… what’s up…

Ok, follow … the step near 29 below … (setup jdbc connection with documented names.)

Is there some patch to really apply somewhere? All of em are already included in vcp

12.1.3.1 and .2 …

This Works … which appears pretty cool…

Page 117: Install and Implement Rapid Planning-Version1

27. Copy the WLST_scripts directory to the $MW_HOME/

28. Login to the VCP Applications > Advanced Planning Administrator > Rapid Planning > Setup

and Configuration

Page 118: Install and Implement Rapid Planning-Version1

Again, receive the error we received previously …

The redirect … sent us here…

http://wolfram.us.oracle.com:7003/rpadmin/faces/oracle/apps/msc/orp/admin/ui/page/Ad

minMainUI.jspx?_afrLoop=8915157444620466&_afrWindowMode=0&_adf.ctrl-

state=lgqturbf1_4

which received this…

Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request

Login the WebLogic Server backend where the rp_ui_domain and admin server were

started. Using vncviewer

Page 119: Install and Implement Rapid Planning-Version1

View the log file output in the shell screen (current date shown error occurred.)

>

validate session

<Jan 15, 2011 7:07:27 PM MST> <Error> <HTTP> <BEA-101020> <[ServletContext@20613873[app:ORPAdmin module:rpadmin path:/rpadmin spec-version:2.5]] Servlet

failed with Exception

oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/ma0dv220DS

at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1414)

at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)

at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)

at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:553)

at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:409)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'. Resolved 'jdbc'; remaining

name 'ma0dv220DS']; Link Remaining Name: 'jdbc/ma0dv220DS'

at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:104)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:884)

at weblogic.jndi.internal.ApplicationNamingNode.resolveObject(ApplicationNamingNode.java:187)

at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)

Truncated. see log file for complete stacktrace

Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'. Resolved 'jdbc'; remaining name 'ma0dv220DS'

at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)

at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)

at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)

Truncated. see log file for complete stacktrace

>

Still appears to be a problem with the JDBC connection

and a Requirement to name it : ma0dv220DS

… which is NOT my instance or environment … :o(

Page 120: Install and Implement Rapid Planning-Version1

Workaround JDBC connection bug … hardcoded ma0dv220 29. Inevitably … Had to WORKAROUND the BUG … and create a new JDBC connection named as

above… in the RP UI Admin Console

a. Login

:7003/console rp_ui_admin/rp_ui_admin

b. JDBC Connection

c. De-select (Uncheck it) it from the Rp Ui Admin Target

Page 121: Install and Implement Rapid Planning-Version1

d. Create new one ma0dv220 and jdbc/ma0dv220DS – per Install Guide … until bug is fixed

;o)

e. Associate the ma0dv220 JDBC connection to the RpUiAdminServer Target

f. Retry the Login to the Applications.

30. Finally, after work around on jdbc connection,

Login to the RP Admin 31. Login to the VCP Applications > Advanced Planning Administrator > Rapid Planning > Setup

and Configuration

Select Advanced Planning Administrator responsibility,

then select Rapid Planning (Setup and Configuration).

Page 122: Install and Implement Rapid Planning-Version1

a. Receive the RP UI Admin Application Console

Page 123: Install and Implement Rapid Planning-Version1

Enter Machine Details

b. Enter the following information:

Machine Details

Machine_Name

Host name of the machine on which the WebLogic server is running (example, rws60144rems.us.oracle.com).

Node_Manager_Listen_Address = localhost Node_Manager_Listen_Port = 5556

Engine Domain Details

Engine Domain Name

Enter the name of Engine Domain provided during installation in Creating the Domain Engine.

Engine Domain Admin Server Name

Enter the name of Engine Domain Admin Server provided during installation in Creating the Domain Engine.

Engine Domain Url

Enter t3://<Machine_Name>:<Port_No>. Protocol used should be t3 and not http. Machine_Name

Enter the machine name (for example. rws60144rems). Port No:- Enter the Listen Port No. for Engine Domain.

Engine Domain SSL Enabled

Select this option. ORACLE PROPRIETARY AND CONFIDENTIAL 48 Engine Domain SSL Port

Enter the SSL Port Number provided during installation in Creating the Domain Engine.

32. Select Save and Configure

Enter RP Engine Admin credentials

Page 124: Install and Implement Rapid Planning-Version1

33. Create Machine and Setup Node Manager

In the RP Admin Applications UI, Enter the Server(s) information

Or manually by script below

If I understand how ours got created correctly

And the RP Admin apps works.

a. Entering Data in the Machine Configuration and Engine Domain Configuration above

b. will be Saved to the .properties files.

c. then when click configure,

d. the scripts will be run to create based on those .properties files.

So, if we enter all the data above, and for the Managed Servers

Then Save

The .properties are updated correctly.

When Configure

Ours did NOT run the scripts nor properly create the components

So,

I defined the information above in the RP Admin app

Saved

Then logged in backend to run the Scripts manually.

That worked for us.

Hopefully, in 12.1.3.2 or maybe our environment just needed be more stable, and I’ll have

to test it again, by selecting Configure, the components will be created properly,

So normally, no need to run the scripts from backend.

Create Managed Servers

34. Create Managed Servers

Or manually by scripts in unix below

Page 125: Install and Implement Rapid Planning-Version1

a. Add the Managed Server Records in the RP Admin App UI, and click Save.

Enter the records.

Click Save.

ERROR – creating managed servers

It hasn’t created anything …

I check in the Engine Console, no machine created…

So… do I have to manually create it in the console now…

It wasn’t workin … so I manually checked all the WLST_Config.properties, InitialSetup.sh,

config.properties files and such

When Submitting the Save/Configure and entering the rp engine admin credentials, the

WebLogic console where the UI was launched reports the following errors

WebLogic UI Shell Console Output when UI was Logged Back Into

=========================

<Jan 15, 2011 10:09:21 PM MST> <Notice> <WebLogicServer> <BEA-000360> <Server

started in RUNNING mode>

validate session

<Jan 15, 2011 10:11:07 PM MST> <Warning>

<oracle.adf.share.jndi.ReferenceStoreHelper> <BEA-000000> <Incomplete connection

reference object for connection:ma0dv220>

msc_rp_release_pub.validate_icx_session(p_icx_cookie=>?,p_function=>?)

Time taken in validation: 2172

Invoking create row with uname null

In initialize RP method call

WLST_Config.properties file path obtained ::null

Page 126: Install and Implement Rapid Planning-Version1

select fnd_profile.value('MSC_RP_WLS_HOME') wls_home,

fnd_profile.value('MSC_RP_SCRIPTS_HOME')

scripts_home,nvl(fnd_profile.value('MSC_RP_UI_TIMEOUT'),3000) ui_timout from dual

Executed query to get the scripts path from profile

/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts :: Scripts home

Config property file location

::/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config

Create server property file location

::/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/CreateServer--

5000<--ui time out/u01/vcp/oraowls/middleware/owls1032<-- beahome

loading the file

::/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config

7002:: Engine domain SSL port

5556: Node Manager Listen Port

After initializeRP Method Call

In Create row Method Call

loading the file

::/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config

7002:: Engine domain SSL port

5556: Node Manager Listen Port

Loaded data from config file....

wolfram.us.oracle.com:: is the Machine name entered

********************

RPAdmin Impl PortNumber ::7001

RPAdmin Impl Host Name ::wolfram.us.oracle.com

After Managed Server close row set ::0

Count on Managed Server vo1 is ::0

loading the file

::/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config

RpMgdSrv1

Printing the hashMap iterator ::java.util.HashMap$KeyIterator@1a5ced0

In Set name of VO Impl :: Managed Server Name :RpMgdSrv1

loading the file

::/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config

RpMgdSrv1

rowQualifies

In set address of VO Impl :: Addresss set :wolfram.us.oracle.com

/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config::

fetching the property file

no.of managed servers ::1

Port set ::7005

Name of MS ::RpMgdSrv1 and Port set ::null

Set the port map details

Hash map containing potr number of a MS entry :: {null=RpMgdSrv1}

/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/WLST_Config::

fetching the property file

no.of managed servers ::1

Managed Server Name ::RpMgdSrv1 and Port ::7005

Set the port map details

Hashmap containing port number of particular MS entry ::{null=RpMgdSrv1,

7005=RpMgdSrv1}

SSL port set ::7006

min size entered ::128

Page 127: Install and Implement Rapid Planning-Version1

max size entered ::256

In initialize connection method

String port value :7001

port Integer got from portString :7001

int value of port :7001

exception in init ::java.lang.NullPointerException

Server name :: RpMgdSrv1. Server state :: Not Running

Setting the first parameter to plan query ::wolfram.us.oracle.com

Setting the second parameter to plan query ::7005

PlanQuery run ::SELECT * FROM (select decode(plan_id,-1,to_char(null), plan_name)

plan_name

,decode(plan_id,-1,to_date(null),last_update_date) last_update_date

,decode(plan_id,-1, to_char(null),user_name) user_name,

url, short_url, port, status, plan_id, category_set_id, base_plan_id,

previous_run_plan_id

from

(select mp.compile_designator plan_name, mp.last_update_date, u.user_name, url

, substr(

substr(url,instr(url,'//')+2),

1,instr(substr(url,instr(url,'//')+2),':')-1

) short_url

,to_number(substr(url

, instr(url,':',instr(url,'//')+2)+1

, (

instr( url,'/', instr(url,':',instr(url,'//')+2)

)

- instr(url,':',instr(url,'//')+2)-1

)

)) port,

mws.status,

mws.plan_id,

mp.category_set_id,

mp.base_plan_id,

mp.previous_run_plan_id

from

msc_web_services mws, msc_plans mp, fnd_user u

where mws.plan_id=mp.plan_id

and mp.last_updated_by=u.user_id

) MWS) QRSLT WHERE (short_url = :1 and port = :2)

java.lang.NullPointerException The plan details dont exist for the managed

server

null

in vcp instance,

--

SELECT *

FROM

(SELECT DECODE(plan_id,-1,TO_CHAR(NULL), plan_name) plan_name ,

DECODE(plan_id, -1,to_date(NULL),last_update_date) last_update_date ,

DECODE(plan_id, -1, TO_CHAR(NULL),user_name) user_name,

url,

short_url,

port,

status,

plan_id,

category_set_id,

base_plan_id,

previous_run_plan_id

FROM

(SELECT mp.compile_designator plan_name,

Page 128: Install and Implement Rapid Planning-Version1

mp.last_update_date,

u.user_name,

url ,

SUBSTR( SUBSTR(url,instr(url,'//') +2),

1,instr(SUBSTR(url,instr(url,'//')+2),':')-1 ) short_url ,

to_number(SUBSTR(url , instr(url,':',instr(url,'//')+2)+1 , ( instr( url,'/',

instr(url,':',instr(url,'//')+2) ) - instr(url,':',instr(url,'//')+2)-1 ) )) port,

mws.status,

mws.plan_id,

mp.category_set_id,

mp.base_plan_id,

mp.previous_run_plan_id

FROM msc_web_services mws,

msc_plans mp,

fnd_user u

WHERE mws.plan_id = mp.plan_id

AND mp.last_updated_by=u.user_id

) MWS

) QRSLT

WHERE (short_url = :1

AND port = :2);

--

-- if you and in a (+) in this mws.plan_id(+) = mp.plan_id

-- it’ll return records … so need to know what kind of plan …

--

select * from MSC_WEB_SERVICES;

--

/* Need to figure out what to do here … when, how, what, inserts these records and what

constitutes a plan, and when can we configure which part of what in rp without a plan run

that’s related to rp?

*/

INSERT

INTO MSC_WEB_SERVICES

(

WEB_SERVICE_ID,

PLAN_ID,

URL,

LAST_UPDATE_DATE,

LAST_UPDATED_BY,

creation_date,

created_by

)

VALUES

(

1,

-1,

'http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl',

sysdate,

-1,

sysdate,

-1

);

NOTE: I found out … by finishing the installation and launching an RP Plan successfully,

that when the Plan is Saved and Launched, a record is automatically insert into the

MSC_WEB_SERVICES table related to that Plan. So, the above mentioned INSERT … is just for

information… and noted that it reports in the log file the validation for that record.

Running the SELECT statement above, does return our plans record.

Manual Create Machine, NodeManager, and 1 Managed Server, with

supporting JMS components

b. Run the Scripts if the machine and managed serves didn’t get created 0. Login RP Admin App UI

Page 129: Install and Implement Rapid Planning-Version1

-- define all the following

-- hope it creates properly, save, configure, enter engine credentials, add managed servers,

save, configure.

-- if not,

-- manually create them using scripts.

-- there was an error regarding jdbc connection

-- fixed my making rapidplanningds2 and ma0dv220ds

-- an issue in creating machine or runnning scripts

-- needs a record in msc_web_services for the plan???

-- setup web services ... ??? ...

CreateServer.properties -- view the CreateServer.properties

[oraowls@wolfram WLST_scripts]$ more CreateServer.properties

#Sat Jan 15 21:36:05 MST 2011

ms_sslPort_1=7006

ms_sslEnabled_1=1

ms_Listen_Port_1=7005

MS_MIN_MEMORY_1=128M

No_Of_Managed_Servers=1

MS_MAX_MEMORY_1=256M

ms_Listen_Address_1=wolfram.us.oracle.com

ms_Name_1=RpMgdSrv1

WLST_Config.properties

-- view the WLST_Config.properties

[oraowls@wolfram WLST_scripts]$ more WLST_Config.properties

#Sun Jan 16 01:44:07 MST 2011

Node_Manager_Listen_Port=5556

MS_MIN_MEMORY_1=128M

No_Of_Managed_Servers=1

Engine_Domain_Url=t3\://wolfram.us.oracle.com\:7001

JMS_Server_Name=RPWSJMSServer

Machine_Name=wolfram.us.oracle.com

LOG_FILE_LOC_1=StartManServer.201101160143.log

MS_MAX_MEMORY_1=256M

ms_Name_1=RpMgdSrv1

BEA_HOME=/u01/vcp/oraowls/middleware/owls1032

JDBC_System_Resource_Name=RapidPlanningDS2

JMS_Que_Name=RPQueue

ms_Listen_Port_1=7005

JMS_SubDep_Name=RPSubModule

JMS_System_Resource_Name=RPModule

Engine_Domain_sslPort=7002

JMS_Que_JNDI_Name=weblogic.wsee.DefaultQueue

Engine_Domain_AdminServer_Name=RpEngineAdminServer

ms_Listen_Address_1=wolfram.us.oracle.com

Engine_Domain_Name=rp_engine_domain

Node_Manager_Listen_Address=localhost

ms_sslPort_1=7006

ms_sslEnabled_1=1

Page 130: Install and Implement Rapid Planning-Version1

Create a Machine 1. Create a Machine

[oraowls@wolfram domains]$ . WLST_scripts/InitialSetup.sh rp_engine_admin

rp_engine_admin

Running Initial Setup.....

Initial setup succesful!!!

InitialSetup.201101152257.log

Configure Node Manager 2. Configure Node Manager

Node Manager

======================================

[oraowls@wolfram common]$ cd nodemanager

[oraowls@wolfram nodemanager]$ ls

nodemanager.domains

[oraowls@wolfram nodemanager]$ pwd

/u01/vcp/oraowls/middleware/owls1032/common/nodemanager

[oraowls@wolfram nodemanager]$ more nodemanager.domains

#

#Sat Jan 15 22:57:19 MST 2011

rp_engine_domain=/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain

rp_ui_domain=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain

[oraowls@wolfram nodemanager]$

Start Node Manager 3. Start Node Manager

[oraowls@wolfram nodemanager]$ cd $WLSHOME/server/bin

[oraowls@wolfram bin]$ ls

international setWLSEnv.sh startNodeManager.sh

[oraowls@wolfram bin]$ pwd

/u01/vcp/oraowls/middleware/owls1032/server/bin

[oraowls@wolfram bin]$ ./startNodeManager.sh 127.0.0.1 5556

Create Managed Server 1 4. Create Managed Server 1

[oraowls@wolfram domains]$ ./WLST_scripts/CreateServer.sh rp_engine_admin

rp_engine_admin RpMgdSrv1

log_file_name=CreateServer.201101161048.log

Creating the servers....

Successfully created the servers......

Starting the servers....

Invoked StartServer action. Please refer to log file for more details :

StartManServer.201101161048.log

[oraowls@wolfram domains]$ more StartManServer.201101161048.log

StartManServer.201101161048.log: No such file or directory

[oraowls@wolfram domains]$ ls

rp_engine_domain rp_ui_domain WLST_log WLST_scripts

[oraowls@wolfram domains]$ ls WLST_log

CreateServer.201101161048.log StartManServer.201101160142.log

InitialSetup.201101152257.log StartManServer.201101160143.log

InitialSetup.201101160141.log StartManServer.201101161048.log

RpMgdSrv1.log

Page 131: Install and Implement Rapid Planning-Version1

/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/servers/RpMgdSrv1

/logs/RpMgdSrv1.log

5. Verify All ... are created ...

c.

Run Script(s) InitialSetup.sh and CreateServer.sh 35. Manually run the Script InitialSetup.sh and CreateServer.sh

Enter the Data in the RP Admin, and Save

Verify .properties files were updated properly

Then,

If required,

Run these manually as noted.

[oraowls@wolfram domains]$ . WLST_scripts/InitialSetup.sh rp_engine_admin

rp_engine_admin

Running Initial Setup.....

Initial setup succesful!!!

InitialSetup.201101152257.log

[oraowls@wolfram domains]$

[oraowls@wolfram domains]$ ./WLST_scripts/CreateServer.sh rp_engine_admin

rp_engine_admin RpMgdSrv1

log_file_name=CreateServer.201101161048.log

Creating the servers....

Successfully created the servers......

Starting the servers....

Invoked StartServer action. Please refer to log file for more details :

StartManServer.201101161048.log

[oraowls@wolfram domains]$ more StartManServer.201101161048.log

StartManServer.201101161048.log: No such file or directory

[oraowls@wolfram domains]$ ls

rp_engine_domain rp_ui_domain WLST_log WLST_scripts

[oraowls@wolfram domains]$ ls WLST_log

CreateServer.201101161048.log StartManServer.201101160142.log

InitialSetup.201101152257.log StartManServer.201101160143.log

InitialSetup.201101160141.log StartManServer.201101161048.log

RpMgdSrv1.log

/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/servers/RpMgd

Srv1/logs/RpMgdSrv1.log

RP Admin Application - Notes 36. Notes about the RP Admin Application UI

Page 132: Install and Implement Rapid Planning-Version1

I believe it writes to the WLST_config.properties and CreateServer.properties files.

When save/configure is clicked,

It ought to run the InitialSetup.sh and CreateServer.sh files

… but in our environment, appeared to have some failure

It created the Machine, but didn’t create any of the associated JMS stuff…

Running the scripts manually, created everything properly … without the validation

errors on plan and web services

Running Managed Server1 37. Yay! Success, the Managed Server was created and is running

Note: There was an error on our First RP Planner run… see the Plan and error details later in

document. The problem was due to the Managed Server’s Address entered above … in this case

“wolfram.us.oracle.com”. Our hosts file on that box, is apparently incorrect, causing the

Managed Server to resolve the machine to an IP address of 127.0.0.1 so when it runs, it runs on

localhost binding to port 7005 preventing external requests from connecting, as only localhost

requests will be serviced if the Managed Server is bound to the localhost.

We resolved it by a workaround at the moment, editing the Managed Server in the Engine

Admin Console, and setting the Listen Address to actual IP address 10.148.52.175. Bounced the

Managed Server, and monitored the LISTEN using netstat, and found it was now running and

bound on the IP not the localhost… which resolved the Plan error.

Page 133: Install and Implement Rapid Planning-Version1

Actual solution ought to be ensuring that wolfram.us.oracle.com is resolved ot the IP not the

localhost when the managed servers starts and does its nslookup.

Once the Machine, and Managed Server are created and running, the RP Engine and RP UI application

may be deployed; since the RP Engine requires the Managed Servers as a dependent association; need

to create the managed servers, before deploying/defining the engine.

Review Created Machine, Managed Server, NodeManager, and JMS supporting

components 38. Review the Created Machine, Managed Server, RPModule, RPQueue etc… that were created

via the scripts…

a. Login in the RP Engine Administration Console

b. View the Domain Structure Navigation Tree > Environment > Servers

See :

Name: RpMgdSrv1

on Machine: wolfram.us.oracle.com

on Port: 7005

Running

Page 134: Install and Implement Rapid Planning-Version1

As defined and Saved from the RP Admin UI,

But finally created via running the scripts from command line.

c. View the Machine created

Select the Machine Name and view the Configuration, Node Manager, and Servers

associated to it.

d. View the JMS Server was created … as pre-defined in the WLST_Config.properties

Services > Messagfing > JMS Servers

Page 135: Install and Implement Rapid Planning-Version1

Name: RPWSJMSServer_RpMgdSrv1

Target: RpMgdSrv1

e. View the JMS Modules that were created via the script

Services > Messaging > JMS Modules

Name: RPModule

f. View the RPModule’s Configuration, Queue, Subdeployments, Targets

Settings for RPModule

Configuration tab

Page 136: Install and Implement Rapid Planning-Version1

Subdeployments tab

Select the SubModule’s link

Page 137: Install and Implement Rapid Planning-Version1

Targets tab

g. View the RP Queue , Configuration, SubDeployments, Targets

Click on the RPQueue_RpMgdSrv1 link

Page 138: Install and Implement Rapid Planning-Version1

Control tab

Subdeployment tab

h. Verify the JDBC Connection for RapidPlanningDS )the one created during the engine

domain and engine admin server creation steps > create jdbc data source for engine.

JDBC Name: RapidPlanningDS2

Targets: RpMgdSrv1

Page 139: Install and Implement Rapid Planning-Version1

Deploy RP Engine Application (rpws.ear) 39. Deploy RP Engine Application

Login RP Engine Administration Console

a. Login to the WebLogic RP Engine Domain

http://wolfram.us.oracle.com:7001/console

rp_engine_admin/rp_engine_admin

b. Click Lock & Edit

c. In Domain Structure on Left Pane, select Deployments

Page 140: Install and Implement Rapid Planning-Version1

Deploy the rpws.ear file

d. Click Install

e. Navigate to the temp directory where the RP *.zip files were unzipped and the *.ear

files exist.

ui.zip

engine.zip

RPAdmin.zip

Page 141: Install and Implement Rapid Planning-Version1

These files are contained in the VCP 12.1.3.1 and 12.1.3.2 patches.

The reside in MSC_TOP/dist/orp directory

One needs run on the VCP instance

We copied and unzipped them into the oraowls home directory

/home/oraowls/rp_temp/

f. Select the rpws.ear radio button, and click Next

g. Install deployment as an application.

Page 142: Install and Implement Rapid Planning-Version1

Associate Managed Server to this Engine deployment

h. Select the deployment targets (Managed Servers)

Pick the RpMgdSrv1

This is the Managed Server 1 we created using the scripts

It will be used for this engine deployment.

Other Managed Servers may be added later

And associated here when added later

Do Not pick the RpEngineAdminServer

Page 143: Install and Implement Rapid Planning-Version1

Click Next

i. Verify the settings as required, and click Next or Finish.

Click Next

j. View the Summary and Additional Configuration

Page 144: Install and Implement Rapid Planning-Version1

k. Click Finish, and Review the Summary of Deployments

Page 145: Install and Implement Rapid Planning-Version1

l. If any changes were made there, click Save.

m. Activate Changes.

n. The Deployed RP Engine Application may be Started, or Stopped from the RP Engine

Administration Server, Deployments navigation. Select the rpws checkbox, and then

Control tab and start/stop as required.

Page 146: Install and Implement Rapid Planning-Version1

Start RP Engine Application 40. Start RP Engine Application

Select Deployments, Check the rpws checkbox,

Select Start > Servicing all requests

Click Yes

See the engine deployment is in Active State

Page 147: Install and Implement Rapid Planning-Version1

Deploy RP UI Application (OrpUI_EAR.ear) 41. Deploy RP UI Application

Do the same as did for deploying the engine above.

Login the RP UI Administration Console

a. Login to the WebLogic RP UI Domain

http://wolfram.us.oracle.com:7003/console

rp_ui_admin/rp_ui_admin

b. Click Lock & Edit

Page 148: Install and Implement Rapid Planning-Version1

c. In Domain Structure on Left Pane, select Deployments

Deploy the OrpUI_EAR.ear file

d. Click Install

e. Navigate to the temp directory where the RP *.zip files were unzipped and the *.ear

files exist.

ui.zip

engine.zip

RPAdmin.zip

Page 149: Install and Implement Rapid Planning-Version1

These files are contained in the VCP 12.1.3.1 and 12.1.3.2 patches.

The reside in MSC_TOP/dist/orp directory

One needs run on the VCP instance

We copied and unzipped them into the oraowls home directory

/home/oraowls/rp_temp/

f. Select the OrpUI_EAR.ear radio button, and click Next

g. Install deployment as an application.

Page 150: Install and Implement Rapid Planning-Version1

h. Verify the settings as required, and click Next or Finish.

Click Next

Page 151: Install and Implement Rapid Planning-Version1

i. View the Summary and Additional Configuration

j. Click Finish, and Review the Summary of Deployments

Page 152: Install and Implement Rapid Planning-Version1

k. If any changes were made there, click Save.

l. Active Changes.

m. The Deployed RP Engine Application may be Started, or Stopped from the RP Engine

Administration Server, Deployments navigation. Select the rpws checkbox, and then

Control tab and start/stop as required.

Page 153: Install and Implement Rapid Planning-Version1

Start RP UI Application 42. Start RP UI Application

Select Deployments, Check the OrpUI_EAR checkbox,

Select Start > Servicing all requests

Click Yes

See the ui deployment is in Active State

Page 154: Install and Implement Rapid Planning-Version1

Login to RP UI Application 43. Login to RP UI Application. (to start using plans … )

Log on to the application using following link format in your Web browser:

http://<Machine_Name>.us.oracle.com:<Port_No>/rapidplanning/faces/RPMainUI

Example:

http://wolfram.us.oracle.com:7001/rapidplanning/faces/RPMainUI

The Oracle Applications Login page appears (on Ptolemy.us.oracle.com)

12. Enter the Username and Password and click OK.

13. Once home page opens up, select Oracle Supply Chain Simulation Planner > Plans, Inputs

and Simulations. The RP UI Plans page appears.

Error

a. Per Install Guide … Test this …

http://wolfram.us.oracle.com:7001/rapidplanning/faces/RPMainUI

Receive this: :o)

Error 404--Not Found

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.4.5 404 Not Found

The server has not found anything matching the Request-URI. No indication is

Page 155: Install and Implement Rapid Planning-Version1

given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client,

the status code 403 (Forbidden) can be used instead. The 410 (Gone) status

code SHOULD be used if the server knows, through some internally configurable

mechanism, that an old resource is permanently unavailable and has no

forwarding address.

It’s supposed to be to the UI Port 7003

http://wolfram.us.oracle.com:7003/rapidplanning/faces/RPMainUI

b. Try … by logging in the VCP instance > Oracle Supply Chain Simulation Planner > Plans,

Inputs and Simulations

Receive error:

Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from

fulfilling the request.

Page 156: Install and Implement Rapid Planning-Version1

Makes ya wanna go … Hmmmm…. ;o)

Since I know I skipped a couple steps … but … which ones … :o)

-- the mds directory persistence thingy …

-- what else … ?

-- creating the log and out and/or output directory names …. Where?

Error Log Information

Maybe … check the WebLogic server consoles for the engine and ui where they started

WebLogic Server ... vncviewer shell console

RP ENGINE DOMAIN AdminServer’s Logfile

<Jan 15, 2011 10:10:31 PM MST> <Notice> <WebLogicServer> <BEA-000360> <Server

started in RUNNING mode>

<Jan 15, 2011 10:59:47 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the

trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The

loading of the trusted certificate list raised a certificate parsing exception

PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

<Jan 15, 2011 10:59:47 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the

trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust

Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted

certificate list raised a certificate parsing exception PKIX: Unsupported OID in

the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

<Jan 15, 2011 10:59:47 PM MST> <Notice> <Security> <BEA-090898> <Ignoring the

trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust

Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted

certificate list raised a certificate parsing exception PKIX: Unsupported OID in

the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

<Jan 15, 2011 10:59:47 PM MST> <Error> <NodeManager> <BEA-300033> <Could not

execute command "getVersion" on the node manager. Reason: "Connection refused.

Could not connect to NodeManager. Check that it is running at localhost:5,556.".>

Page 157: Install and Implement Rapid Planning-Version1

<Jan 15, 2011 11:13:27 PM MST> <Error> <NodeManager> <BEA-300033> <Could not

execute command "getVersion" on the node manager. Reason: "Connection refused.

Could not connect to NodeManager. Check that it is running at localhost:5,556.".>

<Jan 15, 2011 11:13:30 PM MST> <Error> <NodeManager> <BEA-300033> <Could not

execute command "getNMLog" on the node manager. Reason: "Connection refused.

Could not connect to NodeManager. Check that it is running at localhost:5,556.".>

<Jan 15, 2011 11:13:32 PM MST> <Error> <NodeManager> <BEA-300033> <Could not

execute command "getVersion" on the node manager. Reason: "Connection refused.

Could not connect to NodeManager. Check that it is running at localhost:5,556.".>

<Jan 16, 2011 12:31:43 AM MST> <Error> <NodeManager> <BEA-300033> <Could not

execute command "getVersion" on the node manager. Reason: "Connection refused.

Could not connect to NodeManager. Check that it is running at localhost:5,556.".>

<Jan 16, 2011 12:32:38 AM MST> <Error> <NodeManager> <BEA-300033> <Could not

execute command "getNMLog" on the node manager. Reason: "Connection refused.

Could not connect to NodeManager. Check that it is running at localhost:5,556.".>

<Jan 17, 2011 3:00:20 PM MST> <Warning> <netuix> <BEA-423420> <Redirect is

executed in begin or refresh action. Redirect url is

/console/console.portal?_nfpb=true&_pageLabel=AppApplicationOverviewPage&AppAppli

cationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.

bea%3AName%3Drpws%2CType%3DAppDeployment%22%29.>

<Jan 17, 2011 3:03:45 PM MST> <Warning> <netuix> <BEA-423420> <Redirect is

executed in begin or refresh action. Redirect url is

/console/console.portal?_nfpb=true&_pageLabel=AppApplicationOverviewPage&AppAppli

cationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.

bea%3AName%3Drpws%2CType%3DAppDeployment%22%29.>

RP UI DOMAIN AdminServer’s Logfile

<Jan 17, 2011 5:28:10 PM MST> <Error> <HTTP> <BEA-101165> <Could not load user

defined filter in web.xml: org.apache.myfaces.trinidad.webapp.TrinidadFilter.

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:1483)

at

oracle.adfinternal.view.faces.config.rich.FacesDatabindingConfigurator.init(Faces

DatabindingConfigurator.java:51)

at

org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConf

iguratorImpl.java:400)

at

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.init(RegistrationFil

ter.java:53)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilter

Impl.java:103)

Truncated. see log file for complete stacktrace

Caused By: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java

:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:1449)

Truncated. see log file for complete stacktrace

Caused By: oracle.adf.share.ADFShareException: MDSConfigurationException

encountered in parseADFConfiguration

at

oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:178)

Page 158: Install and Implement Rapid Planning-Version1

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java

:25)

at java.lang.reflect.Method.invoke(Method.java:597)

Truncated. see log file for complete stacktrace

Caused By: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load

MDS configuration document

MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)

at oracle.mds.config.PConfig.<init>(PConfig.java:504)

at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)

at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)

at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)

Truncated. see log file for complete stacktrace

Caused By: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load

element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)

at oracle.mds.config.PConfig.<init>(PConfig.java:504)

at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)

at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)

at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)

Truncated. see log file for complete stacktrace

>

<Jan 17, 2011 5:44:11 PM MST> <Emergency> <oracle.adf.share.config.ADFMDSConfig>

<BEA-000000> <MDSConfigurationException encountered in parseADFConfigurationMDS-

01330: unable to load MDS configuration document

MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS

configuration document

MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)

Page 159: Install and Implement Rapid Planning-Version1

at oracle.mds.config.PConfig.<init>(PConfig.java:504)

at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)

at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)

at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)

at

oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2007)

at

oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.jav

a:1169)

at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:569)

at

oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java

:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at

oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:4

42)

at

oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:507)

at

oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:490)

at

oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:546)

at

oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:541)

at

oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMD

SConfigHelperImpl.java:274)

at

oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1203)

at

oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:434)

at

oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:

351)

at

oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequ

estHandler.java:55)

at

oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:10

7)

at

oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)

at

oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

at

oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

at

oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

Page 160: Install and Implement Rapid Planning-Version1

at

oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:2

7)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebApp

ServletContext.java:3592)

at

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.jav

a:321)

at

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContex

t.java:2202)

at

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:

2108)

at

weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Caused By: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load

element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)

at oracle.mds.config.PConfig.<init>(PConfig.java:504)

at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)

at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)

at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)

at

oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2007)

at

oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.jav

a:1169)

at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:569)

at

oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java

:25)

at java.lang.reflect.Method.invoke(Method.java:597)

Page 161: Install and Implement Rapid Planning-Version1

at

oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:4

42)

at

oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:507)

at

oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:490)

at

oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:546)

at

oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:541)

at

oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMD

SConfigHelperImpl.java:274)

at

oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1203)

at

oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:434)

at

oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:

351)

at

oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequ

estHandler.java:55)

at

oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:10

7)

at

oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)

at

oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

at

oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

at

oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:2

7)

at

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebApp

ServletContext.java:3592)

at

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.jav

a:321)

Page 162: Install and Implement Rapid Planning-Version1

at

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContex

t.java:2202)

at

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:

2108)

at

weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

>

<Jan 17, 2011 5:44:12 PM MST> <Error> <HTTP> <BEA-101020>

<[ServletContext@40588498[app:OrpUI_EAR module:rapidplanning path:/rapidplanning

spec-version:2.5]] Servlet failed with Exception

oracle.adf.share.ADFShareException: MDSConfigurationException encountered in

parseADFConfiguration

at

oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:178)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java

:25)

at java.lang.reflect.Method.invoke(Method.java:597)

Truncated. see log file for complete stacktrace

Caused By: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load

MDS configuration document

MDS-01329: unable to load element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)

at oracle.mds.config.PConfig.<init>(PConfig.java:504)

at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)

at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)

at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)

Truncated. see log file for complete stacktrace

Caused By: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load

element "persistence-config"

MDS-01370: MetadataStore configuration for metadata-store-usage "mds-repos" is

invalid.

MDS-00503: The metadata path

"/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdmin

Server/mds" does not contain any valid directories.

at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)

at oracle.mds.config.PConfig.<init>(PConfig.java:504)

at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)

at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)

at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)

Truncated. see log file for complete stacktrace

>

Page 163: Install and Implement Rapid Planning-Version1

<Jan 17, 2011 5:44:12 PM MST> <Alert> <Diagnostics> <BEA-320016> <Creating

diagnostic image in

/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminS

erver/adr/diag/ofm/rp_ui_domain/RpUiAdminServer/incident/incdir_3 with a lockout

minute period of 1.>

Error Solution

So, Back to the Installation Guide where it mentions to create the MDS directory for

persistent files or something ;o), then bounce WebLogic stuff, and try it again …

Create Persistent Stores in RP UI

Define mds directory [oraowls@wolfram rp_ui_domain]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/ [oraowls@wolfram rp_ui_domain]$ ls 2uycn7 config edit.lok lib servers tmp autodeploy console-ext fileRealm.properties pending shutdown.py bin disw1o init-info security startWebLogic.sh [oraowls@wolfram rp_ui_domain]$ cd servers [oraowls@wolfram servers]$ ls AdminServerTag domain_bak RpUiAdminServer [oraowls@wolfram servers]$ cd RpUiAdminServer [oraowls@wolfram RpUiAdminServer]$ ls adr cache data logs sysman tmp [oraowls@wolfram RpUiAdminServer]$ mkdir mds

Open RP UI Administration Console

To create a file persistence store in WLS, perform the following: Click Lock & Edit button in top left corner to change the domain configuration, if applicable. Click the Persistent Stores link (or you can click "Services > Persistent Stores" from the left side menu)

Page 164: Install and Implement Rapid Planning-Version1

Click New. Select Create File Store.

Set Name as "mds-repos". Select Target "AdminServer".

Page 165: Install and Implement Rapid Planning-Version1

Set the path to <UI_Domain_Home>/servers/<Admin_Server>/mds. /u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminServer/mds

Click OK. In Change Center (in top left pane), click Activate Changes.

Page 166: Install and Implement Rapid Planning-Version1

Notice the above screenshot … shows Name = mds-repo… that is INCORRECT

And this is the correct one mds-repos notice the S on the end was missing by

typo.

Bounce the Engine and UI Domain servers

c. Bounced All the Engine and UI domain servers again…

./rp_engine_domain/bin/stopWebLogic.sh rp_engine_admin rp_engine_admin

./rp_ui_domain/bin/stopWebLogic.sh rp_ui_admin rp_ui_admin

./rp_engine_domain/startWebLogic.sh rp_engine_admin rp_engine_admin

./rp_ui_domain/startWebLogic.sh rp_ui_admin rp_ui_admin

Page 167: Install and Implement Rapid Planning-Version1

Had some issue with the JDBC connection in the RP UI Admin Console, so neither the RP

Admin or the RP UI would open without error on the jdbc/ma0dv220DS connection

I edited in the WebLogic ui admin console and saved and activitated

And restarted the ui domain server again,

Now … it works from both the ASCP > Admin > RP > Setup and Configuration

And the ASCP > Oracle Supply Chain Simulation Planner navigations.

Restart Managed Server

d. Logged into the RP Admin application and started the Managed Server

Rapid Planning Workbench 44. YAY! THE Rapid Planning Workbench

Login to the VCP Applications

http:/ptolemy.us.oracle.com:8000

Select Oracle Supply Chain Simulation Planner > Plans, Inputs and Simulations

Page 168: Install and Implement Rapid Planning-Version1

And the RP Workbench opens on the OWLS Deployment of RP

Page 169: Install and Implement Rapid Planning-Version1

Click on Plan Inputs

Error

Receive Error – No Free Partitions

Page 170: Install and Implement Rapid Planning-Version1

Solution: Check and Create APS Plan Partition in the VCP Application instance.

Setup, Define, Launch Collections

Create Instance

Launch Standard Collections

Create New RP Simulation Plan

Create APS Partition

45. Create a New APS Partition in VCP Applications.

a. Verify no actual free partitions via sqlplus

b. Login VCP Applications Instance

c. Submit Request

Page 171: Install and Implement Rapid Planning-Version1

d. Select Create APS Partitions

e. Enter Parameters

1 for plan – since we do want to create a plan partition

0 for instance – since we don’t want to create a instance partition

Page 172: Install and Implement Rapid Planning-Version1

Click OK, and review the Log file when completed

f. View the Log file

+---------------------------------------------------------------------------+

Advanced Supply Chain Planning: Version : 12.0.0

Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

MSCCRPAR module: Create APS Partitions

+---------------------------------------------------------------------------+

Current system time is 18-JAN-2011 17:17:25

+---------------------------------------------------------------------------+

**Starts**18-JAN-2011 17:17:25

**Ends**18-JAN-2011 17:23:04

+---------------------------------------------------------------------------+

Start of log messages from FND_FILE

+---------------------------------------------------------------------------+

j := 1

table := MSC_ATP_SUMMARY_SO

partition_name : ATP_SUMMARY_SO__2061

l_count := 1

Partition for instance 2061 already exists

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD__2061

l_count := 1

Partition for instance 2061 already exists

j := 2

table := MSC_ATP_SUMMARY_SO

partition_name : ATP_SUMMARY_SO__4061

l_count := 1

Partition for instance 4061 already exists

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD__4061

l_count := 1

Partition for instance 4061 already exists

l_share_partition := N

plan count := 10

j := 1

plan_ids := 92050

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_92050

Plan partition for plan 92050 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_92050

Plan partition for plan 92050 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_92050

Plan partition for plan 92050 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_92050

Page 173: Install and Implement Rapid Planning-Version1

Plan partition for plan 92050 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_92050

Plan partition for plan 92050 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_92050

Plan partition for plan 92050 already exists

j := 2

plan_ids := 92051

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_92051

Plan partition for plan 92051 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_92051

Plan partition for plan 92051 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_92051

Plan partition for plan 92051 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_92051

Plan partition for plan 92051 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_92051

Plan partition for plan 92051 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_92051

Plan partition for plan 92051 already exists

j := 3

plan_ids := 92052

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_92052

Plan partition for plan 92052 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_92052

Plan partition for plan 92052 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_92052

Plan partition for plan 92052 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_92052

Plan partition for plan 92052 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_92052

Plan partition for plan 92052 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_92052

Plan partition for plan 92052 already exists

j := 4

plan_ids := 92053

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_92053

Plan partition for plan 92053 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_92053

Plan partition for plan 92053 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_92053

Plan partition for plan 92053 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_92053

Plan partition for plan 92053 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_92053

Plan partition for plan 92053 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_92053

Plan partition for plan 92053 already exists

j := 5

plan_ids := 92054

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_92054

Page 174: Install and Implement Rapid Planning-Version1

Plan partition for plan 92054 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_92054

Plan partition for plan 92054 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_92054

Plan partition for plan 92054 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_92054

Plan partition for plan 92054 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_92054

Plan partition for plan 92054 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_92054

Plan partition for plan 92054 already exists

j := 6

plan_ids := 93050

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_93050

Plan partition for plan 93050 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_93050

Plan partition for plan 93050 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_93050

Plan partition for plan 93050 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_93050

Plan partition for plan 93050 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_93050

Plan partition for plan 93050 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_93050

Plan partition for plan 93050 already exists

j := 7

plan_ids := 93051

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_93051

Plan partition for plan 93051 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_93051

Plan partition for plan 93051 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_93051

Plan partition for plan 93051 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_93051

Plan partition for plan 93051 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_93051

Plan partition for plan 93051 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_93051

Plan partition for plan 93051 already exists

j := 8

plan_ids := 93052

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_93052

Plan partition for plan 93052 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_93052

Plan partition for plan 93052 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_93052

Plan partition for plan 93052 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_93052

Plan partition for plan 93052 already exists

table := MSC_ALLOC_SUPPLIES

Page 175: Install and Implement Rapid Planning-Version1

partition_name : ALLOC_SUPPLIES_93052

Plan partition for plan 93052 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_93052

Plan partition for plan 93052 already exists

j := 9

plan_ids := 94051

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_94051

Plan partition for plan 94051 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_94051

Plan partition for plan 94051 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_94051

Plan partition for plan 94051 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_94051

Plan partition for plan 94051 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_94051

Plan partition for plan 94051 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_94051

Plan partition for plan 94051 already exists

j := 10

plan_ids := 94052

table := MSC_ATP_SUMMARY_SD

partition_name : ATP_SUMMARY_SD_94052

Plan partition for plan 94052 already exists

table := MSC_ATP_SUMMARY_RES

partition_name : ATP_SUMMARY_RES_94052

Plan partition for plan 94052 already exists

table := MSC_ATP_SUMMARY_SUP

partition_name : ATP_SUMMARY_SUP_94052

Plan partition for plan 94052 already exists

table := MSC_ALLOC_DEMANDS

partition_name : ALLOC_DEMANDS_94052

Plan partition for plan 94052 already exists

table := MSC_ALLOC_SUPPLIES

partition_name : ALLOC_SUPPLIES_94052

Plan partition for plan 94052 already exists

table := MSC_ATP_PEGGING

partition_name : ATP_PEGGING_94052

Plan partition for plan 94052 already exists

After Create Partitions

+---------------------------------------------------------------------------+

End of log messages from FND_FILE

+---------------------------------------------------------------------------+

+---------------------------------------------------------------------------+

Executing request completion options...

Output file size:

0

Output is not being printed because:

The print option has been disabled for this report.

+------------- 1) PRINT -------------+

+--------------------------------------+

Finished executing request completion options.

+---------------------------------------------------------------------------+

Concurrent request completed successfully

Current system time is 18-JAN-2011 17:23:04

Page 176: Install and Implement Rapid Planning-Version1

g. Check in SQL for new free plan partition and id

Create Plan

46. Create a New RP Supply Chain Simulation Plan

a. Login RP UI

b. Select Plan Actions, in the RP Workbench > Plans, navigator tree

Page 177: Install and Implement Rapid Planning-Version1

c. Create Plan

Page 178: Install and Implement Rapid Planning-Version1

Plan Options

d. Enter in the Plan Options – Name and Attributes

Page 179: Install and Implement Rapid Planning-Version1

Main tab

Page 180: Install and Implement Rapid Planning-Version1

Received an error on not picking the Category Set, So I picked one.

Page 181: Install and Implement Rapid Planning-Version1

Organization tab

TST:M1 – Seatlle Mfg

CTO Local Fcst-Org,Week

The one we published from our Demantra CTO integration End to End

Page 182: Install and Implement Rapid Planning-Version1

Th e Advanced tab

Page 183: Install and Implement Rapid Planning-Version1

I left the defaults for now …

e. Save… receive … errors

Errors

JBO-29000: Unexpected exception caught

Page 184: Install and Implement Rapid Planning-Version1

<Jan 18, 2011 6:09:32 PM MST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils>

<BEA-000000> <ADF: Adding the following JSF error message: Unexpected exception caught:

java.lang.NullPointerException, msg=null

oracle.jbo.JboException: JBO-29000: Unexpected exception caught:

java.lang.NullPointerException, msg=null

at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:609)

at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)

at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3021)

at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)

at

oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)

at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)

at

oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)

at

oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:3

94)

at

oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActio

nBinding.java:252)

at

oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlAction

Binding.java:210)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sun.el.parser.AstValue.invoke(AstValue.java:157)

at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)

at

oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)

at

oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityL

ogic.java:161)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.j

ava:989)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:87

8)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:77

7)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine

.java:551)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngin

e.java:147)

at

oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(Navig

ationHandlerImpl.java:109)

at

oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(Navigatio

nHandlerImpl.java:78)

at

org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(Nav

igationHandlerImpl.java:43)

Page 185: Install and Implement Rapid Planning-Version1

at

com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)

at

oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingCo

mponent.java:90)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwi

tchingComponent.java:309)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchi

ngComponent.java:94)

at

oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:8

12)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292

)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

at

weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.j

ava:227)

at

weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.j

ava:97)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(Tri

nidadFilterImpl.java:420)

at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(Tri

nidadFilterImpl.java:420)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilter

Impl.java:247)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.

java:157)

at

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

at

oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)

Page 186: Install and Implement Rapid Planning-Version1

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletCo

ntext.java:3592)

at

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:22

02)

at

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Caused By: java.lang.NullPointerException

at

oracle.apps.msc.orp.ui.planoptions.model.MscPlanOptionsAMImpl.insertIntoMscDesignators(Msc

PlanOptionsAMImpl.java:914)

at

oracle.apps.msc.orp.ui.planoptions.model.MscPlanOptionsAMImpl.savePlanOptions(MscPlanOptio

nsAMImpl.java:1140)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)

at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)

at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3021)

at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)

at

oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)

at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2142)

at

oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)

at

oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:3

94)

at

oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActio

nBinding.java:252)

at

oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlAction

Binding.java:210)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sun.el.parser.AstValue.invoke(AstValue.java:157)

Page 187: Install and Implement Rapid Planning-Version1

at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)

at

oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)

at

oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityL

ogic.java:161)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.j

ava:990)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:87

8)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:77

7)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine

.java:551)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngin

e.java:147)

at

oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(Navig

ationHandlerImpl.java:111)

at

oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(Navigatio

nHandlerImpl.java:78)

at

org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(Nav

igationHandlerImpl.java:44)

at

com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)

at

oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingCo

mponent.java:91)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwi

tchingComponent.java:309)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchi

ngComponent.java:94)

at

oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:8

12)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292

)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

at

weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.j

ava:227)

Page 188: Install and Implement Rapid Planning-Version1

at

weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.j

ava:97)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(Tri

nidadFilterImpl.java:421)

at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(Tri

nidadFilterImpl.java:421)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilter

Impl.java:247)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.

java:157)

at

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

at

oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at

weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

at

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletCo

ntext.java:3592)

at

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:22

02)

at

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

>

Page 189: Install and Implement Rapid Planning-Version1

JBO-25003: Object MscPlanOptionsAM

<Jan 18, 2011 6:18:38 PM MST> <Error>

<oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <Server

Exception during PPR, #2

oracle.jbo.NoObjException: JBO-25003: Object MscPlanOptionsAM of type ApplicationModule is

not found.

at

oracle.jbo.server.ApplicationModuleImpl.findViewObject(ApplicationModuleImpl.java:3102)

at

oracle.adf.model.bc4j.DCJboDataControl.getRowSetIterator(DCJboDataControl.java:897)

at

oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1433)

at

oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1348)

at

oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1690)

at

oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1655)

at

oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.jav

a:1631)

at

oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1595)

at

oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:653)

at

oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2310

)

at

oracle.jbo.uicli.binding.JUIteratorBinding.updateValuesFromRows(JUIteratorBinding.java:339

)

at

oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:826)

at

oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:667)

at

oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:475)

at

oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:873)

at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:175)

at

oracle.jbo.server.ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:

3574)

at

oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2791)

at

oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3011)

at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2635)

at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1182)

Page 190: Install and Implement Rapid Planning-Version1

at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:994)

at

oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2753)

at

oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2730)

at

oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1559)

at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:3384)

at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:8836)

at

oracle.apps.msc.orp.ui.planoptions.model.MscPlanOptionsAMImpl.insertIntoMscDesignators(Msc

PlanOptionsAMImpl.java:913)

at

oracle.apps.msc.orp.ui.planoptions.model.MscPlanOptionsAMImpl.savePlanOptions(MscPlanOptio

nsAMImpl.java:1140)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)

at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)

at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3021)

at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)

at

oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)

at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)

at

oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)

at

oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:3

94)

at

oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActio

nBinding.java:252)

at

oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlAction

Binding.java:210)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sun.el.parser.AstValue.invoke(AstValue.java:157)

at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)

at

oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)

at

oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityL

ogic.java:161)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.j

ava:989)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:87

8)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:77

7)

Page 191: Install and Implement Rapid Planning-Version1

at

oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine

.java:551)

at

oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngin

e.java:147)

at

oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(Navig

ationHandlerImpl.java:109)

at

oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(Navigatio

nHandlerImpl.java:78)

at

org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(Nav

igationHandlerImpl.java:43)

at

com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)

at

oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingCo

mponent.java:90)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwi

tchingComponent.java:309)

at

oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchi

ngComponent.java:94)

at

oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:8

12)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292

)

at

oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

at

weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.j

ava:227)

at

weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.j

ava:97)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(Tri

nidadFilterImpl.java:420)

at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

Page 192: Install and Implement Rapid Planning-Version1

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(Tri

nidadFilterImpl.java:420)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilter

Impl.java:247)

at

org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.

java:157)

at

org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

at

oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletCo

ntext.java:3592)

at

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at

weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:22

02)

at

weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

>

f. Need to fix the errors to proceed … :o(

g. Don’t know why the plan options won’t save

h. An email response … stated to Install VCP 12.1.3.2 instead :o)

i. I pushed ahead … ;o) 4 rams ‘ablazin !!!

j. Tried to “Create Plan” again the next day, received a error

k. followed what the error popup stated

For more information, please see the server's error log for

and entry beginning with: Server Exception during PPR, #3

Page 193: Install and Implement Rapid Planning-Version1

Searched the Internet

And internally

Found Note

Mentioned the server may not be running

And check the server

I checked for port 7003 rp_ui_admin server’s port

And it appeared to be running

I didn’t think about any other port, so figured that was working

l. I logged in backend of weblogic server instance

And grepped for the error as requested in the popup.

[oraowls@wolfram logs]$ grep 'Server Exception during PPR, #3' *

RpUiAdminServer-diagnostic.log:[2011-01-21T09:25:26.290-07:00] [RpUiAdminServer]

[ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator]

[tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-

tuning)'] [userId: <anonymous>] [ecid: 0000IqdPGG2Fw000jzwkno1DDZWx000043,0]

[APP: OrpUI_EAR] Server Exception during PPR, #3[[

rp_ui_domain.log:####<Jan 21, 2011 9:25:26 AM MST> <Error>

<oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator>

<wolfram.us.oracle.com> <RpUiAdminServer> <[ACTIVE] ExecuteThread: '2' for

queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <>

<1295627126290> <BEA-000000> <Server Exception during PPR, #3

m. Searched: [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid:

[ACTIVE].ExecuteThread: '2' for queue 'Server Exception during PPR, #3'

Found:

CheckList For ODSM Page Launching / Loading / Displaying Problems Or Errors (Doc ID

972416.1)

Suggested Server not running

Check it netstat -an | grep 7005

I checked 7003 cuz that’s the port I was thinking of for the Ui

Server.

Page 194: Install and Implement Rapid Planning-Version1

[oraowls@wolfram logs]$ netstat -an | grep 7003

tcp 0 0 fe80::baac:6fff:fe1f:5:7003 :::* LISTEN

tcp 0 0 ::1:7003 :::* LISTEN

tcp 0 0 ::ffff:127.0.0.1:7003 :::* LISTEN

tcp 0 0 ::ffff:10.148.52.175:7003 :::* LISTEN

I did notice there were not Established connections… and thought that was curious …

but brushed it aside … ;o)

Thought about it a bit … … …

n. Even tho I was certain my Managed Server was running (I had checked it couple times

yesterday, and was receiving the error even then… ) I decided to check it … and if

anything, stop and re-start it, and try again to Create a Plan.

It was “Not Running”

It supposed to run on port 7005

o. Logged into RP Admin App

i. VCP instance: http://ptolemy.us.oracle.com:800

ii. Navigate > Advanced Planning Admin > Rapid Planning > Setup and

Configuration > Managed Servers tab

iii. Select the RpMgdSrv1

iv. Start Server

v. It started :o)

p. Checked the Port running as note stated this time using correct port

[oraowls@wolfram logs]$ netstat -an | grep 7005

tcp 0 0 ::ffff:127.0.0.1:7005 :::* LISTEN

tcp 0 0 ::ffff:127.0.0.1:7005 ::ffff:127.0.0.1:35756 ESTABLISHED

tcp 0 0 ::ffff:127.0.0.1:35756 ::ffff:127.0.0.1:7005 ESTABLISHED

[oraowls@wolfram logs]$

And sure enough… see the 1 LISTEN and 2 ESTABLISHED connections.

So… the note was correct… for that particular error at that particular time… not sure it

was same for previous 2 errors… but … certainly suggests … the servers were nt started

quite right when I did test yesterday.

NOTE: The Managed Server RpMgdSrv1 is listening on Port 7005. See that is bound to

localhost IP of 127.0.0.1. That will cause the error later on in this document when

launching the RP Planner. See the details in that Error Section of the Plan in this

document.

Page 195: Install and Implement Rapid Planning-Version1

q. I tested creating a Plan again,

r. By Golly, it worked too…

s. So, curiouser, and curiouser… not sure what was wrong or what got fixed, cuz I know I

tested creating the plan when managed server was running yesterday, and it errored.

t. So, in any case,

u. To Create a Plan

i. Rp ui admin server needs to be running

ii. Rp engine admin server needs to be running

iii. Rp managed server needs to be running

iv. Each of the ear file apps deployed need to be running

v. … bounce ‘em all, wait, then test again :o)

Save Plan

47. Ok, Create Plan > Save – as per above

Launch Plan 48. Launch Plan

a. Click Launch Plan

Page 196: Install and Implement Rapid Planning-Version1

b. Pick the Plan in the LOV

Page 197: Install and Implement Rapid Planning-Version1

Click Ok

c. The Following Popup reports Concurrent Request ID

Plan Status

d. The Following shows the Plan is Running

Select the Refresh Icon to see changed status.

e. The Following shows the Plan failed

f.

Page 198: Install and Implement Rapid Planning-Version1

Monitor Concurrent Requests on VCP instance

49. Monitor Concurrent Requests on VCP instance

a. Login VCP instance

b. View Requests

c. Export Requests lists

Page 199: Install and Implement Rapid Planning-Version1
Page 200: Install and Implement Rapid Planning-Version1

Concurrent Request Export

Request ID Name Parent Phase Status Parameters

5839477 Rapid Planner

Completed Error 95050, 5839451, 2

5839476 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RES_INST_AVL.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RES_INST_AVL.dat

5839475 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RESOURCE_INST.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RESOURCE_INST.dat

5839474 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEM_SUBSTITUTION.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEM_SUBSTITUTION.dat

5839473 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RES_AVL.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RES_AVL.dat

5839472 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RESOURCES.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RESOURCES.dat

5839471 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_OPER_COMP.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_OPER_COMP.dat

5839470 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_PROCESS_EFF.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_PROCESS_EFF.dat

5839469 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_SUPPLIER_CAPACITIES.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_SUPPLIER_CAPACITIES.dat

5839468 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEM_SUPPLIERS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEM_SUPPLIERS.dat

5839467 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_TRANS_RESOURCES.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_TRANS_RESOURCES.dat

5839466 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_OPER_RES.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_OPER_RES.dat

5839465 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_OPER_RES_SEQS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_OPER_RES_SEQS.dat

5839464 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ROUTING_OPERNS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ROUTING_OPERNS.dat

5839463 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ROUTINGS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ROUTINGS.dat

5839462 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RESERVATIONS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_RESERVATIONS.dat

5839461 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_SOURCING.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_SOURCING.dat

5839460 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_SUBSTITUTE_ITEMS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_SUBSTITUTE_ITEMS.dat

5839459 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_BOM_COMP.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_BOM_COMP.dat

5839458 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_BOM.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_BOM.dat

5839457 Loader Worker With Direct Load Option

Completed Normal CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEMS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEMS.dat

5839456 Snapshot Delete Worker

Completed Normal PLAN_ID=95050, SNAP_STATIC_ENTITIES=1, SNAPSHOT_DEL_WRK_REQ_ID=5839454, SNAPSHOT_MODE=1, MON_REQUEST_ID=5839453

5839455 Memory-Based Snapshot Worker

Completed Normal PLAN_ID=95050, SNAPSHOT_WORKER=1, MON_PNAME=mon_ORA$PIPE$015942860001, MON_REQUEST_ID=5839453, SNAPSHOT_MODE=1, SNAP_STATIC_ENTITIES=1

5839454 Snapshot Delete Worker

Completed Normal PLAN_ID=95050, SNAP_STATIC_ENTITIES=1, SNAPSHOT_MODE=1, MON_REQUEST_ID=5839453

5839453 Snapshot Monitor

Completed Normal PLAN_ID=95050, REQUEST_ID=5839451, IN_PIPE=mon_ORA$PIPE$015942860001, OUT_PIPE=snp_ORA$PIPE$015942860001, SNAPSHOT_MODE=1, SNAP_STATIC_ENTITIES=1

5839451 Memory-Based Snapshot

Completed Normal 95050, 2, 0, 0, 0, 1, 1

5838913 Create APS Partitions

Completed Normal

1, 0

Page 201: Install and Implement Rapid Planning-Version1

d. View Log File

Error - WARNING: Unable to connect to URL

MSCORP module: Rapid Planner – errored log MSCORP module: Rapid Planner +---------------------------------------------------------------------------+ Advanced Supply Chain Planning: Version : 12.0.0 Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved. MSCORP module: Rapid Planner +---------------------------------------------------------------------------+ Current system time is 21-JAN-2011 11:15:16 +---------------------------------------------------------------------------+ RapidPlanning Engine : Start ******************************************************** JVM Maximum Memory Available : 2130968576 bytes JVM Free Memory Available : 57788176 bytes ******************************************************** RapidPlanning Engine - Arguments PLAN_ID : 95050 SNAPSHOT_REQ_ID : 5839451 BATCH_PROCESS : 2 Launching RP in WS MODE TimeOut=86400000 Updating start time id=1 planId=-1 url= http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl start_time= 0 Fri Jan 21 11:15:19 MST 2011 [WSPOOL] Enter getWebService. planId=95050 Fri Jan 21 11:15:19 MST 2011 [WSPOOL] Pool status Fri Jan 21 11:15:19 MST 2011 [WSPOOL] id=1 planId=-1 url= http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl start_time= 0 Fri Jan 21 11:15:19 MST 2011 [WSPOOL] Assign ws http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl to plan 95050 Fri Jan 21 11:15:19 MST 2011 [WSPOOL] update MSC.MSC_WEB_SERVICES set PLAN_ID=?, START_TIME=? where WEB_SERVICE_ID=? Fri Jan 21 11:15:19 MST 2011 [WSPOOL] Return http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl Webservice Invocation :Start URL:http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl WARNING: Unable to connect to URL: http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174) at oracle.j2ee.ws.client.http.HttpClientTransport.invokeOneWay(HttpClientTransport.java:154)

Page 202: Install and Implement Rapid Planning-Version1

at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175) at oracle.j2ee.ws.client.StreamingSender._sendOneWay(StreamingSender.java:133) at oracle.apps.msc.orp.ws.client.runtime.RapidPlanningServiceSoapBinding_Stub.launchPlan(RapidPlanningServiceSoapBinding_Stub.java:78) at oracle.apps.msc.orp.ws.client.RapidPlanningPortClient.launchPlan(RapidPlanningPortClient.java:51) at oracle.apps.msc.orp.engine.ORPEngine.launchWebService(ORPEngine.java:179) at oracle.apps.msc.orp.engine.ORPEngine.runProgram(ORPEngine.java:127) at oracle.apps.fnd.cp.request.Run.main(Run.java:157) CAUSE: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174) at oracle.j2ee.ws.client.http.HttpClientTransport.invokeOneWay(HttpClientTransport.java:154) at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175) at oracle.j2ee.ws.client.StreamingSender._sendOneWay(StreamingSender.java:133) at oracle.apps.msc.orp.ws.client.runtime.RapidPlanningServiceSoapBinding_Stub.launchPlan(RapidPlanningServiceSoapBinding_Stub.java:78) at oracle.apps.msc.orp.ws.client.RapidPlanningPortClient.launchPlan(RapidPlanningPortClient.java:51) at oracle.apps.msc.orp.engine.ORPEngine.launchWebService(ORPEngine.java:179) at oracle.apps.msc.orp.engine.ORPEngine.runProgram(ORPEngine.java:127) at oracle.apps.fnd.cp.request.Run.main(Run.java:157) Caused by: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:158) at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:167) ... 8 more Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at java.security.AccessController.doPrivileged(Native Method) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:154) ... 9 more Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:503) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:953) ... 11 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:209) at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:202) at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3343) at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4052) at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3169) at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:421) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:767)

Page 203: Install and Implement Rapid Planning-Version1

at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:411) ... 12 more CAUSE: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174) at oracle.j2ee.ws.client.http.HttpClientTransport.invokeOneWay(HttpClientTransport.java:154) at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175) at oracle.j2ee.ws.client.StreamingSender._sendOneWay(StreamingSender.java:133) at oracle.apps.msc.orp.ws.client.runtime.RapidPlanningServiceSoapBinding_Stub.launchPlan(RapidPlanningServiceSoapBinding_Stub.java:78) at oracle.apps.msc.orp.ws.client.RapidPlanningPortClient.launchPlan(RapidPlanningPortClient.java:51) at oracle.apps.msc.orp.engine.ORPEngine.launchWebService(ORPEngine.java:179) at oracle.apps.msc.orp.engine.ORPEngine.runProgram(ORPEngine.java:127) at oracle.apps.fnd.cp.request.Run.main(Run.java:157) Caused by: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:158) at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:167) ... 8 more Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused at java.security.AccessController.doPrivileged(Native Method) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:154) ... 9 more Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:503) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:953) ... 11 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:209) at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:202) at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3343) at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4052) at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3169) at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:421) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:767) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:411) ... 12 more ******************************************************** JVM Maximum Memory Available : 2130968576 bytes JVM Free Memory Available : 56657456 bytes ********************************************************

Page 204: Install and Implement Rapid Planning-Version1

RapidPlanning Engine : End +---------------------------------------------------------------------------+

Solution – Error WARNING: Unable to connect to URL

Error

WARNING: Unable to connect to URL: http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused HTTP transport error: javax.xml.soap.SOAPException:

The Error is caused (in this case) by: The Managed Server’s Address and the DNS Name or local host file setup.

Wolfram.us.oracle.com hosts file ------ [oraowls@wolfram logs]$ more /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 wolfram.us.oracle.com wolfram localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.148.52.175 wolfram.us.oracle.com wolfram ##10.148.52.175 wolfram 10.148.53.35 ptolemy.us.oracle.com ptolemy

As defined in the RP Admin app > Managed Servers > Address field

In the above example, The Managed Servers (both) are defined with Address = wolfram.us.oracle.com

Page 205: Install and Implement Rapid Planning-Version1

We found the Service running for Port 7005 (for RpMgdSrv1) was connected to LocalHost 127.0.0.1 using netstat –a –t –n|grep 7005 netstat -a -t -n|grep 7005

In that screenshot we already shutdown that server and waiting for it to complete… but can still see that it was running for 127.0.0.1 Hence, the following URL run from the local machine works, yet from any other machine like our laptop or the RP Planner … cannot get to it. http://wolfram.us.oracle.com:7005/rp/RapidPlanningService

If you can get to that URL for the Managed Server in question Then so can RP Planner So, after starting up a Managed Server, Test it’s URL like above. As we have the other RpMgdSrv2 running previously to our fixing the problem for managed server1 … we can check if 2nd managed server will have the same problem

[oraowls@wolfram logs]$ netstat -a -t -n |grep 7007 tcp 0 0 ::ffff:127.0.0.1:7007 :::* LISTEN tcp 0 0 ::ffff:127.0.0.1:57050 ::ffff:127.0.0.1:7007 ESTABLISHED [oraowls@wolfram logs]$

From that we can see that RpMgdSrv2 on Port 7007 is LISTENing at 127.0.0.1:7007 So sure enough, if we try to go it’s equivalent URL,

Page 206: Install and Implement Rapid Planning-Version1

We’ll find it errors And if we launched an RP Plan that used that managed server it would fail too. As shown here

Root Cause:

Hosts file on wolfram.us.oracle.com incorrectly defined So when RP Managed Server starting tries to resolve the Address for Wolfram.us.oracle.com, it pulls back the IP address of 127.0.0.1 (localhost) and starts the server there, causing our error.

Fix:

Repair the hosts file and ensure that it is correct Untested, but we believe : ensuring that the actual IP Address 10.148.52.175 line before the 127.0.0.1 localhost line

[oraowls@wolfram logs]$ more /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 10.148.52.175 wolfram.us.oracle.com wolfram 10.148.53.35 ptolemy.us.oracle.com Ptolemy 127.0.0.1 wolfram.us.oracle.com wolfram localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6

a. remove wolfram.us.oracle.com wolfram from the localhost line

Page 207: Install and Implement Rapid Planning-Version1

127.0.0.1 localhost.localdomain localhost

Valid Workaround:

Change the Managed Servers address to the IP (10.148.52.175) instead of Hostname (wolfram.us.oracle.com) using RP Engine Admin Console. And Edit the RpMgdSrv1 > Configuration > General > Listen Address Lock & Edit Pick the RpMgdSrv1 Configuration > General tab Change Listen Address From: wolfram.us.oracle.com To: 10.148.52.175

Stop/Restart the Managed Server Verify it is LISTEN ing at the IP address not the localhost.

[oraowls@wolfram logs]$ netstat -a -t -n |grep 7005 tcp 0 0 ::ffff:10.148.52.175:7005 :::* LISTEN

See it is now LISTENing on IP Address 10.148.52.175:7005 Not the previously incorrect 127.0.0.1:7005 Note: once a managed server is defined and saved in the RP Admin app, You can only DELETE and CREATE not edit the definition. It can be EDITed in the RP Engine Admin Console.

Page 208: Install and Implement Rapid Planning-Version1

but would be recommended to delete and recreate

or ensure that the HOST file is accurate

so the hostname sent can be resolved to the IP not localhost. And, finally, an excerpt from WebLogic Help in the Admin Console regarding the Listen Address Listen Address

e. So, Continue where we left … the Test Case and get a RP Plan launched successfully.

See the RP Planner completed successfully

Page 209: Install and Implement Rapid Planning-Version1

Open the RP UI Workbench,

And … find the plan still failed for yet another reason… :o(

Plan Status: Plan input directory is not a valid directory. The input files

were removed. Please rerun the snapshot.

Page 210: Install and Implement Rapid Planning-Version1

Error - Plan Status: Plan input directory is not a valid directory. The input files were

removed. Please rerun the snapshot.

We shouldn’t be getting this error on our environment.

It is due to the APPLCSF directory and where the Snapshots dat file are.

I had set the APPLCSF and Mounted it from VCP box to WebLogic box.

I discovered … that it was not actually mounted anymore.

During our tring to fix the initial plan error,

We bounced the WebLogic box,

And as I had not setup the Mount to be automatic everytime it is reboot,

The mount was not existing anymore.

So, I have to re-mount the APPLCSF after the reboot.

Root Cause:

APPLCSF environment variable not set

Or

APPLCSF not mounted

Or

The DAT files that should have been in that location are not anymore.

Solution - Plan Status: Plan input directory is not a valid directory. The input files were

removed. Please rerun the snapshot.

Ensure APPLCSF directory exists exactly same on both environments

Ensure it is mounted to the VCP instance

Ensure the DAT files for the Plan_ID are in that location

If RP Plan still fails for same/similar issue even when $APPLCSF is defined and is mounted and

the dat file do exist, then it would most likely be the Managed Server doesn’t know where

APPLCSF is…

So,

May need to append this to the Start Server Arguments for that managed server in WebLogic RP

Engine Admin Console.

-DAPPLCSF=$APPLCSF

Page 211: Install and Implement Rapid Planning-Version1

Well, ours still doesn’t recognize the APPLCSF directory properly … I remouted it and verified it was

working and I could list the contents … but still plan fails.

Reviewed the RP Engine’s Log file in this location

[oraowls@wolfram log]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/log [oraowls@wolfram log]$ ls rpengine7005.log rpengine7005.log.lck [oraowls@wolfram log]$ ls -ailrt total 28 64389522 drwxr-x--- 14 oraowls oraowls 4096 Jan 28 19:12 .. 64750550 -rw-r----- 1 oraowls oraowls 0 Feb 3 18:56 rpengine7005.log.lck 64751181 drwxrwxr-x 2 oraowls oraowls 4096 Feb 3 18:56 . 64750552 -rw-r----- 1 oraowls oraowls 1791 Feb 3 19:05 rpengine7005.log [oraowls@wolfram log]$ more rpengine7005.log

Thu Feb 03 18:56:49 MST 2011 logFilePath=/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain /log/rpengine7005.log Thu Feb 03 18:56:49 MST 2011 wsdl=http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl

Page 212: Install and Implement Rapid Planning-Version1

Thu Feb 03 18:56:49 MST 2011 sql1=UPDATE MSC_WEB_SERVICES SET PLAN_ID=-1 WHERE PLAN_ID=9999999 Thu Feb 03 18:56:49 MST 2011 sql2=UPDATE MSC_PLANS SET LOADED_FLAG=0 WHERE PLAN_ID=9999999 Thu Feb 03 19:05:05 MST 2011 LAUNCH PLAN sql=UPDATE MSC_PLANS SET STATUS=1 WHERE PLAN_ID=95050 Thu Feb 03 19:05:05 MST 2011 planId=95050 basePlanId=0 Thu Feb 03 19:05:05 MST 2011 Enter _loadUserActions() Thu Feb 03 19:05:05 MST 2011 Successfully get connection weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_d river_T4CConnection@e Thu Feb 03 19:05:05 MST 2011 sql=select ACTION_ID,ACTION_TYPE,TABLE_NAME,ACTION,PLAN_VERSION from MSC.MSC_U SER_ACTIONS where PLAN_ID=95050 order by ACTION_ID {} {} Thu Feb 03 19:05:05 MST 2011 uaTable={} Thu Feb 03 19:05:05 MST 2011 Solve plan95050 Thu Feb 03 19:05:05 MST 2011 sql=SELECT FILE_NAME FROM MSC_FILES where plan_id=95050 and FILE_TYPE=10 Thu Feb 03 19:05:05 MST 2011 itemFilePath=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data950 50/mbpoutput/MSLD_ITEMS.dat Thu Feb 03 19:05:05 MST 2011 APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/ Thu Feb 03 19:05:05 MST 2011 read APPLCSF from system property Thu Feb 03 19:05:05 MST 2011 read APPLCSF from orp.properties Thu Feb 03 19:05:05 MST 2011 APPLCSF is not a valid directory:/slot/ems2940/appmgr/inst/apps/ma0st220_rws60144rems/logs/appl/conc/out sql=UPDATE MSC_PLANS SET STATUS=52 WHERE PLAN_ID=95050 LaunchPlan :: Time in MS : 294 :: Memory usage in MB: 7 Thu Feb 03 19:05:05 MST 2011 EXIT LAUNCH PLAN

Searched… but found little … this Bug … and doesn’t really resolve the problem.

Bug 9461178 92 APPLCSF IS NOT A VALID DIRECTORY ERROR WHEN RUNNING

RAPID PLAN

Abstract: APPLCSF IS NOT A ... ------- APPLCSF is not a valid

directory:/slot/ems2940/appmgr/inst/apps/ma0st220_rws60144rems/logs/appl

States to clear cache … but doesn’t state where.

The error reports the APPLCSF as something totally unrelated to my install with this in the path: ma0st220_rws60144rems

So, it looks the program reads the applcsf from VCP instance

And also reads the same one it gets to the WebLogic instance

In this case, looks like it couldn’t find the correct APPLCSF setting, and defaulted an incorrect

one.

Not sure where to fix it yet…

So stuck again.

Page 213: Install and Implement Rapid Planning-Version1

Ok, I believe I resolved it …

Simply,

The APPLCSF directory structure from VCP instance environment

Must be exactly created on the WebLogic instance environment.

ERROR: Import directory is not a valid directory

to see the error,

check the RP Engine's Log File for the Plan that ran and failed

the RP Engine's log file is in the rp_engine_domain/log directory

by a name that includes the PORT of the Managed Server that it connected to.

[oraowls@wolfram log]$ pwd

/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/log

[oraowls@wolfram log]$ ls -ail

total 72

64751181 drwxrwxr-x 2 oraowls oraowls 4096 Feb 5 20:39 .

64389522 drwxr-x--- 14 oraowls oraowls 4096 Jan 28 19:12 ..

64750552 -rw-r----- 1 oraowls oraowls 11386 Feb 5 14:38 rpengine7005.log

64751428 -rw-r----- 1 oraowls oraowls 12269 Feb 5 20:39 rpengine7007.log

64751430 -rw-r----- 1 oraowls oraowls 9578 Feb 5 20:39 rpengine7007.log.1

64751429 -rw-r----- 1 oraowls oraowls 0 Feb 5 20:39 rpengine7007.log.1.lck

64751423 -rw-r----- 1 oraowls oraowls 0 Feb 5 16:05 rpengine7007.log.lck

[oraowls@wolfram log]$ more rpengine7007.log

Sat Feb 05 16:05:01 MST 2011

logFilePath=/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain

/log/rpengine7007.log

Sat Feb 05 16:05:01 MST 2011

wsdl=http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl

Sat Feb 05 16:05:01 MST 2011 sequenceSQL=SELECT MSC.MSC_WEB_SERVICES_S.NEXTVAL

FROM dual

Sat Feb 05 16:05:01 MST 2011 newId=21

Sat Feb 05 16:05:01 MST 2011 insertSQL=insert into MSC.MSC_WEB_SERVICES

(WEB_SERVICE_ID, PLAN_ID, URL, LAST

_UPDATE_DATE, LAST_UPDATED_BY, creation_date, created_by) values(?,?,?,?,?,?,?)

Sat Feb 05 18:21:18 MST 2011 LAUNCH PLAN

sql=UPDATE MSC_PLANS SET STATUS=1 WHERE PLAN_ID=95050

Sat Feb 05 18:21:18 MST 2011 planId=95050 basePlanId=0

Sat Feb 05 18:21:18 MST 2011 Enter _loadUserActions()

Sat Feb 05 18:21:18 MST 2011 Successfully get connection

weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_d

river_T4CConnection@13

Page 214: Install and Implement Rapid Planning-Version1

Sat Feb 05 18:21:18 MST 2011 sql=select

ACTION_ID,ACTION_TYPE,TABLE_NAME,ACTION,PLAN_VERSION from MSC.MSC_U

SER_ACTIONS where PLAN_ID=95050 order by ACTION_ID

{}

{}

Sat Feb 05 18:21:18 MST 2011 uaTable={}

Sat Feb 05 18:21:18 MST 2011 Solve plan95050

Sat Feb 05 18:21:18 MST 2011 sql=SELECT FILE_NAME FROM MSC_FILES where

plan_id=95050 and FILE_TYPE=10

Sat Feb 05 18:21:18 MST 2011

itemFilePath=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data950

50/mbpoutput/MSLD_ITEMS.dat

Sat Feb 05 18:21:18 MST 2011

APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/

Sat Feb 05 18:21:18 MST 2011 Import directory is not a valid

directory:/u01/vcp/applmgr/inst/apps/VCP_ptole

my/logs/appl/conc/out//data95050/mbpoutput

sql=UPDATE MSC_PLANS SET STATUS=52 WHERE PLAN_ID=95050

LaunchPlan :: Time in MS : 236 :: Memory usage in MB: 0

Sat Feb 05 18:21:18 MST 2011 EXIT LAUNCH PLAN

SOLUTION: Import directory is not a valid directory

Mount APPLCSF – properly :o)

========================================

1. Get and Share $APPLCSF from VCP Instance machine: ptolemy.us.oracle.com

-- If there is a failure,

-- Also ensure to verify the directory written in MSC_FILES for that RP PLAN

On VCP instance machine: ptolemy.us.oracle.com,

[applmgr@ptolemy out]$ echo $APPLCSF

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

[applmgr@ptolemy out]$ more /etc/exports

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc 10.148.52.175(rw,sync)

make it a permanent share as required

so setting is not lost on reboot of machine

2. Create the APPLCSF directory wolfram exactly as is on ptolemy.

On WebLogic machine: wolfram.us.oracle.com,

make this directory structure:

Page 215: Install and Implement Rapid Planning-Version1

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

mkdir -p /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

3. Mount that directory from VCP to WebLogic

On WebLogic machine: wolfram.us.oracle.com,

mount -t nfs

ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

make it a permanent mount as required

so setting is not lost on reboot of machine

4. Does this even need set? on worlfram for the oraowls user environment???

set the APPLCSF environemnt variable

APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

export APPLCSF;

Page 216: Install and Implement Rapid Planning-Version1

View RP Plan in RP UI Workbench - Finally, RP Plan Success! 50. Finally, The EE-RP-1 Plan Completed Successfully

a. The Snapshot Complete

b. The RP Planner Completed

c. The RP WebService Completed

d. The Plan was available in the RP UI Workbench.

Completed Requests

Requests Export

Request ID Name Parent

Phase

Status Parameters

584290

8 Rapid Planner

Completed

Normal 95050, 5842900, 2

584290

7

Loader Worker With Direct Load Option

Completed

Normal

CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEM_SUBSTITUTION.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEM_SUBSTITUTION.dat

584290

6

Loader Worker With Direct Load Option

Completed

Normal

CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_TRANS_RESOURCES.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_TRANS_RESOURCES.dat

584290

5 Snapshot Delete Worker

Completed

Normal

PLAN_ID=95050, SNAP_STATIC_ENTITIES=1, SNAPSHOT_DEL_WRK_REQ_ID=5842902, SNAPSHOT_MODE=1, MON_REQUEST_ID=5842901

584290

4

Loader Worker With Direct Load Option

Completed

Normal

CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEMS.ctl, DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/MSLD_ITEMS.dat

584290

3

Memory-Based Snapshot Worker

Completed

Normal

PLAN_ID=95050, SNAPSHOT_WORKER=1, MON_PNAME=mon_ORA$PIPE$00F30A3D0001, MON_REQUEST_ID=5842901, SNAPSHOT_MODE=1, SNAP_STATIC_ENTITIES=1

Page 217: Install and Implement Rapid Planning-Version1

RP UI Workbench

51. Now we’d need to create and start a new Managed Server 2 in RP Admin app, and

Associate that Managed Server to the rpws RP Engine Deployment in Rp Engine Admin

Console to open two plans.

Page 218: Install and Implement Rapid Planning-Version1

Summary of Servers and Logins 52. Summary of Servers and Logins

VCP Instance Server VCP Instance Server

Hostname: ptolemy.us.oracle.com

telnet/ftp applmgr/applmgr

oracle/oracle

sqlplus apps/apps

sid: vcp 1521

VCP Applications Login VCP Applications Login

http://ptolemy.us.oracle.com:8000

WebLogic Instance Server WebLogic Instance Server

Hostname: wolfram.us.oracle.com

telnet/ftp wolfram/wolfram

oraowls/oraowls

mw_home=/u01/vcp/oraowls/middleware

owls_home=/u01/vcp/oraowls/middleware/owls1032

RP Engine Administration Console RP Engine Administration Console

http://wolfram.us.oracle.com:7001/console

rp_engine_domain=/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_

domain

Admin Server: RpEngineAdminServer

RP Engine Administration Username/Password: rp_engine_admin / rp_engine_admin

Page 219: Install and Implement Rapid Planning-Version1

RP UI Administration Console RP UI Administration Console

http://wolfram.us.oracle.com:7003

http://wolfram.us.oracle.com:7003/console

rp_ui_domain=/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain

Admin Server: RpUiAdminServer

RP UI Administration Username/Password: rp_ui_admin / rp_ui_admin

RP Admin Application RP Admin Application

Login VCP: http://ptolemy.us.oracle.com:8000

Login to the VCP Applications > Advanced Planning Administrator > Rapid

Planning > Setup and Configuration

The RP Admin App opens:

Page 220: Install and Implement Rapid Planning-Version1

Configuration tab

Managed Servers tab

Page 221: Install and Implement Rapid Planning-Version1

RP Plan UI (Workbench) RP Plan UI (Workbench)

Login VCP: http://ptolemy.us.oracle.com:8000

Login to the VCP Applications > Oracle Supply Chain Simulation Planner >

Plans, Inputs and Simulations

Page 222: Install and Implement Rapid Planning-Version1

RP Server Log Files RP Server Log Files

$MW_HOME/user_projects/domains/<domain_name>/servers/<admin_or_managed_server_name>

Rp Ui Admin Server (RpUiAdminServer) Log files:

----------------------------- [oraowls@wolfram logs]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminServer/logs [oraowls@wolfram logs]$ ls access.log RpUiAdminServer.log RpUiAdminServer-diagnostic.log rp_ui_domain.log

Rp Engine Admin Server (RpEngineAdminServer) Log files:

----------------------------- [oraowls@wolfram RpEngineAdminServer]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/servers/RpEngineAdminServer/logs [oraowls@wolfram logs]$ ls –l logs

access.log RpEngineAdminServer.log rp_engine_domain.log

RP Managed Server 1 (RpMgdSrv1) Log Files

----------------------------- [oraowls@wolfram RpMgdSrv1]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/servers/RpMgdSrv1

[oraowls@wolfram RpMgdSrv1]$ ls -l logs

access.log jmsServers RpMgdSrv1.log

Page 223: Install and Implement Rapid Planning-Version1

RP Plan Engine’s Server Log file

the RP Engine's log file is in the rp_engine_domain/log directory

by a name that includes the PORT of the Managed Server that it connected to.

[oraowls@wolfram log]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/log [oraowls@wolfram log]$ ls -ail total 72 64751181 drwxrwxr-x 2 oraowls oraowls 4096 Feb 5 20:39 . 64389522 drwxr-x--- 14 oraowls oraowls 4096 Jan 28 19:12 .. 64750552 -rw-r----- 1 oraowls oraowls 11386 Feb 5 14:38 rpengine7005.log 64751428 -rw-r----- 1 oraowls oraowls 12269 Feb 5 20:39 rpengine7007.log 64751430 -rw-r----- 1 oraowls oraowls 9578 Feb 5 20:39 rpengine7007.log.1 64751429 -rw-r----- 1 oraowls oraowls 0 Feb 5 20:39 rpengine7007.log.1.lck 64751423 -rw-r----- 1 oraowls oraowls 0 Feb 5 16:05 rpengine7007.log.lck [oraowls@wolfram log]$ more rpengine7007.log

RP Planner’s Log file:

Using Managed Server on Port 7007 for this Successful Plan run. Finally ! :o) Oracle VCP Applications > View Requests +---------------------------------------------------------------------------+ Advanced Supply Chain Planning: Version : 12.0.0 Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved. MSCORP module: Rapid Planner +---------------------------------------------------------------------------+ Current system time is 05-FEB-2011 20:39:15 +---------------------------------------------------------------------------+ RapidPlanning Engine : Start ******************************************************** JVM Maximum Memory Available : 2130968576 bytes JVM Free Memory Available : 58506256 bytes ******************************************************** RapidPlanning Engine - Arguments PLAN_ID : 95050 SNAPSHOT_REQ_ID : 5842900 BATCH_PROCESS : 2 Launching RP in WS MODE TimeOut=86400000 Updating start time id=1 planId=9999999 url= http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl start_time= 1296940744795 id=21 planId=95050

Page 224: Install and Implement Rapid Planning-Version1

url= http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl start_time= 1296955270577 Sat Feb 05 20:39:17 MST 2011 [WSPOOL] Enter getWebService. planId=95050 Sat Feb 05 20:39:17 MST 2011 [WSPOOL] Pool status Sat Feb 05 20:39:17 MST 2011 [WSPOOL] id=1 planId=9999999 url= http://wolfram.us.oracle.com:7005/rp/RapidPlanningService?wsdl start_time= 1296940744795 id=21 planId=95050 url= http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl start_time= 1296955270577 Sat Feb 05 20:39:17 MST 2011 [WSPOOL] Find a ws with planId=95050 Sat Feb 05 20:39:17 MST 2011 [WSPOOL] Return http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl Webservice Invocation :Start URL:http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl Webservice Invocation :End Updating the completion time ******************************************************** JVM Maximum Memory Available : 2130968576 bytes JVM Free Memory Available : 57915992 bytes ******************************************************** RapidPlanning Engine : End +---------------------------------------------------------------------------+ End of log messages from FND_FILE +---------------------------------------------------------------------------+ +---------------------------------------------------------------------------+ No completion options were requested. Output file size: 0 +---------------------------------------------------------------------------+ Concurrent request completed successfully Current system time is 05-FEB-2011 20:39:18 +---------------------------------------------------------------------------+

53. Clean Up Documents and installations notes… :o) – done

54. Summarize the Implementation – done

55. Create a Document Tree/Index – done

56. Finish and Link in the WebLogic/ADF Installation – done

57. Create a Power Point to present it – done

58. Done.

Page 225: Install and Implement Rapid Planning-Version1

Additional Information Additional Information

Troubleshooting Troubleshooting

Start and Stop server problems

Unable to obtain a lock when starting Note: Weblogic Fails To Start With Error "Unable To Obtain Lock" (Doc ID 957377.1)

[oraowls@wolfram user_projects]$ find . -name "*DAT"|grep rp_ui ./domains/rp_ui_domain/servers/RpUiAdminServer/data/store/default/_WLS_RPUIADMINSERVER000000.DAT ./domains/rp_ui_domain/servers/RpUiAdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT

Remove those two files. Remove the *.lok files

[oraowls@wolfram tmp]$ pwd /u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdminServer/tmp [oraowls@wolfram tmp]$ ls RpUiAdminServer.lok WebServiceUtils.ser _WL_internal _WL_user [oraowls@wolfram user_projects]$ find . -name "*lok"|grep rp_ui ./domains/rp_ui_domain/edit.lok ./domains/rp_ui_domain/config/config.lok ./domains/rp_ui_domain/servers/RpUiAdminServer/tmp/RpUiAdminServer.lok ./domains/rp_ui_domain/servers/RpUiAdminServer/data/ldap/ldapfiles/EmbeddedLDAP.lok

*.lok files ------- What are the .lok Files Used For in a WebLogic Server (WLS) Domain? (Doc ID 943790.1)

Logging into the RP Admin Console Application Problems

-------

Page 226: Install and Implement Rapid Planning-Version1

After Deploying the RP Admin application, the Installation Guide states to log into it at the URL

mentioned … /rpadmin/faces…..

I attempted to and found several problems … all related to the fact I hadn’t actually finished

implementing the RP product on the VCP instance, as well as, … not quite understanding the

Installation Guide instructions and information.

First problem … was due to pointing to incorrect URL to login to the RP Admin application.

The RP Admin Application … deployed across two instances: VCP e-buisiness suite

instance on Ptolemy.us.oracle.com and WebLogic RP UI Domain and RP Engine Domains

on the WebLogic installation server Wolfram.us.oracle.com where the RP Admin

application is deployed.

The Login to the RP Admin is at the VCP instance

Which redirects to the WebLogic deployment of the Application itself… which … also…

when the engine actually runs, gets its data through it’s own JDBC connection

rp_vcp_ds_1 and $APPLCSF directory for data files from the VCP instance database,

presents it in the RP UI Application from the WebLogic deployment of ui.ear.

I noticed in the log files (shell console on linux weblogic server) for the ui domain an error

related to the JDBC connection and pointing to ma0dv220v instance and connection

information. That ought not be hard coded anywhere.

Caused By: javax.naming.LinkException: [Root exception is

javax.naming.NameNotFoundException: Unable to resolve 'jdbc.ma0dv220DS'. Resolved 'jdbc';

remaining name 'ma0dv220DS']; Link Remaining Name: 'jdbc/ma0dv220DS'

That could be resolved by …

Creating the JDBC connections in the RP UI Admin Server exactly as defined in the

Installation Guide; using the same exact name that is … But that would incorrect. Person

creating that one in the error message used the database SID as part of the name of the

JDBC connection… so I want to be able to do the same… :o) my SID is VCP so, I want the

JDBC connection Name and JNDI Description to have VCP in it … such as rp_vcp_ds2 and

rp_vcp_ds1.

Ensure to Monitor the UI and Engine Admin Server Log files either on the file system

Or via the shell console

Page 227: Install and Implement Rapid Planning-Version1

And see errors or warnings that might provide further information such as the above

Complaining about the records from msc_web_services … which still needs investgated further

… when running the RP Admin application

Solution to the msc_web_services.

-- record is written to msc_web_services when the Managed Server is created and RP Plan is

Launched.

PLAN_ID = -1 – is an available web service

PLAN_ID = 9999999 – apparently is Unavialable service

PLAN_ID = actual PLAN_ID of the RP Plan, then the plan is currently using that service.

Page 228: Install and Implement Rapid Planning-Version1
Page 229: Install and Implement Rapid Planning-Version1

Mount APPLCSF notes

NOTE: These notes or steps below are NOT accurate. The APPLCSF directory structure that exists on VCP

instance, MUST BE CREATED SAME on the WebLogic environment… same directory structure. In the steps below,

I attempted to just mount any WebLogic directory to the APPLCSF… but that did NOT work.

SHARED LOG/DATA FILE DIRECTORY ============================== Mount the Shared Directory -------------------------- APPLCSF environment variable needs set on the WebLogic Server where RP engine is deployed PTOLEMY - EBS (centralized VCP) Instance ======================================== login as: applmgr [email protected]'s password: Last login: Tue Dec 28 16:10:51 2010 from dhcp-rmdc-twvpn-1-vpnpool-10-159-1-225.vpn.oracle.com [applmgr@ptolemy ~]$ ls 10_1_3_env oas1012UpgradeBasicSteps.txt adctrl.log oas1012UpgradeBasicSteps.txt~ apps_start_stop.txt ora_inventory_output.txt APPSVCP_ptolemy.env patches bobs prefs.ora dagoddar scripts Dem_End2End_CaseStudyversion1.7z top.txt Desktop trace.txt FLAT_FILE_TESTING VCP_ora_17894_DAG.trc gerry VCP_ora_32725_DAG.trc L5809255.log VCP_ora_7531_DAG.trc oas1012patchgap VCP_ptolemy.env oas1012reqpat Viewlets [applmgr@ptolemy ~]$ cd $MSC_TOP/ [applmgr@ptolemy 12.0.0]$ ls admin dist help java log mesg patch xml bin forms html lib mds out sql [applmgr@ptolemy 12.0.0]$ ls dist/orp engine.zip orp_readme.txt RPAdmin.zip ui.zip [applmgr@ptolemy 12.0.0]$ cd dist/orp [applmgr@ptolemy orp]$ ls engine.zip orp_readme.txt RPAdmin.zip ui.zip [applmgr@ptolemy orp]$ unzip -l engine.zip

Archive: engine.zip $Header: engine.zip 120.46.12010000.68 2010/08/31 13:08 mkpatel ship $ Length Date Time Name -------- ---- ---- ---- 6444171 08-31-10 11:26 rpws.ear 14473 08-31-10 11:26 readme.txt 0 08-31-10 11:02 install/ -------- ------- 6458644 3 files

[applmgr@ptolemy orp]$ unzip -l RPAdmin.zip

Archive: RPAdmin.zip $Header: RPAdmin.zip 120.0.12010000.6 2010/04/29 02:37 nyell $ Length Date Time Name -------- ---- ---- ---- 0 04-28-10 15:54 RPAdmin/WLST_scripts/ 0 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.properties 11562 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.py 1119 12-17-09 02:05 RPAdmin/WLST_scripts/CreateServer.sh 5812 12-17-09 02:05 RPAdmin/WLST_scripts/DeleteServer.py 839 12-17-09 02:05 RPAdmin/WLST_scripts/DeleteServer.sh 3392 12-17-09 02:05 RPAdmin/WLST_scripts/EngineInitialSetup.py 1200 12-17-09 02:05 RPAdmin/WLST_scripts/InitialEngineSetup.sh 691 12-17-09 02:05 RPAdmin/WLST_scripts/InitialSetup.sh 3098 12-17-09 02:05 RPAdmin/WLST_scripts/StartManServer.py 715 12-17-09 02:05 RPAdmin/WLST_scripts/StartManServer.sh

Page 230: Install and Implement Rapid Planning-Version1

282 12-17-09 02:05 RPAdmin/WLST_scripts/startServer.sh 2833 12-17-09 02:05 RPAdmin/WLST_scripts/StopManServer.py 702 12-17-09 02:05 RPAdmin/WLST_scripts/StopManServer.sh 299 12-17-09 02:05 RPAdmin/WLST_scripts/stopServer.sh 633 12-17-09 02:05 RPAdmin/WLST_scripts/WLST_Config.properties 3408936 04-28-10 16:44 RPAdmin/ORPAdmin.ear 0 04-28-10 15:56 RPAdmin/ -------- ------- 3442113 18 files

[applmgr@ptolemy orp]$ unzip -l ui.zip

Archive: ui.zip $$Header: ui.zip 120.65.12010000.96 2010/09/08 17:46 shaohuan ship $ Length Date Time Name -------- ---- ---- ---- 86782367 09-08-10 18:41 OrpUI_EAR.ear 2007 04-10-09 18:34 readme.txt -------- ------- 86784374 2 files

[applmgr@ptolemy orp]$ more orp_readme.txt

/* $Header: orp_readme.txt 120.1.12010000.2 2009/09/02 08:21:04 sjeevani noship $ */ Oracle Rapid Planning (ORP) is Oracle web-base Supply Chain Planning application . It contains two web applications UI and Engine. Intall Engine Application =========================== unzip engine.zip and follow the readme inside the zip file. Install UI Application =========================== unzip ui.zip and follow the readme inside the zip file

[applmgr@ptolemy orp]$ echo $APPLCSF /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc [applmgr@ptolemy orp]$ ls $APPLCSF inbound log out outbound [applmgr@ptolemy orp]$ ls engine.zip orp_readme.txt RPAdmin.zip ui.zip [applmgr@ptolemy orp]$ pwd /u01/vcp/applmgr/apps/apps_st/appl/msc/12.0.0/dist/orp [applmgr@ptolemy orp]$ VCP_ptolemy/logs/appl/conc WOLFRAM - OWLS - Weblogic Server =================================== login as: oraowls [email protected]'s password: Last login: Fri Dec 10 13:17:06 2010 from dhcp-rmdc-twvpn-2-vpnpool-10-159-37-117.vpn.oracle.com [oraowls@wolfram ~]$ echo $HOME

/home/oraowls

[oraowls@wolfram ~]$ echo $APPLCSF

[oraowls@wolfram ~]$ ls

bea

[oraowls@wolfram ~]$ ls bea

beahomelist

[oraowls@wolfram ~]$ more bea/beahomelist

/u01/vcp/oraowls/middleware

[oraowls@wolfram ~]$ ls -ail

total 112

87097600 drwx------ 6 oraowls oraowls 4096 Dec 29 16:11 .

87064577 drwxr-xr-x 4 root root 4096 Dec 8 14:29 ..

87097640 -rw------- 1 oraowls oraowls 1757 Dec 29 16:09 .bash_history

87097605 -rw-r--r-- 1 oraowls oraowls 33 Jan 21 2009 .bash_logout

87097601 -rw-r--r-- 1 oraowls oraowls 176 Jan 21 2009 .bash_profile

87097607 -rw-r--r-- 1 oraowls oraowls 124 Jan 21 2009 .bashrc

87097622 drwxr-x--- 2 oraowls oraowls 4096 Dec 29 16:32 bea

87097606 -rw-r--r-- 1 oraowls oraowls 515 Mar 13 2008 .emacs

87097608 drwxr-x--- 2 oraowls oraowls 4096 Dec 8 14:38 .fontconfig

87097609 drwxr-x--- 3 oraowls oraowls 4096 Dec 8 14:44 .java

87097642 -rw------- 1 oraowls oraowls 45 Dec 9 15:04 .lesshst

Page 231: Install and Implement Rapid Planning-Version1

87097602 drwxr-xr-x 4 oraowls oraowls 4096 Feb 17 2010 .mozilla

87097571 -rw------- 1 oraowls oraowls 66 Dec 29 16:11 .xauthtT75cI

87097610 -rw------- 1 oraowls oraowls 66 Dec 8 14:37 .xauthyINKWG

[oraowls@wolfram ~]$ pwd

/home/oraowls

[oraowls@wolfram ~]$ env

HOSTNAME=wolfram.us.oracle.com

TERM=xterm

SHELL=/bin/bash

HISTSIZE=1000

SSH_CLIENT=10.159.29.29 1902 22

SSH_TTY=/dev/pts/5

USER=oraowls

LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;

41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00

;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00

;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;3

5:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:

MAIL=/var/spool/mail/oraowls

PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oraowls/bin

INPUTRC=/etc/inputrc

PWD=/home/oraowls

LANG=en_US.UTF-8

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

SHLVL=1

HOME=/home/oraowls

LOGNAME=oraowls

CVS_RSH=ssh

SSH_CONNECTION=10.159.29.29 1902 10.148.52.175 22

LESSOPEN=|/usr/bin/lesspipe.sh %s

G_BROKEN_FILENAMES=1

_=/bin/env

[oraowls@wolfram ~]$ cd /u01

[oraowls@wolfram u01]$ ls

vcp

[oraowls@wolfram u01]$ cd vcp

[oraowls@wolfram vcp]$ ls

oraowls

[oraowls@wolfram vcp]$ cd oraowls

[oraowls@wolfram oraowls]$ ls

middleware

[oraowls@wolfram oraowls]$ cd middleware

[oraowls@wolfram middleware]$ ls

jdk160_14_R27.6.5-32 modules owls1032 registry.xml

jrockit_160_14_R27.6.5-32 ocm.rsp patch_wls1032 utils

logs oracle_common registry.dat

[oraowls@wolfram middleware]$ echo $OWLS_HOME

[oraowls@wolfram middleware]$ echo $WLS_HOME

[oraowls@wolfram middleware]$ ls logs

log.txt

[oraowls@wolfram middleware]$ cd logs

[oraowls@wolfram logs]$ ls -ail

total 24

64028673 drwxr-x--- 2 oraowls oraowls 4096 Dec 8 14:44 .

63471620 drwxr-x--- 10 oraowls oraowls 4096 Dec 29 16:32 ..

64028674 -rw-r----- 1 oraowls oraowls 1115 Dec 8 14:44 log.txt

[oraowls@wolfram logs]$ cd ..

[oraowls@wolfram middleware]$ ls

jdk160_14_R27.6.5-32

jrockit_160_14_R27.6.5-32

logs

modules

oracle_common

owls1032

patch_wls1032

utils

ocm.rsp

registry.dat

registry.xml

Page 232: Install and Implement Rapid Planning-Version1

[oraowls@wolfram middleware]$ ls

jdk160_14_R27.6.5-32 modules owls1032 registry.xml

jrockit_160_14_R27.6.5-32 ocm.rsp patch_wls1032 utils

logs oracle_common registry.dat

[oraowls@wolfram middleware]$ ls logs

log.txt

[oraowls@wolfram middleware]$ cd logs

[oraowls@wolfram logs]$ pwd

/u01/vcp/oraowls/middleware/logs

[oraowls@wolfram logs]$

Need to Set the APPLCSF directory to:

$MIDDLEWARE_HOME=//u01/vcp/oraowls/middleware

$OWLS_HOME=/u01/vcp/oraowls/middleware/owls1032

$APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

How to setup NFS mount

------------------------

http://nfs.sourceforge.net/nfs-howto/

On Weblogic Server

-------------------

mount master.foo.com:/home /mnt/home

mount -t nfs ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

mount -t nfs nameofcomputer:/directory_on_that_machine /directory_you_should_have_already_created

So for example, if you want to mount a directory from a machine named Google, and the directory (on

Google) is called "/work-google" then you would first make a directory on your machine:

> mkdir /stuff (or whatever you want to call it)

Then mount it:

> mount -t nfs google:/work-google /stuff

That's a manuall mount. If you want to mount it automatically everytime your machine boots, you'll

need to edit your /etc/fstab file.

Following the above example, your fstab should look similar to:

google:/work-google /stuff nfs defaults 0 0

(Please check with the person who's allowing you to share to see what type of settings you need for

the drive. "defaults" may not be correct)

Hope that helps ya

PTOLEMY

==============

showmount 10.148.53.35 -e'

1. Share the APPLCSF directory on the VCP(ebs) Instance server concurrent manager tier.

as applmgr

echo $APPLCSF

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

as root

login to ptolemy.us.oracle.com

share the directory

command line:

http://docs.redhat.com/docs/bn-IN/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s2-nfs-command-

line.html

vi /etc/exports

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc 10.148.52.175(rw,sync)

:x

/sbin/service nfs reload

/sbin/service nfs restart/start???

ensure nfs and nfslock services are running

-- on the server that is sharing the concurrent manager log file directory $APPLCSF

summary

---------

a.) login as applmgr vcp unix user

b.) echo $APPLCSF

c.) share that directory

d.) restart nfs services

e.) verify services restarted

details

----------

a.) login as applmgr vcp unix user

b.) get applmgr $APPLCSF environment setting

unix$ echo $APPLCSF

or

unix$ env|grep APPLCSF

APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

Page 233: Install and Implement Rapid Planning-Version1

c.) share that directory

as root user

unix# vi /etc/exports

add this entry:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc wolfram.us.oracle.com(rw,sync)

d.) edit hosts or hosts.allow or hosts.deny files as appropriate/required

hosts

-----

add this entry to client that will use this shared directory

10.148.52.175 wolfram.us.oracle.com wolfram

e.) restart nfs services

/sbin/service nfs reload

/sbin/service nfs restart/start???

f.) verify services restarted

rpcinfo -p localhost

ps -ef|grep -- ???? which ones running now?

WOLFRAM

==============

showmount 10.148.52.175 -e

2. Mount that directory from the Weblog Server

mount -t nfs ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

received error:

mount: mount to NFS server 'ptolemy.us.oracle.com' failed: RPC Error: Program not registered.

10.148.53.35

mount -t nfs 10.148.53.35:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf/

/usr/sbin/rpcinfo -p 10.148.53.35

showmount 10.148.52.175 -e #wolfram

[root@wolfram etc]# showmount 10.148.52.175 -e

mount clntudp_create: RPC: Program not registered

error reported due to...

-- the nfs daemons not running -- services

-- on this box

showmount 10.148.53.35 -e #ptolemy

[root@ptolemy etc]# showmount 10.148.53.35 -e #ptolemy

Export list for 10.148.53.35:

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc 10.148.52.175

a.) ensure the proper services are running on the server and client machines

b.) check the services on the source

c.) create the directory that needs to represent the APPLCSF as per the EBS standards

d.) mount that directory

details

-----

a.) ensure the proper services are running on the server and client machines

unix# rpcinfo -p localhost

unix# rpcinfo -p <server>

b.) check the services on the source

c.) create the directory that needs to represent the APPLCSF as per the EBS standards

$MIDDLEWARE_HOME=//u01/vcp/oraowls/middleware

$OWLS_HOME=/u01/vcp/oraowls/middleware/owls1032

$APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

create directory:

unix$ mkdir $MIDDLEWARE_HOME/logs/<VCP_ptolemy>/<vcp_applcsf>

Page 234: Install and Implement Rapid Planning-Version1

set environment variable

-- usually in user's .profile or .bash_profile file in the /home/username directory

-- ours is oraowls unix user for the weblogic server

-- installation of the weblogic server created a middelware logs directory

-- so i just appended ours into that directory structure

APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

export APPLCSF;

d.) mount that directory (as root user)

mount -t nfs ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc \

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

e.) may update the /etc/fstab or /etc/mtab or whattever ;o) other tables/files

[root@wolfram etc]# more fstab

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1

LABEL=/boot /boot ext3 defaults 1 2

tmpfs /dev/shm tmpfs defaults 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0

sysfs /sys sysfs defaults 0 0

proc /proc proc defaults 0 0

/dev/VolGroup00/LogVol01 swap swap defaults 0 0

[root@wolfram etc]# more mtab

/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

devpts /dev/pts devpts rw,gid=5,mode=620 0 0

/dev/sda1 /boot ext3 rw 0 0

tmpfs /dev/shm tmpfs rw 0 0

none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0

ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf nfs rw,addr=10.148.53.35 0 0

Solution

-------------

On VCP instance Concurrent Manager Tier server (ptolemy.us.oracle.com)

1. login as applmgr

2. echo $APPLCSF

unix$ echo $APPLCSF

or

unix$ env|grep APPLCSF

APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc

Share the APPLCSF directory

3. update the /etc/exports file

vi /etc/exports

/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc 10.148.52.175(rw,sync)

:x

4. update the /etc/hosts hosts.allow or .deny files as required

add this entry to client that will use this shared directory

10.148.52.175 wolfram.us.oracle.com wolfram

5. restart the nfs services

/sbin/service nfs reload

/sbin/service nfs restart/start???

6. verify the services started

rpcinfo -p localhost

program vers proto port

100000 2 tcp 111 portmapper

100000 2 udp 111 portmapper

100024 1 udp 920 status

100024 1 tcp 923 status

ps -ef|grep -- ???? which ones running now?

On Weblogic Server -- where RP is deployed

7. login as the weblogic unix user -- oraowls for our instance

login as: oraowls

[email protected]'s password:

Last login: Thu Dec 30 11:43:33 2010 from client.vpn.oracle.com

8. ensure proper services running on source where shared directory is

unix# rpcinfo -p ptolemy.us.oracle.com

9. create a local directory to correspond to the shared source EBS APPLCSF directory

Page 235: Install and Implement Rapid Planning-Version1

whats the middleware home?

echo $MIDDLEWARE_HOME???? returns nothin... :o)

cd $HOME

then check the beahomelist

[oraowls@wolfram vcp_applcsf]$ cd ~

[oraowls@wolfram ~]$ ls

bea

[oraowls@wolfram ~]$ cd bea

[oraowls@wolfram bea]$ ls

beahomelist

[oraowls@wolfram bea]$ more beahomelist

/u01/vcp/oraowls/middleware

cd /u01/vcp/oraowls/middleware

[oraowls@wolfram bea]$ cd /u01/vcp/oraowls/middleware

ls

[oraowls@wolfram middleware]$ ls

jdk160_14_R27.6.5-32 modules owls1032 registry.xml

jrockit_160_14_R27.6.5-32 ocm.rsp patch_wls1032 utils

logs oracle_common registry.dat

mkdir

[oraowls@wolfram VCP_ptolemy]$ mkdir vcp_applcsf

[oraowls@wolfram VCP_ptolemy]$ ls

vcp_applcsf

ls -ail

[oraowls@wolfram VCP_ptolemy]$ ls -ail

total 24

64389518 drwxrwxr-x 3 oraowls oraowls 4096 Jan 3 13:42 .

64028673 drwxr-x--- 3 oraowls oraowls 4096 Jan 3 13:41 ..

64389519 drwxrwxr-x 2 oraowls oraowls 4096 Jan 3 13:42 vcp_applcsf

cd to that new directory

[oraowls@wolfram VCP_ptolemy]$ cd vcp_applcsf

pwd

[oraowls@wolfram vcp_applcsf]$ pwd

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

10. set the APPLCSF environment for the unix user that will start the RP admin/engine services

APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

export APPLCSF;

login as oraowls unix user

vi .bash_profile

add these lines:

APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

export APPLCSF;

save :x

11. mount that newly created local directory to the shared ebs applcsf directory

mount -t nfs ptolemy.us.oracle.com:/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc \

/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf

Notes Set EXTRA_JAVA_PROPERTIES only for the UI domain

Page 236: Install and Implement Rapid Planning-Version1

MSC: Oracle Rapid Planning URL - http://wolfram.us.oracle.com:7003 -- RP UI Domain Adminstration Server port MSC: Rapid Planning WebLogic Server Home - /u01/vcp/oraowls/middleware/owls1032 MSC: Rapid Planning Scripts Home - /u01/vcp/oraowls/middleware/user_project/domains/WLST_scripts MSC: Rapid Planning UI Refresh Timeout - 5000 (milliseconds) Oh .......,...,. ;o) http://<MACHINE_NAME>:<PORT_NO>/rpadmin/faces/oracle/apps/msc/orp/admin/ui/page/AdminMainUI.jspx I got it... :-D (nope… but I think I might do now ;-) rpadmin/faces is in VCP instance java home -- actually on the WebLogic deployment … I was just confused ;-) So, to Login to the RP Admin Console, MACHINE_NAME = is the machine that RP redirects to … from the VCP instance installation URL and port Because that is where the VCP ebusiness suite java_top is and will be redirected where the rpadmin directory will be created/deployed So, you must complete the steps of running wlst_scripts on the VCP instance to deploy the java class etc... so RP will know how to redirect from VCP to WebLogic When you login to the VCP instance at that URL above, it'll redirect to opening up the RP Admin UI from the WebLogic Server URLs provided in the VCP instance profiles.... So, after Deploying the RPAdmin Application to the Weblogic Server, before attempting to login to that application, Run the Scripts on the VCP instance Set the Profiles on the VCP instance

Other Notes Servers/Services running on their ports properly

-------------

[oraowls@wolfram bin]$ netstat -an|grep 7001 tcp 0 0 fe80::baac:6fff:fe1f:5:7001 :::* LISTEN tcp 0 0 ::ffff:127.0.0.1:7001 :::* LISTEN tcp 0 0 ::ffff:10.148.52.175:7001 :::* LISTEN tcp 0 0 ::1:7001 :::* LISTEN

Page 237: Install and Implement Rapid Planning-Version1

tcp 0 0 ::ffff:10.148.52.175:7001 ::ffff:10.159.56.189:4368 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:7001 ::ffff:10.148.52.175:37210 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:7001 ::ffff:10.148.52.175:37214 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:7001 ::ffff:10.148.52.175:37212 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:37210 ::ffff:10.148.52.175:7001 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:37214 ::ffff:10.148.52.175:7001 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:37212 ::ffff:10.148.52.175:7001 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:44480 ::ffff:10.148.52.175:7001 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:44479 ::ffff:10.148.52.175:7001 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:44478 ::ffff:10.148.52.175:7001 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:44477 ::ffff:10.148.52.175:7001 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:44476 ::ffff:10.148.52.175:7001 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:44475 ::ffff:10.148.52.175:7001 TIME_WAIT tcp 0 0 ::ffff:10.148.52.175:44474 ::ffff:10.148.52.175:7001 TIME_WAIT [oraowls@wolfram bin]$ netstat -an|grep 7003 tcp 0 0 ::ffff:127.0.0.1:7003 :::* LISTEN tcp 0 0 ::1:7003 :::* LISTEN tcp 0 0 fe80::baac:6fff:fe1f:5:7003 :::* LISTEN tcp 0 0 ::ffff:10.148.52.175:7003 :::* LISTEN [oraowls@wolfram bin]$ netstat -an|grep 7005 tcp 0 0 ::ffff:10.148.52.175:7005 :::* LISTEN tcp 0 0 ::ffff:10.148.52.175:7005 ::ffff:10.148.52.175:52121 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:52121 ::ffff:10.148.52.175:7005 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:44455 ::ffff:10.148.52.175:7005 TIME_WAIT [oraowls@wolfram bin]$ netstat -an|grep 7007 tcp 0 0 ::ffff:10.148.52.175:7007 :::* LISTEN tcp 0 0 ::ffff:10.148.52.175:7007 ::ffff:10.148.52.175:50842 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:50842 ::ffff:10.148.52.175:7007 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:42242 ::ffff:10.148.52.175:7007 TIME_WAIT [oraowls@wolfram bin]$ netstat -an|grep 7009 tcp 0 0 ::ffff:10.148.52.175:7009 :::* LISTEN tcp 0 0 ::ffff:10.148.52.175:7009 ::ffff:10.148.52.175:49024 ESTABLISHED tcp 0 0 ::ffff:10.148.52.175:49024 ::ffff:10.148.52.175:7009 ESTABLISHED

Page 238: Install and Implement Rapid Planning-Version1

diagnostics update scripts... for testing or temporary workarounds ---- SELECT plan_id, status, compile_designator FROM msc_plans WHERE plan_id = 95050; UPDATE msc_plans SET status=0 WHERE plan_id = 95050; SELECT * FROM msc_web_services; UPDATE msc_web_services SET plan_id = -1 -- sets webservice to available WHERE web_service_id IN (22); UPDATE msc_web_services SET plan_id = 95050 -- set the webservice to using this service WHERE web_service_id = 21; UPDATE msc_web_services SET plan_id = 9999999 -- sets webservice to unavailable WHERE web_service_id = 1; WEB_SERVICE_ID PLAN_ID URL --------------- --------- -------------------------------------------------------------- 21 -1 http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl

SELECT plan_id, status, compile_designator FROM msc_plans WHERE plan_id = 95050; PLAN_ID STATUS COMPILE_DESIGNATOR ------------ ---------- ------------------ 95050 0 EE-RP-1

How it works … or at least some parts of it … :o)

install vcp 12.1.3.1 (or… .2)

Install weblogic

Create ui and engine domains and servers on WebLogic

Copy the *.ear and wlst_scripts files from the VCP instance MSC_TOP/dist/orp directory to the

rp WebLogic environment

Page 239: Install and Implement Rapid Planning-Version1

deploy the RP Admin application to rp WebLogic ui domain

configure the vcp instance using those same wlst_scripts which deploys the RP applications java

and other files into the vcp planning applications instance environment.

Set the rp url and directory profiles in the vcp instance

Then login to the RP Admin application at the VCP instance URL, which redirects to the RP

Admin application on the WebLogic deployment. The RP engine and ui applications use the

JDBC connection defined in the RP Engine/UI Administration Server on the WebLogic instance.

In the RPAdmin application, create RP Managed Servers. I believe one managed server per plan

expected to be open in the UI. If 3 Managed Servers created, can only open 3 Plans in the RP UI.

Need to confirm…

Once the Managed servers are created

Deploy the Engine and UI components … when deploying the engine, the Managed Servers are

associated with the engine component. The Snapshot of data occurs on the VCP instance, and

engine connects to the VCP instance to get the data through the APPLCSF mounted directory

created. The RP Planner is a java program that launches the RP Engine on the WebLogic

environment like an external Concurrent Manager.

Deploy the UI components on the WebLogic environment. The UI components on the WebLogic

environment shows the Data from the output of the Engine run which Snapshot the data

through the data files to the VCP applcsf, and loads it into memory into memory on the

WebLogic Server.

Each Managed Server ought to be set up with approximately 500MB to 750MB to run/hold the

plan in… or as needed for the data requirements.

When RP Plan is launched, It launches snapshot requests and runs on the VCP instance, Writes to the VCP tables Engine Uses the VCP MBP Snapshot to write out to DAT files The Engine pulls those data files into memory through the APPLCSF mounted directory Which are then presented in the UI by getting the files through $APPLCSF If $APPLCSF is not directly mounted (shared) Then those plan run flat files MUST be manually ftp’d/copied to the WebLogic server $APPLCSF directory for each plan run. When changes are actually saved or released, those files are written and loaded back to the VCP database through APPLCSF and loader workers. I’d expect that standard Release mechanism works from there as is in ASCP Workbench.

Page 240: Install and Implement Rapid Planning-Version1

Readme files

General RP README

[oraowls@wolfram rp_temp]$ more orp_readme.txt

/* $Header: orp_readme.txt 120.1.12010000.2 2009/09/02 08:21:04 sjeevani noship $

*/

Oracle Rapid Planning (ORP) is Oracle web-base Supply Chain Planning application.

It contains two web applications UI and Engine.

Intall Engine Application

===========================

unzip engine.zip and follow the readme inside the zip file.

Install UI Application

===========================

unzip ui.zip and follow the readme inside the zip file

Engine README

Readme summary

-----------

1. Assumptions

2. Create RapidPlanningDomain

3. Start the RapidPlanning Administration Server

4. Create and Configure A Managed Server

5. Add a Machine (To use NodeManager to start managed servers)

6. Configure and Start NodeManager

7. Configuring DataSource

8. Configure JMS

9. Deploy the ear file

10. Test Web Service

11. Add a new Server (RP_Mserver2)

12. Configure Web Service Pool

13. Install classes used by snapshot to launch ORP Plan

14. Deploy a new engine patch

[oraowls@wolfram rp_temp]$ more readme.txt

Oracle Rapid Planning Web Service Deployment Readme

1. Assumptions

=======================

1.1 Oracle Fusion Middleware 11g Application Server (Weblogic 10.3) has been

installed

1.2 In this readme, we use the following symbols:

$BEAHOME - BEA install home (e.g. /slot/ems3157/appmgr/WLS)

$WLSHOME - Weblogic home (e.g. /slot/ems3157/appmgr/WLS/wlserver_10.3)

$MACHINENAME - Host name of the machine on which the Weblogic server is running

(e.g. rws60144rems.us.oracle.com).

$APPLCSF - Top directory where plan MBP files are generated by concurrent

programs.

$JAVA_TOP - Top directory for java classes in environment

1.3 Ports 7103, 7201-7216 are available for ORP application. Check config.xml in

each domain to find out all the used ports by the Weblogic install.

Page 241: Install and Implement Rapid Planning-Version1

2. Create RapidPlanningDomain

==============================

2.1 >cd $WLSHOME/common/bin

2.2 >config.sh

2.3 After the configuration GUI starts, In "Welcome page" check "create a new

weblogic domain"

2.4 In "Select domain source" page, check "Generate a domain configured

automatically"

2.5 In the Configure Administrator Username and Password window, enter:

weblogic for User Name

weblogic for User Password and Confirm user Password

2.6 Select Development mode and sun jdk in "Server start mode page"

2.7 In the Customize Environments and Services Settings window, select Yes.

2.8 In the Configure the Administration Server window, enter or select:

"RPAdmin" for Name.

All Local Addresses for Listen Address.

7101 for Listen Port.

The SSL Enabled check box.

7102 for SSL Listen Port.

2.9 Skip the following three pages:

Configure Managed Servers

Configure Machines

Customize store configuration

2.10 Review Domain, do nothing.

2.11 In the Create WebLogic Domain window:

Enter rp_engine_domain as the Domain Name.

Domain Location: $BEAHOME/user_projects/domains

Click Create

2.12 Click done

2.13 Create the following logging and output directory

>mkdir $BEAHOME/user_projects/domains/rp_engine_domain/log

>mkdir $BEAHOME/user_projects/domains/rp_engine_domain/output

3. Start the RapidPlanning Administration Server

===================================================

3.1 >cd $BEAHOME/user_projects/domains/rp_engine_domain/bin

3.2 > ./startWeblogic.sh &

3.3 Open the URL http://$MACHINENAME:7101/console in your browser.

3.4 log in as weblogic/weblogic

4. Create and Configure A Managed Server

===================================================

4.1 In the Domain Structure section, click Servers.

4.2 In the Summary of Servers section, under the Configuration tab, click New.

4.3 The Create a New Server section appears. Provide

Server Name as RP_Mserver1,

Server Listen Address: $MACHINENAME(e.g.rws60144rems.us.oracle)

Server Listen Port as 7201,

Select "No, this is a stand-alone server. ", and then click Next.

4.4 Review the choices and click Finish.

4.5 In the Summary of Servers section, click RP_Mserver1

4.6 In the Settings for RP_Mserver1 section, scroll down to select the SSL Listen

Port Enabled check box and type the SSL Listen Port as 7202.

4.7 Scroll down and click Save.

Page 242: Install and Implement Rapid Planning-Version1

5. Add a Machine (To use NodeManager to start managed servers)

==============================================================

5.1 Under the Domain Structure section, click Machines.

5.2 Notice that the "Summary of Machines" section appears. Click New.

5.3 In the "Create a New Machine" section, enter the name as $MACHINENAME and select

Unix from the Machine OS drop-down list. Click OK.

5.4 In the "Summary of Machines" section, click $MACHINENAME

5.5 Under the "Settings for $MACHINENAME " section, click the Configuration tab and

then the Servers tab

5.6 In the Servers section, click Add.

5.7 In the "Add a Server to Machine" section, select the Select an existing server,

and associate it with this machine option. Then select RP_Mserver1 from the drop-down

list. Click Next.

6. Configure and Start NodeManager

===================================

6.1 In the Oracle WebLogic Server Console, in the Domain Structure section, click

Machines.

6.2 Notice that the "Summary of Machines" section is displayed. Next, click

$MACHINENAME.

6.3 Under the Configuration tab, click Node Manager.

6.4 Make sure the value of Listen Address is "localhost" and port is "5556"

6.5 Click "save" if you made any changes

6.6 Check the rp_engine_domain is in nodemanager.domains file:

Open $WLSHOME/common/nodemanager/nodemanager.domains

Make sure the entry is in the file:

rp_engine_domain=$BEAHOME/user_projects/domains/rp_engine_domain. If not, add this

entry.

6.7 In the Environment section, click Servers. Next, click RP_Mserver1 and click the

Configuration tab and then the Server Start tab. In the arguments section, enter "-

Xms128M -Xmx1024M -Dserver.port=7201 -DAPPLCSF=$APPLCSF". Click Save.

6.8 Start NodeManager

>cd $WLSHOME/server/bin

./startNodeManager.sh 127.0.0.1 5556

6.9 Start RP_Mserver1

In Oracle WebLogic Server Console, in the "Domain Structure" section, click

Servers.

Click the Control tab and then the Server Start tab

7. Configuring DataSource

==============================

7.1 Click Services->JDBC->Data Sources from left pane.

7.2 Click New from the right hand pane

Name: RapidPlanningDS2

JNDI Name: RapidPlanningDS2

Database Type: Oracle

Database Driver: Oracle's Driver(Thin) versions:9.0.1,9.2.0,10

7.3 Transaction Options

uncheck "Supports Global Transaction"

7.4 Create a new Database Datasource

Database Name: ma0dv220

Host Name: rws60147rems.us.oracle.com

Port: 1555

Database User Name: apps

Password: apps

7.5 Click Test Configuration

7.6 Click Next Select RP_Mserver1 then Click Finish

Page 243: Install and Implement Rapid Planning-Version1

7.7 Configure default transaction timeout value

In the left pane, select Services->JTA->Configuration->JTA, set Timeout Seconds

to 600 seconds.

8. Configure JMS

========================

8.1 Create JMS Server

a. In the left Domain Structure window, expand rp_engine_domain->Services-

>Messaging.

b. Click JMS Servers.

c. In the right pane, click New.

d. In the Name field, enter RPWSJMSServer_1.

e. In the Persistent Store drop-down list, select none

f. Click Next.

g. In the Target drop-down list, select RP_Mserver1.

h. Click Finish.

8.2 Create queue

a. In the left Domain Structure window, expand Services->Messaging.

b. Click JMS Modules.

c. In the right pane, click New.

d. On the Create JMS System Module page:

In the Name field, enter RPModule.

In the Descriptor File Name field, enter "RPModule". Weblogic Admin

Console will append "-jms.xml".

Leave the optional Location in Domain field blank.

e. Click Next.

f. In the Targets box, check RP_Mserver1.

g. Click Next.

h. Check the "Would You Like to Add Resources to This JMS System Module?"

checkbox.

i. Click Finish.

j. At the bottom of the Configuration tab, above or below the Summary of

Resources table, click New.

k. Choose the Queue option.

l. Click Next.

m. In the JMS Destination Properties page:

In the Name field, enter RPQueue1

In the JNDI Name field, enter weblogic.wsee.DefaultQueue.

Leave the Template drop-down list to "None".

n. Click Next.

o. To the right of the SubDeployments drop-down list, click Create a New

Subdeployment.

p. In the SubDeployment Name field, enter RPSubModule1

q. Click OK.

r. In the Targets box, check RPWSJMSServer_1.

s. Click Finish.

9. Deploy the ear file

=========================

9.1. In the Domain Structure panel, click Deployments

9.2. In the main content panel, click the Install button

9.3. Specify the path leading to rpws.ear. Then select the radio button, and click

Next

9.4. On the next page, accept the default option, and click Next

9.5. Under Servers, select the RP_Mserver1 checkbox, and click Next

9.6. On the next page, accept the default options, and click Finish

Page 244: Install and Implement Rapid Planning-Version1

10. Test Web Service

=====================

10.1. Enter Weblogic Test Center by opening

http://$MACHINENAME:7101/wls_utc/selectWsdl.jsp

10.2. In Test Center, enter

http://$MACHINENAME:7201/rp/RapidPlanningService?WSDL and click Test

10.3. There is a list of available WS operations in the page. Find "Hello" and

click it

10.4. The answer is similar to the following:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<env:Header />

<env:Body>

<m:HelloResponse xmlns:m="http://orp.msc.apps.oracle">

<m:return>

<java:Status xmlns:java="java:oracle.apps.msc.orp.common">0</java:Status>

<java:ErrorMsg xmlns:java="java:oracle.apps.msc.orp.common" xsi:nil="true" />

<java:NRowsToBeFlushed

xmlns:java="java:oracle.apps.msc.orp.common">0</java:NRowsToBeFlushed>

</m:return>

</m:HelloResponse>

</env:Body>

</env:Envelope>

11. Add a new Server (RP_Mserver2)

===================================

11.1. Add server RP_Mserver2 as described in section 4. Use port 7203, and

7204(SSL).

11.2. Configure server startup parameters

In the Environment section, click Servers. Next, click RP_Mserver2 and click the

Configuration tab and then the Server Start tab. In the arguments section, enter "-

Xms128M -Xmx1024M -Dserver.port=7203 -DAPPLCSF=$APPLCSF". Click Save.

11.3. Add the server to machine as described in section 5.

11.4. Start RP_Mserver2 as described in 6.9

11.5. Add RP_Mserver2 to data source target

From left pane select Services->JDBC->Data Sources->RapidPlanningDS2, then

Targets->Add RP_Mserver2

11.6. Create a new JMS Server RPWSJMSServer_2 with target RP_Mserver2 as

described in section 8.1

11.7. Add the server to RPModule

JMS module->RPModule->targets add RP_Mserver2

11.8. Create a new Queue(RPQueue2) and subdeployment(RPSubModule2)

Click in the left pane JMS module->RPModule

In the right pane: new->Check Queue (fill values of RPQueue2 and

weblogic.wsee.DefaultQueue)

create a new subdeployment RPSubModule2, select target RPWSJMSServer_2

11.9. Deploy the application to two servers (RP_Mserver1 and RP_Mserver2)

In the Domain Structure panel, click Deployments

In the main content panel, check the application "rpws" and click the delete

button

After the delete is done, In the main content panel, click the Install button

Specify the path leading to rpws.ear. Then select the radio button, and click

Next

On the next page, accept the default option, and click Next

Under Servers, select the RP_Mserver1 and RP_Mserver2 checkbox, and click Next

Page 245: Install and Implement Rapid Planning-Version1

On the next page, accept the default options, and click Finish

Add six more Servers

Repeat the steps to create six more servers:

The server names are RP_Mserver3, RP_Mserver4 ... RP_Mserver8

The ports are (7205 7206(SSL)), (7207 7208(SSL)), ... (7215 7216(SSL))

JMS Server names are : RPWSJMSServer_3, RPWSJMSServer_4 ... RPWSJMSServer_8

Queue names are: RPQueue3, RPQueue4, ... RPQueue8

subdeployment names are: RPSubModule3, RPSubModule4, ... RPSubModule8

12. Configure Web Service Pool

===============================

12.1. Connect to Database. Example:

The following information is to connect to environment DB ma0dv220.

URL: "jdbc:oracle:thin:@rws60147rems.us.oracle.com:1555:ma0dv220"

User: "apps"

Password: "apps"

12.2. Add Web Service Instance to the table "MSC_WEB_SERVICES". For example

add RP_Mserver1 to RP_MServer8 to the table by executing:

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(1, -1,

'http://$MACHINENAME:7201/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(2, -1,

'http://$MACHINENAME:7203/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(3, -1,

'http://$MACHINENAME:7205/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(4, -1,

'http://$MACHINENAME:7207/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(5, -1,

'http://$MACHINENAME:7209/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(6, -1,

'http://$MACHINENAME:7211/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(7, -1,

'http://$MACHINENAME:7213/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

insert into MSC_WEB_SERVICES (WEB_SERVICE_ID, PLAN_ID, URL, LAST_UPDATE_DATE,

LAST_UPDATED_BY, creation_date, created_by) values(8, -1,

'http://$MACHINENAME:7215/rp/RapidPlanningService?wsdl', sysdate, -1, sysdate, -1);

commit;

13. Install classes used by snapshot to launch ORP Plan

=========================================================

13.1 Create a temp directory, e.g:

>mkdir /tmp/orp

13.2 Copy rpws.ear to the temp directory

>cp rpws.ear /tmp/orp

13.3 Unjar the ear file

>jar -xvf rpws.ear

13.4 unjar the rpengine.jar inside the ear file

Page 246: Install and Implement Rapid Planning-Version1

>jar -xvf APP-INF/lib/rpengine.jar

13.5 Copy classes to $JAVA_TOP

>cp -fr oracle/apps/msc/orp $JAVA_TOP/oracle/apps/msc

13.6 Remove the temp directory

>rm -fr /tmp/orp

14. Deploy a new engine patch

=========================================================

14.1 unzip engine.zip

14.2 Perform step 13 to install classes under JAVA_TOP

14.3 Shutdown all the managed servers

From admin console "force shutdown" all the managed servers (don't shutdown

admin server)

14.4 Start all the managed servers

From admin console "start" all the managed servers

14.5 Undeploy rpws

In the Domain Structure panel, click Deployments

In the main content panel, select "rpws" then click the delete button

14.6 Clean output and log

14.6.1 clean output directory

>rm -fr $BEAHOME/user_projects/domains/rp_engine_domain/output/*

14.6.2 backup and clean log directory

>cp -r $BEAHOME/user_projects/domains/rp_engine_domain/log

$BEAHOME/user_projects/domains/rp_engine_domain/log_bak1

>rm -fr $BEAHOME/user_projects/domains/rp_engine_domain/log/*

14.7 Deploy the ear file as described in step 9

UI README Orp UI Installation Readme

Steps to apply this patch

Pre-requisites:

1) Create a New WLS domain and a new server in this domain. For example,

rp_ui_domain based on SOA Suite

techstack components during creation.

1) Oracle WSM-PM Extension - 11.1.1.1.0

2) Oracle SOA Suite - 11.1.1.0

2) Create a JDBC Data Source. Please follow the steps below.

- In the WLS domain created, log into the weblogic console go to

Services -> JDBC -> Data Sources

- Click on New to create a new data source.

- Enter Name: ma0dv220 <for example>

- Enter JNDI Name: jdbc/ma0dv220DS

- select "Oracle" as database type

- Select "Oracle's Driver (Thin) for instance connections, Version

9.0.1, 9.2, 10, 11" as Driver type

- click Next

- Use default value for next page

- click next

- Input the database connection information in the next page, such as

hostname, port, username password

- click next

- click "Test configuration" to make sure all database connection info

is correct.

- click next

- select the WLS server to bind this data source to.

- click finish

Page 247: Install and Implement Rapid Planning-Version1

- Click on the jdbc data source name just created, to open up the

configuration tab.

- select "connection pool"

- change the default value of 15 for "Maximum Capacity" to 150

- click on the advanced link

- check the "Test Connections on Reserve"

- click save

Follow rest of the below details to download and deploy the patch.

1) download this patch.

2) unzip the patch zip file to extract ui.zip, ui.zip is located at

$MSC_TOP/dist/orp

3) unzip ui.zip to extract OrpUI_EAR.ear file

4) log into the weblogic server console.

5) click "Deployments" from the left side bar.

6) For first time applying the patch, select "Install" to install the new

application,

follow on screen prompt. Make sure the path to the OrpUI_EAR.ear file

is typed in correctly.

7) For following patch application, click on "OrpUI_EAR" application and

click "update" and

follow on screen prompt.

59. Finally Done – sorta summary