How To Find Particular Database Session ID From the SQLID ( ORACLE 19c)

ISSUE:

In this Blog we are going to learn about How To Find a Particular Database Session ID From the SQLID.
One of my customer informed me I have query running since 10 hours and He
already confirmed with Business user that this query session is safe to be
terminated.

Here we will not discuss about invetigating if that is really applicable to
be terminated

Instead this is a just to share the method on:

GOAL: How to find particular Database session ID from the SQLID we could
see from Oracle 19c Enterprise Manager Database Express console

Note that we could not see the session id from same console.

SOLUTION:

  1. select * from V$SESSION where SQL_ID = ‘7upkztdrajyay’

better to see the detailed row data returned from above select statement.

then check the sid in below sql which will generate kill statement to be run
from database superuser account ( sysdba )

  1. select ‘alter system kill session ‘||””||
    vs.sid||’,’||vs.serial#||””|| ‘ immediate;’ from v$session vs, v$process
    vp where vs.paddr = vp.addr and vs.sid in ();

OR merge both queries for one shot result

select ‘alter system kill session ‘||”|| vs.sid ||’,’ || vs.serial# || ” || ‘ immediate;’ from v$session vs, v$process vp where vs.paddr=vp.addr and vs.sid in (select sid from v$session where sql_id =’7upkztdrajyay’);

sqlplus / as sysdba

SQL> ALTER SYSTEM KILL SESSION ‘275,44741’ immediate;
SQL> ALTER SYSTEM KILL SESSION ‘279,44749’ immediate;

Done and EM does not show it anymore.

Posted in Uncategorised | Leave a comment

How to check status ( State and Health ) of Managed Servers under weblogic console from linux instead of browser URL

Issue:
While accessing the EBS 12.2.13 Weblogic Console to check health status of EBS managed server the browser redirects to below error as a security restriction:
The Server is not able to service this request: [Socket:000445]Connection rejected, filter blocked Socket, weblogic.security.net.FilterException: [Security:090220]rule 2

Solution:
Connect to application from OS/Linux terminal/putty
Source EBS 12.2 Run File system environment
Last login: Mon Apr 15 09:35:16 2024
E-Business Suite Environment Information
File System Type: SINGLE
RUN File System : /d01/UAT/ebiz/fs1/EBSapps/appl
PATCH File System : NOT APPLICABLE
Non-Editioned File System : /d01/UAT/ebiz/fs_ne

DB Host: ebsuat.erp.com Service/SID: UAT
Sourcing the RUN File System …
[appluat@ebsuat ~]$ echo $FMW_HOME
/d01/UAT/ebiz/fs1/FMW_Home
[appluat@ebsuat ~]$
[appluat@ebsuat bin]$
[appluat@ebsuat bin]$ hostname
[appluat@ebsuat bin]$ ebsuat.erp.com
[appluat@ebsuat bin]$
[appluat@ebsuat bin]$ cat $CONTEXT_FILE | grep s_wls_adminport
[appluat@ebsuat bin]$ cat $CONTEXT_FILE | grep s_wls_adminport
7081
[appluat@ebsuat ~]$


Step 1:
Create file get_health_status.py
vi get_health_status.py

Insert below script content:

