Issues with the SQL wrapper scripts created with the DB adapter

Hi All,
We have the wrapper sql scripts created with the DB adapter configurations which are being used to invoke the stored procedures.
To give you a background on the wrapper sql scripts-The Adapter Configuration wizard generates a wrapper API when a PL/SQL API has arguments of data types, such as PL/SQL Boolean, PL/SQL Table, or PL/SQL Record.
These two SQL files are saved in the same directory where the WSDL and XSD files are stored, and are available in the Project view.
The issue we are facing now is that whenever the associated package or the procedure structure undergoes a change we see an error as given below:
An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/Application1_ABC_ESB/DBADP_Update_Out.wsdl [ DBADP_Update_Out_ptt::DBADP_Update_Out(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'DBADP_Update_Out' failed due to: Error while trying to prepare and execute an API. An error occurred while preparing and executing the APPS.XXIRIS_SOA_R_WRAPPER.XXIRIS_AR_CUST_K$ API. Cause: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "APPS.XXIRIS_AR_CUST_K" has been invalidated ORA-04065: not executed, altered or dropped package body "APPS.XXIRIS_AR_CUST_K" ORA-06508: PL/SQL: could not find program unit being called: "APPS.XXIRIS_AR_CUST_K" ORA-06512: at "APPS.XXIRIS_SOA_R_WRAPPER", line 1 ORA-06512: at line 1 [Caused by: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body
In such cases we need to either execute the wrapper scripts again or refresh the connection pool in case the wrapper sql scripts for that procedure are not available.
In some cases we see that the first instance errors out.However the second request and the subsequent requests after that goes through successfully.
Please do let me know if anyone has faced such issues before.
Any inputs in this regard would be of great help.
Thanks in advance!
Deepthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

I stumbled on a link in the oracle forum which says that the "create or replace package XXX" at the start of the PL/SQL procedure when run seems to intermittently cause the ORA-04068: existing state of packages has been discarded problem.
As per the solution suggested an “alter package XXX compile" can be executed after the changes are made and then we would no longer get the error in BPEL/ESB and dont have to bounce the server too.
__http://forums.oracle.com/forums/thread.jspa?threadID=185762_
However the above solution does not seem to resolve the issue.
Any help in this regard would be highly appreciated.
Thanks,
Deepthi

Similar Messages

  • The Adobe Forms was created with Disable Fields!

    Hi All,
    I am new in Adode Interactive Forms ABAP.  I am trying to implement a simple scenario using Web Services published by RFC on ABAP side and simple form with one field  MATNR to bring a Description MARKT, and button to call the Web Services.  I configured ADS on Server, installed  Adobe LifeCycle 8 and SAP GUI 7.1.  I created the  Adobe Form and it was actived.
    My issue is,  when a run the program  to generate a PDF, using the FMu2019s 'FP_JOB_OPEN'
    , 'FP_FUNCTION_MODULE_NAME', CALL FUNCTION i_funcname, the Adobe Forms was created with disables fields. I canu2019t fill it and canu2019t press the button to call WS on ECC.
    Could you help me?
    Thank you!
    Fábio Ferri
    SAP Consultant Netweaver

    Hi fabio,
    When you say the example ran successfully is it without any error messages..?
    Did you check in spool "SP01" if there something sitting out there.
    To my understanding PDF rendring is dependent in 2 aspects.
    1) the output device type you select (this should be a PDF enabled printer)
    2) Programatically if you say it should go to a printer or spool.
    Just try with FP_TEST_00 either in sfp or SE38 and try both print preview and print.
    in print priview it should display the PDF on the screen.
    In print it should display as success message and in spool it should have the corresponding PDF. if both are working fine then the ADS and output device config are correct and it all depends on how do you handle the PDF output.
    Just try the above approach and post the results,
    Cheers,

  • Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the pag

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

  • "the photo library was created with an unreleased version of iPhoto"

    Help!
    I think this all started with an onscreen message telling me I had a trojan. I downloaded a free copy of mac scan. This later asked me to subscribe. I could not get rid of the message except by switching off the computer, (I was tired and desperate), so I did.
    I later tried to transfer photos from my camera to the the computer - it would not allow me - said it did not recognise the files.
    Later tried to open iPhoto and it said "The photo library was created with an unreleased version of iPhoto. Please quit and upgrade this library by opening it in iPhoto 2 or iPhoto 4."
    What have I done? How can I undo/rectify this???
    Jane

    If Larry's fixes don't wortk then Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Help:the sales order is created with a 0 quantity

    I am able to create the sales order now. and it is showing up in SAP too.
    But i have one more problem.
    The sales order is created with a 0 quantity.
    I was passing quantity in the field COMP_QUANT of the table ORDER_ITEMS_IN.
    Can anyone help me with this, as to what field of the table ORDER_ITEMS_IN should be updated to show the quantity in the sales order
    Thanks

    This is the mistake...
    ORDER_ITEMS_IN-COMP_QUANT you populated, but you missed
    ORDER_ITEMS_INX-COMP_QUANT = 'X'.
    because of this it is not updated.
    try this..
    regards
    vijay

  • I purchase Adobe Elements Photoshop 12 & Premiere 12 together from a camera shop in town.  When I tried to use the Premiere, it splashed "created with the trial verson" over all of the photos. How can this unsightly watermark be removed. It has severely h

    I purchased  Adobe Elements Photoshop 12 & Premiere 12 together from a camera shop in town.  When I tried to use the Premiere, it splashed "created with the trial version" over all of the photos. How can this unsightly watermark be removed. It has severely hampered my timeline to start and finish this project. Why would a purchase software product purport to be a "trial" version?

    This indicator will appear when you have not registered your product or typed in the serial number for the product.
    Once you've added the serial number, any future products will not display this indicator.
    To remove this this indicator from videos created before you added the serial number, you'll need to delete the rendered files.

  • I keep getting the message "the photo library was created with an unreleased version of iphoto.  I have reinstalled but still get the message. What do I need to do?

    I have had my iBook for years with iPhoto on and then suddenly today I get the message "The photo library was created with an unreleased version of iPhoto.  Please quit and upgrade this photo library by opening it in iPhoto 2 or iPhoto 4.  I reinstalled iPhoto but nothing has changed.  What do I need to do to get it working again?  Help!!

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • To schedule the SQL loader Script

    How to schedule the SQL loader Script everyday at 6.30PM in windows Server 2003?
    Could you please help me for this query?

    create a text file with your sql loader commands.
    from batch file you can run sqlplus and call this text file.
    add the schedule to your windows server

  • Limits to the SQL Statement when creating External Dictionaries

    Limits to the SQL Statement when creating External Dictionaries
    Does RC not provide the ability to concatenate multiple db columns into a single dictionary field?  When trying a query like:  SELECT Col1 + Col2 AS NewCol1 FROM Tbl1 we get an error("Unknown internal error") after clicking to save/create the new  dictionary.  This is on version 2008.3

    What if you created a buffer table in your external database, that is populated by your field-merging query, and then invoke that from Newscale? The temporary table would be updatable by newscale (although, presumably, you wouldn't actually have newscale update it), so then it'd accept that connection.
    For example, I think you could do something like that by creating a View in MS SQL Server. Likewise, in other database brands you could create a Trigger that would update the buffer table each time data in the real tables are changed.

  • IMovie 11 will not play any of the projects I have created over the past several months.  It will play iMovie events.  Anyone else having this problem?  Please help - Thanks

    Movie 11 will not play any of the projects I have created over the past several months.  It will play iMovie events.  Anyone else having this problem?  Please help - Thanks

    Thanks for the suggestion...
    I just got back from the Apple Store for the second visit with the Mac Genius to try to resolve the problem. 
    First visit we trashed the iMovie 11 application and reinstalled iMovie and ran a software update. Upon relaunching we were pleased that all projects and events ran perfectly from both the HD and the Drobo. 
    After lugging my 27" iMac back home and restarting it the same problem appeared.  I returned to the Apple store for a second visit. This time I left the iMac at the store overnight.  The apple service guys were able to duplicate the problem and wiped my hard drive.  There appears to be a bug with iMovie 11 (not confirmed) and an elevated report was submitted to Apple engineers. 
    I am leaving my "old" projects and events on the external drive unless I need to import them.  I am not going to restore from back up and will use a "clean" version of iMovie11.  No guarantees the problem won't come back.  This issue consumed a TON of my time.... hopefully Apple can fix iMove11.

  • I have on iPad iPhoto, how do i import to my mac the albums that i created on the iPad iPhoto?

    I have on iPad iPhoto, how do i import to my mac the albums that i created on the iPad iPhoto?

    Here's a Mac World article that may help. Still not perfect but will help transfer edited photos. If done in groups you can re-create the Albums on the Mac.
    http://www.macworld.com/article/2010727/the-ultimate-iphoto-workflow.html
    Basically the process requires "Sharing to iTunes" through the iPad's app then syncing with iTunes. The shared photos will be found in the File Sharing section of the Apps tab of it's sync settings, not the Photos syncing tab.
    The other method is to save your edited photos to Camera Roll and import through iPhoto on the Mac or Photo Stream. Once again you'll need to do it in groups to save your Albums then recreate them on the Mac.
    I should also mention I have yet to use iPhoto on the iPad and there could very well be a better method out there. I have been researching for the best work flow to copy photos from my iPad which will be copied to the iPad with the camera connection kit, organized and edited on the iPad then copied in that state to my Mac once I get home. I like the idea behind Photo Journals while traveling and was disappointed to find they can not be saved, backed up or viewed through iPhoto on the Mac. I'm sure there are easier work flows but this is probably close to the route I will be taking.
    Any other input?

  • DST: the SQL Cluster did not change the time by itself..

    Hello,
    DST: the SQL Cluster did not change the time by itself..
    Where should I look for the issue. The time was changed manually to continue processing....
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi,
    Thanks for your posting.
    For the Sql cluster issue, i think you may ask in:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver&filter=alltypes&sort=lastpostdesc
    Regards.
    Vivian Wang

  • How to find the SQL Server Instances running across the given activer directory domain?

    How to find the SQL Server Instances running across the given activer directory domain?
    I have though of OSQL -L , Microsoft Assessment and Planning ( MAP ) tool and SQLPing3 (SQLSecurity) might help me.
    I would appreciate if there any other way of finding the SQL Servers / Instances running across the given active directory domain.
    Sivaprasad S
    http://sivasql.blogspot.com
    Please click the Mark as Answer button if a post solves your problem!

    Dear ,
    Very simple u find all instances through the customized sp which is get all details about inventory. Like i put the sp bellow. This is without any tool. 
    USE [master]
    GO
    /****** Object:  StoredProcedure [dbo].[DBStatus]    Script Date: 08-01-2015 19:46:11 By Damodar Patle Sr. DBA Mumbai India ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[DBStatus] 
    AS
    SELECT 
    SERVERPROPERTY('servername') AS ServerName,
    ConnectionProperty('local_net_address') AS 'local_net_address',
    ConnectionProperty('local_tcp_port') AS 'local_tcp_port',
    CONVERT(VARCHAR(25), @@VERSION) as  VERSIONSQL,
    SERVERPROPERTY('ErrorLogFileName') AS ErrorLogFilePath,
    database_id,
    CONVERT(VARCHAR(25), DB.name) AS DBName,
    CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'status')) AS [Status],
    CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'Recovery')) AS [Recovery_Model],
    create_date as DBCreate_Date, --physical_device_name,
     (SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS DataFiles,
     (SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS [Data MB],
     (SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS LogFiles,
     (SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS [Log MB],
     (SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS MDF_File_Location,
     (SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS  LDF_File_Location,
       user_access_desc
       FROM sys.databases DB
       ORDER BY dbName, [Log MB] DESC, NAME

  • The SQL has aged out of the cursor cache.

    Hi,
    on 10g R2, Ihave the following :
    The SQL has aged out of the cursor cache.
    Does-it mean that undo_retention is not enough big?
    For the moment it is 10800, 3 hours.
    Thanks.

    Hi,
    The issue is that when in sql advisory I click on "Schedule SQL tunning advisor" it gives me "The SQL has aged out of the cursor cache".
    If shared_pool is =0 , (automatic management) would it be usefull to define shared_pool_reserved_size value ?
    In documentation it is said :
    7.3.8.2 When SHARED_POOL_RESERVED_SIZE Is Too Small
    The reserved pool is too small when the value for REQUEST_FAILURES is more than zero and increasing. To resolve this, increase the
    value for the SHARED_POOL_RESERVED_SIZE and SHARED_POOL_SIZE accordingly. The settings you select for these parameters
    depend on your system's SGA size constraints.
    Increasing the value of SHARED_POOL_RESERVED_SIZE increases the amount of memory available on the reserved
    list without having an effect on users who do not allocate memory from the reserved list.And actually I have REQUEST_FAILURES =15.
    Thank you.

  • Is there a way to decrypt the SQL login-only encryption in the netmon trace or disable the SQL login-only encryption?

    We know by default the SQL Server use the self-signed certificate to encrypt the  SQL login information when  building the connection, my question is if
    there is a way to decrypt the SQL login-only encryption in the netmon trace  or disable the SQL login-only encryption?
    Please click the Mark as Answer button if a post solves your problem!

    Not without login as admin.   To avoid using credentials to login to SQL, use Windows Credentials instead.
    jdweng

Maybe you are looking for

  • How to delete a node in an XML document

    Hi, My flex plugin loads an XML document that is passed in from the ExternalInterace. I have a List control that displays data from this XML document. The XML looks like: <document> <response> <objectlist> <list type="typeValue"> <object type="typeVa

  • My adobe air desktop app keeps trying to update unsuccessfully

    my free adobe air desktop app keeps trying to update unsuccessfully whatever shall i do? thanks system Hardware Overview:   Model Name: Mac Pro   Model Identifier: MacPro3,1   Processor Name: Quad-Core Intel Xeon   Processor Speed: 2.8 GHz   Number O

  • X240 + UltraDock+90W Power + 2 external display issues

    Wondering if someone out there can help a newbie. Setup is a x240, Windows 7, Ultradock 90W, with two U2414 Dell monitors. Dual displays are working great, but ONLY if I keep the laptop lid up on the dock. I have tried adjusting the settings to "when

  • Saving long text

    Hi experts, Iam working on dialog programing and i have requirement to save two long texts at a time. I put the long texts(custom controls) in tab strip control(container1,container2). My problem is while saving.... 1)if i enter data only in first co

  • Is it possible to "lock" the ring volume setting?

    I have set the call ring volume to its highest setting. However, I guess when handling the phone, my fingers sometimes squeeze down on the volume setting button on the side of the phone and lower the volume back down. It is a huge pain. Is there a wa