ORA -3114 TimeOut error
Hi folks,
We are having an application that uses oracle 8 client to connect to an oracle server 8.1.7.3. Now we have decided to migrate the platform and introduced oracle client 10.1.0.3 in solaris 2.9 , which still connects to the same server 8.1.7.3. When we did some testing we found that the application was not able to reestablish the session. With 8 client , oracle is returning an ORA - code 3113 when the connectivity is not there. But with 10.1.0.3, we found that it is returning the following ORA error codes
ORA 12152 - TNS unable to send break messages
ORA-3114 - NOT connected to Oracle
In our code we were checking only for 3113 to test for connection lost. Now we changed the code and also included ORA codes 3114 and 12152 where we does the checking. Now the appln is working fine, but it is taking around 10 minutes for the appln to reestablish the session , once it detects that the session has expired. Is there any parameter on the oracle client which can be modified so that reconnection takes place without any delay
we were initially planning to use oracle client 10.1.0.2 after migration. But using this we were not able to connect to 8.1.7.3 server.. we were getting the ora 03134 exception. thats when we decided to change our client to 10.1.0.3 and it is able to connect successfully. The problem here is with the delay. The application is taking nearly 10 minutes to reestablish the session , and all calls made during this time gets failed..we suspect there may be some parameters in client(or server) settings which is causing this.. any help in this regard will be highly appreciated.
Thanks in advance
Similar Messages
-
Please help for ORA-02049 - Timeout error
Hi All,
we have got a reporting DB and 14+ Application DBs, the data is extracted from all the application databases (DBs) and dumped into the common tables of reporting database. While inserting and updating the common reporting tables the other jobs gets timeout error and fails. We daily face this failure problem (error: ORA-02049 - Timeout error distributed transaction waiting for lock) for almost 10-15 times.
Can you please help me out in resolving and getting the permanent solution for this problem.
Thanks in advance.Thanks Kamal,
as mentioned above, I have got Oracle,Java,Unix environment. Autosys jobs are scheduled through out the day.
Mechanism : Autosys job triggers the action at specified time, Unix code calls oracle packaged procedure, extracts data and puts into the common reporting table from this data java code formats the report output.
There are separate reporting jobs for all instances though the report is same but for different locations(14 DB instances).
and all these reporting jobs dump data into common reporting table, data can be differentiated on the hub or location.
But if one job is running for first instance then second job waits for the lock and fails after 2 mins.
I have to avoid this situation, I hold I am able to explain the situation. -
EXP-00056: ORACLE error 4021 encountered ORA-04021: timeout occurred while
hi all oracle gurus ,
i have this problem which i am facing its like this.i have a batch file that runs export every night one week back it was all okay .few days back when i looked the log files it gives me this error ---EXP-00056: ORACLE error 4021 encountered
ORA-04021: timeout occurred while waiting to lock object
what should i do this is a production database runing in windows platform and there is no backup pls help me .....
export log file -------
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user PILOT
. exporting foreign function library names for user FINANCE
. exporting foreign function library names for user MBCNEWS
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user PILOT
. exporting object type definitions for user FINANCE
. exporting object type definitions for user MBCNEWS
About to export PILOT's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 4021 encountered
ORA-04021: timeout occurred while waiting to lock object
ORA-06512: at "SYS.DBMS_METADATA", line 1511
ORA-06512: at "SYS.DBMS_METADATA", line 1548
ORA-06512: at "SYS.DBMS_METADATA", line 1864
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
robyavthis is a production database runing in windows platform and there is no backup
what should iWell first of all you should stop using EXP for backups, it's quite unsuitable, and start using RMAN instead. Find out more.
If you have a Metalink account you shoudl read Note:298968.1. But teh headline is there is a bug in 10gR1 which is fixed in 10gR2. This may not help you much. The workaround is to try running the export again later, which may not be any more helpful.
Cheers, APC -
Ora-04021 timeout occurred while waiting to lock object
Hai All
When adding a column into a table then an error comes error
Error Message:
ORA-04021: timeout occurred while waiting to lock object .....
How it happens ...what is the solution....please help
Shiju..Hi
Identify the session that is using this object, kill it and then perform the ALTER table... or wait until the session that is accessing this table release it.
Rgds
Adnan -
Hi all,
I am trying to create a package but it throws out an error after long time (I guess 5 to 10 minutes), Any help will be greatly appreciated.
Error message is:
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object APPS.FVSF133_NOYEAR_TEST
Thanks..BVAll this means is that you are trying to create a Package that has some other procedure that another package is using. The system is trying to get a lock on that package, table or object that someone else is using.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Veeranji:
Hi all,
I am trying to create a package but it throws out an error after long time (I guess 5 to 10 minutes), Any help will be greatly appreciated.
Error message is:
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object APPS.FVSF133_NOYEAR_TEST
Thanks..BV<HR></BLOCKQUOTE>
null -
Patch 9239090 - ORA-04021: timeout occurred while waiting to lock object
Hello Guys,
I need help urgently to comlete an upgrade of ebs 12.1.1 to 12.1.3.
We are upgrading ebs 11i to 12i going live this weekend. We have encountered "ORA-04021: timeout occurred while waiting to lock object" on patch 9239090 with two Workers:
In adctrl:
1 Run AutoPatch R120 AFUTLGRS.pls FAILED
2 Run AutoPatch R120 AFUTLOGS.pls FAILED
sqlplus -s APPS/***** @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p001invok.sql
Connected.
create or replace package wf_bes_cleanup AUTHID CURRENT_USER as
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object
I have done everything everything imaginable but cannot get pass these 2 failed workers.
1) I have checked are there are no locks blocking on any objects:
select s1.username || '@' || s1.machine
|| ' ( SID=' || s1.sid || ' ) is blocking '
|| s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status
from v$lock l1, v$session s1, v$lock l2, v$session s2
where s1.sid=l1.sid and s2.sid=l2.sid
and l1.BLOCK=1 and l2.request > 0
and l1.id1 = l2.id1
and l2.id2 = l2.id2 ;
2) I also checked and there is space in the database.
3) From adctrl, I have tried restarting the jobs one by one but the worker 1 hangs at and eventually fails on several (12) attempts.
4) The solution on Doc ID 1291064.1 is not the problem:
SQL> select SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK, SUPPLEMENTAL_LOG_DATA_UI, FORCE_LOGGING
from v$database;
SUPPLEME SUP SUP FOR
NO NO NO NO
5) Manual execution still gave ORA-04021:
sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p001invok.sql
sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p002invok.sql
6) The alert log has no related errors
7) I Finally, after over 6 hours of waiting, I could only get the patch to continue after by using adctrl option 8 to skip these two workers.
After proceeding, I have yet hit two more errors and now stuck:
I have hit another error with the same patch:
create or replace package body FND_LOG as
/* $Header: AFUTLOGB.pls 120 ...
AD Worker error:
ORA-04021: timeout occurred while waiting to lock object
Unable to process file in PACKAGE mode.
Not converting file for Invoker's Rights because it appears to be a package body creation script (based on the filename).
File is: /u02/applfinp/apps/apps_st/appl/fnd/12.0.0/patch/115/sql/AFUTLOGB.pls
AD Worker warning:
Product Data File
/u02/applfinp/apps/apps_st/appl/admin/xniprod.txt
does not exist for product "xni".
This product is registered in the database but the above file does not exist in APPL_TOP. The product will be ignored without error
AD Worker error:
The following ORACLE error:
ORA-04063: package body "APPS.FND_LOG" has errors
ORA-06508: PL/SQL: could not find program unit being called: "APPS.FND_LOG"
ORA-06512: at "APPS.FND_FUNCTION", line 834
ORA-06512: at "APPS.FND_MENU_ENTRIES_C_DELTRG", line 4
ORA-04088: error during execution of trigger 'APPS.FND_MENU_ENTRIES_C_DELTRG'
Can I stop and restart this patch 9239090?Hello,
I later executed the failed jobs or scripts manually (successfully) for the patch to continue
sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p001invok.sql
sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p002invok.sql
The patch ended with the following :
The following Oracle Reports objects did not generate successfully:
ap reports/US APXARATE.rdf
ar reports/US ARXCTA.rdf
fa reports/US FASRSVED.rdf
ont reports/US OEXOEORD.rdf
pa reports/US PAXACMPT.rdf
pa reports/US PAXALRUN.rdf
pa reports/US PAXACRPT.rdf
pa reports/US PAXCPGAL.rdf
pa reports/US PAXPCRFD.rdf
The patch execution ended but the patch number is not record in apps.ad_bugs table:
select TO_CHAR(CREATION_DATE,'dd-Mon-yyyy, hh24:mm:ss'), BUG_NUMBER from apps.ad_bugs where bug_number in ('9239090');
no rows selected
JFI
Patches located in ad_applied_patches to which there is no a corresponding record in ad_bugs:
SQL> SELECT a.patch_name, TO_CHAR(max(a.last_update_date),'dd-Mon-yyyy, hh24:mm:ss')
2 FROM applsys.ad_applied_patches a
3 WHERE NOT EXISTS (SELECT '1'
4 FROM ad_bugs b
5 WHERE b.bug_number = a.patch_name)
6 group by a.patch_name;
PATCH_NAME TO_CHAR(MAX(A.LAST_UP
9239090 26-Oct-2013, 00:10:27
AutoConfig 25-Oct-2013, 17:10:51
merger9179588 25-Oct-2013, 11:10:30
merger_post_5903765 27-Apr-2013, 23:04:45
mergeu6678700 25-Oct-2013, 16:10:09
What could have happened that this was not recorded in ad_bugs?
How to I get this recorded in the ad_bugs table?
Thanks
Mathias -
i am getting CONNECTION TIMEOUT error in my macbook(10.7.4).plzzz help me
Thank you very much, i guess it will be the remote servers.
Then i got this critical error on my local server
Automatic mail message send from usa12 for SID USA on Fri Dec 15 15:00:01 EST 2006
DONOT REPLY FOR THIS MESSAGE.....
Please check the follwing files ( will exist if there was an error )
/u01/app/oracle/admin/usa/bdump/alert_usa.log.121506.1500 ......
/u01/app/oracle/product/8.1.7/network/log/listener.log.121506.1500 .....
ORA-00600: internal error code, arguments: [17182], [27793076],
I know i need to contact oracle , when i went to Metalink ,i needed to run their RDA it is like diagnostic report script and include it before u send to them.
I needed some permissions from my Senior so i will do it on monday.
do you have any suggestions???? -
ORA-02049: timeout: distributed transaction waiting for lock
Hi,
My name is Guneet and I'm working on an application running on BEA Weblogic Server 9.2 running on a Red Hat Linux box using Oracle 10g as the database. My problem is that recently our code started getting the following exception while updating a database table.
java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock
Application Details
* Using Stateless Session EJB
* Only one Business method in this EJB with transaction attribute set to "required"
* This method executes two select queries & one update query
* We are using JDBC to access the database.
* We have configured a Data Source & are using it to get a database connection.
* Weblogic's Oracle Driver is being used.
More details
* The application has been running well since a month.
* Two days ago,the update query failed with the above error.
* At that time, a single client was accessing the system.
* Once this problem occurs, it starts appearing frequently.
* Eventually a request to get a connection from the Data Source times out & the exception copied at the end is thrown
* At this stage the application gets stuck and all requests trying to get a connection end up with this exception.
* Fortunately, Restarting the Weblogic Server gets us out of this problem and transactions resume normally.
Now my questions are
# Why is this error happening & what does it mean?
# It looks like the second exception (unable to get a connection from ds) is an after effect of the first problem (ORA-02049) once it appears for a couple of times. Can somebody validate this?
# Though I don't understand JTA well but I don't think this application needs distributed transactions so, I'm thinking of modifying the driver type to non-XA oracle driver. Any advise/pointers/comments on this front is welcome !!!!!!!!
Thanks
Guneet Sahai
Exception Trace
Dec 27, 2006 4:47:50 PM | com.gisil.themis.db | SEVERE | Unable to load merchant DEL = 911168900164. Reason - java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on resource 'themis-ds': XAER_RMERR : A resource manager error has occured in the transaction branch
javax.transaction.xa.XAException: Unexpected error during start for XAResource 'themis-ds': Transaction timed out after 29 seconds
BEA1-252DE51AC930078CA638
at weblogic.jdbc.wrapper.XA.createException(XA.java:103)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:753)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1115)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:497)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:429)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1408)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1332)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:440)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:396)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at com.gisil.themis.db.impl1.DbManagerImpl.isPinValid(DbManagerImpl.java:872)
at com.gisil.themis.ejb.ThemisBean.isPinValid(ThemisBean.java:185)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl.isPinValid(Themis_aqqc4k_EOImpl.java:207)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1413)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1332)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:440)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:396)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at com.gisil.themis.db.impl1.DbManagerImpl.isPinValid(DbManagerImpl.java:872)
at com.gisil.themis.ejb.ThemisBean.isPinValid(ThemisBean.java:185)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl.isPinValid(Themis_aqqc4k_EOImpl.java:207)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)guneet sahai wrote:
Hi,
My name is Guneet and I'm working on an application running on BEA Weblogic Server 9.2 running on a Red Hat Linux box using Oracle 10g as the database. My problem is that recently our code started getting the following exception while updating a database table.
java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock
Application Details
* Using Stateless Session EJB
* Only one Business method in this EJB with transaction attribute set to "required"
* This method executes two select queries & one update query
* We are using JDBC to access the database.
* We have configured a Data Source & are using it to get a database connection.
* Weblogic's Oracle Driver is being used.
More details
* The application has been running well since a month.
* Two days ago,the update query failed with the above error.
* At that time, a single client was accessing the system.
* Once this problem occurs, it starts appearing frequently.
* Eventually a request to get a connection from the Data Source times out & the exception copied at the end is thrown
* At this stage the application gets stuck and all requests trying to get a connection end up with this exception.
* Fortunately, Restarting the Weblogic Server gets us out of this problem and transactions resume normally.
Now my questions are
# Why is this error happening & what does it mean?
# It looks like the second exception (unable to get a connection from ds) is an after effect of the first problem (ORA-02049) once it appears for a couple of times. Can somebody validate this?
# Though I don't understand JTA well but I don't think this application needs distributed transactions so, I'm thinking of modifying the driver type to non-XA oracle driver. Any advise/pointers/comments on this front is welcome !!!!!!!!
Thanks
Guneet SahaiHi Guneet. If you want to debug the JTA issue, I suggest opening an official
support case. They will lead you through producing the JTA debug information.
However, I believe you are correct that the transaction you describe is
completely doable with a simple local transaction, so if you were to alter
your pool to use the non-XA driver, it would probably be faster, simpler,
and just work.
Let me know...
Joe
>
Exception Trace
Dec 27, 2006 4:47:50 PM | com.gisil.themis.db | SEVERE | Unable to load merchant DEL = 911168900164. Reason - java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on resource 'themis-ds': XAER_RMERR : A resource manager error has occured in the transaction branch
javax.transaction.xa.XAException: Unexpected error during start for XAResource 'themis-ds': Transaction timed out after 29 seconds
BEA1-252DE51AC930078CA638
at weblogic.jdbc.wrapper.XA.createException(XA.java:103)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:753)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1115)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:497)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:429)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1408)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1332)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:440)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:396)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at com.gisil.themis.db.impl1.DbManagerImpl.isPinValid(DbManagerImpl.java:872)
at com.gisil.themis.ejb.ThemisBean.isPinValid(ThemisBean.java:185)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl.isPinValid(Themis_aqqc4k_EOImpl.java:207)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1413)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1332)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:440)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:396)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at com.gisil.themis.db.impl1.DbManagerImpl.isPinValid(DbManagerImpl.java:872)
at com.gisil.themis.ejb.ThemisBean.isPinValid(ThemisBean.java:185)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl.isPinValid(Themis_aqqc4k_EOImpl.java:207)
at com.gisil.themis.ejb.Themis_aqqc4k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) -
Getting ditributed timeout error
Hi,
when i 'm executing a procedure using dblink i'm getting following error
ERROR at line 1:
ORA-02049: timeout: distributed transaction waiting for lock
ORA-02063: preceding line from PROD
ORA-06512: at "PURGE.PURGEPERSON", line 111
ORA-06512: at line 1
the procedure consists of statements like
INSERT INTO OLD_CARDIO_SET
SELECT /*+ rule */
ishadmin.OLD_CARDIO_SET.*
FROM
ishadmin.CARDIO_WORKOUT@prod,
ishadmin.CARDIO_ACTIVITY@prod ,
ishadmin.CARDIO_ACTIVITY_CHANGED@prod,
ishadmin.OLD_CARDIO_SET@prod
WHERE ishadmin.CARDIO_WORKOUT.workout_nr = ishadmin.CARDIO_ACTIVITY.workout_nr
AND ishadmin.CARDIO_ACTIVITY.activity_nr = ishadmin.CARDIO_ACTIVITY_CHANGED.new_activity_nr
AND ishadmin.CARDIO_ACTIVITY_CHANGED.change_nr = ishadmin.OLD_CARDIO_SET.change_nr
AND ishadmin.CARDIO_WORKOUT.person_nr = pPersonNr;
vCount := SQL%rowcount;
DELETE /*+ rule */ ishadmin.OLD_CARDIO_SET@prod WHERE change_nr IN
SELECT /*+ rule */
ishadmin.CARDIO_ACTIVITY_CHANGED .change_nr
FROM
ishadmin.CARDIO_WORKOUT@prod,
ishadmin.CARDIO_ACTIVITY@prod,
ishadmin.CARDIO_ACTIVITY_CHANGED@prod
WHERE ishadmin.CARDIO_WORKOUT.workout_nr = ishadmin.CARDIO_ACTIVITY.workout_nr
AND ishadmin.CARDIO_ACTIVITY.activity_nr = ishadmin.CARDIO_ACTIVITY_CHANGED.new_activity_nr
AND ishadmin.CARDIO_WORKOUT.person_nr = pPersonNr
can anyone please help me and suggest me how to avoid this error
Thanks02049, 00000, "timeout: distributed transaction waiting for lock"
// *Cause: exceeded INIT.ORA distributed_lock_timeout seconds waiting for lock.
// *Action: treat as a deadlock -
ORA-04021:timeout...
Hi guys,
I have a problem: when I try to replace or delete a package I recive
an error message ORA-04021: timeout occurred while waiting to lock object XXX
Of course it's becouse this package is used by another session.
In v$access table I've found out whitch session it is, but I don't
know how to kill or stop this session to allowed replacing of package.
I killed the session and its status is marked as killed but the
package is still used.
Pls help me it's very important. Any solution how to compile this
package is welcomed. Restart of database doesn't help, I tried :-(
Thanx a lot.Most likely, the problem is that someone else in some other session is calling your procedure, which prevents you from locking it in order to run DDL against it. If this is a busy system, you'll likely have to wait for a downtime window in order to run your DDL. If this is not a busy system, you may be able to just retry the operation.
Justin -
ORA-16198: Timeout incurred on internal channel during remote archival
Hello All,
I have a unique issue with Streams
I am trying to replicate my source database to another database using SYNC method.
I have standby logs in place at my target database with same size as online log files on source, but when LGWR tries to write to the Standby logs , it fails with the following error with LNSb
LNSb: connect status = 0
*** 2014-01-06 10:14:39.111
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kcrrnsfwa.15], [4294967104], [512],
I also see the below errors at LNs trace file
kcrrfail: dest:2 err:16198 force:0 blast:1
*** 2014-01-06 10:21:56.523
ERROR: Receive timedout!
Error 16198 attaching RFS server to standby instance at host 'strm10r'
*** 2014-01-06 10:14:49.121 59313 kcrr.c
Making upidhs request to LNSb (ocis 0xffffffff7a424a00). Begin time is <01/06/20
NetServer pid:22413
*** 2014-01-06 10:14:49.122 64896 kcrr.c
LGWR: Error 16164 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host
Error 16198 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'strm10r'
*** 2014-01-06 10:14:49.122 64896 kcrr.c
LGWR: Error 16198 creating archivelog file 'strm10r'
ORA-16198: Timeout incurred on internal channel during remote archival
*** 2014-01-06 10:14:49.129 63005 kcrr.c
kcrrfail: dest:2 err:16198 force:0 blast:1
*** 2014-01-06 10:21:56.523
Warning: log write time 770ms, size 8561KB
*** 2014-01-06 10:21:57.645
Warning: log write time 1110ms, size 11229KB
*** 2014-01-06 10:21:58.815
Warning: log write time 900ms, size 3331KB
*** 2014-01-06 10:29:27.707
Warning: log write time 1260ms, size 455KB
*** 2014-01-06 12:07:56.726
Warning: log write time 3240ms, size 76KB
*** 2014-01-06 12:15:25.634
*** 2014-01-06 10:14:39.091 58444 kcrr.c
upiahm connect done status is 0
Receiving message from LNSb
*** 2014-01-06 10:14:49.121
LGWR found LNSb has shutdown or timedout
*** 2014-01-06 10:14:49.121 64896 kcrr.c
ORA-16198: LGWR received timedout error from KSR
ERROR: Receive timedout!
Error 16198 attaching RFS server to standby instance at host 'strm10r'
*** 2014-01-06 10:14:49.121 59313 kcrr.c
Making upidhs request to LNSb (ocis 0xffffffff7a424a00). Begin time is <01/06/20
14 10:14:35> and NET_TIMEOUT <180> seconds
Waiting for LNSb to initialize itself
*** 2014-01-06 10:14:38.790 57777 kcrr.c
Netserver LNSb [pid 22413] for mode SYNC has been initialized
Performing a channel reset to ignore previous responses
Successfully started LNSb [pid 22413] for dest strm10r mode SYNC ocis=0xffffffff
7a424a00
*** 2014-01-06 10:14:38.790 58280 kcrr.c
Making upiahm request to LNSb [pid 22413]: Begin Time is <01/06/2014 10:14:35>.
NET_TIMEOUT = <180> seconds
Waiting for LNSb to respond to upiahm
*** 2014-01-06 10:14:39.091 58444 kcrr.c
upiahm connect done status is 0
Receiving message from LNSb
*** 2014-01-06 10:14:49.121
LGWR found LNSb has shutdown or timedout
*** 2014-01-06 10:14:49.121 64896 kcrr.c
ORA-16198: LGWR received timedout error from KSR
ERROR: Receive timedout!
Error 16198 attaching RFS server to standby instance at host 'strm10r'
IF any one has any suggestions regarding this error , please let me know. I checked and created password files at both source and destinations, also there are enough standby logfiles at the destination ,
Other thing is , I have streams working in other servers, its only with this particular server , I am not able to replicate, Let me know if you guys need any other information.
Thanks,
KrishnaHi Krishna,
The slowness may caused by:
1. Operating System. Please keep track of OS usage (like iostat).
2. Network. Please keep track network flow (like tcpdump).
Note: Please don't use SYNC log transport mode across a wide area network (WAN) with latencies above 10ms.
Also check below:
Bug 9259587 - Multiple LGWR reconnect attempts in Data Guard MAXIMUM_AVAILABILITY (Doc ID 9259587.8)
Bug is fixed in 11.2.0.2 -
OWB9.0.4-- ORA-02049: timeout: distributed transaction waiting for lock
I'm running a simple mapping that copies all columns of data (using a filter on date for just current records) from one table in SQL Server into a staging table on my Oracle DW schema. It's using a dblink with transparent gateway for SQL Server, which works fine from SQL*plus.
The map is in default mode (bulk-failoverto-row) with bulk size and commit frequency = 1000.
The audit details show the first 1000 rows selected on the source, with an error on both the source and target tables:
Target--
ORA-02049: timeout: distributed transaction waiting for lock
Source--
ORA-01002: fetch out of sequence ORA-02063: preceding line from INTERGRATION@JXNSQL01
(INTERGRATION@JXNSQL01 is the dblink name)
Any ideas on how I can clear this up?
Thanks,
PaulHi,
After having upgraded to 9.0.4 (from 9.0.3) I'm running into exactly the same problems with some of my mappings. Actually I don't get any rows transferred from the mappings that fail.
Out of 7 mappings, 3 worked just liked before while the 4 others just keep on running until I cancel them and I then see the BUSY/ORA-02049 in the Audit Browser.
When comparing the mappings I see that the 3 that works all use some custom Procedures I have made.
The 4 that doesn't work are all very simple - one of them just loads all the content from a table with two columns in my source to another table with two columns in my target! Two of the other mappings that doesn't work includes some simple CASE-expressions.
Both my source and my target resides in a Oracle 9.2.0.3 database (not the same).
Regards,
Bent Madsen -
TIMEOUT error from adstrtal.sh -- even after made Guest user password same
I have migrated E-bus Database from HPTru64 to SunSolaris (Still Object differences are there).
when I try to start application I got TimeOUT error.
1)I made GUEST password same in <Context>.xml & $FND_TOP/11.5.0/secure/*.dbc file to ORACLE
2)ran adautocfg.sh on all apps nodes
still I get same error...
SQL> SELECT fnd_web_sec.validate_login('GUEST','ORACLE') FROM dual;
FND_WEB_SEC.VALIDATE_LOGIN('GUEST','ORACLE')
N
SQL>Sawwan,
I got below error...
I am in the process of migration, I may not be able to use OAM unless I start the application..
====================
SQL> @afgstusr.sql
PL/SQL procedure successfully completed.
ERROR: The Profile "Guest User Password" is not set correctly, the current
value is "GUEST/ORACLE" and failed FND user validation.
Oracle Applications requires a "GUEST" user account for special restricted
access functions. The "<GUEST User Name>/<Password>" is stored in the
profile option "Guest User Password" for Applications program use. In this
instance the profile option is not set, or does not represent a valid
User_name/Password combination.
CORRECTIVE ACTION: The profile needs to be set to a valid User_name/Password
combination, preferably the combination for the seeded user account "GUEST".
The profile can be set using the Oracle Forms Interface and the System
Administrator Responsibility.
Navigate -> Profile -> System -> Query Site level profile:
"Guest User Password"
Alternatively, if the profile value shown above is defined and set to what
you think should be the correct value, you may need to reset the GUEST user
account password from the Oracle Forms Interface. Again using the System
Administrator Responsibility.
Navigate -> Security -> User -> Define -> Query "User Name":
Type a temporary password in the "Password" field -> hit the Tab Key
and confirm the password ... Then log in to Oracle Applications Forms
Interface as this user and change the password, when prompted to do so,
to match the value set in the "Guest User Password" profile.
Finally if the Oracle Forms Interface is not available for some reason you
can use SQL*Plus and the Applications API - FND_PROFILE.SAVE(). You can use
the file that generated this message (FND_TOP/patch/115/sql/afgstusr.sql) as
an example of how to code this function. Set the value to a known good
User_name/Password combination. Remember to go back and properly set up
a default GUEST account and to synchronize the profile after your upgrade is
complete using the appropriate steps shown above.
DECLARE
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 15
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$ -
DatabaseError: ORA-02049: timeout: distributed transaction waiting for lock
Hi all
There is script running in my database 'A' that will select some data from tables in other database through DBLINK and update some tables too. The script which 6 I am running for the past 6 monts succesfully. Yesterday I got error saying that,
DatabaseError: ORA-02049: timeout: distributed transaction waiting for lock
ORA-02063: preceding line from test
I have tested the Link and its active no issues in DBLINk
I understand the objects which I am accessing the table in locked mode,
SQL> select OBJECT_ID,SESSION_ID,PROCESS,LOCKED_MODE from v$locked_object where
SESSION_ID=121;
OBJECT_ID SESSION_ID PROCESS LOCKED_MODE
77391 121 21394 3
i
I killed the session 121 and in v$session status is Killed, but I am getting the same error repeating while running the script. And the session_id is still in locked_mode.
Could please add some light on this?
-Thanks
AntonyHi,
I have killed the session which caused blocking and the status is KILLED for the past two days. But still the object is in locked mode
SQL> select OBJECT_ID,SESSION_ID,PROCESS,LOCKED_MODE from v$locked_object where
SESSION_ID=121;
OBJECT_ID SESSION_ID PROCESS LOCKED_MODE
77391 121 21394 3
How would I resolve this any idea
-Thanks & Cheers
Antony -
Ora-04021: timeout occured while waiting to lock object.
I have upgraded the DB From 8.1.5 to 8.1.7 then 9.0.2
but while converting to 9i it gave a warning that
"some uncompiled objects were found".
now the DB works fine with every DDL and DML operation but when I edit any precedure or function it hangs for 4 to 5 mins and then show the following error
ora-04021: timeout occured while waiting to lock object.
when I shutdown the DB and restarts it then it allowes me to edit any founction or procedure or package only for one time,then again shows the error when I try to edit second time.
what my be the reason , can any body help me pl.
thankx in advance.If you have oracle metalink support, then, read Note:169139.1. If not, give me your email id, i will send you the note.
SJH
Maybe you are looking for
-
Aironet 350BR failed VxWorks to IOS conversion
I have tried to upgrade VxWorks to IOS and by mistake uploaded AP-Upgrade-Image. After restart it gives me the following: Cisco IOS automatic field upgrade image, ESC to terminate ..10....9....8....7....6....5....4....3....2....1.. upgrade: Compare o
-
Upgrade RAC from 9.2.0.6 to 9.2.0.8
Hello All, I need to upgrade our oracle RAC from 9.2.0.6 to 9.2.0.8. is there any document could help me on that? platform is windows server 2003 Best Regards,
-
Can the Workflow Model Options in the sidekick be site specific
Hi, Do anyone know if the workflow options in the sidekick can be site specific or not? potentially using tag in the model? Thanks. Johnny
-
Lightroom and SyncToy question
Hi, I use LR 2.2 and Synctoy 2.0 for syncing my Photo folder to external backup drive. Those that use Synctoy should know I use Echo mode = all new files are copied to backup drive, all renames in Photo folder are repeated on backup drive and all del
-
Display of Clob field in webi/deski..
Hi, We are storing the rich text content in clob field (Oracle) & Text field (SQL). We were able to display the rich text in crystal by selecting Rich text property of the object. But I couldn't find any such property in Webi/Deski to display the ric