Package body recompilation - needs BPEL process redeploy or Server restart

Hi,
I have a partner link which connects to a PL/SQL Package procedure using Database adapter.
When i recompile the package body, and try a new instance of the process. I get the binding fault
which indicates that the current state of the package is invalid.
I have not recompiled the package specification, why should a package body recompilation cause
problem in the binding?
WSIF JCA Execute of operation 'AuthConfirmationService' failed due to: Error while trying to prepare and execute an API. An error occurred while preparing and executing the DEMF1BAR.DVPKS_BPEL_IRS.PR_CONFIRM_AUTH API. Cause: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "DEMF1BAR.DVPKS_BPEL_IRS" has been invalidated ORA-04065: not executed, altered or dropped package body "DEMF1BAR.DVPKS_BPEL_IRS" ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1 ; nested exception is: ORABPEL-11811 Error while trying to prepare and execute an API. An error occurred while preparing and executing the DEMF1BAR.DVPKS_BPEL_IRS.PR_CONFIRM_AUTH API. Cause: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "DEMF1BAR.DVPKS_BPEL_IRS" has been invalidated ORA-04065: not executed, altered or dropped package body "DEMF1BAR.DVPKS_BPEL_IRS" ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1 Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.</summary>
<detail>ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "DEMF1BAR.DVPKS_BPEL_IRS" has been invalidated ORA-04065: not executed, altered or dropped package body "DEMF1BAR.DVPKS_BPEL_IRS" ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1</detail>
Is this is a bug or a limitation? Are there any workarounds?
Thanks,
Senthil L

this is not intended behaviour, and an issue of the db pool (that holds open jdbc connections, for performance). You can try setting min and max connections to 0 (for development) - which ill have the pool creating a new connection every time.
This is as mentioned not bpel related, but a feture of the jdbc driver.
hth clemens

Similar Messages

  • How to avoid BPEL process deployment after server restart

    Hi,
    Message flow in my application is as below
    BPEL1 --> ESB --> BPEL2
    After every server restart the ESB is failing to invoke a perticular operation of BPEL2 service. All other operations of BPEL2 are working fine.
    We are redeploying the BPEL2 proccess everytime the server restart happens to fix this issue. As a temporary fix, we are trying to bypass the ESB and directly invoke BPEL2 from BPEL1, but not sure if this solution works.
    Can someone please suggest me as to how to avoid redeployment of the BPEL2 process?
    Please let me know incase any additional information is required.
    Thanks in advance.
    Regards,
    Manoj
    Edited by: user11290555 on Jun 20, 2010 3:18 PM

    Hi,
    try the SOA forum.  This here is for JDeveloper and ADF related questions
    Frank

  • BPEL process throwing error whie restarting soa server: INVALID_WSDL

    Hi All,
    I am facing below error while restarting the soa server :
    <Jun 27, 2012 10:09:35 AM PDT> <Error> <oracle.integration.platform> <SOA-20003> <Unable to register service.
    oracle.fabric.common.FabricException: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=INVALID_WSDL: The document: http://<Host>:<port>/soa-infra/services/smart/TestBPEL/TestBPEL.wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.: WSDLException: faultCode=INVALID_WSDL: The document: http://<Host>:<port>/soa-infra/services/smart/TestBPEL/TestBPEL.wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.
    this above error is caused for most of the bpel processes deployed on the soa server.
    SOA server version is 11.1.1.4 .
    Could any one help in this regard.
    Thanks & Regards,
    Nupur

    Undeploy that particular composite and redeploy. Check the source code of the composite to see if the process is configured with actual host and port numbers or not ?
    Sometime when you use localhost will not create any issue while deploying but when you referening you will face this kind of issue.
    So always use hostname.
    Thanks,
    Vijay

  • BPEL process retired after OAS restart

    Hi,
    We are experiencing a strange problem with BPEL process manager. Sometimes when we restart OAS, several BPEL processes are retired. Any idea why?
    Thanks in advance,
    Steven

    Hi Anirudh,
    Our version is 10.1.3.3.1 MLR#4 and we are planning to apply the MLR#19. We do use JMS Adapter with AQ.
    Regarding what kind of processes are retired, I do not see a pattern. To me, it's more like a random thing. There is nothing being logged in the log file, which is why this is frustrating :(
    Thanks for you help!
    Steven
    Edited by: sw12345 on Jan 19, 2010 10:46 AM
    Edited by: sw12345 on Jan 19, 2010 10:46 AM

  • BPEL process instance doesn't restart execution after BPEL server restart

    I am using Oracle BPEL server 10.1.2 on Windows with the Oracle lite 10G dehydration datastore.
    I have a one BPEL process (proc1) that invokes another BPEL process (proc2) synchronously. proc1 also invokes proc3 (also a BPEL process, but probably doesn't matter) synchronoulsy in parallel with proc2.
    proc2 has a wait of ~30seconds in it. As soon as proc1 invokes proc2, I shutdown BPEL. Now, when I restart the BPEL server, proc2 instance finishes its execution. But, I don't see instances of proc1 and proc3 in the BPEL console.
    Here are my questions:
    1. If proc1 invokes proc2 and proc3 in parallel, shouldn't I see instances of proc2 and proc3 at the same time? I only see proc2 not even proc1.
    2. Why doesn't proc1 resume its execution after BPEL server is restarted?
    Any pointers appreciated.

    1. If proc1 invokes proc2 and proc3 in parallel, shouldn't I see instances of proc2 and proc3 at the same time? I only see proc2 not even proc1.
    Please read this thread:
    ParallelFlows + sync flow

  • Bpel Process in XAMPP  server (A---Apache server)

    Hi,
    i have created a BPEL Process which access MYSQL DB and get the result for the Query. here how to deploy the process in the XAMPP server from Jdev 10g or other way can anyone please help

    Hi There,
    JMX can be used to discover all the names and addresses of managed servers in a cluster.
    find more information on this link: http://e-docs.bea.com/wls/docs81/jmx/index.html
    Let me know if works,
    Cheers

  • BPEL process deployment

    What is required to deploy a BPEL process on another machine (or oracle home)?
    Here is my current list in order, let me know if there is anything additional or if there are any short cuts/wizards to make doing this easier. Also if you don’t need to be able to recompile the program, are any of the steps (b – e) not needed / changed if you just copy over and manually deploy the jar file?
    a) Copy the workspace folder to the new machine/oracle home and then add it to the application navigator.
    b) Re-add or copy entries in the email/JMS/FTP adapter config files.
    c) Re-add task users. (Can there entries be copied from one file to the other?)
    d) Make sure all referenced local folders exist and are accessible.
    e) Make sure all referenced BPEL processes are deployed.
    This includes the User task services, they seem to be deployed when a user task is added but not when a BPEL process they include is deployed in a new environment.
    f) Compile/deploy the process.
    Thanks,
    Craig

    Hi Craig -
    Your list of steps will certainly work. However, as you suggest, you don't need to recompile the BPEL process on the new machine. You can just copy the jar (what we call the "BPEL suitcase" that is created when you compile the BPEL process. For more information on this, and the different mechanisms for deploying BPEL suitcases, see the technote at:
    http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_technotes.tn002.html
    Regarding the user task services, these should just "do the right thing". If you are finding that you deploy a process to a new domain that uses the task service and the task service itself is not automatically deployed by the server, send us the steps to reproduce - this would be a bug (though your workaround of manually deploying the task service would be fine in the meantime).
    Beyond that, there are a few best practices that we have which may eliminate steps (c) and (d) in your list (task users and referenced local folders). We would recommend avoiding local folder references that go outside of the BPEL suitcase when possible and using URL references for things like XSDs. This way you can have a central repository that is available from all the pertinent servers.
    Alternatively, you can include the necessary files with your process in a higher level directory and have an Ant build.xml which copies them to the appropriate locations. We try to do this with our samples, so that there is a single directory (typically called xxxDemo, e.g. LoanFlowDemo) that has a master build.xml that builds all the sub-directories (which typically include a BPEL process, xxxFlow, a UI, dependent services, etc). See the samples in the orabpel\samples\demos directory for several examples of this approach that you may be able to leverage.
    Finally, regarding task users, I'm not sure if there is a simple mechanism for copying them over with our default developer install authentication. I'll check on this however - the question makes sense and we should both make this possible and ship an example where the appropriate users are created as part of the umbrella build.xml for a project. I suspect this will require a simple SQL script, but again I'll check. However, in many cases, again the best practice would be to use an LDAP or similar, globally accessible directory. Then any deployments which have access to the directory service would not require this additional step.
    Let me know if any of this doesn't make sense.
    Dave
    David Shaffer
    Dir Product Mgmt, Oracle BPEL Process Mgr
    [email protected]
    W: 650.506.1729
    http://otn.oracle.com/bpel

  • Null Pointer exception while invoking BPEL process

    Hi all,
    I am getting following exception when I am invoking a BPEL process1 (deployed in 10.1.3.1) from another BPEL Process 2 (deployed in 10.1.3.3)
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    BPEL Process 1 is working fine when given manual input (testing through console). But when invoked using BPEL Process 2, it gives the above error. I also tried invoking BPEL Process 1 (and many other webservices deployed in 10.1.3.1) using TCPMON tool and got the same error.
    Am I missing something here in configuration of 10.1.3.1 or any other issue? Please help as it is really urgent.

    Contact [email protected]
    Slava Imeshev wrote:
    Hi Ramu,
    "Ramu" <[email protected]> wrote in message
    I have just upgraded to service pack #13 on WLS 5.1 from service pack #6.I am using the same code as it was with SP #6. When I invoke finder method
    on entity bean, I get null pointer exception. The primary key object for the
    entity bean has equals() method.
    javax.ejb.FinderException: Exception executing finder:java.lang.NullPointerException
    atweblogic.ejb.internal.StatefulEJBCache.getFinderContext(StatefulEJBCache.jav
    a:264)
    atweblogic.ejb.internal.StatefulEJBCache.getEJBContext(StatefulEJBCache.java:3
    54)
    Check if equals() method can handle null parameter.
    Regards,
    Slava Imeshev--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Develop BPEL Processes

    Hello All.
    I installed Oracle Middle Tier, Oracle Infrastructer and Oracle BPEL PM on a VM server. When Oracle BPEL PM for Middle Tier was installed I realized that there is no JDeveloper in this installation.
    Now a stupid question:
    1. How is it possible to develop BPEL processes (When i installed BPEL PM for
        middle tier)?
        I installed the JDeveloper on the server but there is no     plugin to develop BPEL processes.
    2. Do I have to install Oracle BPEL PM for Developers on the server (instead of
        BPEL PM for middle tier) or local on my computer?
    3. I need the middle tier installation because I want to show some values in Oracle
        Portal. Do I have to develop the processes local     and the run them on the middle tier installation?
    I am a little bit confused, ... so it would be nice if someone could explain how it will work!
    Thx

    Thank you mbrouwer for your answer.
    So it is right, that if i want to develop a BPEL process I have to install BPEL PM for Developers on my computer and then make a connection to my server on the VM?
    But for what do I need the installation of "BPEL PM middle tier" on my VM server? Do I only need them to run BPEL processes on my Server middle tier installation or is it possible to delete them?
    Is it a normal solution to develop on the local machine and later run the processes on a server?
    I am using a Windows on my local computer an linux for the server installation. When I install BPEL for Developers on my local Windows machine, is there a problem to run those processes on my server with linux?
    Thank you
    Message was edited by:
    BenSp

  • How to config the proxy of Bpel process manager(with password)

    HI, i met the quetion as below
    The The Oracle BPEL Process Designer & Manager server is installed on my computer in domin of my company, so if One of the BPEL processes deployed on the BPEL server needs to access a synchronous Web service hosted outside the firewall .i need to config the proxy, but the proxy of my company needs my ID and password to access outside . after I congfig the proxy
    option of designer and build the Process, there will be pop-up a dialog box and ask for my ID & password .But how i config the proxy of Bpel process manager?? I read the tecnote about HTTP Proxy Configuration and config the proxy in the obsetenv.bat ,but it seems has no information about my ID&password in obsetenv.bat.
    The question is How can i let the Bpel process manager know my proxy and ID&password ?? pls help me ,thx!

    I have set these value in obsetenv.bat as follows, and I restart the Bpel manager server and designer.
    but the same issue still occur:
    set OB_JAVA_PROPERTIES="-Djavax.wsdl.factory.WSDLFactory=oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl" "-Dhttp.proxySet=true" "-Dhttp.proxyHost=pxysha" "-Dhttp.proxyPort=8080" "-Dhttp.proxyUser=oocldm\hanfi" "-Dhttp.proxyPassword=123456" "-Dhttp.nonProxyHosts=localhost".
    At the same time, I have set proxy server in bpel designer of eclipse, after I build the process,it can works well(which display BUILD SUCCESSFUL), but the bpel server display error message as below :
    Exception Name:
    Failed to read wsdl
    Exception Description:
    Error happened when reading wsdl at "C:\orabpel\domains\default\tmp\.bpel_TerraFlow_1.0.jar\TerraServiceRef.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error reading file: Server returned HTTP response code: 407 for URL: http://terraserver.microsoft.com/TerraService.asmx?WSDL".
    what happen ?

  • InvocationException while invoking a BPEL process in SOA 11g .

    Hi,
    We are calling our BPEL process under weblogic server 11g SOA from standalone Java client .
    we were using the SOA management Java reference 11.1.1.5.0 APIs in our code as shown below:
    we are using the jars:
    ejb30.jar,
    ejb.jar
    fabric-common.jar,
    optic.jar,
    oracle-soa-client-api.jar,
    soa-infra-mgmt.jar,
    wlfullclient.jar,
    wsclient_extended.jar,
    xmlparserv2.jar..
    CompositeDN compositeDN = new CompositeDN("default","MasterBPELProcess", "1.0");
    DirectConnection dic = locator.createDirectConnection(compositeDN, "MasterBPELProcess");
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = docBuilderFactory.newDocumentBuilder();
    Document doc = builder.parse(new InputSource(new StringReader(inputPayload)));
    Element root = doc.getDocumentElement();
    Map<String,Element> mpayload = new HashMap<String,Element>();
    mpayload.put("payload", root);
    Payload<Element> payload = PayloadFactory.createXMLPayload(mpayload);
    Message<Element> request = XMLMessageFactory.getInstance().createMessage();
    request.setPayload(payload);
    try {
    Message<Element> response =
    dic.request(operationName, request);}catch(InvocationException e){}
    **we are getting the Below Exception, while sending the request :**
    **try {**
    **Message<Element> response =**
    **dic.request(operationName, request);}catch(InvocationException e){}**
    oracle.soa.api.invocation.InvocationException: ; nested exception is:
    java.io.EOFException; nested exception is: java.io.EOFException
    at oracle.soa.api.DirectConnectionImpl.request(DirectConnectionImpl.java:126)
    at oracle.soa.api.CachedConnectionProxy.request(CachedConnectionProxy.java:57)
    at com.verizon.vsii.initiate.InitializeBPELProcess.initBPEL(InitializeBPELProcess.java:266)
    at com.verizon.vsii.initiate.InitializeBPELProcessBatch.initBPEL(InitializeBPELProcessBatch.java:66)
    at com.verizon.vsii.initiate.InitializeBPELProcessBatch.main(InitializeBPELProcessBatch.java:75)
    Caused by: javax.ejb.EJBException: ; nested exception is:
    java.io.EOFException; nested exception is: java.io.EOFException
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:121)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)
    at $Proxy4.request(Unknown Source)
    at oracle.soa.api.DirectConnectionImpl.request(DirectConnectionImpl.java:114)
    ... 4 more
    Caused by: java.io.EOFException
    at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
    at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
    at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
    BPEL Response:
    Error in executing BPEL process Syncronously
    args.length 0
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Note:
    I have given the code.Pls let's know what is the reason for this exception( asap ), also let us know is there any solution to solve this problem & reference for using that API.
    Edited by: sundar on Nov 11, 2011 6:52 AM

    hi..
    did u solve this problem ??
    i too got the same problem , help me if u have already solved this .
    thanks in advance

  • Running Sync BPEL process doesn't show any HTML form /XML source for input

    Hi
    I designed,compiled and deployed SYNC BPEL process on to server
    but when I opened console and try to run the process, it doesn't show any form for input
    Actually it has to take input
    Where I am doing wrong...?
    Thanks for any help...

    Hi Praveen,
    That is correct, you're not doing anything wrong. The BPEL Console doesn't show any forms for testing the services if the service is synchronous.
    I test my synchronous webservices with Eviware SoapUI. This is a freeware tool. Check: http://www.soapui.org/
    Just create a new project in soapUI, create a new request from WSDL, copy and paste the WSDL in soapUI. It will generate a default request for you, which you can edit and execute.
    HTH,
    Bas

  • Format of location of deployed bpel process - to access from osb

    We have oracle 11g Soa suite installed. I deployed a sample BPEL process in the server. I want to call this BPEL from OSB.
    For this, wsdl of the bpel process should have http url specified in "wsdl:service" element
    What is the format of http url for the BPEL process wsdl to specify in wsdl:service-->soap:address location

    If you want to call 11g bpel from osb 10.x you can't use the bpel10g transport. So for as far i know you just use the wsdl of the bpel process and use http transport to call it from osb.
    The wsdl-url of the bpel service you can just find in the 11g console

  • Expose bpel process

    Hi all,
    I have a bpel process in weblogic server and it function ok.
    Now I want expose this process as web services.
    I have web server Apache / Tomcat with Spring and I will continue to have this architecture.
    How do it?
    Thanks,
    Dario
    I have try with web service proxy from wsdl of bpel process, but nothing.

    what's wrong with the generated proxy code?
    if it generates ok and you can do a call to the bpel process by doing a test call in one of those generated java classes you should be able to reuse the code in your spring framework

  • Calling Bpel Process From a Jsp(Need a string output instead of XML object)

    Hi
    I am calling a BPEL process(Synchrononus) from a JSP page, Where Bpel process calls a java web service.The output from Bpel process is returned as an XML object. I need the output in a string format.Please let me know the steps to get the string output.
    I also executed invokeCreditRatingService.jsp(from samples shipped with SOA Suite) that calls CreditRatingService bpel, but i was getting the following output where the rating value is printed as an XML object.
    Output:-
    BPELProcess CreditRatingService executed!
    Credit Rating is oracle.xml.parser.v2.XMLElement@9511c8
    Please let me know, what changes i need to make to get the string output.I followed all the steps given in "orabpel-Tutorial7-InvokingBPELProcesses.PDF" to execute credit rating jsp.
    We are using SOA Suite 10.1.3.1.0 version.Do I need to make any changes to the code, to make it work with this version.
    Thanks
    Vandana.

    The call payload.get("payload") returns, as you have observed, an XMLElement. You can simply convert the XMLElement into an XML string by using a DOMSerializer implementation. The following code is very useful for this purpose:
    http://javafaq.nu/java-example-code-432.html
    Best,
    Manfred

Maybe you are looking for