WebAdi使用时的ORA-06508:PL/SQL:无法找到正在调用 的程序单元 错误

本文介绍了解决在使用定制WebADI集成器时遇到的ORA-06508错误的方法。此错误通常发生在对API进行代码更改后加载数据时。文章详细解释了错误产生的原因,并提供了一个解决方案,包括刷新共享池和重启Apache服务器。

创建客制化webadi集成器时,导入数据经常会发生ORA-06508: PL/SQL: Could not Find Program Unit being Called in Custom Web ADI Integrator

ORA-06508: PL/SQL:无法找到正在调用 的程序单元。


metlink
上的解释是[ID 567559.1]

In this Document
Symptoms
Changes
Cause
Solution
References

This document is being delivered to you via Oracle Support’s Rapid Visibility (RaV) process, andtherefore has not been subject to an independent technical review.

Applies to:
Oracle Web Applications Desktop Integrator – Version: 11.5.10.2
This problem can occur on any platform.
Symptoms
In custom Web ADI integrator, when code changes are made to the API, then loading of rows fail

with the following error :

ORA-06508: PL/SQL: could not find program unit being called
Changes
Code changes in custom Web ADI integrator API.
Cause

This issue is addressed in Bug 5436732

This is an expected behavior. which happens when a PL/SQL package containing session state

variables is called via a web service. Once the PL/SQL package body has been modified, it gets

out of synch with the session state variables already set on sessions being handled by the Web

Server. It is the act of bouncing Apache that clears out all of these session and allows the

session state variables to be set for the new package body.
Solution

To implement the solution, please execute the following steps:

1. Run the following sql:

SQL>alter system flush shared_pool;

This clears the Shared Pool

2. Bounce the Apache server

#sh adapcctl.sh stop
#sh adapcctl.sh start

3. Retest the issue.
References
BUG:5436732 – OHS:HR SETUP INTEGRATOR WITH CUSTOM API AND INITAL UPLOADS ERROR ORA-6508

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24627116/viewspace-754424/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24627116/viewspace-754424/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值