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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值