BPEL process on error retrying self after every 5 minutes (no fault policy)

Hi All
We are facing very strange issue in one of our BPEL processes (we are using Oracle SOA Suite 11.1.1.3 on linux with 2 soa servers in cluster). The composite consists of a web service binding followed by a mediator which routes to three different BPEL processes (operational routing). This is all one way.
Inside the BPEL we are throwing a bpel rollback fault in the catch all to roll back any pending database changes. As soon as the error comes, In the composite diagram i can see multiple BPEL instances under the mediator and they keep on coming after every 5 minutes (basically i see two BPEL instances with a gap of one second and this pair keeps on repeating every 5 minutes)
Also we have a send email in the catch all and the email we get has a different composite id in every mail. However in the em i can see only one composite id (the first one when the error came) with multiple BPEL diagrams in it.
We are not sure what is causing the error?
1) Is it the one way mediator routing to 3 BPEL processes as per the operation invoked?
2) Is there something wrong with clustering?
3) Is there a problem with version 11.1.1.3?
Please help as we are struck and not able to move to INT.
Thanks and Regards
Amit Sachdev

Hi Anuj
Thanks for the reply again. Using the below property seems to work, but it is making the call sync (i get an empty fault in SOAP-UI) and my java client also waits for the response.
<component name="abcd">
<implementation.bpel src="abcd.bpel"/>
<property name="bpel.config.oneWayDeliveryPolicy" many="false" type="xs:string">sync</property>
<property name="bpel.config.transaction" many="false" type="xs:string">required</property>
</component>
As i told that this is a long running process (could easily take 3-4 hours), i cant afford to wait for this (should be fire and forget).
1) Is there a way, i can make it fire and forget and also stop the recovery using the properties you just told?
2) If there is no way out, i can remove the throw rollback fault in catch all, but i want the composite instance to be shown as red (i will take care of the rollbacks in db in code). I tried using the terminate activity but that doesn't make it red (like it used to be in 10g). Is there a way to mark the instance as red without throwing an uncaught fault?
Please let me know. Thanks
Also regarding the patch, if we apply it, will it still recover the BPEL instance? I mean the BPEL is throwing a rollback fault and is being exactly retried 50 times with a gap of 5 minutes (default settings in em console, not touched at all). Every time it runs it would throw the same fault again (as it reads and deletes a control file, so in successive runs that control file will not be there) leading to rollback error being thrown from catch all during automatic retry.

