Chennai APPS DBA Blog
I am a software engineer and working as an Oracle Apps DBA. I have started this blog to share my knowledge with others . Here you can find stuff related to Oracle DBA,Oracle Applications DBA,
Tuesday, November 4, 2025
RMAN Queries
Tuesday, October 28, 2025
TFA-00104 Cannot establish connection with TFA Server. Please check TFA Certificates
Error Message
While trying to collect the diagnostic or checking the tfa status, it gives an below error message
FA-00104: Cannot establish connection with TFA Server. Please check TFA Certificates
Solution:
Perform the following steps as the root user:
1. Check if the TFA service is running
ps -ef | grep tfa
2. Stop the TFA service
tfactl stop
3. Start the TFA service
tfactl start
TFA Commands
Introduction:
Oracle Trace File Analyzer (TFA) is a powerful diagnostic tool included with AHF (Autonomous Health Framework). It helps Oracle DBAs and system administrators collect, analyze, and manage diagnostic data for Oracle Database, Grid Infrastructure, and ASM environments — especially during performance or crash issues.1. Check TFA Status
tfactl statustfactl start
tfactl stop
2. Collect Diagnostics:
Connect as root user,Be sure to set the date and time to 2 hours before and after the issue occurred in node-wise if it is RAC.
tfactl diagcollect -from "Jan/01/2025 00:00:00" -to "Jan/01/2025 02:00:00" -noclassify
--It will take some time to collect all the data.
Monday, September 29, 2025
com.sun.deploy.net.FailedDownloadException: Unable to load resource
Fixing JAR File Download Error After EBS R12.2 Clone
When working with Oracle E-Business Suite R12.2, it’s common to encounter unexpected issues after performing a clone. Recently, after a clone activity, a few users faced errors while trying to access form pages.
Issue
Users were unable to load forms and encountered the following error:
ExitException[3]com.sun.deploy.net.FailedDownloadException:
Unable to load resource: http://xxxxxxxx.yyyyyy.zzz:xxxx/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar
at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Analysis
- Verified the Java exception list – it was working fine.
- Checked whether the application URL was added to the trusted sites – it was missing.
- Tested with
SYSADMINcredentials in multiple browsers – the same issue persisted.
- Reviewed browser settings to confirm if insecure content was allowed – it was not.
The issue was resolved by making the following changes on the client side:
- Add the application URL to trusted sites in the browser settings.
- Allow insecure content for the application URL.
After applying these changes, users were able to access the forms without any errors.
Thursday, July 10, 2025
Protocol Not Supported Error During OAuth IMAP Configuration
Issue:
While setting up OAuth for IMAP in Oracle E-Business Suite R12.2, you may encounter the following error during the IMAP connection test:
IMAP connection testing failed with: Protocol not supported
This typically occurs after following the Oracle documentation Doc ID 2884072.1 for OAuth configuration.
Solution:
1. To resolve this, explicitly instruct the JVM to use the Sun HTTPS handler and enforce TLS 1.2 for outbound connections by updating the application tier startup parameters.
-DUseSunHttpHandler=true -Dhttps.protocols=TLSv1.2
2. Apply the changes by stopping and starting the application services:
adstpall.sh & adstrtal.sh
Thursday, June 19, 2025
Create a Custom Concurrent Manager in Oracle EBS R12.2
Please follow the steps to create a custom concurrent Manager on the Oracle EBS R12.2 Application.
1. Stop the Concurrent manager services
2. Login to the application using sysadmin user.
3. Navigate to the Concurrent -> Manager -> Define
4. Create a custom manager as Custom Standard Manager.
- Set cache size as 50
- in Program Library -> Name: Library
- in Workshift -> mention 3 processes
- in Specialization rule -> include program's name as customizations and then save.
5. Exclude the concurrent program from the standard maanger
Concurrent-> Manager-> Define -> Standard Manager -> Specializations Rules -> Exclude all the above added concurrent programs.
6. Restart the concurrent Manager service
7. Activate the custom Concurrent Manager.
8. Submit the concurrent program and verify the same.
--Use the following query to identify which manager ran the concurrent request.
from
fnd_concurrent_processes a,
fnd_concurrent_queues_vl b,
fnd_concurrent_requests c,
fnd_concurrent_programs d,
FND_CONCURRENT_PROGRAMS_TL e
where a.CONCURRENT_QUEUE_ID = b.CONCURRENT_QUEUE_ID
and a.CONCURRENT_PROCESS_ID = c.controlling_manager
and c.concurrent_program_id=d.concurrent_program_id AND d.concurrent_program_id=e.concurrent_program_id
and c.request_id in ('1234567','1234567','1234567');
Query to Monitor RMAN Restoration Progress in Oracle
SET LINE 132
SELECT opname, round(sofar/totalwork*100) "% Complete"
FROM v$session_longops
WHERE opname LIKE 'RMAN%'
AND totalwork != 0
AND sofar <> totalwork
ORDER BY 1;
Note: For RAC database use, gv$session_longops in the above query.
Thursday, March 13, 2025
Query to Update EBS Profile Values for Selective Users at the User Level
SET SERVEROUTPUT ON SIZE UNLIMITED;
DECLARE
l_success BOOLEAN;
CURSOR uid IS
SELECT DISTINCT fpov.level_value AS user_id
FROM fnd_profile_option_values fpov
JOIN fnd_profile_options fpo ON fpov.profile_option_id = fpo.profile_option_id
WHERE fpo.profile_option_name = 'ICX_FORMS_LAUNCHER'
AND fpov.level_id = 10004 -- User level
AND fpov.profile_option_value IS NOT NULL;
v_counter NUMBER := 0; -- Counter for users processed
BEGIN
FOR i IN uid LOOP
l_success := FND_PROFILE.save(
'ICX_FORMS_LAUNCHER',
'http://xxx.xxxx.xxx:8000/forms/frmservlet?config=jws',
'USER',
i.user_id
);
v_counter := v_counter + 1;
IF MOD(v_counter, 100) = 0 THEN -- Print output every 100 users to avoid overflow
DBMS_OUTPUT.PUT_LINE(v_counter || ' users updated...');
END IF;
COMMIT; -- Commit after each update
END LOOP;
DBMS_OUTPUT.PUT_LINE('Profile update completed successfully.');
END;
/
Query to Update EBS Profile Values for All Users at the User Level
set serveroutput on;
DECLARE
l_success BOOLEAN;
CURSOR uid IS
SELECT user_id from fnd_user;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
FOR i IN uid LOOP
l_success := FND_PROFILE.save('ICX_FORMS_LAUNCHER','http://xxx.xxxx.xxx:8000/forms/frmservlet?config=jws','USER',i.user_id);
IF l_success
THEN
DBMS_OUTPUT.put_line('---');
DBMS_OUTPUT.put_line('Profile Updated successfully ');
DBMS_OUTPUT.put_line('---');
ELSE
DBMS_OUTPUT.put_line('---');
DBMS_OUTPUT.put_line('Profile Update Failed . Error:'||sqlerrm);
DBMS_OUTPUT.put_line('---');
END IF;
commit;
end loop;
end;
/
Tuesday, March 11, 2025
Protocol is not supported Error in IMAP While Configuring OAuth in EBS Workflow
When configuring OAuth for the EBS workflow application, you may encounter the following error message in IMAP:
Cause:
The error is triggered due to missing or incorrect protocol settings in the WebLogic Server configuration. By default, some WebLogic instances may not be set to use the required HTTP handler or TLS protocol version, leading to connectivity issues.
Solution:
1) Add -DUseSunHttpHandler=true -Dhttps.protocols=TLSv1.2 to the Server Start arguments for all OACORE servers and ADMIN server.
2) Restart the OACORE services.
Note: Not required to add parameters on DMZ environment.