R12: Environment Variable AD_APPS_JDBC_URL is not set Error When Attempting to Apply Patch 8919489
(Doc ID 1302379.1)
Last updated on APRIL 30, 2023
Applies to:
Oracle Applications DBA - Version 12.1.2 to 12.1.3 [Release 12.1]Information in this document applies to any platform.
Symptoms
After completing US Upgrade Patch 6678700, attempting to apply patch 8919489, shows the following error, while applying xdf files:
FAILED: file fnd_txk_bpel_args_type.xdf on worker 2 for product fnd username APPS.
AD worker log file shows the following error:
Environment variable AD_APPS_JDBC_URL
is not set so falling back to previous logic
of determining JDBC connect string
Net8 name-value connect string is:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxxxxxx)(INSTANCE_NAME=xxxx)(CID=(PROGRAM=adworker)(HOST=Host.Domain)(USER=xxxx))))
DB Address is:
(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))
CONNECT_DATA is:
(CONNECT_DATA=(SERVICE_NAME=xxxxxxxx)(INSTANCE_NAME=xxxx)(CID=(PROGRAM=adworker)(HOST=Host.Domain)(USER=xxxx)))
SERVICE_NAME/INSTANCE_NAME : [xxxx]
connect_string : [(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxx)))]
adjava oracle.apps.ad.worker.AdJavaWorker "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxx)))" APPS ***** thin 1 /appl_trn/apps/apps_st/appl/admin/adUtilMapNew.txt
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 12.0.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/appl_trn/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/appl_trn/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/appl_trn/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/appl_trn/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/appl_trn/apps/apps_st/comn/java/lib/appsborg.zip:/appl_trn/apps/tech_st/10.1.2/forms/java:/appl_trn/apps/tech_st/10.1.2/forms/java/frmall.jar:/appl_trn/apps/tech_st/10.1.2/jlib/ewt3.jar:/appl_trn/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/appl_trn/apps/apps_st/comn/java/classes"
Calling /appl_trn/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
Exception in thread "main" java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxx)))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.apps.ad.worker.AdJavaWorker.getAppsConnection(AdJavaWorker.java:1041)
at oracle.apps.ad.worker.AdJavaWorker.main(AdJavaWorker.java:276)
is not set so falling back to previous logic
of determining JDBC connect string
Net8 name-value connect string is:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxxxxxx)(INSTANCE_NAME=xxxx)(CID=(PROGRAM=adworker)(HOST=Host.Domain)(USER=xxxx))))
DB Address is:
(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))
CONNECT_DATA is:
(CONNECT_DATA=(SERVICE_NAME=xxxxxxxx)(INSTANCE_NAME=xxxx)(CID=(PROGRAM=adworker)(HOST=Host.Domain)(USER=xxxx)))
SERVICE_NAME/INSTANCE_NAME : [xxxx]
connect_string : [(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxx)))]
adjava oracle.apps.ad.worker.AdJavaWorker "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxx)))" APPS ***** thin 1 /appl_trn/apps/apps_st/appl/admin/adUtilMapNew.txt
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 12.0.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/appl_trn/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/appl_trn/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/appl_trn/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/appl_trn/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/appl_trn/apps/apps_st/comn/java/lib/appsborg.zip:/appl_trn/apps/tech_st/10.1.2/forms/java:/appl_trn/apps/tech_st/10.1.2/forms/java/frmall.jar:/appl_trn/apps/tech_st/10.1.2/jlib/ewt3.jar:/appl_trn/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/appl_trn/apps/apps_st/comn/java/classes"
Calling /appl_trn/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
Exception in thread "main" java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Host.Domain)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxx)))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.apps.ad.worker.AdJavaWorker.getAppsConnection(AdJavaWorker.java:1041)
at oracle.apps.ad.worker.AdJavaWorker.main(AdJavaWorker.java:276)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |