otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


OTM / EBS / JDE E1 Integration Information and topics specific to utilizing Oracle's pre-packaged integration flows between OTM (G-Log) and other Oracle Applications, such as the eBusiness Suite and JD Edwards E1.

Tags: , , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 10th, 2007, 06:14
Member
 
Join Date: Jun 2007
Posts: 36
Thanks: 1
Thanked 8 Times in 8 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
jeff.depaul is on a distinguished road
Send a message via Yahoo to jeff.depaul
Invalid state of package in BPEL

We are doing EBS integration development on Fusion 10.1.3.3 with EBS (v. 11.5.10.2) and intermittently getting this error:

Error while trying to prepare and execute an API.
An error occurred while preparing and executing the "PACKAGE_NAME.PROCEDURE_NAME" API. Cause: java.sql.SQLException: ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body "PACKAGE_NAME.PROCEDURE_NAME" has been invalidated
ORA-04065: not executed, altered or dropped package body "PACKAGE_NAME.PROCEDURE_NAME"
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
[Caused by: ORA-04068: existing state of packages has been discarded
"Internal Exception: java.sql.SQLException: ORA-04068: existing state of packages has been discarded" errors being returned to the BPEL process

We are using a DBAdapter to call a PL/SQL package and recompiling the package quite frequently to debug. Realizing this is a fairly common SQL error msg - does anyone know a way to force Fusion to acquire the state of the database object EVERY time the process is executed?

Seems once loaded into cache on Fusion server, it stays for a while and it is somehow acquiring an invalid state object. Note: this does not occur every time we recompile the PL/SQL package - sometimes recompiling does not cause this error, other times it does.

The signature of the object is not changing at all - only the state (valid/invalid) and only for the fraction of time caused by recompile. We have tried changing some timing settings on Fusion (and clearing WSDL cache) but not sure which exact setting would effect this. This is WSH_OTM_INBOUND_GRP.INITIATE_PLANNED_SHIPMENT.

Anyone out there experiencing this that can help?

-Jeff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old September 10th, 2007, 09:54
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Invalid state of package in BPEL

Jeff,

I've experienced the same issue on BPEL PM 10.1.2.0.2 and EBS 11.5.10.2.

I found that I had to restart the BPEL server regularly when committing changes to the packages in EBS, in order to allow it to re-create the DB connection and obtain the latest package information.

To the root of your question, though -- no, I'm not aware of a way to force BPEL / Fusion to read the data automatically each time and fully avoid these restarts. I was sometimes able to avoid them if I removed the package spec and body, then re-loaded them, instead of just updating; however, it was still somewhat inconsistent.

Later, as you move into environment testing, you'll also find that you'll need to restart BPEL / Fusion each time EBS is restarted in order to re-instantiate the DB connection between BPEL and EBS, since it doesn't appear to re-create automatically.

Thanks,
Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com

Last edited by chrisplough : September 10th, 2007 at 10:01.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run PL/SQL Package Procedure in OTM? khushal Database Administration 8 December 6th, 2007 09:50
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd runstill shows 3 i Alan Cuartero Email List Archive 1 June 14th, 2007 17:03
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run stillshows 3 inval Alan Cuartero Email List Archive 2 December 15th, 2006 13:18
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run still shows 3 inva idq pbi Email List Archive 0 December 15th, 2006 02:45
[SOLVED] @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run still shows3 inval idqpbi Email List Archive 2 December 14th, 2006 13:53



All times are GMT. The time now is 18:29.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37