Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

Oracle Enterprise Command Center

Framework Release 12.2 installation and


integration with Oracle EBS 12.2.8
June 3, 2019 ebseccoracle enterprise command center framework

Contents

Introduction
This post describes Oracle Enterprise Command Center Framework (ECC) installation
and configuration steps. It is not meant to replace MOS Doc ID 2495053.1, which is
very good and detailed. We want to share our experience including faced errors and
solutions.
And good news for those who like to see ECC in action. You can try it yourself in
our demo environment. Just log in and choose Payables manager or Receivables
manager responsibility and navigate to the command center menu entry.

References:
Following sources have been used to get information about ECC:
https://www.oracle.com/a/ocom/docs/applications/ebusiness/ebs-enterprise-command-
center-quick-start-guide.pdf
Installing Oracle Enterprise Command Center Framework, Release 12.2 V2 (Doc ID
2495053.1)
Extending Oracle Enterprise Command Centers, Release 12.2 V2 (Doc ID 2527150.1)
https://www.itconvergenceinsights.com/enterprise-command-center-ecc-for-e-business-
suite-12.2-0
https://www.intelpub.com.ar/getting-to-work-enterprise-command-center-ecc-for-e-
business-suite-12-2/
https://www.intelpub.com.ar/using-enterprise-command-center-ecc-for-e-business-suite-
12-2/

Operating System configuration


Supported OS versions:
Oracle Linux 6 or Red Hat Enterprise Linux 6 (64-bit)
Oracle Linux 7 or Red Hat Enterprise Linux 7 (64-bit)
We prepared standalone Oracle Linux 7 virtual machine for the ECC installation.

Required OS resources
MOS Doc ID 2495053.1 provides table describing OS resources requirements. We
started with minimal resources assignment as it can be easily changed for a virtual
machine.

Number of users Number of records Number of Cores Require


50 2 million 2 3 GB
Firewall settings
If you protect your servers using firewall, access to certain ports on the ECC server
needs to be provided. If you are using OEL 7, firewall-cmd and switched to drop zone
by default then following commands will allow connections from the EBS server to the
admin and managed Weblogic servers ports:
firewall-cmd --permanent --zone=drop --add-rich-rule="rule family="ipv4" \
source address="192.168.1.2/32" \
port protocol="tcp" port="7775" accept"

firewall-cmd --permanent --zone=drop --add-rich-rule="rule family="ipv4" \


source address="192.168.1.2/32" \
port protocol="tcp" port="7776" accept"

firewall-cmd --reload
Please adjust zone name and source address according to your environment.
If you decide to create ECC schema in EBS database, you will need to allow access
from ECC server to EBS database port. Example of iptables command to achieve that
which needs to be executed on the EBS server:
-A INPUT -s 192.168.1.3/32 -p tcp -m state --state NEW -m tcp --dport 1521 -j ACCEPT
Network configuration
Configure hostname
[root@ecc ~]# hostname
ecc.localdomain
Ensure that it’s resolved into an IP address either by DNS or by adding an alias into
/etc/hosts file.
Also make sure that ECC server can reach EBS server via hostname. Example of
/etc/hosts file:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1 ecc.localdomain ecc
192.168.1.2 demo.enginatics.com demo
Create OS users and groups
Our ECC installation is owned by oracle user and oinstall group:
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle

Download and install quick install package