==========Start of script==================
connect(‘weblogic’, ‘<<weblogicPwd>>’, ‘t3://ebsuat.erp.com:7081’)
domainRuntime()

servers = domainRuntimeService.getServerRuntimes()
for server in servers:
print(‘Server: ‘ + server.getName())
print(‘Health State: ‘ + str(server.getHealthState()))
disconnect()
exit()

=========== End of Script ===============
Step 2: Run below command with py script file we just created
$FMW_HOME/oracle_common/common/bin/wlst.sh get_health_status.py

Recorded Session:
[appluat@ebsuat ~]$ $FMW_HOME/oracle_common/common/bin/wlst.sh new.py

CLASSPATH=/d01/UAT/ebiz/fs1/FMW_Home/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/d01/UAT/ebiz/fs1/EBSapps/comn/util/jdk64/lib/tools.jar:/d01/UAT/ebiz/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic_sp.jar:/d01/UAT/ebiz/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/d01/UAT/ebiz/fs1/FMW_Home/modules/features/weblogic.server.modules_10.3.6.0.jar:/d01/UAT/ebiz/fs1/FMW_Home/wlserver_10.3/server/lib/webservices.jar:/d01/UAT/ebiz/fs1/FMW_Home/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/d01/UAT/ebiz/fs1/FMW_Home/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/d01/UAT/ebiz/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/d01/UAT/ebiz/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/d01/UAT/ebiz/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/d01/UAT/ebiz/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/d01/UAT/ebiz/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/d01/UAT/ebiz/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/d01/UAT/ebiz/fs1/EBSapps/comn/java/classes:/d01/UAT/ebiz/fs1/EBSapps/10.1.2/forms/java:/d01/UAT/ebiz/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/d01/UAT/ebiz/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/d01/UAT/ebiz/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/lib/adfscripting.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/lib/mdswlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/auditwlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/igfwlsthelp.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/jps-wlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/jps-wls-trustprovider.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/jrf-wlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/oamap_help.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/ossoiap_help.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/ossoiap.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/sslconfigwlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/oracle_common/common/wlst/resources/wsm-wlst.jar:/d01/UAT/ebiz/fs1/FMW_Home/utils/config/10.3/config-launch.jar::/d01/UAT/ebiz/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbynet.jar:/d01/UAT/ebiz/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbyclient.jar:/d01/UAT/ebiz/fs1/FMW_Home/wlserver_10.3/common/derby/lib/derbytools.jar::

Initializing WebLogic Scripting Tool (WLST) …
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to t3://ebsuat.erp.com:7081 with userid weblogic …
Successfully connected to Admin Server ‘AdminServer’ that belongs to domain ‘EBS_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 domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

Server State Health

oacore_server2 RUNNING HEALTH_OK
oafm_server1 RUNNING HEALTH_OK
AdminServer RUNNING HEALTH_OK
forms_server1 RUNNING HEALTH_OK
oacore_server1 RUNNING HEALTH_OK

Disconnected from weblogic server: AdminServer
Exiting WebLogic Scripting Tool.

Posted in Uncategorised | Leave a comment

After applying EBS 12.2.13 RUP on Redhat Linux 8.9 OS, Viewing the Output and Log Files from any Concurrent Request Shows a Blank Page in the Browser

Environment: Oracle EBS Release that is 12.2.13 with 19c that is 19.22 which is Running on Red Hat Enterprise Linux release 8.9 (Ootpa)

Issue:

After Applying :

  1. R12.AD.C.delta.15 -> 34695811
  2. R12.TXK.C.delta.15 -> 34785677
  3. Oracle E-Business Suite 12.2.13 Release Update Pack -> 34776655

    We started facing problem i.e Concurrent Request Output and Log output displays Blank Page in the Browser.

SOLUTION:

Make sure to shutdown EBS Services including Weblogic

Then Run the following commands to unzip the container and WLS patch respectively and then Apply below Weblogic Server Patch ( for OL8/RHEL8 customers only ):

  1. cd /u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu/cache_dir/

2-a. unzip -o /u01/EBS_UPDATE_12_2_13/CONC_LOG_NO_OUTPUT/p32931976_R12_GENERIC.zip
2-b. unzip -o /u01/EBS_UPDATE_12_2_13/CONC_LOG_NO_OUTPUT/p31090393_1036_Linux-x86-64.zip —-> EG54.jar delivered by this patch is actually going to fix.

[appluat@ebsappuat CONC_LOG_NO_OUTPUT]$ ls -lrt
total 213624
-rw-r–r–. 1 appluat dba 196680280 Dec 9 2020 patch-catalog_27387.xml
-rw-r–r–. 1 appluat dba 449 Dec 9 2020 README.txt
-rw-r–r–. 1 appluat dba 4088 Dec 9 2020 EG54.jar
-rw-r–r–. 1 appluat dba 673 May 27 2021 Readme.txt
-rw-r–r–. 1 appluat dba 11081624 May 27 2021 p31090393_1036_Linux-x86-64.zip
-rw-r–r–. 1 appluat dba 10970736 Feb 21 16:09 p32931976_R12_GENERIC.zip
[appluat@ebsappuat CONC_LOG_NO_OUTPUT]$

  1. cd /u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu

. /u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu/bsu.sh -prod_dir=/u01/8005_uat_app/ebiz/fs1/FMW_Home/wlserver_10.3/ -patch_download_dir=/u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu/cache_dir/ -patchlist=EG54 -verbose -install >> /u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu/cache_dir/Apply_WLS_EG54_1.log

  1. cat /u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu/cache_dir/Apply_WLS_EG54_1.log

Checking for conflicts..
No conflict(s) detected

Starting installation of Patch ID: EG54
Installing /u01/8005_uat_app/ebiz/fs1/FMW_Home/utils/bsu/cache_dir/EG54.jar
Backing up /u01/8005_uat_app/ebiz/fs1/FMW_Home/wlserver_10.3/server/native/linux/x86_64/libwlenv.so into /u01/8005_uat_app/ebiz/fs1/FMW_Home/patch_wls1036/backup/backup.jar
Extracting /u01/8005_uat_app/ebiz/fs1/FMW_Home/wlserver_10.3/server/native/linux/x86_64/libwlenv.so
Result: Success <<<<<<— Successfully Applied

Issue resolved after this patch.

Posted in Uncategorised | Leave a comment

OS Errors sh: scl: line 1: syntax error: unexpected end of file while starting WebLogic Admin service in EBS 12.2 on Redhat Linux 8.9, here’s how to solve it!

OS level error while starting WebLogic Admin adadminsrvctl.sh service in EBS 12.2 on Redhat and or Oracle Linux 8.9 :

You are running adadminsrvctl.sh version 120.10.12020000.11

Starting WLS Admin Server…
Refer /u01/8005_uat_app/ebiz/fs1/inst/apps/PREUPG_ebsappuat/logs/appl/admin/log/adadminsrvctl.txt for details

AdminServer logs are located at /u01/8005_uat_app/ebiz/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /u01/8005_uat_app/ebiz/fs1/inst/apps/PREUPG_ebsappuat/logs/appl/admin/log/adadminsrvctl.txt for more information …

.end std out.

sh: scl: line 1: syntax error: unexpected end of file
sh: error importing function definition for scl’ sh: ml: line 1: syntax error: unexpected end of file sh: error importing function definition forml’
sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for switchml’ sh: which: line 1: syntax error: unexpected end of file sh: error importing function definition forwhich’
sh: ml: line 1: syntax error: unexpected end of file
sh: error importing function definition for ml’ sh: _module_raw: line 1: syntax error: unexpected end of file sh: error importing function definition for_module_raw’
sh: scl: line 1: syntax error: unexpected end of file

.end err out.


To solve the error while starting weblogic admin server, follow the given below

Solution:

  1. vi .bash_profile of your EBS Application OS user
    unset which
    unset scl
  2. Login via root user and rename below file :
  3. mv /etc/profile.d/modules.sh /etc/profile.d/modules.sh.bkup
  4. Take a fresh putty session on Linux
    now Log out, log back in, and set the application environment.

Posted in Uncategorised | Leave a comment

How to extract EBS 12.1.x or EBS 12.2.x Workflow Mailer logs having Error, Exception or UNEXPECTED Keywords in your target logfiles

Goal:

Extraction of EBS 12.1.x or EBS 12.2.x Workflow Mailer logs having Error, Exception or UNEXPECTED Keywords in your target logfiles.

By following the given below steps you will easily extract EBS 12.1.x or EBS 12.2.x Workflow Mailer logs having Error, Exception or UNEXPECTED Keywords in your target logfiles.

Steps:

  1. Source EBS Run file system/
  2. cd $APPLCSF/logs
  3. Generate the subject logs with the following commands:

grep “:ERROR:” $APPLCSF/$APPLLOG/FNDCPGSC*.txt > WFMailer_ERRORS.log

grep “Exception:” $APPLCSF/$APPLLOG/FNDCPGSC*.txt > WFMailer_EXCEPTIONS.log

grep “:UNEXPECTED:” $APPLCSF/$APPLLOG/FNDCPGSC*.txt > WFMailer_UNEXPECTED.log

Posted in Uncategorised | Leave a comment

How to perform Basic Health Check, Stop & Start, Oracle E-Business 12.2.x Application & Database 19c – 19.12

Steps to STOP Oracle EBS 12.2.x Application Services:

1. Connect Putty to Application Sever IP:   

2. Login with Application OS User ( Username / password ) and source EBS Application Env

3. cd $ADMIN_SCRIPTS_HOME
4. [applprod@erp scripts]$ pwd

/u01/Ebiz/fs1/inst/apps/ERPPROD_erp/admin/scripts

[applprod@erp scripts]$

5.   ./adstpall.sh apps/< password

Enter Weblogic Password when Prompted

Now EBS services will proceed to shut down…….

Ensure All processes are cleared on Linux terminal

Use the command :    ps –ef | grep applprod

Except vnc  process , Wait for each applprod process to be cleared out itself.

Incase of delay only we may proceed to kill the pending OS applprod processes in order to proceed next.

AFTER SHUTDOWN of All EBS Services including all OS Processes

Perform the TAR Backup of the EBS FileSystem:

Command to run TAR Backup ( For Full Backup of EBS File System ):
cd <Backup Direcory>
nohup tar -czf [Compressed file name].tgz  /u01/Ebiz &

Command to run TAR Backup ( For Cloning Purpose Only – EBS Backup of EBS File System ):
cd <Backup Direcory>
nohup tar -czf [Compressed file name].tgz  /u01/Ebiz/fs1/EBSapps &

NOTE: For cloning purpose, Ensure to run PRECLONE on Apps Tier before EBS Backup:


Steps to START Oracle EBS 12.2.x Application Services:

cd $ADMIN_SCRIPTS_HOME
4. ( a )   To start Weblogic and EBS Services in One Shot
 [applprod@erp scripts]$ pwd

/u01/Ebiz/fs1/inst/apps/ERPPROD_erp/admin/scripts

[applprod@erp scripts]$ ./adstrtal.sh apps/*****
You are running adadminsrvctl.sh version 120.10.12020000.11

Enter the WebLogic Admin password: < Enter the Weblogic password >

Enter the APPS Schema password: < Enter the apps password >



NOTE: ( On the Safe Side ) It is a Good Practice to start the Weblogic Admin before starting EBS Services to ensure there is no Weblogic startup issue.
4. ( b-1 )   To start Weblogic First Alone
[applprod@erp scripts]$ pwd

/u01/Ebiz/fs1/inst/apps/ERPPROD_erp/admin/scripts

[applprod@erp scripts]$ ./adadminsrvctl.sh start

You are running adadminsrvctl.sh version 120.10.12020000.11

Enter the WebLogic Admin password: < Enter the Weblogic password >

Enter the APPS Schema password: < Enter the apps password >


Now login to Weblogic Console :   



AdminServer-(admin)   should be up and running.



4. ( b-2 )   NOW start EBS Services to start the Managed Services
( Forms_server1, oacore_server1 and oaf_server1 )  under the Weblogic Admin Control
[applprod@erp scripts]$ pwd

/u01/Ebiz/fs1/inst/apps/ERPPROD_erp/admin/scripts

[applprod@erp scripts]$ ./adstrtal.sh apps/*****
You are running adadminsrvctl.sh version 120.10.12020000.11

Enter the WebLogic Admin password: < Enter the Weblogic password >
Enter the APPS Schema password: < Enter the apps password >
Once All the Services are ensure ( Forms_server1, oacore_server1 and oaf_server1 ) that they are RUNNING



X============X==================X=================X=================X============X

Steps to STOP Oracle Database 19c Services:

1. Connect Putty to Database Sever IP:   172.10.18.17
2. Login with Database OS User ( Username / password )
3. Source Container Database Env

. env_filename.env



NOTE: Since there are 2 separate env files ( one for CDB and one for PDB ( EBS Database )
Therefore Environment is not configured to be auto sourced on Login


Issue command shu immediate

Since you are connected to Container Database ,
Shutdown immediate will first shutdown the Pluggable (PDB) EBS Database and then shutdown itself (CDB)  at the end.



Go to the main directory where all datafiles of CDB and PDB are located.

In my case the dir is “/u01/erpprod/db

cdb_data = Directory containing Container Data Files
ebs_data = Directory containing Pluggable EBS Data Files

19.0.0 is the home directory having 19c binaries.

temp directory is a mandatory directory acting as utl_file directory path location: 19c CDB Database.

ONLY FOR INFORMATION ( REFERENCE SCREENSHOT BELOW)



AFTER SHUTDOWN of All Oracle Database Processes

For Cold Backup of Database ( both CDB and PDB )
This cold Backup may help DBA to recover during a Patching situation on the EBS Application or some major Updates in the Database.
Perform the Cold TAR Backup using the below command:

Command to run TAR Backup ( For Full Backup of DB File System including both CDB and PDB ):
cd <Backup Direcory>
nohup tar -czf [To be name of compressed file].tgz  /u01/erpprod/db &



For RMAN online Backup





Backup has been already scheduled in Linux crontab  –  Daily 02:00 AM

Shell script location is: /home/oraprod/dbstuff/RunRmanBackup.sh
Bkp script :     /home/oraprod/dbstuff/rmanbkp.sql
Bkp Storage location: /backup_db/RMAN_BACKUP



Steps to START Oracle Database 19c Services:
1. Connect Putty to Database Sever IP:   172.10.18.17
2. Login with Database OS User ( Username / password )
3. Source Container Database Env

. env_ERPCDB.env

sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 – Production on Thu Jan 20 17:35:41 2022

Version 19.12.0.0.0

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

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production

Version 19.12.0.0.0
SQL>startup

Posted in Uncategorised | Leave a comment

How to save time and apply ebs 12.2 patch without adop online patching:


GOAL: Avoid long and time taking adop online patching cycle and apply patch in downtime to your run file system quickly

SOLUTION:

adop phase=apply

apply_mode=downtime  << — Patch to be applied when EBS Services are down

patchtop=/home/8010_EBS/EBS_Patches/SUPPLIER_PEROFMANCE_PATCH  << — Customer Directory when patch is unzipped

patches=4968075,  << — Patch to be applied in English Version

4968075_AR:u4968075.drv << — Patch to be applied in Arabic Version

wait_on_failed_job=yes  << — specified this would not burst out the patch session instead it will wait for DBA Action via adctrl

workers=8 << — worker numbers to be adjusted according to the target machine CPU threads

COMMAND TO APPLY WEBLOGIC PATCH:
adop phase=apply apply_mode=downtime patchtop=/home/8010_EBS/EBS_Patches/SUPPLIER_PEROFMANCE_PATCH patches=4968075, 4968075_AR:u4968075.drv wait_on_failed_job=yes workers=8

( Conditional ) After the patch is applied, You may Synch your patch filesystem by running adop phase=fs_clone
Also relevancy of this article must be checked/validated for each / different respective environment like Single / Multiple EBS Nodes etc.

NOTE:
One should make use of adop parameters to add with above patch command:
Primary App Node: allnodes=no action=db
Secondary App Node: allnodes=no action=nodb

Posted in Uncategorised | Leave a comment

EBS 12.2: How to Enable Java Web Start for Java Applet Support in Modern Browsers


Step – 1: Apply All EBS 12.2 relevant Patches to your EBS Application from below JWS MOS Doc:
Using Java Web Start with Oracle E-Business Suite(Doc ID 2188898.1)

Step – 2: Enable Java Web Start :

Source EBS Run FS Environment ( 12.2 )
REGENERATE JAR FILES FORCE = YES

Step -3 : UPDATE EBS CONTEXT FILE VALUE OF s_forms_launch_method FROM browser To jws

BEFORE
[appl8017@erpclone ~]$ cat $CONTEXT_FILE | grep s_forms_launch_method
browser
[appl8017@erpclone ~]$

AFTER
[appl8017@erpclone ~]$ cat $CONTEXT_FILE | grep s_forms_launch_method
jws
[appl8017@erpclone ~]$

Step-4 : FINALLY RUN AUTOCONFIG

Step-5 : Start EBS Services

Posted in Uncategorised | Leave a comment

How to shutdown / start pluggable Database only from a Container Database in 19c

===================================

  1. Source Container Database Environment
  2. sqlplus “/ as sysdba”
  3. alter pluggable database EBSCLONE close immediate;
  4. alter pluggable database EBSCLONE open read write;

=========================================

Posted in Uncategorised | Leave a comment

ERROR: while execution of txkPostPDBCreationTasks.pl ( Part of converting noncdb to pdb ) or any other 19c ebs Database phases:

FUNCTION: main::validateAppsSchemaCredentials [ Level 1 ]
ERRORMSG: Invalid APPS database user credentials.

SOLUTION:
Possible areas and tips to review and fix the above issue :
Make sure :
– Select name from v$active_services
and make sure below services are present and configured:
( ebs_PROD, PROD_ebs_patch, PROD)
-PDB SID in small letters/Capital letters accordingly present in Ebs DB Ctx File.

Make sure below 19c Database Parameters are properly set:
.local_listener=’hostname.domain:dbport’ in parameter file
.service_names=ERPCDB
.db_domain parameter removed from DB parameter file
.sev_case_sensitive should be false

Posted in Uncategorised | Leave a comment