Академический Документы
Профессиональный Документы
Культура Документы
x
Implementation
with WebLogic/ADF Runtime
Installation
Note 1285459.1
Erick Evans
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)
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
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)
1270662.1
2 VCP All SubComponents End to End Master Index Implementation Guide Demantra 7.3.0.1 End to End Case Study Master Index
1270640.1 End to End Case Study - Hardware
3 VCP All SubComponents System Requirements Hardware Implementation Guide
1270641.1 End to End Case Study - Operating System
4 VCP All SubComponents System Requirements Operating System Implementation Guide
1270725.1 End to End Case Study - Database
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
1270712.1 End to End Case Study - Java
7 VCP All SubComponents System Requirements Java Implementation Guide
1270713.1 End to End Case Study - Middleware
8 VCP All SubComponents System Requirements Middleware Implementation Guide
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
DB Links Create DB Links 465259.1 EBS and APS Decentralized Apps Instances Overview and Diagram
12 VCP Install Implementation Guide
Instance Instance Overview 444875.1 EBS - APS Decentralized Overview and Diagnostics
13 VCP Install Implementation Guide
Instance Create Instance 465259.1 EBS and APS Decentralized Apps Instances Overview and Diagram
14 VCP Install Implementation Guide
Collections Standard Collections tbd id Launch Oracle Standard Collections - steps detailed in Demantra end to end case study
15 VCP Install Implementation Guide
1285459.1
16 VCP Rapid Planning Install Run InitialEngineSetup.sh script Implementation Guide End to End Support RP Installation
tbd id End to End Case Study - Application Server
17 OWLS Rapid Planning System Requirements Application Server Implementation Guide
18 OWLS Rapid Planning System Requirements RP Weblogic requirements Implementation Guide 1096517.1 Oracle Rapid Planning System Requirements for Release 12.1.3
1285459.1
19 OWLS Rapid Planning Install Install WebLogic Server Implementation Guide End to End Support RP Installation
1285459.1
20 OWLS Rapid Planning Install ADF Runtime Implementation Guide End to End Support RP Installation
1285459.1
21 OWLS Rapid Planning Implement APPLCSF Implementation Guide End to End Support RP Installation
1285459.1
22 OWLS Rapid Planning Implement Env Variables Implementation Guide End to End Support RP Installation
1285459.1
23 OWLS Rapid Planning Implement Configuration Wizard Implementation Guide End to End Support RP Installation
1270640.1 End to End Case Study - Hardware
24 All Components System Requirements System Requirements Hardware Implementation Guide
1270641.1 End to End Case Study - Operating System
25 All Components System Requirements System Requirements Operating System Implementation Guide
1270725.1 End to End Case Study - Database
26 All Components System Requirements System Requirements Database Implementation Guide
1270712.1 End to End Case Study - Java
27 All Components System Requirements System Requirements Java Implementation Guide
1270713.1 End to End Case Study - Middleware
28 All Components System Requirements System Requirements Middleware Implementation Guide
1270642.1 End to End Case Study - Applications - EBS
29 All Components System Requirements System Requirements Applications Implementation Guide
1285459.1
30 All Components Topology Topology Topology Implementation Guide End to End Support RP Installation
1285459.1
31 RP Engine Domain Configuration Wizard Setup Domain Run Configuration Wizard Implementation Guide End to End Support RP Installation
1285459.1
32 RP Engine Domain RP Engine Domain Setup Domain Define RP Engine Domain Implementation Guide End to End Support RP Installation
1285459.1
33 RP Engine Domain RP Engine Domain Administrator Setup Domain Define RP Engine Domain Administrator Implementation Guide End to End Support RP Installation
1285459.1
34 RP Engine Domain RP Engine Admin Server Setup Domain Define RP Engine Admin Server Implementation Guide End to End Support RP Installation
1285459.1
35 RP Engine Domain RP Engine Admin Server Console Setup Domain Use RP Engine Admin Server Console Implementation Guide End to End Support RP Installation
1285459.1
36 RP Engine Domain JDBC Connection Setup Domain Create JDBC Connection Implementation Guide End to End Support RP Installation
1285459.1
37 RP Engine Domain JTA Session Timeout Setup Domain Setup JTA Session Timeout Implementation Guide End to End Support RP Installation
1285459.1
38 RP UI Domain Configuration Wizard Setup Domain Run Configuration Wizard Implementation Guide End to End Support RP Installation
1285459.1
39 RP UI Domain RP UI Domain Setup Domain Define RP UI Domain Implementation Guide End to End Support RP Installation
1285459.1
40 RP UI Domain RP UI Domain Administrator Setup Domain Define RP UI Domain Administrator Implementation Guide End to End Support RP Installation
1285459.1
41 RP UI Domain RP UI Admin Server Setup Domain Define RP UI Admin Server Implementation Guide End to End Support RP Installation
1285459.1
42 RP UI Domain RP UI Admin Server Console Setup Domain Use RP UI Admin Server Console Implementation Guide End to End Support RP Installation
1285459.1
43 RP UI Domain JDBC Connection Setup Domain Create JDBC Connection Implementation Guide End to End Support RP Installation
1285459.1
44 RP UI Domain JTA Session Timeout Setup Domain Setup JTA Session Timeout Implementation Guide End to End Support RP Installation
1285459.1
45 RP UI Domain Persistent Store Setup Domain Create Persistent Store Implementation Guide End to End Support RP Installation
1285459.1
46 RP UI Domain Persistent Store Setup Domain Errors Implementation Guide End to End Support RP Installation
1285459.1
47 WLST_scripts All SubComponents Setup Setup Scripts Implementation Guide End to End Support RP Installation
1285459.1
48 VCP Profiles All Categories Profiles Implementation Guide End to End Support RP Installation
1285459.1
49 VCP WLST_scripts All Categories WLST_scripts Implementation Guide End to End Support RP Installation
1285459.1
50 VCP Redirect All Categories Redirect Implementation Guide End to End Support RP Installation
1285459.1
51 VCP Bounce Apps Instance All Categories Bounce Apps Instance Implementation Guide End to End Support RP Installation
1285459.1
52 RP Admin Application Deploy Deploy Deploy ORPAdmin.ear Implementation Guide End to End Support RP Installation
1285459.1
53 RP Admin Application Machine Machine Create Machine Implementation Guide End to End Support RP Installation
1285459.1
54 RP Admin Application NodeManager NodeManager Create/Configure Nodemanager Implementation Guide End to End Support RP Installation
1285459.1
55 RP Admin Application Managed Server Managed Server Create Managed Server Implementation Guide End to End Support RP Installation
1285459.1
56 WLST_scripts Machine Machine Create Machine Implementation Guide End to End Support RP Installation
1285459.1
57 WLST_scripts NodeManager NodeManager Create/Configure Nodemanager Implementation Guide End to End Support RP Installation
1285459.1
58 WLST_scripts Managed Server Managed Server Create Managed Server Implementation Guide End to End Support RP Installation
1285459.1
59 WLST_scripts Managed Server Managed Server JMS Components Implementation Guide End to End Support RP Installation
1285459.1
60 Maintenance RP Engine Admin Server Start/Stop Scripts RP Engine Admin Server Implementation Guide End to End Support RP Installation
1285459.1
61 Maintenance RP UI Admin Server Start/Stop Scripts RP UI Admin Server Implementation Guide End to End Support RP Installation
1285459.1
62 Maintenance NodeManager Start/Stop Scripts NodeManager Implementation Guide End to End Support RP Installation
1285459.1
63 Maintenance Managed Server Start/Stop Scripts Managed Servers Implementation Guide End to End Support RP Installation
1285459.1
64 Maintenance RP Admin App Start/Stop Scripts RP Admin App Implementation Guide End to End Support RP Installation
1285459.1
65 RP Engine Application Ear File Deploy Deploy rpws.ear Implementation Guide End to End Support RP Installation
1285459.1
66 RP Engine Application Managed Server Deploy Associate Managed Server Implementation Guide End to End Support RP Installation
1285459.1
67 RP UI Application Ear File Deploy Deploy OrpUI_EAR.ear Implementation Guide End to End Support RP Installation
1285459.1
68 Maintenance RP Engine App Start/Stop Scripts RP Engine App Implementation Guide End to End Support RP Installation
1285459.1
69 Maintenance RP UI App Start/Stop Scripts RP UI App Implementation Guide End to End Support RP Installation
1285459.1
70 Login RP Workbench RP UI Application RP Workbench Implementation Guide End to End Support RP Installation
1285459.1
70 Collections Setup and Run Collections Collections Define Instance and Run Collections Implementation Guide End to End Support RP Installation
1285459.1
71 Plans Plan Partition Plan Partition Create Plan Partition Implementation Guide End to End Support RP Installation
1285459.1
72 Plans All SubComponents All SubComponents All Categories Implementation Guide End to End Support RP Installation
VCP
EBS/VCP Basic Centralized Topology
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 Itanium
o Note 762891.1
We chose
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)
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)
Documentation Library
Java
Note 1270712.1 - End to End Case Study – Java - (Coming Soon)
o Note 455492.1 - Using Latest Java 6.0 Update With Oracle E-Business Suite Release 12
Middleware
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
Beginning
Note 1080973.1 - Oracle E-Business Suite Release 12.1.3 Readme
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
VCP 12.1.3.1
Patch 9771731:R12.SCP_PF.B
VCP 12.1.3.2
Patch 10192383:R12.SCP_PF.B
Weblogic
Use Configuration Wizard to create Domains, Admin Server and Console to deploy applications.
Middleware Home
$MW_HOME=/u01/vcp/oraowls/middleware
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
Reference:
Download
Step 1: Download the Net Installer
http://edelivery.oracle.com
./wls1031_linux32.bin
Middleware Home ($MW_HOME)
Step 3: Select an Installation Directory
/u01/vcp/oraowls/middleware
/u01/vcp/oraowls/middleware/owls1032
Summary of Installation:
$MW_HOME=/u01/vcp/oraowls/middleware
$OWLS_HOME=/u01/vcp/oraowls/middleware/owls1032
. ./$OWLS_HOME/bin/config.sh
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
Note: 1285459.1
Demantra - DM Deployment
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 )
Download
a. Download ADF Runtime 1112
RunInstaller
b. Run Installer
/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
doc install runInstaller setup.exe stage
[root@wolfram Disk1]# ./runInstaller -jreLoc
/u01/vcp/oraowls/middleware/jdk160_14_R27.6.5-32/jre
Prerequisite Checks
Ours failed
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
Problem: The kernel parameters do not meet the minimum requirements (see above).
Recommendation: Perform operating system specific instructions to update the kernel
parameters.
sysstat-7.0.0
rpm -qa sysstat*
not found
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
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
Could have entered it for oraowls user (doing the ADF installation) only
# /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
After making the fixes above, clicked the BACK Button
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
we need to increase the soft and hard ulimits of open files for the installer to run through on
that prereq check.
ulimit -n 4096
Click Next
Ok Now What
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
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.
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
1. login as applmgr
2. echo $APPLCSF
APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
vi /etc/exports
/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc 10.148.52.175(rw,sync)
:x
rpcinfo -p localhost
/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
mkdir -p /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
export APPLCSF;
vi .bash_profile
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
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)
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
PATH=$PATH:$HOME/bin
export PATH
. ./orp.env
Rapid Planning
Oracle Rapid Planning System Requirements for Release 12.1.3 (Doc ID 1096517.1)
Note 961442.1 - Oracle Rapid Planning Installation Guide for Release 12.1
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
Rapid Planning Topology
11. Rapid Planning 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:
Full Centralized EBS-VCP-RP Implementation Topology
Create Rapid Planning Engine Domain
12. Create Rapid Planning Engine Domain
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.
d. Enter the name and location for the domain, and click Next.
f. Select the WebLogic Domain Startup Mode and JDK Selection, and click Next
Domain Location:
/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain
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.
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
JAVA_PROPERTIES="-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -
Dweblogic.home=${WLS_HOME} "
export JAVA_PROPERTIES
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.
Select
Basic WebLogic Server Domain – 10.3.2.0 [owls1032]*
Oracle JRF – 11.1.1.0 [oracle_common]
Specify Domain Name and Location opens
Rp UI Domain
d. Enter the name and location for the domain, and click Next.
e. Enter the RP UI Domain Administrator User Name and Password, and click Next.
f. Select the WebLogic Domain Startup Mode and JDK Selection, and click Next
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
Domain Location:
/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain
remember,
User name: rp_ui_admin
Password: rp_ui_admin
k. Click Done.
a. cd $MW_HOME/user_projects/domains/rp_engine_domain/
b. ./startWebLogic.sh
<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
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 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>
http://wolfram.us.oracle.com:7001/console
b. Expand Services > JDBC > Data Sources in the Domain Structure
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
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
Click Next
e. Activate Changes
a. cd $MW_HOME/user_projects/domains/rp_ui_domain/
b. ./startWebLogic.sh
<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.>
<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
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.>
<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>
http://wolfram.us.oracle.com:7003/console
b. Expand Services > JDBC > Data Sources in the Domain Structure
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.
Click Next
19. Increase Timeout Seconds in the Java Transaction API configuration on RP UI Domain
d. Click Save.
e. Activate Changes
f. Verify changes saved.
/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiAdm
inServer/
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 servers]$ ls
AdminServerTag domain_bak RpUiAdminServer
cd RpUiAdminServer
mkdir mds
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)
/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/servers/RpUiA
dminServer/mds
Click OK.
And this is the correct one mds-repos notice the S on the end was missing by typo.
Update setDomainEnv.sh
21. Update setDomainEnv.sh
for Rp Ui Domain:
BP=100
SP=$BP
pushd()
{
if [ -z "$1" ]
then
return
fi
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
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)
[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.
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.
a. unzip engine.zip
rename readme.txt to engine_readme.txt
unix$ mv readme.txt engine_readme.txt
b. unzip RPAdmin.zip
c. unzip ui.zip
unix$ mv readme.txt ui_readme.txt
d. Click Install
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
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
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.
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
-------
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.
Domain directory:
[oraowls@wolfram domains]$ pwd
/u01/vcp/oraowls/middleware/user_projects/domains
In domain directory
Create WLST_scripts
cp /home/oraowls/rp_temp/RPAdmin/WLST_scripts/*
/u01/vcp/oraowls/middleware/user_projects/domains/WLST_scripts/
Error 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
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
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
1. Find -name "*.DAT" files in user_projects/domains/<your domain name> directory (as appropriate) and
move or remove them, for example:
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"
netstat -lntp
4. Execute:
./startWebLogic.sh
a. Set Profiles
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
# cd to that directory.
cd /tmp/extract_ORP/
# Ater unzipping, APP-INF directory can be seen. CD to lib/ inside that directory.
cd APP-INF/lib/
# 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.
5. Run InitialEngineSetup.sh
[applmgr@ptolemy WLST_scripts]$./InitialEngineSetup.sh
[applmgr@ptolemy WLST_scripts]$ ls
$JAVA_TOP/oracle/apps/msc/orp/
common engine reformat ws
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
After compiling, please verify that the time-stamp of file _MscRPRedirect.class under
$COMMON_TOP/_pages is current.
ls -ail $COMMON_TOP/_pages/_MscRPRedirect*
7.
[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
****************************************************
****************************************************
****************************************************
****************************************************
****************************************************
****************************************************
****************************************************
Stopping Oracle Process Manager (OPMN) and the managed processes ...
opmnctl: stopping opmn and all managed processes...
****************************************************
12.
d.
http://<MACHINE_NAME>:<PORT_NO>/rpadmin/faces/oracle/apps/msc/orp/admin/ui/pag
e/AdminMainUI.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
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 …
28. Login to the VCP Applications > Advanced Planning Administrator > Rapid Planning > Setup
and Configuration
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
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
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
>
:7003/console rp_ui_admin/rp_ui_admin
b. JDBC Connection
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
Machine_Name
Enter the machine name (for example. rws60144rems).
Port No:- Enter the Listen Port No. for Engine Domain.
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.
When Submitting the Save/Configure and entering the rp engine admin credentials, the
WebLogic console where the UI was launched reports the following errors
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
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
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,
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.
CreateServer.properties
-- view the CreateServer.properties
WLST_Config.properties
Node Manager
======================================
[oraowls@wolfram common]$ cd nodemanager
[oraowls@wolfram nodemanager]$ ls
nodemanager.domains
[oraowls@wolfram nodemanager]$
Then,
If required,
Run these manually as noted.
/u01/vcp/oraowls/middleware/user_projects/domains/rp_engine_domain/servers/RpMgd
Srv1/logs/RpMgdSrv1.log
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.
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.
See :
Name: RpMgdSrv1
on Machine: wolfram.us.oracle.com
on Port: 7005
Running
As defined and Saved from the RP Admin UI,
But finally created via running the scripts from command line.
Select the Machine Name and view the Configuration, Node Manager, and Servers
associated to it.
e. View the JMS Modules that were created via the script
Configuration tab
Subdeployments 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.
e. Navigate to the temp directory where the RP *.zip files were unzipped and the *.ear
files exist.
ui.zip
engine.zip
RPAdmin.zip
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
Click Next
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.
Start RP Engine Application
40. Start RP Engine Application
Select Deployments, Check the rpws checkbox,
Click Yes
e. Navigate to the temp directory where the RP *.zip files were unzipped and the *.ear
files exist.
ui.zip
engine.zip
RPAdmin.zip
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
Click Next
i. View the Summary and Additional Configuration
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.
Start RP UI Application
42. Start RP UI Application
Click Yes
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
Error
a. Per Install Guide … Test this …
http://wolfram.us.oracle.com:7001/rapidplanning/faces/RPMainUI
The server has not found anything matching the Request-URI. No indication
given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the clie
the status code 403 (Forbidden) can be used instead. The 410 (Gone) status
code SHOULD be used if the server knows, through some internally configura
mechanism, that an old resource is permanently unavailable and has no
forwarding address.
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
…
…
<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.".>
<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.>
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
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.
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)
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)
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)
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)
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)
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
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
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: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 …
[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 servers]$ ls
AdminServerTag domain_bak RpUiAdminServer
[oraowls@wolfram RpUiAdminServer]$ ls
adr cache data logs sysman tmp
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)
Click New.
/u01/vcp/oraowls/middleware/user_projects/domains/rp_ui_domain/s
ervers/RpUiAdminServer/mds
Click OK.
And this is the correct one mds-repos notice the S on the end was missing by
typo.
Select Oracle Supply Chain Simulation Planner > Plans, Inputs and Simulations
And the RP Workbench opens on the OWLS Deployment of RP
Click on Plan Inputs
Error
Receive Error – No Free Partitions
Solution: Check and Create APS Plan Partition in the VCP Application instance.
c. Submit Request
d. Select Create APS Partitions
e. Enter Parameters
+---------------------------------------------------------------------------+
Advanced Supply Chain Planning: Version : 12.0.0
+---------------------------------------------------------------------------+
**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
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
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
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...
+---------------------------------------------------------------------------+
Concurrent request completed successfully
Current system time is 18-JAN-2011 17:23:04
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
Th e Advanced tab
I left the defaults for now …
Errors
For more information, please see the server's error log for
And internally
Found Note
I didn’t think about any other port, so figured that was working
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)
I checked 7003 cuz that’s the port I was thinking of for the Ui
Server.
[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)
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.
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.
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
b. Pick the Plan in the LOV
Click Ok
Plan Status
d. The Following shows the Plan is Running
f.
Monitor Concurrent Requests on VCP instance
49. Monitor Concurrent Requests on VCP instance
a. Login VCP instance
b. View Requests
1, 0
5838913 Create APS Partitions Completed Normal
d. View Log File
+---------------------------------------------------------------------------+
Advanced Supply Chain Planning: Version : 12.0.0
********************************************************
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(Rapi
dPlanningServiceSoapBinding_Stub.java:78)
at
oracle.apps.msc.orp.ws.client.RapidPlanningPortClient.launchPlan(RapidPlanningPortClient.j
ava: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.j
ava: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
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(Rapi
dPlanningServiceSoapBinding_Stub.java:78)
at
oracle.apps.msc.orp.ws.client.RapidPlanningPortClient.launchPlan(RapidPlanningPortClient.j
ava: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.j
ava: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
********************************************************
********************************************************
RapidPlanning Engine : End
+---------------------------------------------------------------------------+
Error
The Error is caused (in this case) by: The Managed Server’s Address and the DNS Name or local
host file setup.
As defined in the RP Admin app > Managed Servers > Address field
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
From that we can see that RpMgdSrv2 on Port 7007 is LISTENing at 127.0.0.1:7007
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
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
Note:
once a managed server is defined and saved in the RP Admin app,
You can only DELETE and CREATE not edit the definition.
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.
Plan Status: Plan input directory is not a valid directory. The input files
were removed. Please rerun the snapshot.
Error - Plan Status: Plan input directory is not a valid directory. The input files were
removed. Please rerun the snapshot.
I had set the APPLCSF and Mounted it from VCP box to WebLogic box.
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.
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
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.
[oraowls@wolfram log]$ ls
rpengine7005.log rpengine7005.log.lck
Searched… but found little … this Bug … and doesn’t really resolve the problem.
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.
by a name that includes the PORT of the Managed Server that it connected to.
-- If there is a failure,
-- Also ensure to verify the directory written in MSC_FILES for that RP PLAN
mkdir -p /u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
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
4. Does this even need set? on worlfram for the oraowls user environment???
APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
export APPLCSF;
View RP Plan in RP UI Workbench - Finally, RP Plan Success!
50. Finally, The EE-RP-1 Plan Completed Successfully
Completed Requests
Requests Export
Req St
ues Pha at
t ID Name Parent se us Parameters
Co N
584 mpl or
290 ete m
8 Rapid Planner d al 95050, 5842900, 2
Co N CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/
584 Loader Worker mpl or MSLD_ITEM_SUBSTITUTION.ctl,
290 With Direct Load ete m DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/
7 Option d al MSLD_ITEM_SUBSTITUTION.dat
Co N CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/
584 Loader Worker mpl or MSLD_TRANS_RESOURCES.ctl,
290 With Direct Load ete m DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/
6 Option d al MSLD_TRANS_RESOURCES.dat
Co N
584 mpl or
290 Snapshot Delete ete m PLAN_ID=95050, SNAP_STATIC_ENTITIES=1, SNAPSHOT_DEL_WRK_REQ_ID=5842902,
5 Worker d al SNAPSHOT_MODE=1, MON_REQUEST_ID=5842901
Co N CTRL_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/
584 Loader Worker mpl or MSLD_ITEMS.ctl,
290 With Direct Load ete m DATA_FILE=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc/out/data95050/mbpoutput/
4 Option d al MSLD_ITEMS.dat
Co N
584 Memory-Based mpl or
290 Snapshot ete m PLAN_ID=95050, SNAPSHOT_WORKER=1, MON_PNAME=mon_ORA$PIPE$00F30A3D0001,
3 Worker d al MON_REQUEST_ID=5842901, SNAPSHOT_MODE=1, SNAP_STATIC_ENTITIES=1
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.
Summary of Servers and Logins
52. Summary of Servers and Logins
Hostname: ptolemy.us.oracle.com
telnet/ftp applmgr/applmgr
oracle/oracle
sqlplus apps/apps
sid: vcp 1521
Hostname: wolfram.us.oracle.com
telnet/ftp wolfram/wolfram
oraowls/oraowls
mw_home=/u01/vcp/oraowls/middleware
owls_home=/u01/vcp/oraowls/middleware/owls1032
http://wolfram.us.oracle.com:7001/console
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
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
Login to the VCP Applications > Oracle Supply Chain Simulation Planner >
Plans, Inputs and Simulations
RP Server Log Files
RP Server Log Files
$MW_HOME/user_projects/domains/<domain_name>/servers/<admin_or_managed_serve
r_name>
[oraowls@wolfram logs]$ ls
access.log
RpUiAdminServer.log
RpUiAdminServer-diagnostic.log
rp_ui_domain.log
access.log
RpEngineAdminServer.log
rp_engine_domain.log
access.log
jmsServers
RpMgdSrv1.log
RP Plan Engine’s Server Log file
by a name that includes the PORT of the Managed Server that it connected to.
Using Managed Server on Port 7007 for this Successful Plan run. Finally ! :o)
********************************************************
id=21
planId=95050
url= http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl
start_time= 1296955270577
id=21
planId=95050
url= http://wolfram.us.oracle.com:7007/rp/RapidPlanningService?wsdl
start_time= 1296955270577
********************************************************
+---------------------------------------------------------------------------+
Concurrent request completed successfully
Current system time is 05-FEB-2011 20:39:18
+---------------------------------------------------------------------------+
Troubleshooting
Troubleshooting
Note: Weblogic Fails To Start With Error "Unable To Obtain Lock" (Doc ID 957377.1)
*.lok files
-------
What are the .lok Files Used For in a WebLogic Server (WLS) Domain? (Doc ID 943790.1)
-------
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.
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.
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
Complaining about the records from msc_web_services … which still needs investgated further
… when running the RP Admin application
-- record is written to msc_web_services when the Managed Server is created and RP Plan is
Launched.
PLAN_ID = actual PLAN_ID of the RP Plan, then the plan is currently using that service.
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.
[applmgr@ptolemy 12.0.0]$ ls
admin dist help java log mesg patch xml
bin forms html lib mds out sql
[applmgr@ptolemy orp]$ ls
engine.zip orp_readme.txt RPAdmin.zip ui.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
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
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]$ ls
engine.zip orp_readme.txt RPAdmin.zip ui.zip
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
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
[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]$
$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
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???
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
APPLCSF=/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc
c.) share that directory
as root user
unix# vi /etc/exports
/u01/vcp/applmgr/inst/apps/VCP_ptolemy/logs/appl/conc wolfram.us.oracle.com(rw,sync)
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
rpcinfo -p localhost
received error:
mount: mount to NFS server 'ptolemy.us.oracle.com' failed: RPC Error: Program not registered.
10.148.53.35
/usr/sbin/rpcinfo -p 10.148.53.35
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
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:
APPLCSF=/u01/vcp/oraowls/middleware/logs/VCP_ptolemy/vcp_applcsf
export APPLCSF;
e.) may update the /etc/fstab or /etc/mtab or whattever ;o) other tables/files
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
rpcinfo -p localhost
9. create a local directory to correspond to the shared source EBS APPLCSF directory
whats the middleware home?
cd $HOME
[oraowls@wolfram vcp_applcsf]$ cd ~
[oraowls@wolfram ~]$ ls
bea
[oraowls@wolfram bea]$ ls
beahomelist
cd /u01/vcp/oraowls/middleware
ls -ail
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;
vi .bash_profile
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
Notes
Oh .......,...,. ;o)
http://<MACHINE_NAME>:<PORT_NO>/rpadmin/faces/oracle/apps/msc/orp/admin/ui/page/A
dminMainUI.jspx
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
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
-------------
SELECT plan_id,
status,
compile_designator
FROM msc_plans
WHERE plan_id = 95050;
UPDATE msc_plans SET status=0 WHERE plan_id = 95050;
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;
SELECT plan_id,
status,
compile_designator
FROM msc_plans
WHERE plan_id = 95050;
Install weblogic
Copy the *.ear and wlst_scripts files from the VCP instance MSC_TOP/dist/orp directory to the
rp WebLogic environment
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.
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…
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 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.
Readme files
General RP README
Oracle Rapid Planning (ORP) is Oracle web-base Supply Chain Planning application.
It contains two web applications UI and Engine.
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
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.
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
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
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.
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;
UI README
Orp UI Installation Readme
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
Follow rest of the below details to download and deploy the patch.
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.