Similar Messages

  • BPEL process OutOfMemory error

    Hi,
    I have following processes:
    Requester (BPEL) > EBS (OSB) > Provider (BPEL)
    A large payload request is received by Requester and in Provider I have db adapter calls in a loop and as per business logic it has to perform more than 512 db adapter requests but this provider fails after about 3 mins. Another strange thing is that another BPEL instance also gets automatically instantiated after 3 mins which also fails.  
    I get following main exceptions in EM log:
    1.
    Message transaction status statusSTATUS_ACTIVE
    Supplemental Detail java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 9716016
    at oracle.soa.common.util.NonSyncStringBuffer.ensureFreeSpace(NonSyncStringBuffer.java:210)
    at oracle.soa.common.util.NonSyncStringBuffer.append(NonSyncStringBuffer.java:513)
    2.
    Thread ID [ACTIVE].ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'
    ECID 6cd8828aacee5923:-58ca31b1:1430a4058ba:-8000-000000000010a79e
    Message javax.xml.soap.SOAPException: OWS-12042 :read is alrady timed out
    Supplemental Detail at oracle.j2ee.ws.saaj.soap.MessageImpl.saveChangesSoapOnly(MessageImpl.java:1187)
    I have tested this on both DEV and SIT environments and getting same issue on both servers.

    Hi,
    The OutOfMerroryError is one that I encountered at my current project several times.
    When a large payload is received, it is put in memory once. But when you use this payload in a transformation or assign it is put in memory each time it is used in a copy rule. If this is done in a loop it will put it in memory as many times it is used in the transformation.
    What I understand is that the specific action is performed 512 times? If so the payload can be put in memory each time.
    The error Supplemental Detail java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 9716016] lets you know that is had 97Mb less available then needed.
    I easy option is to make your heap size of the JVM larger. The error does occur when the heap size is full.
    -Xms<size>  set initial Java heap size
    -Xmx<size>  set maximum Java heap size
    -Xss<size>  set java thread stack size
    -Xms512m -Xmx1152m -Xss256m
    Other option is to look if you can perform transformation without using the large payload. Do you need to assign the large payload for all the 512 db adapter requests?

  • Oracle BPEL Process Manager  error

    I am getting the following error in activities tab in BPEL Process instances / activity and i am also not able to see the flow diagram of bpel process i created and deployed , please check and provide any solution / share solutions
    (message is pasted below)
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
    Attachments:
    Build Information:
    Oracle BPEL Server version 10.1.3.1.0
    Build: 0
    Build time: Mon Oct 09 08:44:49 PDT 2006
    Build type: release
    Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    Exception Message:
    [javax.servlet.ServletException]
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "10035" from the datasource.
    Please check that the instance key "10035" refers to a valid instance that has been started and not removed from the process domain.
    Exception Trace:
    javax.servlet.ServletException: Instance not found in datasource.
    The process domain was unable to fetch the instance with key "10035" from the datasource.
    Please check that the instance key "10035" refers to a valid instance that has been started and not removed from the process domain.
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:809)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:756)
         at ngActivityList.jspService(_ngActivityList.java:382)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
         at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:396)
         at activities.jspService(_activities.java:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Check that your dehydration store is up. Also ensure it is able to accept new connections. Sometimes it can hit the max session count.
    If you bounce SOA Suite does it come up.
    Has anything been done on the system that may have caused this from happening.
    cheers
    James

  • 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

  • URGENT!! HelloWorld.bpel process Deployment Error

    Hi bpel gurus,
    I am new to BPEL. I tried to deploy sample HelloWorld tutorial process with no real luck..
    What i am doing is using obant (also tried equivalent "ant deploy" ) command to deploy the process. I am using BPEL PM for developer on windows XP.
    The following is the gist of the long exception/error I got.
    "C:\product\10.1.3.1\OraBPEL_2\bpel\samples\tutorials\101.HelloWorld\build.xml:79
    : A problem occured while connecting to server "ashdesai.corio.com" using port "
    9700": bpel_HelloWorld_1.0.jar failed to deploy. Exception message is: ORABPEL-04096
    Cannot update process metadata.
    The process domain was unable to insert/update the process metadata for process
    "HelloWorld" with revision tag "1.0" in the datastore. The exception reported is
    : javax.resource.ResourceException: RollbackException: Transaction has been mark
    ed for rollback: Timed out
    Please check that the machine hosting the datasource is physically connected to
    the network. Otherwise, check that the datasource connection parameters (user/p
    assword) is currently valid.
    sql statement: SELECT process_guid, process_id, revision_tag, suitcase_id, state
    , lifecycle, deploy_user, deploy_timestamp FROM process WHERE domain_ref = ? AN
    D process_id = ? AND revision_tag = ? FOR UPDATE ...
    Can anyone tell what setup/config is missing here..?
    Thanks in anticipation!!
    Ashish.

    Ashish:
    If your going to deploy a BPEL process using ant from the command line, you need to make sure that you set up your environment correctly. I've made a few blog posts on the subject of the ANT - environment.
    One of the key files that the ant deploy needs to have access to is the "ant-orabpel.properties" file located in your $BPEL_HOME/utilities directory. If Ant isn't able to get to this file, it will not have the BPEL environment settings for your installation.
    Ben

  • Timer Job job-application-server-admin-service spiking CPU after every minute

    Hi all,
    I have an issue in my SP2010 Farm that all the servers spiking CPU to 100% after a minute or so. I have drilled down and found that the following timer jon is the culprit.
    Timer Job job-application-server-admin-service. If I change the service running to 2 minutes (default is 1 Min) then the spikes comes after every 2 minutes.
    Please suggest what I can do about this?

    Was it working fine previously. If yes, what changes happened which caused this issue
    1. Check the ULS + Eventviewer logs at the time when this issue happens.
    2. Collect perflog files and execute PAL on that this will give you the complete analysis of processes and performance at that time.
    Check below:
    http://social.technet.microsoft.com/Forums/office/en-US/07207109-0450-47cf-b6ee-467a58eaa887/trust-relationship-between-the-primary-domain-and-trusted-domain-failed?forum=sharepointgenerallegacy
    http://webcache.googleusercontent.com/search?q=cache:nJYnqC6ug8cJ:sharepointfraggel.blogspot.com/+&cd=3&hl=en&ct=clnk&gl=in
    Fix the problem
    Manually clear the file system cache on the local servers (fe's) on which the timer service is running (http://support.microsoft.com/kb/939308)
    Stop the SharePoint Timer Service in Administrative Tool/Services.
    Go to the cache folder. For Windows Server 2008: Drive:\ProgramData\Microsoft\SharePoint\Config
    Find the folder that contains the file Cache.ini
    Delete all the XML configuration files in the folder so that you can verify that the folder is replaced by new XML files when the cache is rebuilt. 
    Open the Cache.ini file, delete all content in the file and type 1, save and exit. 
    Start the SharePoint Timer service 
    If this helped you resolve your issue, please mark it Answered

  • Photoshop CS6 "Error: 1" returns after every computer reboot.

    I have the 64-bit version of Photoshop CS6 Extended (education license), on Windows 7 64-bit. I can install the software without any problems and it works after that. But once I shut down the computer and restart it, the following error comes up when I try to open the software:
    After this, the only way to get Photoshop up and running again, is to reinstall it. This means that I have to reinstall the software every morning.
    It seems like something is deleted after each reboot. I need to know every folder and registry value Photoshop uses outside the actual folder where I install it, so that I can backup it.
    Please help.

    Are you try CC Cleaner Tool?
    CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3
      http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • FACEBOOK GETS LOGGED OUT AFTER EVERY MINUTE , AND IPOD PROBLEMS

    HELLO EVERY I NEED SOME HELP
    1 FACEBOOK PROBLEMS
    2 PLAYING SONGS ND VIDEO IN OPOD OF IPHONE
    WHENEVER I OPENS FACEBOOK
    IT GETS LOGGED OUT
    I NEED TO RE ENTER MY PASWORD
    I HAVE DONE REINSTALING OF FACEBBOK APLICATION BUT M FACING SAME PROBLEM
    EVN AFTR DELETING FB FRM IPHONE ,,  I INSTALED NEW VERSION BUT STIL IT GETS SIGNED OUT
    IPOD APLICATION NOT WORKING
    IT GET CLOSED WEN I CLICKS ON PLAY OR CLICK ON ANY VIDEO ,, IT GET CLOSED FORCLY , AND TURNS TO MAIN MENU
    EVN AFTR SYNC WHOL DATA AFTR DELETING , RESTORING ,
    APPLYING NEW SETTINGS
    IS DERE ANY INTELLIGENT PERSON , WHO KNOWS ABOUT THIS

    Check and see if you've got too many things running concurrently. Double-click the home key to see your list of most recent programs. Press and hold the icons in the app tray until they jiggle, and then remove the ones you don't need. Even when programs are "closed" they still leave footprints in memory so that if you were to re-access that program, it will open up faster. This should free up some memory.
    If you don't have many apps installed and running, then I am not sure what would be causing your problems.

  • Error while deploying the BPEL process

    Hi All,
    I’m getting the following error while deploying the BPEL process.
    “Error:
    [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "bpel.xml", Error loading schemas from wsdl.
    Error while loading schemas from wsdl file at location "http://ios0501e.idc.ikon.org:7720/vertex-ws/calculate-tax-wsdl.jsp?WSDL". The reason is .
    Please verify the schemas defined in wsdl.
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    Kindly let me know if you have any pointers on the above.
    Thanks in Advance.
    Regards
    Sravana

    Check you proxy settings. Disable them in your deployment tool / JDeveloper

  • Fault error framework for synchronous Bpel process

    Hi all,
    Do fault policies work for synchronous Bpel processes? I am using a synchronous bpel process which invokes JMS service. I have used fault policies and bindings for this , when the instance fails due to binding fault the instance gets timed out and it neither goes to catch block nor fault policies.Is it normal behaviour or am i doing wrong anywhere. please help
    Regards
    Raju.

    Hello Raju,
    yes fault policies absolutely work for sync Bpel processes, please check if you have defined the Binding fault in your fault policy and also in your bindings.
    if you have defined them in your policies then the control will jump to the policies first do the respective action defined.
    so do check again...
    Good luck..
    vny.

  • Invoking ODI Scenario from a BPEL process - Resolved

    I new to Oracle products.
    I am exploring Oracle Data Integrator tool.
    I would like to call ODI scenario from a BPEL process.
    I created a scenario in ODI, I have SOA suite10.1.3.3 installed in my machine.
    In some portal I have read that, we need to deploy apache axis to Oracle App server and then deploy the ODI public web service to axis. This public web service facilitates us to call scenario from partner link.
    Following are my questions:
    1) I guess Oracle App server acts as webservice container too. Why should I use apache axis here?
    2)If axis must be used, please let me know how to deploy it to OAS.
    If axis is not required, please guide me how to deploy public web service to OAS.
    Thanks!!

    Hi:
    I have similar problem, when invoke ODI Scenario from a BPEL Process, the error in ODI Designer is:
    java.lang.NullPointerException
         at com.sunopsis.dwg.dbobj.SnpSession.a(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.y(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSessionPreTrt(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)
    In the BPEL Console the result is OK and process complete, but in the INVOKE scenario send message:
    <messages><ODI_REQUEST><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1"><invokeScenarioRequest xmlns="xmlns.oracle.com/odi/OdiInvoke/">
    *<RepositoryConnection xmlns=""*
    <JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
    <JdbcUrl>jdbc:oracle:thin:@192.168.1.109:1521:ORCL</JdbcUrl>
    <JdbcUser>dimaster</JdbcUser>
    <JdbcPassword>sabr0sa</JdbcPassword>
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>SUNOPSIS</OdiPassword>
    <WorkRepository>TESTWORKREP1</WorkRepository>
    </RepositoryConnection>
    *<Command xmlns="">*
    <ScenName>P_TRASPASOSOP09</ScenName>
    <ScenVersion>2</ScenVersion>
    <Context>Global</Context>
    <LogLevel>5</LogLevel>
    <SyncMode>0</SyncMode>
    <SessionName/>
    <Keywords/>
    <Variables>
    <Name/>
    <Value xmlns:ns1="http://xmlns.oracle.com/Recepcion">
    <ns1:Escenario>P_TRASPASOSOP09</ns1:Escenario>
    <ns1:Version>2</ns1:Version>
    <ns1:Contexto>Global</ns1:Contexto>
    <ns1:ID>1</ns1:ID>
    <ns1:NivelLogeo>5</ns1:NivelLogeo>
    </Value>
    </Variables>
    </Command>
    *<Agent xmlns="">*
    <Host>192.168.1.109</Host>
    <Port>20910</Port>
    </Agent>
    </invokeScenarioRequest>
    </part></ODI_REQUEST><ODI_RESPONSE><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1"><odi:invokeScenarioResponse xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <odi:CommandResultType>
    <odi:Ok>true</odi:Ok>
    <odi:SessionNumber>445000</odi:SessionNumber>
    </odi:CommandResultType>
    </odi:invokeScenarioResponse>
    </part></ODI_RESPONSE></messages>

  • BPM and BPEL process differentiaition.

    Hi All,
    Can any one shed some light on below points
    1) How is a BPM process different from BPEL process.
    2) Can i achieve every thing in BPM process that i can achieve in BPEL process.
    3) Also when BPEL process is available why has Oracle introduced BPM process.
    Thanks
    Parker.

    Hi,
    You can refer the following short PDF about the key differences between BPEL and BPM and when would be the right strategy to use either BPEL or BPM.
    http://beatechnologies.files.wordpress.com/2011/03/bpm_and_bpel.pdf
    Edited by: Arun Pareek on Mar 8, 2011 3:32 PM

  • BPEL Process Manager caches requests

    Hi,
    i recently downloaded Oracle BPEL Process Manager 10.1.2 bundled with JDeveloper.
    I created a BPEL process which invokes an external web service. The result of the web service invocation is transformed with an stylesheet using the transform activity and resend to another web service. After i deployed the process, everything works fine.
    But now i face a cache problem: everytime i change the stylesheet in the transform activity and redeploy the whole bpel process to the running BPEL PM Server, the change in the stylesheet is not reflected in the 2nd version of the BPEL process. The requests send after the transform activity are the same as in the 1st deployment of the process. Restarting the BPEL PM Server helps recognizing the change in the stylesheet and a appropriate request is send now.
    I can see the new stylesheet after redeployment in the .jar file located in the deploy folder. I also see it in the temp directory of my domain.
    It seems that the BPEL PM Server is caching somehow the stylesheet used in the 1st deployment and does not recognize changes in the stylesheet afterwards. Can i disable this caching? Or do i have to restart the server each time i change the stylesheet for the transform activity?
    Thanks in advance
    Pete

    Maybe there is some caching property which can be disabled?
    I didn´t find any hints on the forum and currently i always create a new stylesheet (with a new name), copy the whole content from the old stylesheet and assign the new stylesheet to the transform activity before redeployment, which is a very poor solution but still faster than relaunching the server...

  • Undeploying BPEL Process with ant

    Hello,
    I am trying to undeploy BPEL Process with the ANT Script. I did not wrote it by myself but got it as a sample from
    http://blogs.oracle.com/rammenon/2007/11/26/#a74 with the admintasks.jar as well.
    Unfortunately, when I try to undeploy , I recieved following exception:
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.oracle.bpel.client.BPELDomainHandle; local class incompatible: stream classdesc serialVersionUID = -6384534326625967840, local class serialVersionUID = -8310067783665200608
    at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:843)
    at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
    at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
    at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
    at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
    at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
    at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    INFO: Failed to undeploy BPEL processes. - Error deserializing return-value: java.io.InvalidClassException: com.oracle.bpel.client.BPELDomainHandle; local class incompatible: stream classdesc serialVersionUID = -6384534326625967840, local class serialVersionUID = -8310067783665200608
    Did somebody face with this problem and can help me out?
    I am using Oracle SOA Suite 10.1.3.3.0
    Thanks,
    Denis

    Thanks for your advise. I have visited your blog and tryed to undeploy my BPEL Process via <undeployBPELProcess> task. But I get: "failed to create task or type of type: undeployBPELProcess. Cause: The Name is undefined" error. So I guess I don't have a proper jar file.
    I am very short on experience with Oracle SOA Suite, so I got stuck with this issue.
    Denis

  • Unable to invoke an asynch Oracle BPEL process

    Im currently struggling to invoke an Oracle BPEL web service from another Oracle BPEL process.
    When creating the invoking process I pasted in the wsdl from the BPEL console to describe the invoked process rather than use the original wsdl generated by the tool.
    The wsdl is given below :
    At run time execution fails at the point where the invoking BPEL web service calls the first BPEL process, the error is a binding fault with desc : unable to find available port.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="Supplier" targetNamespace="http://xmlns.oracle.com/Supplier" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/Supplier" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/Supplier">
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/Supplier" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="SupplierProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="SupplierProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://pc1520952:9700/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="ReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <message name="MessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <message name="SupplierRequestMessage">
    <part name="payload" element="tns:SupplierProcessRequest" />
    </message>
    - <message name="SupplierResponseMessage">
    <part name="payload" element="tns:SupplierProcessResponse" />
    </message>
    - <message name="RelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <portType name="Supplier">
    - <operation name="initiate">
    <input message="tns:SupplierRequestMessage" />
    </operation>
    </portType>
    - <portType name="SupplierCallback">
    - <operation name="onResult">
    <input message="tns:SupplierResponseMessage" />
    </operation>
    </portType>
    - <binding name="SupplierCallbackBinding" type="tns:SupplierCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:RelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="SupplierBinding" type="tns:Supplier">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:ReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:MessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="Supplier">
    - <port name="SupplierPort" binding="tns:SupplierBinding">
    <soap:address location="http://pc1520952:9700/orabpel/default/Supplier/1.0" />
    </port>
    </service>
    - <service name="SupplierCallbackService">
    - <port name="SupplierCallbackPort" binding="tns:SupplierCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <plnk:partnerLinkType name="Supplier">
    - <plnk:role name="SupplierRequester">
    <plnk:portType name="tns:SupplierCallback" />
    </plnk:role>
    - <plnk:role name="SupplierProvider">
    <plnk:portType name="tns:Supplier" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

    I have got the same error.
    and if you look at your wsdl generated in xmlSpy(or something to check xml),
    you will see that the xml is not Valid!!!!
    Here is the fault by no targetNameSpace is in it(like in the first schema)
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://pc1520952:9700/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    This error is generated when trying to invoke a asynchronous BPEL deploy before in the engine.
    Error can be comprehensive is the Wsdl is not valid...
    When I deploy a asynchronous BPEL workflow in BPEL workflow 10.1.2, the compiler add <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://$server-url$:9700/orabpel/xmllib/ws-addressing.xsd" />
    in the wsdl and is not valid.
    Anyone from the BPEL team know this , and find a solution???
    Thanks.

Maybe you are looking for