BPEL In-Flight updates
Hi,
We have a BPEL process that required an update. Pretty straight forward if you will just deploy to a new version and new process request will go through that new version.
The problem is that there are so many in-flight processes already for the old process. These in-flight process needs to be moved to the new version of the process. If I just replace the new process with the old process, it will "stale" all the in-flight process. One option is to re-run all the old request against the new process but there are so many.
Are there other options we can take to move in-flight processes to a new version of that process?
Regards,
Robert
Found the answer. This feature is available in 10.1.3.5. http://download.oracle.com/docs/cd/E14101_01/doc.1013/e15342/bpelrn.htm#BABCEDFG
Robert
Similar Messages
-
Errors while running BPEL and incorrect UPDATE statement
Hi,
I installed following software.
1. Oracle Database 10g Release 2
2. SOA Suite 10g Release 3
3. Oracle JDeveloper (10.1.3.4)
I developed a BPEL process to lock a userid in PeopleSoft.
I have two issues.
a) I am getting error as shown below
b) its generating incorrect UPDATE statement, even though its assigning correct values in XML (UPDATE PSOPRDEFN SET LASTUPDOPRID = ?, OPRID = ? WHERE (ACCTLOCK = ?) i.e instead of setting OPRID in where clause its setting ACCTLOCK in where clause
<messages><input><Invoke_1_update_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PsoprdefnCollection"><PsoprdefnCollection xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/UpdateUserProfile">
<Psoprdefn>
<oprid>snagulapalli</oprid>
<version/>
<oprdefndesc/>
<emplid/>
<emailid/>
<oprclass/>
<rowsecclass/>
<operpswd/>
<encrypted/>
<symbolicid/>
<languageCd/>
<multilang/>
<currencyCd/>
<lastpswdchange/>
<acctlock>1</acctlock>
<prcsprflcls/>
<defaultnavhp/>
<failedlogins/>
<expent/>
<oprtype/>
<useridalias/>
<lastsignondttm/>
<lastupddttm/>
<lastupdoprid>Laptop BPEL</lastupdoprid>
<ptallowswitchuser/>
</Psoprdefn>
</PsoprdefnCollection>
</part></Invoke_1_update_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>17002</code>
</part><part name="summary"><summary>file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_Sandbox_9.0_882edce22e996c64b48ea25cbe023033.tmp/Update_User_Profile.wsdl Update_User_Profile_ptt::update(PsoprdefnCollection) - WSIF JCA Execute of operation 'update' failed due to: DBWriteInteractionSpec Execute Failed Exception.
update failed. Descriptor name: http://UpdateUserProfile.Psoprdefn. Caused by: Io exception: Connection reset by peer: socket write error
; nested exception is:
ORABPEL-11616
DBWriteInteractionSpec Execute Failed Exception.
update failed. Descriptor name: http://UpdateUserProfile.Psoprdefn. Caused by: Io exception: Connection reset by peer: socket write error
Caused by Exception TOPLINK-4002 (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Io exception: Connection reset by peer: socket write errorError Code: 17002
Call:UPDATE PSOPRDEFN SET LASTUPDOPRID = ?, OPRID = ? WHERE (ACCTLOCK = ?)
bind => Laptop BPEL, snagulapalli, 1
Query:UpdateObjectQuery(<Psoprdefn 1 />).
</summary>
</part><part name="detail"><detail>
Internal Exception: java.sql.SQLException: Io exception: Connection reset by peer: socket write errorError Code: 17002
Call:UPDATE PSOPRDEFN SET LASTUPDOPRID = ?, OPRID = ? WHERE (ACCTLOCK = ?)
bind => Laptop BPEL, snagulapalli, 1
Query:UpdateObjectQuery(<Psoprdefn 1 />)</detail>
</part></remoteFault></fault></messages>
Regards,
Shanti Nagulapalli.What version of SOA Suite are you using, SOA Suite 10g Release 3 is not enough information. Make sure that it is the same as your JDev version if it isn't then either downgrade the JDev or upgrade the SOA Suite.
If you are still on SOA 10.1.3.1 then I would upgrade as there are many bugs in this release.
These kind of strange errors are generally caused by incompatibility between design time (JDev) and run time (SOA Suite)
cheers
James -
Can't catch the exception when transaction rollback ,BPEL/SOA 11G,updated!
Hi Guys ,
I have two insert/update invoke actions through dbadpter in my BPEL process .
When I set the GetActiveUnitOfWork property of those two db adapters to true ,it successfully makes the global transaction work . any of them failed will cause the other rollback.
But the CatchAll brunch can't catch the exception in that case,
I can only see exception message from the system output :
02/11/2009 11:36:46 AM oracle.toplink.transaction.AbstractSynchronizationListener beforeCompletion
WARNING:
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090527)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (Table1_PK) violated
from BPEL console , you can't even see the error , the process finished with no exception.
When I set GetActiveUnitOfWork to false, CatchAll brunch is able to catch the exception , but global rollback is not working .
I try all the other method like set the transaction property of BPEL to required , using checkpoint() in java embedding . it looks like only way is set GetActiveUnitOfWork to true, but can't catch exception.
Here are some updated:
Here is my process
Main Sequence
Invoke (dbadapter update)
Invoke (dbadapter insert)
Global CatchAll
Invoke(jmsAdapter sendjms)
if I disable the CatchAll branch , when insert failed , the insert will rollback as well, even GetActiveUnitOfWork set to false.
enable CatchAll branch , even doing nothing in this branch , the update won't rollback when insert failed. it looks like when catch the exception , bpel seems not rollback , I try to add throw rollback in catchall branch, no any effect.
any clue ?
Kevin
Edited by: kyi on Nov 5, 2009 10:10 AMHi All,
We are also facing a similar kind of issue.
We have a simple BPEL which will makes use of JAva embedding to call an end point to check its availibility.
The Java code for cheking the enpoint connectivity is below
try{
boolean endpointAvailable = false;
long start = System.currentTimeMillis();
int endpointTestURL_port = 8445 ;
int endpointTestURL_timeout = 500;
String endpointTestURL_queryString = "" ;
String endpointTestURL_protocol = (String)getVariableData ("endpointProtocol");
addAuditTrailEntry("endpointTestURL_protocol: " + endpointTestURL_protocol);
String endpointTestURL_host = (String)getVariableData ("endpointHost");
addAuditTrailEntry("endpointTestURL_hostl: " + endpointTestURL_host);
URL endpoint = new URL(endpointTestURL_protocol, endpointTestURL_host, 8445, endpointTestURL_queryString);
addAuditTrailEntry("endpoint object is created" );
String endpointTestURL = endpoint.toExternalForm();
addAuditTrailEntry("Checking availability of endpoint at URL: " + endpointTestURL);
// Configure connection
HttpURLConnection connection = (HttpURLConnection)endpoint.openConnection();
connection.setRequestMethod("GET");
addAuditTrailEntry("The Method is Get");
connection.setConnectTimeout(5000);
addAuditTrailEntry("Timeout is 500 ms");
// Open connection
connection.connect();
addAuditTrailEntry("Open Connection");
String responseMessage = connection.getResponseMessage();
addAuditTrailEntry("Recieved availability response from endpoint as: " + responseMessage);
// Close connection
connection.disconnect();
endpointAvailable = true;
if (endpointAvailable)
setVariableData("crmIsAvailable", "true");
else
setVariableData("crmIsAvailable", "false");
catch(Exception e)
System.out.println ("Error in checking endpoint availability " + e) ;
addAuditTrailEntry("error message is : " +e);
When we run the above as a seperate java program it runs fine i.e goes to the catch block and catches the exception.
But when we run it within the java embedding in BPEL(11G) it gives us the follwoing error.
The reason was The execution of this instance "490001" for process "default/GMDSSalesLeadsBackMediationInterface!1.0*soa_e1a6362f-c148-417c-819c-9327017ebfa4" is supposed to be in an active jta transaction, the current transaction status is "ROLLEDBACK" .
Consult the system administrator regarding this error.
at com.oracle.bpel.client.util.TransactionUtils.throwExceptionIfTxnNotActive(TransactionUtils.java:119)
at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:4055)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4372)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:713)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:545)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:355)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor960.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInte
we also get
BEA1-108EA2A88DAF381957FF
weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 seconds
BEA1-108EA2A88DAF381957FF
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1733)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1578)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1900)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1488)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 seconds
BEA1-108EA2A88DAF381957FF
We tried the following
Increase the JTA timeout in the EM console to a larger value like 600 secs.
The BPEL instance is not getting created.
Any help would be appreciated
Thanks
Lalit -
Not able to get the data from synchronous Webservice To BPEL process
Hi All,
My requirement is : Third party has some webservice.They are pushing data to that Webservice(Wsdl).
Third part WSDL example : http://ipaddress:port/name/Service.svc?wsdl ( This is just example format of their WSDL)
After that I need to get that data into my BPEL process and update my system.
When I built My Snchronous BPEL process I imported third party WSDL(http://ipaddress:port/name/Service.svc?wsdl) through 'import WSDL' in dialog.After that I automatically got the (request and response schema elements) parameters from that WSDL.I gave input and output of the BPEL process from those elements.
I pasted that third party URL iin SOAPUI and I got their operations and schemas.Based on that I had choosen the elements for 'input' and 'output' of the BPEL processes.I am also getting the schema structures in 'Assign' or 'Transform' activity.
I built the whole process.
I have the Process.
Now Client is pushing data to their WSDL(http://ipaddress:port/name/Service.svc?wsdl) as it is their data pushing interface.But that data is not coming to my BPEL process and instance is not being created in EM console.
As I have imported their WSDL into my BPEL process,I need to get the data.But I am not getting the data.
Is there any problem in MY BPEL process?
(or)
DO I need to use 'Webservice' Adapter in 'Exposed Services' Swimlane in Composite Editor to have the third party URL, so that they Can push the data to that WSDL in turn that data comes into my BPEL process?
Can anybody help me this case?
once again my requirement is :
Client pushes the data through their WSDL url -----> I need to get that data into MY BPEL process --> I have my own WSDl to take that details into my system.I will explain the requirement in small paragraph:
There are two applications.One is our application(X) and another one is third party application(Y).
I need to update in my application(X) based on data coming from application(Y).
I am using SOA as a middle tier to have communication between Y and X.
(Ex: if they send some info like event type 'event1' from Y ,I need to update that 'event1' data in my X application)
The work at third party application is :
According their info,They will push data from their end to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
They are telling they can only send the data to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
They will not consume our BPEL process(I think they might be wrong at this point of time).They have one WSDL to send or push the data from their end.
The work at from our side(SOA & X application)
From that point ,our BPEL process has to receive that data and update that data into my application(X).
I hope You understand my requirement.
Can you guide me through how to achieve this task as they are telling they have to use their WSDL to push the data?
(or)
Do I need to take 'Webservice' adapter into Exposed Services Swimlane in Jdeveloper to have their webservice(third party WSDL),If it is So Can you tell me the details how to take 'input' and 'output' for BPEL process?
(or)
Can YOu suggest me to talk to them to consume my BPEL process directly?
Thanks
Edited by: 899283 on Aug 17, 2012 4:55 AM -
Oracle 11g: How to ensure the same transaction across several BPEL calls?
How to ensure transaction semantics across invocations of several BPEL services with a Database operations (Insert, update)? We are using transaction REQUIRED property in all of our BPELs. We are using webserive and JCA to access and modify the same row. Our code uses a combination of JCA, Spring bean, enity services, EJBs in these BPELs. The code can be more efficient, but, at this point, we have no option but to fix the transaction issue in this code. So, our question is how to ensure the same transaction context is used in all these BPELs to inser/update the same row? We have tried to set the GetUnitOfWork in the JCA Adapter but it did not provide any solution. Apaert from setting transaction in BPEL to REQUIRED and the JCA Adapter to use Unit of work, we are out of ideas. Any help is much apprecited. We are using Oracle SOA Suite 11g 11.1.1.5 version. --chary
Hi,
I can help you if you can describe the processes.
There can be some difficulties when you try to use the same transaction especially when you use many DB transactions & BPEL processes.
Using unit of work only ,might not be enough.
Thanks
Arik -
Getting Error when Trying To Update Task Payload
Hi,
I am calling updateTask() operation of TaskService to update one of my task's payload...
url : http://host:port/integration/services/TaskService/TaskServicePort
request payload :
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService">
<ns1:updateTask xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/common" xmlns:ns3="http://xmlns.oracle.com/bpel/workflow/task">
<ns2:workflowContext>
<ns2:credential>
<ns2:login>weblogic</ns2:login>
<ns2:password>weblogic11g</ns2:password>
</ns2:credential>
</ns2:workflowContext>
<ns3:task>
<ns3:title>task for PUR Req 700</ns3:title>
<ns3:payload>
<NewBusinessObject
xmlns="http://xmlns.oracle.com/bpm/bpmobject/NewModule/NewBusinessObject">
<pur_sk_seq>700</pur_sk_seq>
<comment>modified comment</comment>
</NewBusinessObject>
</ns3:payload>
<ns3:systemAttributes>
<ns3:taskId>97c2ec0c-0c45-46be-92d5-9a8527f2ae69</ns3:taskId>
</ns3:systemAttributes>
</ns3:task>
</ns1:updateTask>
</soap:Body>
</soap:Envelope>
But I am getting below error in response :
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:env:Receiver</faultcode>
<faultstring/>
<faultactor/>
<detail>
<operationErroredFault
xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
<faultInfo
xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">UPDATE</faultInfo>
</operationErroredFault>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
Please note : my task parameters are editable.
Can someone please help on this issue?
Thanks,
DebdeepThis issue got resolved using the below payload...basically you will need to update the task with all other task details that you will get in response from getTaskDetailsById() or getTaskDetailsByNumber()...
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/taskService">
<ns1:updateTask xmlns:ns2="http://xmlns.oracle.com/bpel/workflow/common" xmlns:ns3="http://xmlns.oracle.com/bpel/workflow/task">
<ns2:workflowContext>
<ns2:credential>
<ns2:login>Niloy</ns2:login>
<ns2:password>welcome1</ns2:password>
<ns2:identityContext></ns2:identityContext>
</ns2:credential>
</ns2:workflowContext>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>Order approval/ Rejection task</title>
<payload>
<process xmlns:ns1="http://xmlns.oracle.com/SOAPOC/HTTest/OrderFetcher" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns="http://xmlns.oracle.com/SOAPOC/HTTest/OrderFetcher">
<ns1:OrderId>122122</ns1:OrderId>
<ns1:Ordername>Ravi Kishore</ns1:Ordername>
<ns1:OrderDate>02-Sept-1952</ns1:OrderDate>
</process>
</payload>
<taskDefinitionURI>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65/OrderDecider</taskDefinitionURI>
<creator>weblogic</creator>
<ownerUser>weblogic</ownerUser>
<priority>3</priority>
<identityContext>jazn.com</identityContext>
<processInfo/>
<systemAttributes>
<assignedDate>2012-08-30T20:22:05+01:00</assignedDate>
<assigneeUsers>
<id>niloy</id>
<displayName>niloy</displayName>
<type>user</type>
</assigneeUsers>
<createdDate>2012-08-30T19:40:46+01:00</createdDate>
<customActions>
<action>APPROVE</action>
<displayName>Approve</displayName>
</customActions>
<customActions>
<action>REJECT</action>
<displayName>Reject</displayName>
</customActions>
<digitalSignatureRequired>false</digitalSignatureRequired>
<displayInfo>
<applicationName>worklist</applicationName>
<hostname>jcapsmigration</hostname>
<httpPort>7001</httpPort>
<httpsPort>0</httpsPort>
<uri>/workflow/HTForm/faces/adf.task-flow?_id=OrderDecider_TaskFlow&_document=WEB-INF/OrderDecider_TaskFlow.xml</uri>
</displayInfo>
<fromUser>
<id>weblogic</id>
<displayName>weblogic</displayName>
<type>user</type>
</fromUser>
<hasSubTasks>false</hasSubTasks>
<inShortHistory>false</inShortHistory>
<isGroup>false</isGroup>
<numberOfTimesModified>5</numberOfTimesModified>
<passwordRequiredOnUpdate>false</passwordRequiredOnUpdate>
<pushbackSequence>INITIAL_ASSIGNEES;1</pushbackSequence>
<secureNotifications>false</secureNotifications>
<shortHistory>
<task>
<state>ASSIGNED</state>
<updatedBy>
<id>weblogic</id>
<type>user</type>
</updatedBy>
<updatedDate>2012-08-30T19:40:46+01:00</updatedDate>
<version>1</version>
<versionReason>TASK_VERSION_REASON_INITIATED</versionReason>
</task>
<task>
<state>ASSIGNED</state>
<updatedBy>
<id>weblogic</id>
<type>user</type>
</updatedBy>
<updatedDate>2012-08-30T19:47:34+01:00</updatedDate>
<version>2</version>
<versionReason>TASK_VERSION_REASON_UPDATED</versionReason>
</task>
</shortHistory>
<state>ASSIGNED</state>
<substate>REASSIGNED</substate>
<systemActions>
<action>UPDATE_COMMENT</action>
</systemActions>
<systemActions>
<action>VIEW_SUB_TASKS</action>
</systemActions>
<systemActions>
<action>DELEGATE</action>
</systemActions>
<systemActions>
<action>SUSPEND</action>
</systemActions>
<systemActions>
<action>UPDATE</action>
</systemActions>
<systemActions>
<action>UPDATE_ATTACHMENT</action>
</systemActions>
<systemActions>
<action>ESCALATE</action>
</systemActions>
<systemActions>
<action>VIEW_PROCESS_HISTORY</action>
</systemActions>
<systemActions>
<action>REASSIGN</action>
</systemActions>
<systemActions>
<action>VIEW_TASK</action>
</systemActions>
<systemActions>
<action>CUSTOM</action>
</systemActions>
<systemActions>
<action>INFO_REQUEST</action>
</systemActions>
<systemActions>
<action>VIEW_TASK_HISTORY</action>
</systemActions>
<taskId>e1d269a0-a9ae-4ad5-b52d-e5a381d32f15</taskId>
<taskNumber>200040</taskNumber>
<updatedBy>
<id>niloy</id>
<displayName>niloy</displayName>
<type>user</type>
</updatedBy>
<updatedDate>2012-08-30T20:34:31+01:00</updatedDate>
<version>5</version>
<versionReason>TASK_VERSION_REASON_UPDATED</versionReason>
<taskDefinitionId>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65/OrderDecider</taskDefinitionId>
<taskDefinitionName>OrderDecider</taskDefinitionName>
<workflowPattern>Participant</workflowPattern>
<isTestTask>false</isTestTask>
<participantName>Order Master</participantName>
<assignees>
<id>niloy</id>
<displayName>niloy</displayName>
<type>user</type>
</assignees>
<rootTaskId>e1d269a0-a9ae-4ad5-b52d-e5a381d32f15</rootTaskId>
<systemStringActions>PUSH_BACK,sharePayload</systemStringActions>
<stage>Stage1</stage>
<isTemplateTask>false</isTemplateTask>
<taskViewContext>Transferred</taskViewContext>
<taskNamespace>http://xmlns.oracle.com/SOAPOC/HTTest/OrderDecider</taskNamespace>
<actionDisplayName>Task Updated</actionDisplayName>
<componentType>Workflow</componentType>
<thread>0</thread>
<parentThread>0</parentThread>
</systemAttributes>
<systemMessageAttributes/>
<callback>
<id>OrderFetcher/OrderDecider.TaskService</id>
<converstationId>urn:27E63DC0F2D211E1BFFD9DA87F46F90F</converstationId>
</callback>
<isPublic>false</isPublic>
<sca>
<applicationName>default</applicationName>
<componentName>OrderDecider</componentName>
<compositeDN>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65</compositeDN>
<compositeInstanceId>110001</compositeInstanceId>
<compositeName>HTTest</compositeName>
<compositeVersion>1.0</compositeVersion>
<ecId>11d1def534ea1be0:-d4d1dba:13978b478c7:-8000-0000000000000800</ecId>
<parentComponentInstanceId>bpel:70001</parentComponentInstanceId>
<parentComponentInstanceRefId>70001-BpInv0-BpSeq1.6-2</parentComponentInstanceRefId>
<compositeCreatedTime>2012-08-30T19:40:09.461+01:00</compositeCreatedTime>
</sca>
<taskDefinitionId>default/HTTest!1.0*soa_a3451776-9472-47f1-968c-9498feeefc65/OrderDecider</taskDefinitionId>
<correlationId>e1d269a0-a9ae-4ad5-b52d-e5a381d32f15</correlationId>
<mdsLabel>soa_a3451776-9472-47f1-968c-9498feeefc65</mdsLabel>
<creatorDisplayName>weblogic</creatorDisplayName>
<ownerUserDisplayName>weblogic</ownerUserDisplayName>
<customAttributes>
<customAttributeNumber1>0.0</customAttributeNumber1>
<customAttributeNumber2>0.0</customAttributeNumber2>
</customAttributes>
</task>
</ns1:updateTask>
</soap:Body>
</soap:Envelope> -
BPEL deployment plan in 10.1.3.4
Hello guys,
I've downloaded the MLR patch to upgrade to 10.1.3.4 and wondering where to find and how to use the BPEL deployment plan.
According to Robert Zimmerman's presentation titled Oracle BPEL Process Manager Update - April 22 (http://www.oracle.com/technology/tech/soa/cab/oraclesoacab-webinar-04-22-08bpel_10_1_3_4_update.pdf), this release includes the new BPEL deployment plan, similar to the "old" ESB deployment plan.
Any help is appreciated.
Kind regards,
HHello Heidi,
Thanks for the quick reply.
That chapter is not quite what I was looking for, but nevertheless you pointed me to the right document. I was looking for chapter 3.10.10 "Automatically changing URLs and properties for Dev, Test and Prod.-environments".
Cheers,
Harm -
BPEL 11g Deployment Error Index Out of Bounds
Hiiii all,
Facing an issue while deploying a composite to the SOA Suite 11g. There are no issues when i compile the application.. I donot deploy directly to the app server using jdev , instead deploy it to the jar and deploy to server.
Below the error:
Error during deployment/undeployment: Error occurred during deployment of component: UpdatePINPS to service engine: implementation.bpel for composite: Update: ORABPEL-05250
Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file "/usr/wls1033/Oracle/Middleware/user_projects/domains/{domain}/deployed-composites/UpdatePIN_rev1.0/sca_Update_rev1.0/soa_522fc650-7030-46f2-a21f-0177aec0aba4"; the exception reported is: java.lang.IndexOutOfBoundsException: Index: 0 Size: 0
Seeking your help,
Thanks in advance :)Hi,
I am also gettting same error, any clue for resolving this issue, please -
Is there a configuration setting in BPEL that would allow existing BPEL instances to complete normally (instead of being made STALE) when the associated BPEL Process is updated and redeployed?
Unfortunately not, the way around this is to use versioning. If you increment the version number no process will go into a stale state.
cheers
James -
My table looks like this:
FLIGHT | UPDATE | ETA | ARRIVAL
A | 2/6/14 | 6/18/14 | 6/16/14
A | 6/6/14 | 6/19/14 | 6/16/14
B | 1/7/14 | 6/2/14 | 6/26/14
B | 6/16/14 | 7/2/14 | 6/26/14
B | 6/23/14 | 6/26/14 | 6/26/14
I need to get the latest ETA update 7 days prior arrival. For instance: Flight A arrived on 6/16. 7 days before this was 6/9. The latest update before this date was 6/6. On that date, the provided ETA was 6/19. So my measure would return:
A -> 6/19/2014
B -> 7/2/2014
How would you write this in PowerPivot?
ThanksYou'll need to add a working day flag to your data, either in a date table related to [UPDATE] or in the fact table itself. Then modify the last bit of the formula (before all the closing parentheses) to this:
ALL ( '--tablename--'[UPDATE] ),
'--tablename--'[UPDATE]
< VALUES ( '--tablename--'[ARRIVAL]
) - 7 && '--tablename--'[WorkingDayFlag] = 1 -
Error Invoking Database Adapter
I am trying to create a simple bpel process which updates table in Oracle Database, but getting some JCA connection issue below:
"<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Project1:writeDB [ writeDB_ptt::insert(ContactOutputCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/XE_DB'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/XE_DB. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/XE_DB'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/XE_DB. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail></part><part name="code"><code>12510</code></part></bindingFault></bpelFault>"
thanksHi
Checklist
1) Create DataSource
2) Connection Pool in the DB Adapter(with jndi eis/DB/XE_DB)
Edit the default connection pool created and point the xaDataSource or Datasource to jndi of datasource created in step1
Regards,
Ajay -
Most times our bpel processes cannot update a database table (logically or otherwise) immediately after it is polled,rather it may have to deferred after until a few business
validations are done and depending on whether these were successful or not we would like to carry out a logical delete accordingly..
During setup of an adapter once the polling frequency is chosen,we are forced
to choose one of the following operations:
1.delete the rows that were read
2.update a field in the <polled> table(logical delete)
3.update a sequencing table.
Given my scenario I would'nt want to carry out any of these until later after all my business validations have been executed successfully.
Is there a way out ?
thanksHi -
Did a "NoAfterReadPollingStrategy" ever get implemented? I am doing DB polling and I don't want to do anything after the DB read.
I am running BPEL 10.1.2.0.2, and didn't see any options when creating a database partner link to do nothing after reading from the DB.
Also, I tried to write my own polling strategy, but kept getting an error because Jdev can't find the oracle.tip.adapter.db.inbound.DeletePollingStrategy to extend. I know I am probably just missing a JAR file somewhere...Does anyone have any ideas?
Thanks in advance.
Hi there,
for the next release we implemented a
ed a NoAfterReadPollingStrategy.
The polling strategies are pluggable though, so
, so until then you could write your own.
Try compiling this java class and putting it in
integration/orabpel/system/classes
package mycustompollingstrategy;
public class NoAfterReadPollingStrategy extends
oracle.tip.adapter.db.inbound.DeletePollingStrategy
public void destroy(Object object,
, oracle.toplink.sessions.Session topLinkSession) {
return;
In your wsdl change PollingStrategyName from
PollingStrategyName="DeletePollingStrategy"
to
PollingStrategyName="mycustompollingstrategy.NoAfterR
eadPollingStrategy
That should work.
Another way is to use the sequencing polling
strategy, which does not effect the source rows, and
then invoke a stored procedure later to clean up the
source rows based on the last_read_id in the
sequencing helper table.
Thanks
Steve -
Query on Fault Handling in SOA 11g
Hi All,
I have created a BPEL process which polls a DB table and does a logical delete(updates status column as read). Now I wanted to rollback the update incase of any fault in the BPEL process. I have an email activity and an audit table entry in my catch/catch-all blocks.
1. If I don’t add any error handling code to BPEL, the transaction (update to DB) is rolled back incase of fault
2. If I add any error handling code to BPEL, the transaction (update to DB) doesn’t get rolled back incase of fault.
3. If I add bpelx:rollback in my catch/catch-all blocks, the transaction (update to DB) gets rolled back but I am unable to send email/add audit entries as those get rolled back too.
4. I created a new datasource which supports local transactions and configured the Auditing to make use of this datasource. Now in this case when bpelx:rollback happens incase of fault, transaction (update to DB) gets rolled back and Audit data is also added (since it’s a separate transaction and not part of the Global transaction). However email activity still doesn’t get sent as it is rolled back as well.
Please let me know how do I handle this scenario where incase of rollback both Auditing as well as email should work.
Regards
SubhankarHi,
The email activity basically invokes a notification service(partner link/reference). Can we set the below properties at the reference section ?
<property name="bpel.config.oneWayDeliveryPolicy" many="false" type="xs:string">sync</property>
<property name="bpel.config.transaction" many="false" type="xs:string">requiresNew</property>
Or do these properties need to be set at the BPEL process service component section in the composite.xml file only. I tried setting at reference level, however it isnt taking effect. Basically I am trying to have the email activity(notification service) as a separate transaction.
Thanks
Subhankar -
Hi,
We send out an outbound 810 with a custom b2bmessageid (DB_Key1.DB_Key2). I thought the inbound 997 would include this b2bmessageid in the header (inreplytomessageid) so that BPEL could then update the right database record at the backend. The BPEL process is itself not configured to use correlation sets.
In the b2b_instancemessage view, the "correlationid" field of the inbound 997 message contains the b2bmessageid of itself. However, in B2B reports if open a 997, then I can see the corresponding correlated message. Does the B2B server update the correlated B2B message id in some view ?
regards,
NarayananHi,
At the moment, you can get the original 810 message id using this query:
select B2BMESSAGEID from tip_businessmessage_rt where id = (select REFERTOID from b2b_instancemessage where B2BMESSAGEID = '<997 message id>');
Hope this helps,
Eng -
Webcenter Ebusiness Suite Integration
Hi All,
Webcenter Version: 11.1.1.5
Ebiz Version: 12.0.6
I know about two integration approaches, namely
1)Portlets Exposed by Ebiz
2)Adapter based
I have following doubts regarding the scenario:
a)I would like to know which approach is better?
b)Also If possible kindly provide a link as to what functionality is exposed as webservices or portlets from ebiz.(I have googled but was unable to find a list of services exposed)?
c)If I use adpter approach then will a license be required for that?
Thanks in AdvanceThanks for the reply, Yanick
The portlet approach is available form ebiz 12 onwards
http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_integrate.htm#BABGDAJA
According to oracle webcenter licensing guide:
http://docs.oracle.com/cd/E12839_01/doc.1111/e14860/webcenter.htm#BABGAFGJ
BPEL Process Manager is restricted to running existing deployed processes and responding to requests that require user input delivered inside of a WebCenter Suite application or portal. However, the ability to define, deploy, and run new BPEL processes is allowed provided that all process endpoints exist entirely within WebCenter Suite delivered components. The modification of document BPEL processes included with the content repository can also be integrated with existing BPEL processes. The pre-built BPEL portlet and taskflows, which enable viewing of a user's worklist items from any combination of backend BPEL servers, is also included.
So if I use bpel to fetch/update info from Ebiz Integration Repository(or any other datasource).....will I require a separate license for that?
Maybe you are looking for
-
Error code 0 when copying a large file to a Mac OS Extended formatted drive
I always back up my photos manually by dragging a folder containing many folders containing many photos into an external drive that I immediately formatted as Mac OS Extended (Journaled) the day I bought it 2 years ago. I now run into a Error Code 0
-
Please help with highest quality export settings...
I have searched the forum and web for hours (no joke!) and I am still trying to figure out what are the best video settings to give me the highest HD quality video in daylight. I am using a Canon HF200 and the latest updated version of FCE. My proble
-
The currency on my itunes store when using my iPhone is in Japanese yen, the menu is in Japanese too. I have changed the country using the flag at the bottom of itunes for windows, I have synced my iphone and restarted it, but it still has not change
-
How can I delete a template in i-Books Author
How can I delete a template in i-Books Author. Where are the templates stored on the computer?
-
HDV 720p 24@23.98
Hi! We are triying to capture some material which its supposed to be at 24 fps in FCP 5.1.2 not passing through Lumiere but we only got material in 23.98. Does anybody knows why is that? It isn't soppoused to be like this.... If somebody has an answe