Create directory for ECC installation root. Example: /u01. It will be referred as
$ECC_BASE
Download patch 28779983 from MOS
Unzip patch into a stage directory
unzip p28779983_R12_GENERIC.zip
Copy the .bsx file to the $ECC_BASE directory. Add executable permissions to it
chmod +x *.bsx
From $ECC_BASE directory, execute installer:
./*.bsx
Installer creates two directories:
insta_client: The SQL*Plus client directory
Oracle: Oracle Enterprise Command Center Framework quick install scripts and
software

EBS 12.2.8 required patches


EBS patches need to be applied before configuring ECC. Below list of patches is
specific for our EBS 12.2.8 instance as we have already applied some of the patches
listed as required. First two patches: ATG consolidated patch and adapter patch are
mandatory. Other patches depend on the products with Enterprise Command Centers
that you want to use and installed languages.
Patches must be applied in the order below and shouldn’t be merged. I merged
command center patches though after applying first two patches separately.
Please note that patch list is unique for every EBS instance and below patches
shouldn’t be applied in your system blindly!
[-]28780020:R12.ATG_PF.C ATG consolidated patch for 12.2.8 release
[-]28780241:R12.ATG_PF.C. adapter patch
[-]28780031:R12.FIN_PF.C Financials consolidated patch.
[-]28816408:R12.CC_PF.C //Customer Relationship Management consolidated patch
[-]28779987:R12.PRC_PF.C // Procurement consolidated patch
[-]29008305:R12.PJ_PF.C // Projects consolidated patch
[-]28780037:R12.SCM_PF.C //Supply Chain Management consolidated patch
[-]29760524:R12.BOM.D // Supply Chain Management Command Centers required patch
[-]29551366:R12.FA.C // Oracle Assets Command Center required patch
[-]29622411:R12.PO.D // Oracle Contract Lifecycle Management for Public Sector Command Cen
[-]29550207:R12.EAM.C // Oracle Enterprise Asset Management Command Center
[-]29551003:R12.ICX.D // Oracle iProcurement
[-]29551335:R12.AP.C // Oracle Payables Command Center
[-]28969483:R12.OKL.C // Oracle Lease and Finance Management Command Center
[+]12.2.3
[+]R12.AD.C.delta.7
[+]19060002 //R12.FIN_PF.C.Delta.5
[+]19245366 //R12.ATG_PF.C.Delta.5 Release
[+]R12.TXK.C.delta.7
[+]18106421:R12.XLA.C – Import AAD With Overwrite Option for FAH Customers (bug 18
[+]26922723:R12.FA.C - ALLOW FULL RETIREMENT OVERLAPPING ADJ WHEN AMORTIZED ADJUST
[+]27193501:R12.FA.C - CONTRACT ID IS BLANKED OUT AFTER PERFORMING UNPLANNED DEPRE
[+]26962903:R12.FA.C - ALLOW CONTRACT ID UPDT SEPARATE FROM FINANCIAL ATTRIB UPDT
[-]27673594:R12.FA.C - TRANSFER INTO PARTIAL UNIT DISTRIBUTIONS IN ADDITION PERIOD
[-]27839335:R12.FA.C - ERROR WHEN PERFORMING MULTIPLE COST AND UNIT ADJUSTMENT IN
[-]26437073:R12.AR.C - NOT ABLE TO APPLY AR PATCH 19663965:R12.AR.C
[-]28528332:R12.OKL.C - WHEN APPLYING 12.2 UNIFIED PATCH, XLIFFLOADER.CLASS FAILED
[+]25467949:R12.OKS.C – USAGE LIMIT AND CONSOLIDATION BASED BILLING (bug 25467949
[+]25609551:R12.OKS.C – USAGE LIMITAND CONSOLIDATION BASED BILLING PART 2 (bug 256
[+]25741450:R12.OKS.C – UNABLE TO ADD ASSET (COUNTER LINE) TO EXISTING USAGE ON AN
[+]23229913:R12.OKS.C - 12.1.3 -> 12.2.0 UPGRADE DRIVER WORKER FAILED OKSPDFSD.LDT
[+]25780023:R12.OKS.C - CONSOLIDATED GROUP BILLING IS NOT CONSIDER THE ROUND UP AM
[+]20515032:R12.OKS.C - OKS_ACTIVATE_CONTRACT_PUB.ACTIVATE_CONTRACT RETURN STATUS=
[+]25962587:R12.OKC.C - INVALID VALUE FOR THE COLUMN LINE_RENEWAL_TYPE WHILE CALL
[+]26814339:R12.OKS.C - COUNTER BILLING AMOUNT FOR USAGE CONTRACTS IN PREVIEW MODE
[+]27667083:R12.OKS.C - E.TST1228:OKSHTMLUI:BILLING IS COMPLETED WITH WARNING WHEN
[-]29359390:R12.ONT.C // Oracle Order Management Command Center with Order Management Rele
[-]29602948:R12.GMO.C // Oracle Process Manufacturing Command Center
[-]29556032:R12.AR.C // Oracle Receivables Command Center
[-]29592222:R12.OKS.C // Oracle Service Contracts Command Center
[-]17361679:R12.ONT.C // Incremental load of data performance related patch
[-]19766498:R12.HZ.C // Incremental load of data performance related patch
[-]27073573:R12.INV.C // Incremental load of data performance related patch
[-]29419432:R12.JTT.C Patch for working in Arabic with ECC
[-]29179916 Customer Relationship Management help
[-]29179895 Financials online help
[-]29179889 procurement online help
[-]29179908 projects online help
[-]29179822 Supply Chain Management online help
Example of adop apply phase commands is presented below:
{ echo $appspass; echo $systempass; echo $wlspass; }| adop phase=apply patchtop=/backup/pa
patches=28780020,28780020_AR:u28780020.drv,28780020_F:u28780020.drv,28780241,28780241_AR:u

{ echo $appspass; echo $systempass; echo $wlspass; }| adop phase=apply patchtop=/backup/pa


patches=29760524:u29760524.drv,29622411_ZHS:u29622411.drv,29622411_F:u29622411.drv,2962241
02948:u29602948.drv,29592222_ZHS:u29592222.drv,29592222_F:u29592222.drv,29592222_D:u295922
6032.drv,29551366_ZHS:u29551366.drv,29551366_F:u29551366.drv,29551366_D:u29551366.drv,2955
551003:u29551003.drv,29550207:u29550207.drv,29359390_ZHS:u29359390.drv,29359390_F:u2935939
08305.drv,29008305:u29008305.drv,28969483_ZHS:u28969483.drv,28969483_F:u28969483.drv,28969
8816408:u28816408.drv,28780037_ZHS:u28780037.drv,28780037_F:u28780037.drv,28780037_D:u2878
779987.drv,28528332_ZHS:u28528332.drv,28528332_F:u28528332.drv,28528332_D:u28528332.drv,28
27673594_ZHS:u27673594.drv,27673594_F:u27673594.drv,27673594_D:u27673594.drv,27673594_AR:u
6437073.drv,19766498:u19766498.drv,17361679:u17361679.drv,28780031,28780031_AR:u28780031.d

Configure the Oracle Enterprise Command Center


Installation
Database setup
ECC configuration includes setting up the database, ECC Framework and EBS
integration.
For the full description of the parameters please refer to the Doc ID 2495053.1. I
provide example config file below:
[oracle@ecc quickInstall]$ cat EccConfig.properties

# Path of the ECC directory

ECC_BASE=/u01

# Directory location of ecc-config.properties


ECC_CONFIG_LOC=$ECC_BASE/Oracle/quickInstall/env/ecc

# Log directories for ECC and SOLR


ECC_LOG_DIR=$ECC_BASE/Oracle/quickInstall/logs/ecc

# Ebs Middletier properties

EBS_MIDDLETIER_HOST_FQDN=demo.enginatics.com
EBS_MIDDLETIER_PORT=80
EBS_MIDDLETIER_PROTOCOL=http

# Ebs Middletier DB Details

EBS_DB_URL=jdbc:oracle:thin:@demo.enginatics.com:1521:EBSDB
EBS_DB_USERNAME=apps
EBS_ECC_USER=DEVELOPER
TIMEZONE=CET

# ECC DB Details
ECC_DB_URL=jdbc:oracle:thin:@demo.enginatics.com:1521:EBSDB
ECC_DB_USERNAME=ECC
ECC_HOST_NAME=ecc.enginatics.com
ECC_HOST_PROTOCOL=http

#Zookeeper host url


zkHost=localhost:2181/solr
#SECURITY_FILTER_ALLOWED_HOSTS=
# clustering mode enabled or standalone
CLUSTER_MODE=standalone
ECC_DATA_CACHE_SIZE=2000

ECC_ADMIN_PORT=7775
ECC_MANAGED_PORT=7776
ECC_ADMIN_SSL_PORT=7777
ECC_MANAGED_SSL_PORT=7778

#Heap Memory settings


ADMIN_HEAP_USER_MEM=1024M
MANAGED_HEAP_USER_MEM=2048M

ECC_DEFAULT_LANGUAGE=en
#ECC supported languages comma separated
ECC_LANGUAGES=en

#Dataset replication distributes complete copies of dataset index to one or more other ser
#value 1 means no replication, value 2 means the index will be exist in two servers and so
#DATASET_NUM_REPLICAS=

#options solr or olt


DATASET_ANALYZER_DEFAULT=solr
DATASET_ANALYZER_OVERRIDE_SOLR_DATASETS=
DATASET_ANALYZER_OVERRIDE_OLT_DATASETS=
CLUSTER_JPA_MANAGER=zookeeper
Run script to update environment file
$ECC_BASE/Oracle/quickInstall/createEnvFile.sh
Run envSetup.sh script
Choose option “1. Database Setup”
[oracle@ecc quickInstall]$ ./envSetup.sh

Select which option you want to proceed with

1. Database Setup

2. Install Weblogic Server

3. Create ECC Domain

4. Create EBS JNDI

5. Integrate ECC with EBS

6. Exit:

Selected ECC DB is jdbc:oracle:thin:@demo.enginatics.com:1521:EBSDB

Is the user ECC existing in ECC database [y/n]? n

Enter the database system user name: system

Enter the database system password:


Enter the password for ECC DB user ECC (Passwords must be at least 8 characters long):
Confirm the password for user ECC :
Creating ECC...
ECC user created successfully
Creating ECC schema...
ECC schema created successfully
Verify connection to new ECC schema
Apply environment file created by envSetup.sh script before connection
source $ECC_BASE/Oracle/quickInstall/env/ecc.env
sqlplus $ECC_DB_USER@\"$ECC_DB_CONNECTION\"
Enter password:
SQL*Plus: Release 12.2.0.1.0 Production on Fri May 31 17:38:20 2019

Copyright (c) 1982, 2016, Oracle. All rights reserved.

Enter password:
Last Successful login time: Fri May 31 2019 14:54:54 +02:00

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> show user;


USER is "ECC"
Set Up Oracle Enterprise Command Center Framework
Choose options 2 and 3 to perform setup.
Example output is presented below:
Select which option you want to proceed with

1. Database Setup

2. Install Weblogic Server

3. Create ECC Domain

4. Create EBS JNDI

5. Integrate ECC with EBS

6. Exit:

2
Launcher log file is /tmp/OraInstall2019-05-24_09-46-46AM/launcher2019-05-24_09-46-46AM.lo
Extracting the installer . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 3696.282 MHz Passed
Checking swap space: must be greater than 512 MB. Actual 4087 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 3506 MB Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2019-05-24_09-46-46
Log: /tmp/OraInstall2019-05-24_09-46-46AM/install2019-05-24_09-46-46AM.log
Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of oracle-6, oracle-7, redhat-7, redhat-6, SuSE-11, SuSE-12
Actual Result: oracle-7.6
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.

Starting check : CheckJDKVersion


Expected result: 1.8.0_131
Actual Result: 1.8.0_141
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.
Validations are enabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100

The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence 12.2.1.3.0
successfully.
Logs successfully copied to /u01/ecc_demo/Oracle/software/oraInventory/logs.
Issue
Faced following error during ECC Domain creation:
Connectiong to t3://localhost:7775 to create JNDI for url:jdbc:oracle:thin:@demo.enginatic
Connecting to t3://localhost:7775 with userid weblogic ...
This Exception occurred at Mon May 27 10:05:45 CEST 2019.
javax.naming.CommunicationException: Failed to initialize JNDI context, tried 2 time or ti
interval of each time is 0ms.
t3://localhost:7775: Destination 0:0:0:0:0:0:0:1, 7775 unreachable.; nested exception is:
java.net.ConnectException: Connection refused (Connection refused); No available router to
nested exception is:
java.rmi.ConnectException: No available router to destination. [Root exception is java.net
t3://localhost:7775: Destination 0:0:0:0:0:0:0:1, 7775 unreachable.; nested exception is:
java.net.ConnectException: Connection refused (Connection refused); No available router to
nested exception is:
java.rmi.ConnectException: No available router to destination.]
Problem invoking WLST - Traceback (innermost last):
File "/u01/ecc_demo/Oracle/software/temp/createJndi.py", line 22, in ?
File "", line 19, in connect
File "", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Error getting the initial context
running at t3://localhost:7775 : Failed to initialize JNDI context, tried 2 time or times
interval of each time is 0ms.
t3://localhost:7775: Destination 0:0:0:0:0:0:0:1, 7775 unreachable.; nested exception is:
java.net.ConnectException: Connection refused (Connection refused); No available router to
nested exception is:
java.rmi.ConnectException: No available router to destination.
Use dumpStack() to view the full stacktrace :
Root cause
ECC domain wasn’t unpacked completely. Logfile didn’t show unpacking actually
started:
<< read template from "/u01/ecc_demo/Oracle/software/weblogic/templates/ecc_domain_templat
read template from "/u01/ecc_demo/Oracle/software/weblogic/templates/ecc_domain_template.j
<< set config option JavaHome to "/u01/ecc_demo/Oracle/software/java/jdk" >> succeed: set
JavaHome to "/u01/ecc_demo/Oracle/software/java/jdk"
<< set config option ServerStartMode to "prod" >> succeed: set config option ServerStartMo
<< find Security "ecc_domain" as obj0
<< find Security "ecc_domain" as obj1
<< find Security "ecc_domain" as obj2
<< find Security!User "ecc_domain!weblogic" as obj3 >> succeed: find Security!User "ecc_do
obj3
<< find User "weblogic" as obj4 >> succeed: find User "weblogic" as obj4
Password for ECC admin user weblogic contained 8 characters, but wasn’t secure
enough. I added special character and number to password and script executed without
the issue.
Ecc domain creation output
Select which option you want to proceed with

1. Database Setup

2. Install Weblogic Server

3. Create ECC Domain

4. Create EBS JNDI

5. Integrate ECC with EBS

6. Exit:

Enter the password for ECC DB user ECC :


Enter the password for ECC admin user weblogic (Passwords must be at least 8 characters lo
Confirm the password for ECC admin user weblogic :
Creating ECC Domain ...

Configuring the wallet


<< read template from "/u01/ecc_demo/Oracle/software/weblogic/templates/ecc_domain_templat
<< set config option JavaHome to "/u01/ecc_demo/Oracle/software/java/jdk" >> succeed: set
<< set config option ServerStartMode to "prod" >> succeed: set config option ServerStartMo
<< find Security "ecc_domain" as obj0
<< find Security "ecc_domain" as obj1
<< find Security "ecc_domain" as obj2
<< find Security!User "ecc_domain!weblogic" as obj3 >> succeed: find Security!User "ecc_do
<< find User "weblogic" as obj4 >> succeed: find User "weblogic" as obj4
<< set obj4 attribute Password to "********" >> succeed: set obj4 attribute Password to "*
<< set obj4 attribute IsDefaultAdmin to "true" >> succeed: set obj4 attribute IsDefaultAdm
>> validateConfig "KeyStorePasswords"
>> succeed: validateConfig "KeyStorePasswords"
<< write Domain to "/u01/ecc_demo/Oracle/Middleware/user_projects/domains/ecc_domain" ....
<< close template >> succeed: close template

ECC Domain is created...


ECC Log directory is: /u01/ecc_demo/Oracle/quickInstall/logs/ecc
Updating ECC Domain with the Config properties location /u01/ecc_demo/Oracle/quickInstall/
ecc.log.path update in /u01/ecc_demo/Oracle/quickInstall/env/ecc/ecc-config.properties suc
zkHost.url update in /ecc-config.properties successful
ecc.languages update in /ecc-config.properties successful
ecc.base_language update in /ecc-config.properties successful
dataset.analyzer.default update in /ecc-config.properties successful
dataset.analyzer.override.solr.datasets update in /ecc-config.properties successful
dataset.analyzer.override.olt.datasets update in /ecc-config.properties successful
cluster.jpa.manager update in /ecc-config.properties successful
rmi.url update in /ecc-config.properties successful
Starting ECC high availability configuation script.
Configuring ECC in single mode.
zookeeper numbers 1
updating dataset.num.replicas=1
dataset.num.replicas update in /ecc-config.properties successful
eccConfigLocation jvm property configured for eccManaged Server
Configuring WLS servers ports ...

CLASSPATH=/u01/ecc_demo/Oracle/software/java/jdk/lib/tools.jar:/u01/ecc_demo/Oracle/Middle

PATH=/u01/ecc_demo/Oracle/Middleware/wlserver/server/bin:/u01/ecc_demo/Oracle/Middleware/w
1.9.8/bin:/u01/ecc_demo/Oracle/software/java/jdk/jre/bin:/u01/ecc_demo/Oracle/software/jav
cc_demo/Oracle/Middleware/wlserver/../oracle_common/modules/org.apache.maven_3.2.5/bin

Your environment has been set.

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Exiting WebLogic Scripting Tool.

WLS ports configured successfully for ECC


Configuring WLS servers SSL ports ...

CLASSPATH=/u01/ecc_demo/Oracle/software/java/jdk/lib/tools.jar:/u01/ecc_demo/Oracle/Middle

PATH=/u01/ecc_demo/Oracle/Middleware/wlserver/server/bin:/u01/ecc_demo/Oracle/Middleware/w
1.9.8/bin:/u01/ecc_demo/Oracle/software/java/jdk/jre/bin:/u01/ecc_demo/Oracle/software/jav
cc_demo/Oracle/Middleware/wlserver/../oracle_common/modules/org.apache.maven_3.2.5/bin

Your environment has been set.

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Exiting WebLogic Scripting Tool.

WLS SSL ports configured successfully for ECC


Updating ECC Domain for Heap space...
Done updating ECC Domain for Heap space...

Starting ECC Domain Admin Server ...


Started the ECC Admin Server successfully
Creating JNDI for ECC schema...

CLASSPATH=/u01/ecc_demo/Oracle/software/java/jdk/lib/tools.jar:/u01/ecc_demo/Oracle/Middle

PATH=/u01/ecc_demo/Oracle/Middleware/wlserver/server/bin:/u01/ecc_demo/Oracle/Middleware/w
1.9.8/bin:/u01/ecc_demo/Oracle/software/java/jdk/jre/bin:/u01/ecc_demo/Oracle/software/jav
cc_demo/Oracle/Middleware/wlserver/../oracle_common/modules/org.apache.maven_3.2.5/bin

Your environment has been set.

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connectiong to t3://localhost:7775 to create JNDI for url:jdbc:oracle:thin:@demo.enginatic


Connecting to t3://localhost:7775 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "ecc_domain".

Warning: An insecure protocol was used to connect to the server.


To ensure on-the-wire security, the SSL port or Admin port should be used instead.

Location changed to edit tree.


This is a writable tree with DomainMBean as the root.
To make changes you will need to start an edit session via startEdit().
For more help, use help('edit').

Starting an edit session ...


Started edit session, be sure to save and activate your changes once you are done.
No stack trace available.
eccdb does not exist
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is complet
Activation completed
eccdb created Successfully
Disconnected from weblogic server: AdminServer
JNDI setup successfully for ECC data source
old 5: l_conn_string VARCHAR2(300) :='&&2';
new 5: l_conn_string VARCHAR2(300) :='demo.enginatics.com:1521/EBSDB';
old 6: l_conn_name VARCHAR2(30) := '&&1';
new 6: l_conn_name VARCHAR2(30) := 'ebsdb';
Starting creating connections with parameters : connection Name :ebsdb
Connection String : demo.enginatics.com:1521/EBSDB
port pos = 21
sid pos = 26
port pos = 21
sid pos = 26
l_hostname = demo.enginatics.com
l_port = 1521
l_service_name = EBSDB
l_conn_name = ebsdb
created connection with parameters : connection Name :ebsdb Connection String :
demo.enginatics.com:1521/EBSDB
PL/SQL procedure successfully completed.

old 8: l_conn_string VARCHAR2(300) :='&&3';


new 8: l_conn_string VARCHAR2(300) :='http://ecc.enginatics.com:7776';
old 9: l_conn_name VARCHAR2(30) := '&&1';
new 9: l_conn_name VARCHAR2(30) := 'ebsdb';
old 10: l_system_name VARCHAR2(100) := '&&2';
new 10: l_system_name VARCHAR2(100) := 'EBS';
Creating Source System with Parameters : Connection String =
http://ecc.enginatics.com:7776 Connection Name = ebsdb System Name = EBS
Creating Source System with System Name = EBS already exists . Deleting and
creating again
Creating Source System with Parameters : Connection String =
http://ecc.enginatics.com:7776 Connection Name = ebsdb System Name = EBS
protcol = http:
protcol = http:
protcol = http
protoppos = 8
port_pos = 26
l_hostname =ecc.enginatics.com
l_port =7776
Created Source System with Parameters :
Created Source System with Parameters : Connection String =
http://ecc.enginatics.com:7776 Connection Name = ebsdb System Name = EBS

PL/SQL procedure successfully completed.

ZooKeeper JMX enabled by default


Using config: /u01/ecc_demo/Oracle/software/zookeeper/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
Zookeeper started. Starting Managed Server
Starting the eccManaged ...
Started the eccManaged successfully

Configured the ECC domain successfully.


Confirm that both admin and managed servers started
[root@ecc quickInstall]# vi /u01/ecc_demo/Oracle/Middleware/user_projects/domains/ecc_doma
[root@ecc quickInstall]# vi /u01/ecc_demo/Oracle/Middleware/user_projects/domains/ecc_doma
Search for message “The server started in RUNNING mode”
Login to ECC admin url:
http://[ECC_HOST_NAME]:[ECC_MANAGED_PORT]/ecc
Example:
http://ecc.enginatics.com:7776/ecc/
Configuring the JNDI to Connect to Oracle E-Business Suite:
Login to EBS apps node and find dbc file under $FND_SECURE directory.
Run following command, providing FQDN of ecc host and full path to dbc file:
java oracle.apps.fnd.security.AdminDesktop apps/[apps_password] CREATE
NODE_NAME=[fully_qualified_domain_name_of_target_ECC_host_system] DBC=[full_local_DBC_file
Example:
java oracle.apps.fnd.security.AdminDesktop apps/$pass CREATE NODE_NAME=ecc.enginatics.com
DBC=/u01/install/APPS/fs2/inst/apps/EBSDB_apps/appl/fnd/12.0.0/secure/EBSDB.dbc

Copy generated dbc file to the ECC server under quickInstall directory as follows:
[oracle@demo secure]$ scp EBSDB_ECC.ENGINATICS.COM.dbc
oracle@ecc.enginatics.com:/u01/ecc_demo/Oracle/quickInstall/connection.dbc
Login to EBS as user with administrative privileges
Сhoose User Management Responsibility > Users function
Add UMX|APPS_SCHEMA_CONNECT role to the EBS_ECC_USER user in
EccConfig.properties as per Doc ID 1556742.1
Otherwise you may get error:
weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException
Could not create connection for datasource 'ebsDB'.

The returned message is: ORA-01017: invalid username/password; logon denied


Another possible cause of this error: make sure that HOST in connection.dbc is
resolvable from ECC server.
APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOV
))(CONNECT_DATA\=(SERVICE_NAME\=EBSDB)))
Script output:
4
Creating JNDI ....
Checking connection.dbc file availability...

DBC file /u01/ecc_demo/Oracle/quickInstall/connection.dbc available

Enter the EBS apps password:


Verify if the Node is registered in the EBS database...
Node name ECC.ENGINATICS.COM
EBS_ECC_USER DEVELOPER
DB URL demo.enginatics.com:1521/EBSDB
Node is registerd in EBS

Check if the FND USER DEVELOPER exists


User DEVELOPER already exists in FND_USER. Validating user

Enter password:
User DEVELOPER successfully validated

Provide ECC admin credentials for JNDI setup

Enter the password for weblogic admin for ECC domain :


Creating JNDI for ECC to access EBS DB...
CLASSPATH=/u01/ecc_demo/Oracle/software/java/jdk/lib/tools.jar:/u01/ecc_demo/Oracle/Middle

PATH=/u01/ecc_demo/Oracle/Middleware/wlserver/server/bin:/u01/ecc_demo/Oracle/Middleware/w
1.9.8/bin:/u01/ecc_demo/Oracle/software/java/jdk/jre/bin:/u01/ecc_demo/Oracle/software/jav
cc_demo/Oracle/Middleware/wlserver/../oracle_common/modules/org.apache.maven_3.2.5/bin

Your environment has been set.

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://localhost:7775 with userid weblogic ...


Successfully connected to Admin Server "AdminServer" that belongs to domain "ecc_domain".

Warning: An insecure protocol was used to connect to the server.


To ensure on-the-wire security, the SSL port or Admin port should be used instead.

Location changed to edit tree.


This is a writable tree with DomainMBean as the root.
To make changes you will need to start an edit session via startEdit().
For more help, use help('edit').

Starting an edit session ...


Started edit session, be sure to save and activate your changes once you are done.
No stack trace available.
ebsDB does not exist
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is complet
Activation completed
Disconnected from weblogic server: AdminServer
JNDI created for EBS database...
Testing
Log in to the Oracle УСС domain admin console at the following URL:
http://[ECC_HOST_NAME]:[ECC_ADMIN_PORT]/console
Example: http://ecc.enginatics.com:7775/console
Go to Services > Data Sources.
Select the ebsdb JNDI configuration in the right pane.
Navigate to the Monitoring tab and select the Testing subtab.
Select the managed server and choose the Test Data Source button. The following
message should appear: Success Test of ebsdb on server was successful.

You might also like