暂无图片
执行job报错
我来答
分享
李洪华
2022-04-12
执行job报错
暂无图片 10M

执行Job报错如下,请问这是bug吗


我来答
添加附件
收藏
分享
问题补充
4条回答
默认
最新
刘浩

看报错是根据dblink有关,排查一下里面的dblink是否有问题

Using Database Links in Oracle XA Applications
Oracle XA applications can access other Oracle Database instances through database links with these restrictions:

They must use the shared server configuration.

The transaction processing monitors (TPMs) use shared servers to open the connection to an Oracle Database A. Then the operating system network connection required for the database link is opened by the dispatcher instead of a dedicated server process. This allows different services or threads to operate on the transaction.

If this restriction is not satisfied, then when you use database links within an XA transaction, it creates an operating system network connection between the dedicated server process and the other Oracle Database B. Because this network connection cannot be moved from one dedicated server process to another, you cannot detach from this dedicated server process of database A. Then when you access the database B through a database link, you receive an ORA-24777 error.

The other database being accessed must be another Oracle Database.

If these restrictions are satisfied, Oracle Database allows such links and propagates the transaction protocol (prepare, rollback, and commit) to the other Oracle Database instances.

If using the shared server configuration is not possible, then access the remote database through the Pro*C/C++ application by using EXECSQL AT syntax.

The init.ora parameter OPEN_LINKS_PER_INSTANCE specifies the number of open database link connections that can be migrated. Thesedblink connections are used by XA transactions so that the connections are cached after a transaction is committed. Another transaction can use the database link connection if the user who created the connection also created the transaction. This parameter is different from the init.ora parameter OPEN_LINKS, which specifies the maximum number of concurrent open connections (including database links) to remote databases in one session. The OPEN_LINKS parameter does not apply to XA applications.


ORA-24777 reported when using a database link from within an XA coordinated transaction (文档 ID 1506756.1) 转到底部

In this Document
Symptoms
Cause
Solution
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
APPLIES TO:
Oracle Server - Enterprise Edition - Version 10.2.0.5 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.
SYMPTOMS
ORA-24777 reported by a JDBC/XA application when utilising a database link between two Oracle databases.

CAUSE
An ORA-24777 is a warning that you are trying to utilise a database link within an XA coordinated transaction and the connection to the source database which is trying to use the database link has been made through a dedicated server connection.

This is not allowed and this is documented in following entry

As per http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_xa.htm#ADFNS809

in the following section 'Using Database Links in Oracle XA Applications'.


SOLUTION
Two options

1. Configure the database to allow the use of shared servers and then let the application use these as per the following documentation

暂无图片 评论
暂无图片 有用 0
打赏 0
暂无图片
李洪华
题主
2022-04-12
是dblink问题,谢谢
Uncopyrightable

可以看下数据库的alert.log日志,可能是资源不足引起的

暂无图片 评论
暂无图片 有用 0
打赏 0
lscomeon

拿出来手动执行下,这信息太少了

暂无图片 评论
暂无图片 有用 0
打赏 0
钟永生

检查dblink是否正常,检查job里面通过dblink执行的sql,拿出来手工执行一下试试。

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
Oracle RAC 集群删除过期归档 和单实例, 是同样的操作吗?
回答 1
已采纳
一样,没有区别,值得注意的是,如有备库或者OGG之类的需要用到归档日志的,一定要检查备库同步正常,OGG复制正常才可以删除日志。如下删除语句:run{crosscheckarchivelogall;d
Oracle rac-rac ADG ,dg库需要关闭2节点还是只留一个?
回答 4
mrp只在一个节点启动,另一个节点是否启动都可以,可以启动到只读模式供查询使用
关于lvm扩容的问题
回答 3
已采纳
首先,你这个问题是单盘的拉升后对lv扩容,如果步骤不正确会导致原lv挂载的文件系统中数据丢失。一般建议进行分区之后,再创建pv,再建vg和lv,通过lvm管理的文件系统进行扩容缩容要方便和稳妥点。针对
oracle 里创建的多个用户, 应用数据源配置的是各自的用户, 程序是一样的, 发现有串库的情况发生, A程序应该写到A用户 , 现在写到B用户下面了,怎么解决?
回答 2
已采纳
检查A用户的权限,如果权限正常,不会写到B用户的。1、查询用户有哪些角色:selectfromdbaroleprivswheregrantee'&username';2、查询角色包含哪些权限:
oracle ADG 级联备库 Error 12154 received logging on to the standby 这个现象正常吗?
回答 2
配置都没问题,就是主库的tnsnames.ora没配级联备库的信息。
漏扫:扫描的结果提示Oracle 数据库有漏洞,仅通过升级数据库就能消除,还是有可能要升级操作系统其他层次的组件来消除?
回答 1
数据库补丁或者升级数据库版本。
Oracle 数据文件大小影响IO吗?
回答 1
已采纳
不同的操作系统上,oracle单个数据文件的大小是有限制的。oracle数据底层是以块的形式存储在磁盘上的,它访问时是读的块,而不是读的整个数据文件,所以我觉得数据文件大小不是影响IO的关键因素,要想
【求助】关于数据泵导出报错ORA-39078
回答 1
看了下ErrorORA39078ReceivedDuringDataPumpExport(文档ID376022.1)看看streamspoolsize的值,showparameterstreamspo
Oracle database与Oracle client安装在同一台机子上,出现sys账号登录不进去,是什么原因?
回答 5
你这怕是windows环境啊,环境变量有问题了,紧急的话建议把client卸载掉,环境变量里面的配置好好检查检查,装了oracle软件之后就不用装client了
oem12 c能否设置监控sql执行你时间的阈值
回答 2
我们希望能够通过sql查询出来,请问可以通过oms数据库查询可以查询出来吗?