BPM exercise ...

Ok, my final step is configurating the BMP scenarios. My first BPM finish succesfully. It was a simple one, the one that checks something in R3 and returns the answer. Then, this answer is sent vía FILE to a folder of the XI BOX.
My new scenario is similar. I have an outbound XML. This XML has FI docs and data of vendors. First of all, i have to check in R3 if the amount of all FI docs is smaller that one amount stored in R3. If answer is NO, the BPM has to stop and send an alert message telling that the amount was bigger. If amount is smaller, the BPM continue with another check. next step must check if vendors exists in R3. If vendors not exist, we must create them (the XML file contains the vendor neccesary info). Finally, we must create an IDOC containing all the FI docs. If vendors exists, only we have to make the IDOC.
Is a difficult BPM?
I think that if i could make this BPM, rest interfaces ara going to be very similar and will be easy for me to acomplish my target.
If you can send my a screen shot with comments, i will be very pleased. [email protected]
Thanks a lot.

here you go
http://help.sap.com/saphelp_nw72/helpdata/en/a3/92f601cc1d49c292527841a9ca76a8/frameset.htm

Similar Messages

  • BPM 11.1.1.6 error creating process instance

    Hello!
    I am deploying BPM processes using JDeveloper 11.1.1.5 and SOA Server 11.1.1.6 and I am getting the following error:
    [2012-12-04T19:11:47.209+01:00] [WLS_SOA1] [NOTIFICATION] [] [oracle.integration.platform.blocks.tenant] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: j.pla] [ecid: 004o0fC^L8nFw000jzwkno0003VU000K3D,0:1] [APP: soa-infra] [URI: /bpm/workspace/faces/jsf/worklist/worklist.jspx] NM or Event does not contain property, apps.context.header or fabric.enterpriseId
    [2012-12-04T19:11:47.614+01:00] [WLS_SOA1] [NOTIFICATION] [] [oracle.fabric.common.wsdl] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: j.pla] [ecid: 004o0fC^L8nFw000jzwkno0003VU000K3D,0:1] [APP: soa-infra] [composite_name: Generico] [component_name: Generico] [component_instance_id: 120045] [URI: /bpm/workspace/faces/jsf/worklist/worklist.jspx] XMLSchema incremental build enabled.
    [2012-12-04T19:11:47.681+01:00] [WLS_SOA1] [ERROR] [] [oracle.soa.bpmn.engine.bpmn] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: j.pla] [ecid: 004o0fC^L8nFw000jzwkno0003VU000K3D,0:1] [APP: soa-infra] [composite_name: Generico] [component_name: Generico] [component_instance_id: 120045] [URI: /bpm/workspace/faces/jsf/worklist/worklist.jspx] BPELFault {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} current Operation {INSTANCE_SUSPENDED}
    [2012-12-04T19:11:47.690+01:00] [WLS_SOA1] [ERROR] [] [oracle.bpm.services.instanceManagement] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: j.pla] [ecid: 004o0fC^L8nFw000jzwkno0003VU000K3D,0:1] [APP: soa-infra] [URI: /bpm/workspace/faces/jsf/worklist/worklist.jspx] Initiate task could not be created for unknown reason for target process 'default/Generico!1.3*/Generico'. Verify server log for error cause.
    [2012-12-04T19:11:47.690+01:00] [WLS_SOA1] [ERROR] [] [oracle.bpm.services.instanceManagement] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: j.pla] [ecid: 004o0fC^L8nFw000jzwkno0003VU000K3D,0:1] [APP: soa-infra] [URI: /bpm/workspace/faces/jsf/worklist/worklist.jspx] Exception[[
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process default/Generico!1.3*/Generico.
    exception.70204.fix: Verify server log to find the problem cause.
    [2012-12-04T19:11:47.803+01:00] [WLS_SOA1] [WARNING] [] [oracle.bpm.common] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: j.pla] [ecid: 004o0fC^L8nFw000jzwkno0003VU000K3D,0:1] [APP: OracleBPMWorkspace] [URI: /bpm/workspace/faces/jsf/worklist/worklist.jspx] Error creating instance for target process default/Generico!1.3*/Generico.[[
    oracle.bpm.web.exception.WapiOperationException: Error creating instance for target process default/Generico!1.3*/Generico.
         at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:188)
         at oracle.bpm.workspace.model.application.ApplicationBean.execute(ApplicationBean.java:148)
         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.sun.el.parser.AstValue.invoke(AstValue.java:187)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3738)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3704)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: fuego.papi.exception.CannotCreateInstanceException: Cannot create instance in process 'default/Generico!1.3*/Generico'.
         at oracle.bpm.papi.ora.helper.ExceptionHelper.wrapException(ExceptionHelper.java:58)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:56)
         at fuego.papi.utils.ApplicationExecution.beginExecution(ApplicationExecution.java:29)
         at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:171)
         ... 99 more
    Caused by: BPM-70204
    Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process default/Generico!1.3*/Generico.
    exception.70204.fix: Verify server log to find the problem cause.
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1036_WLStub.createProcessInstanceTask(Unknown Source)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy501.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
         ... 101 more
    Could you please help me? I have search through the forum but I couldn't find anything that solves my problem. As I've read in this post (https://kr.forums.oracle.com/forums/thread.jspa?messageID=10596716), I've tried to set the value of the variable bpel.config.transaction to requiresNew instead of required but it isn't working.
    I suppose it has to do with the new version of the server but I can't find anything to solve it :(
    Thank you in advance!!! I hope you can help me!
    Best regards.

    Frank,
    I tried to follow the example. This is the file: http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_53/labs/restsolution.zip
    The other part of the exercise is to develop an ADF Client.
    At "Step 5: Create the Model Components" when I create the URL_Get the error appears and don't create the datacontrol.
    I check the links and RESTConn and are OK.
    I hope this helps.
    JP
    Edited by: jpvadell.oracle on Jul 2, 2012 11:54 AM

  • Exercise for sync/async bridge scenario

    Hi,
    Can anybody send me exercise scenario or link for sync/async bridge scenario?
    Thanks
    Narayana

    Hi Balaji,
    pls check this weblogs
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    /people/dmitry.govberg/blog/2006/12/20/mainframe-and-sap-integration--the-synchronous-case
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    conversations
    Sync - Async Bridge
    BPM Sync/Async Problem
    BPM Design using sync-async  bridge
    Regards,
    Ram

  • BPM Help

    Hi everyone. I found this document
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c">Step-By-Step Approach for Implementing XI Scenarios</a>
    and i'm trying to make the last exercise of the document (3 FILE TO DATABASE USING BPM), but i got an error when i try to compile the IM object. The error is:
    Activation of the change list canceled Check result for Interface Mapping IM_CustomerDetails_Async_ABS_TO_DBCustomerProc_req_ABS | http://infosys.com/demo/FILE_scenario:  The abstract interface Message Interface DBCustomerProc_req_ABS | http://infosys.com/demo/DB_scenario has a software component version DB_WORKSHOP, 100 of <vendor>, which is different to the software component version FILE_WORKSHOP, 100 of <vendor> of the interface mapping. If there is an interface mapping in the business process, the abstract interfaces must be in the same software component version as the interface mapping Check result for Interface Mapping IM_DBCustomerProc_res_ABS_TO_DBStatus_Async_ABS | http://infosys.com/demo/FILE_scenario:  The abstract interface Message Interface DBCustomerProc_res_ABS | http://infosys.com/demo/DB_scenario has a software component version DB_WORKSHOP, 100 of <vendor>, which is different to the software component version FILE_WORKSHOP, 100 of <vendor> of the interface mapping. If there is an interface mapping in the business process, the abstract interfaces must be in the same software component version as the interface mapping Check result for Message Mapping MM_DBCustomer_mt_response_To_DBStatus_mt | http://infosys.com/demo/FILE_scenario
    I can see that the log tell me i should have all my Abstract Interfaces in the same SC, but i follow every single step of the tutorial and this tutorial don't follow that rule.
    Have someone done this tutorial?
    Would someone help me? please.

    HI Sergio,
    nice to meet you here. I just send an Email with the solution, but i'll repeat it here for everyone:
    <i>In BPM all interfaces used need to lay in the same software component. As we normally have two different software components of sender and receiver, we need to create a based on relationship between these two components. In detail: the component in which the BPM lays needs to be based on the second software component from which objects are used.
    1. To define such a relationship go to SLD and select your BPM Software Component Version.
    2. Click on Usage Dependencies.
    3. Click on Define Dependencies
    4. Select Context "Installation Time" and your software component version
    5. Click Create
    After that you need to update the information in the repository using menu Tools --> Transfer from SLD --> Update Application Components.
    As a result you should see "Basis Objects" Entry in your BPM Software Component and under this entry listed all your interface objects of the other software component.
    Now update all your interfaces in BPM and Mappings by dragging and dropping the same objects but from under the Basis Objects tab instead of from the other software comp.
    If you check your BPM via F7, you'll also get the error messages as during activation, so you're able to check which references still need to be updated without activating it.</i>
    Best regards
    Christine<i></i>

  • BPM 'block' uses ...

    Hi.
    I'm trying to do this exercise.
    1) A BPM will receive a XML File (container data_in)
    2) Transformation, will create vía the selected interface mapping, a multiline container (data_out).
    3) Once this transformation has been done, i have set a block. This block contains a SENDER and a RECEIVER. The result of this block must be N Files in one folder, one per line of the container data_in.
    Is this correct?
    Thanks

    Hi
    Use foreach (for serial processing) or parforeach(parallel processing) block for sending multiline container .
    You can have a lokk at BpmPatternMulticastParallel in http://sap.com/xi/XI/System/Patterns name sapce  under SAP basis 6.40. for using parforeach block.
    In block Recieve step is not required just use Send step.
    if it is async message.
    Regards,
    satish

  • BPA model to BPM conversion

    Hi,
    I am building a small prototype for a internal demo to showcase the BPA - BPM conversion capabilities. I have a BPA model in 11g R1 that i want to execute in BPM 10g environment... note i am not building any BPEL processes. The exercise is to take what a business analyst modelled in BPA 11gR1 and port it to BPM 10g environment and write some code to make it work. The audience are interested in understanding the effort reuired by IT to execute a business model.
    any help insite is appreciated.
    Thanks
    - vishu

    Hi.
    It is technically possible but practically useless.
    You can export a model from BPA in XPDL format (do not ask me how).
    Then you can import it to OBPM (right click on Process in Process navigator).
    Please take in mind that BPA model is a use case so you have to refurbish it totally if you need a process model.
    Some time we use BPA models as a blueprint but we never convert them to BPM - loose of time.
    Good luck.
    Igor

  • AS3 eLearning Lesson Animation Exercise

    Hi,
    I'm a beginner using AS3 and am trying to animate a 300X300 circle on a stage to create a breathing exercise (inhaling/exhaling) for an eLearning lesson. The inhale/exhale exercise would need a script to scale X,Y larger and smaller, inhaling lasting half as long as exhaling with 100 ms delay in between inhale and exhale. A challenge for a beginner!
    Even bigger challenge to get my brain around: the exercise scripting is a little more complex, since the user needs to be able to enter the time length of the exercise (15 minutes to 6 minutes) and their starting breaths per minute (BPM) and then have the script, every minute (of the length of exercise that they choose from a range of 15-6), decrease the breaths per minute to one less (than for the previous minute), with the BPM floor being no less than 6 (so if there are several minutes remaining, it would stay at 6 BPM until the time length of the exercise is reached.)
    Unfortunately, so far, I've only been able to set up the circle on the stage and figure out from reading the AS3 reference how to scale X, Y.
    Any help much appreciated.
    Kind Regards,
    saratogacoach

    Hi Kenneth,
    When I tried this, I got error messages.
    update: the other item that I forgot, is that when the inhale circle expands, there is an MP3 audio file (can be converted to WAV if needed) which plays an inhaling sound, and it is stopped when the inhale animation is done, each cycle, and when the exhale circle contracts, another different MP3 sound file is played and stopped (no sound during pause), each and every cycle.(Knew I forgot something.)
    So, I will need to add this audio as well. (In looking at the script, was not sure where to insert play and stop playing inhale.mp3 and exhale.mp3.)
    I'm going to re-post all of the script so you can take a look, see what I'm doing wrong (please also note that I changed the inhale:exhale ratio in the animation to reflect twice as long for exhale as for inhale (_inhale?2:1). I have not adjusted this again based on the newly defined _inhaleDuration, _exhaleDuration. Maybe this should also be corrected? Do other conflicting items need to be removed?)
    Here's the current script (which is generating errors):
    import fl.transitions.Tween;
    import fl.transitions.easing.Regular;
    import fl.transitions.TweenEvent;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    // set initial BPM
    var _bpm:uint=10;
    // set minimum BPM
    var _minBPM:uint=6;
    // set maximum minutes to run the app
    var _maxMinutes:uint=15;
    // how many minutes since started
    var _minute:uint;
    // how many inhale and exhale animation has run
    var _animationCount:uint;
    // is this inhaling or exhaling?
    var _inhale:Boolean;
    // how long inhale/exhale animation should take
    var _inhaleDuration:Number = 60*.3;
    var _exhaleDuration:Number = 60*.6;
    var _pauseDuration:Number = 60*.05;
    // is the next animation the new minute?
    var _newMinute:Boolean;
    // Tween reference
    var tX:Tween;
    // start new minute
    function startMinute():void {
        // the next animation is not new minute
        _newMinute=false;
        // check if this minute is beyond the max minutes
        if (++_minute>_maxMinutes) {
            trace("Excercise completed.");
            return;
        // trace minute and BPM
        trace("Minute: " + _minute + ", BPM: " + _bpm);
        // get inhale duration in second
        _inhaleDuration = (60/_bpm - 2*0.1)/3;
        // get exhale duration in second (2 x inhale duration)
        _exhaleDuration=_inhaleDuration*2;
        // 100ms pause betwen inhale and exhale
           var _timer:Timer=Timer;
           _timer.addEventListener(TimerEvent.TIMER, timeout, false, 0, true);
         _timer = new Timer(_pauseDuration, 1);
        // start animation
        animateCircle();
    function animateCircle():void {
        // alternate inhale and exhale
        _inhale=! _inhale;
        // if inhale: scale x 0.5, if exhale: scale x 2 changed 2:1
        tX=new Tween(V1,"scaleX",Regular.easeOut,V1.scaleX,_inhale?2:1,_inhale?_inhaleDuration:_exhaleDu ration,true);
        // react when scaleX is changed
        tX.addEventListener(TweenEvent.MOTION_CHANGE, tweenChange, false, 0, true);
        //  react when inhale/exhale is finished
        tX.addEventListener(TweenEvent.MOTION_FINISH, tweenFinish, false, 0, true);
    // when scaleX is changed
    function tweenChange(e:TweenEvent):void {
        // set the scaleY to the same value
        V1.scaleY=V1.scaleX;
    // when twen is finished
    function tweenFinish(e:TweenEvent):void {
        // remove event listeners from the Tween
        tX.removeEventListener(TweenEvent.MOTION_CHANGE,tweenChange);
        tX.removeEventListener(TweenEvent.MOTION_FINISH,tweenFinish);
        // remove reference to the Tween
        tX=null;
        // if the last animation was exhale
        if (! _inhale) {
            // trace the animation count
            trace("Inhale/exhale cycle: " + (_animationCount + 1));
            // if inhale & exhale has run BPM times (run for 1 minute)
            if (++_animationCount==_bpm) {
                // reduce the BPM by 1, but do not let go under the minimum BPM
                if (--_bpm<_minBPM) {
                    _bpm=_minBPM;
                // reset the animation count
                _animationCount=0;
                // the next animation is new minute
                _newMinute=true;
        // start the 100ms pause
        _timer.start();
    // 100ms pause end
    function timeout(e:TimerEvent):void {
        // stop the timer
        _timer.stop();
        // if the next animation is new minute start new minute, if not continue inhale/exhale
        _newMinute?startMinute():animateCircle();
    // start the initial minute
    //startMinute();
    Button1.addEventListener(MouseEvent.CLICK, first);
    function first(event:MouseEvent) {
    _bpm = parseInt(TF1.text);
    startMinute();
    Please let me know what I am doing wrong. Thanks much.
    Kind Regards,
    saratogacoach

  • Itunes Store (BPM)

    I'm curious if anyone knows how to find the BPM (Beats Per Minute) of a song on itunes before I purchase a song or album.
    I need to find exercise music with a certain BPM and couldn't find it posted anywhere on an album.
    Thanks!

    The iTunes Store doesn't provide that information. There are some albums, though that contain music specifically for exercise that list the BPM. The ones I can remember are by Self, the magazine.
    Depemding on what you want, you might also look at the PODRUNNER podcast. It's intended for running but some of the mixes might work for you. Each podcast is a specific BPM.

  • FileName in BPM

    Hello everybody,
    we poll via file adapter. The files we read are processed in BPM.
    Is it possible to access the value of a file name in BPM?
    Regards Mario

    Hi Mario,
    yes,
    set the Set Adapter-Specific Message Attributes indicator at communication channel and choose file name to store adapter attribute "file name" in the message header of the XI message.  Map the value into the message to have it at BPM containter.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">SAP Library: Configuring the Sender File/FTP Adapter</a>
    Regards,
    Udo

  • BPM Process chain takes long time to process

    We have BI7, Netweaver 2004s on Oracle and SUN Solaris
    There is a process chain (BPM) which pulls data from the CRM system into BW. The scheduled time to run this chain is 0034 hrs. This chain should ideally complete before / around 0830 Hrs. <b>Now the problem is that every alternate day this chain behaves normally and gets completed well before 0830 hrs but every alternate day this chain fails…</b> there are almost 40 chains running daily. Some are event triggered (dependent with each other) or some run in parallel. In this, (BPM) process chain, usually there are 5 requests with 3 Delta and 2 full uploads (Master Data). The delta uploads finishes in 30 minutes without any issues with very few record transfers. The first full upload is from 0034 hrs to approximately 0130 hrs and the 2nd upload is from 0130 hrs to 0230 hrs. Now if the 1st upload gets delayed then the people who are initiating these chains, stop the 2nd full upload and continue it after all the process chains are completed. Now this entire BPM process chain sometimes takes 17 -18 hrs to complete!!!!!
    No other loads in CRM or BW when these process chains are running
    CRM has background jobs to push IDOCS to BW which run every 2 minutes which runs successfully
    Yesterday this chain got completed successfully (well within stipulated time) with over 33,00,000 records transferred but sometimes it has failed to transfer even 12,00,000 records!!
    Attaching a zip file, please refer the “21 to 26 Analysis screen shot.doc” from the zip file
    Within the zip file, attaching “Normal timings of daily process chains.xls” – the name explains it….
    Also within the zip file refer “BPM Infoprovider and data source screen shot.doc” please refer this file as the infopackage (page 2) which was used in the process chain is not displayed later on in page number 6 BUT CHAIN GOT SUCESSFULLY COMPLETED
    We have analyzed:--
    1)     The PSA data for BPM process chain for past few days
    2)     The info providers for BPM process chain for past few days
    3)     The ODS entries for BPM process chain for past few days
    4)     The point of failure of BPM process chain for past few days
    5)     The overall performance of all the process chains for past few days
    6)     The number of requests in BW for this process chain
    7)     The load on CRM system for past few days when this process chain ran on BW system
    As per our analysis, there are couple of things which can be fixed in the BW system:--
    1)     The partner agreement (transaction WE20) defined for the partner LS/BP3CLNT475 mentions both message types RSSEND and RSINFO: -- collect IDOCs and pack size = 1 Since the pack size = 1 will generate 1 TRFC call per IDOC, it should be changed to 10 so that less number of TRFCs will be generated thus less overhead for the BW server resulting in the increase in performance
    2)     In the definition of destination for the concerned RFC in BW (SM59), the “Technical Setting” tab says the “Load balancing” option = “No”. We are planning to make it “Yes”
    But we believe that though these changes will bring some increase in performance, this is not the root cause of the abnormal behavior of this chain as this chain runs successfully on every alternate day with approximately the same amount of load in it.
    I was not able to attach the many screen shots or the info which I had gathered during my analysis. Please advice how do I attach these files
    Best Regards,

    Hi,
    Normally  index  creation or deletion can take long time in case  your database statistics are not updated properly, so can check  stat  after your data loading is completed and index generation is done,  Do creation of database statistics.
    Then try to recheck ...
    Regards,
    Satya

  • Error while creating Attribute In BPM Object

    Hi,
    I am getting error while creating attributes in BPM Object.I am not able to open BPm object. while opening I am getting Below error.
    Please suggest.
    java.lang.StringIndexOutOfBoundsException: String index out of range: 28
         at java.lang.String.charAt(Unknown Source)
         at fuego.type.TypeFactory.createFromName(TypeFactory.java:482)
         at fuego.type.TypeFactory.forNameLazy(TypeFactory.java:263)
         at fuego.lang.CollectionTypeDescription.getIndexTypeRef(CollectionTypeDescription.java:146)
         at fuego.compiler.type.TypeRenderer.renderArrayType(TypeRenderer.java:355)
         at fuego.compiler.type.TypeRenderer.renderType(TypeRenderer.java:261)
         at fuego.compiler.type.TypeRenderer.renderArrayType(TypeRenderer.java:344)
         at fuego.compiler.type.TypeRenderer.renderType(TypeRenderer.java:261)
         at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:106)
         at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:94)
         at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:78)
         at fuego.designer.XObjectComponentStructurePanel$CellTypeRenderer.getText(XObjectComponentStructurePanel.java:612)
         at fuego.designer.XObjectComponentStructurePanel$CellTypeRenderer.getText(XObjectComponentStructurePanel.java:605)
         at fuego.ui.peer.swt.SwtTable$SwtTableModel.getColumnText(SwtTable.java:956)
         at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:70)
         at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:135)
         at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:386)
         at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
         at org.eclipse.core.runtime.Platform.run(Platform.java:857)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
         at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2026)
         at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:695)
         at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:633)
         at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:620)
         at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1433)
         at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1368)
         at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
         at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1431)
         at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:536)
         at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1390)
         at fuego.ui.peer.swt.SwtViewer.repaint(SwtViewer.java:59)
         at fuego.ui.peer.swt.SwtColumn.setLabelProvider(SwtColumn.java:89)
         at fuego.ui.Column.setLabelProvider(Column.java:82)
         at fuego.designer.XObjectComponentStructurePanel.buildUI(XObjectComponentStructurePanel.java:299)
         at fuego.designer.AbstractEditor.build(AbstractEditor.java:542)
         at fuego.designer.AbstractEditor.init(AbstractEditor.java:133)
         at fuego.designer.XObjectComponentStructurePanel.<init>(XObjectComponentStructurePanel.java:126)
         at fuego.eclipse.studio.multipageeditor.BPMObjectMultipartEditor.createStructurePage(BPMObjectMultipartEditor.java:581)
         at fuego.eclipse.studio.multipageeditor.BPMObjectMultipartEditor.addDefaultPages(BPMObjectMultipartEditor.java:464)
         at fuego.eclipse.studio.multipageeditor.ExtendedMultiPageEditorPart.createPages(ExtendedMultiPageEditorPart.java:399)
         at fuego.eclipse.studio.multipageeditor.eclipse.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:253)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
         at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
         at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
         at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
         at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
         at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
         at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
         at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
         at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
         at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
         at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
         at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
         at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
         at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
         at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
         at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
         at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
         at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
         at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2737)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
         at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
         at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
         at fuego.eclipse.ui.DefaultEditor.open(DefaultEditor.java:65)
         at fuego.eclipse.studio.EclipseWorkbench.createEditorFromResource(EclipseWorkbench.java:529)
         at fuego.eclipse.studio.EclipseWorkbench.createEditor(EclipseWorkbench.java:297)
         at fuego.designer.action.OpenCatalogNodeAction.open(OpenCatalogNodeAction.java:91)
         at fuego.designer.action.OpenCatalogNodeAction.run(OpenCatalogNodeAction.java:55)
         at fuego.eclipse.ui.EclipseAction.run(EclipseAction.java:180)
         at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

    When you say you're having trouble "opening" the BPM Object, is it possible you instead mean you're having trouble expanding the BPM Object?
    Just a guess, but if you're having trouble expanding the BPM Object I'd suspect that the object's xcdl contents might be corrupted. You might want to consider exporting and saving a backup of the project and then try deleting the object from the Project Navigator. Rebuild the BPM Object once you've deleted it.
    Dan

  • Error while calling ejb service call from BPM service

    Hi,
    We are using the Oracle 11.1.1.5.0
    We are calling ejb service call from BPM service to update the data to Oracle database.
    We are getting the below error when we executing the ejb service call from BPM Service.
    <Error> <EJB> <BEA-010026> <Exception occurred du
    ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
    yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
    ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
    transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
    articipant in two-phase commit. To force this participation, set the GlobalTrans
    actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
    eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
    hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
    base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
    signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
    o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
    nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
    oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
    red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
    logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
    ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
    ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
    eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
    OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
    server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
    /activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
    oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
    mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
    WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
    nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
    eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
    ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
    OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
    rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
    gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
    Connection@EBSConnection_base_domain
    JDBC driver does not support XA, hence cannot be a participant in two-phase comm
    it. To force this participation, set the GlobalTransactionsProtocol attribute to
    LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
    = EBSConnection
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
    TransactionImpl.java:1881)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
    rverTransactionImpl.java:345)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
    sactionImpl.java:239)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
    Object.java:622)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
    y(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
    ionLocalMethodInvoker.java:52)
    at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
    LocalBeanImpl.handleCallback(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
    sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:140)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
    nce cannot be a participant in two-phase commit. To force this participation, se
    t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
    or EmulateTwoPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    .>
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <failed to handle message
    javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
    be a participant in two-phase commit. To force this participation, set the Globa
    lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
    woPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:207)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    >
    Could any body help on this issue.It is little bit urgent for us to resolve.
    Thanks in advance.

    Thanks Sudipto Desmukh,
    The link is helpful me to resolve this issue.
    Thanks,
    Narasimha E

  • Problems to invoke a secure Web service from Oracle BPM Studio 10.3

    Hi all
    I'm trying to consume a web service through HTTPS protoloco Oracle BPM Studio v10.3, but I get the following error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
    Some help!!
    Thanks

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

  • Fork is not working - BPM

    I have done 2 samples using fork and in both the cases it is not working. For each message new BPM is triggered and only one step (branch) gets completed and other branch steps remain in ready state forever.
    1) I have tested standard BPM pattern BpmPatternCollectMultiIf
    2) Simple process using fork - two branches using different inetrfaces (having different message types)
    Integration process return code is 0 - runtime cache
    I am testing on local sandbox (XI 3.0) with SP17.
    Under SAP help only brief description available about fork. Please share if you have good references/samples about fork (BPM).

    Jai,
    1)I expect following result in case of standard BPM pattern "BpmPatternCollectMultiIf"
    Note: Here same message type for all 3 interfaces ( branches), no end condition, no of branches = 3
    As all message types are same when I send first message only one branch will be executed and outbound status under sxmb_moni with be clock (Message being sent). When I send 2 message, second branch will be completed and status will be clock again. And when I send 3 rd message all branches will be completed and outbound status will be success flag (Message successful on outbound side). Under one process id three messages will be displayed
    Actual result is every time status as clock. and for each message new fork instance is created. below are the processids for 3 messages
    133721
    133726 -
    unexpected
    133731 -
    unexpected
    Ideally when you send 3 messages all should be process under process ids 133721 to 133725
    2) I have tried fork with 3 branches with different message types. When I send 3 messages ( here each payload is different as per message type ) I expect success flag after 3rd message. But in this case also always the status as clock. and every time new fork instance.
    Is anybody  successful to test BPM pattern -> BpmPatternCollectMultiIf?

  • Issue in Integration of  BPM 11.1.1.5.0 Feature Pack with Primavera P6 R8.2

    The following error is occurring while initiating the workflow in P6 R8.2 of Web Access (My Workflows tab is not working).
    ERROR com.primavera.infr.srvcs.bpm.BPMNServiceImpl ?:? BPM service could not connect to BPM Identity service provider for database 1
    ORABPEL-10585
    Service error.
    Internal Error; Service error occurs in BPMIdentityService in method authenticateUser.
    Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1111)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1122)
    at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
    at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:330)
    at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:417)
    at com.primavera.bpm.BPMConnectorImpl.getBPMProcessNodes(BPMConnectorImpl.java:387)
    at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
    at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
    at com.primavera.bpm.common.BPMCommandRunner$a.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:287)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.authenticateUser(IdentityServiceSOAPClient.java:622)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1093)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1123)
    at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
    at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:332)
    at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:419)
    ... 5 more
    Caused by: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:166)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
    at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:231)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:271)
    ... 11 more
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
    at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
    at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:88)
    at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:85)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.readWsdlDefinition(WSDLMetadata.java:354)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPortsFromWsdl(WSDLMetadata.java:197)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:164)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
    at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:233)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    ... 21 more
    *[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR com.primavera.pvweb.pm.workflows.BPMAjaxProvider ?:? Failed loading BPM processes.*
    com.primavera.bpm.common.BPMServiceException: BPM service could not connect to BPM Identity service provider for database 1
    at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:233)
    at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:332)
    at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:419)
    at com.primavera.bpm.BPMConnectorImpl.getBPMProcessNodes(BPMConnectorImpl.java:387)
    at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
    at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
    at com.primavera.bpm.common.BPMCommandRunner$a.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: ORABPEL-10585
    Service error.
    Internal Error; Service error occurs in BPMIdentityService in method authenticateUser.
    Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1111)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1122)
    at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
    at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:330)
    at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:417)
    ... 5 more
    Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:287)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.authenticateUser(IdentityServiceSOAPClient.java:622)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1093)
    at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1123)
    at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
    at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:332)
    at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:419)
    ... 5 more
    Caused by: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:166)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
    at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:231)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:271)
    ... 11 more
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
    at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
    at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:88)
    at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:85)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.readWsdlDefinition(WSDLMetadata.java:354)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPortsFromWsdl(WSDLMetadata.java:197)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:164)
    at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
    at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
    at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:233)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    ... 21 more
    Edited by: user4883812 on Feb 1, 2012 6:09 AM

    Looks like you are missing wsclient.jar .
    See this - Problem instatiating factory implementation when invoking a service in java

Maybe you are looking for

  • Acrobat 9 on Mac: Cannot enable javascript debugger

    I've tried setting Javascript preferences as follows: Enable Acrobat Javascript Enable menu items JavaScript execution privileges Enable global object security policy Enable Javascript debugger after Acrobat is restarted Enable interactive console Us

  • W540 Port Replicator

    Will the port replicator for a W520 work with the W540? I've got a W540 on order, and just thought about the port replicator. Solved! Go to Solution.

  • SQL Server 2014 Developer Edition

    Microsoft is no longer offering version 2012 developer edition. So, is SQL Server 2014 developer edition ok to use with SQL Server 2012? Thanks.

  • Combine 2 reports

    I have a billing report, where I'd like the summary page to print in portrait mode, and detail pages to print in landscape mode. I have been wracking my brain trying to think of a way to accomplish this so that the end user doesn't have to select 2 d

  • Creating a simple mail form

    Hi, I want to create a simple mail form using portal. The form must not use the HTML "mailto:", cause this requires a mail client to be installed at the customers computer. So I want to use the UTL_SMTP package. I managed to send mails with this pack