Start a BPM process programmatically

Hi Experts,
I am trying to start my BPM process using a button event from WD JAVA. I have created a Web service and I have assigned it with my start step of process. But, problem is in WS Navigator I am able to see that service in Local JAVA AS but not in my central server. Can any body please tell me how to publish web service in central server or any other alternative to start BPM from WD JAVA.
Regards
Pranav

Thanks for replying again Arafat. I am not getting any deploy or build error. What i have done till now is
1. Expand the process modeling
2. Expand service interfaces
3. Right click on WSDL Files folder and selected new WSDL.
4. Followed all the steps.
5. Deploy local development
Not getting any error here. But when i tried testing it in WS navigator i am not able to see my service there in providedsystems.
please suggest some thing.
Regards
Pranav

Similar Messages

  • Getting error while Startting a BPM process programmatically

    Hi Experts,
    I am getting an error while trying to start the BPM process programmatically. What i have done till now is
    1. Created a WS in process composer
    2. Binded this ws with start of the process
    3. Created input parameters
    4. Testing it in WS Navigator
    I am following this doc /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    and I am getting error while testing in WS Navigator. I am getting error at the last step i.e. in result step and the error is
    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "No operation found using soap keys [], [cn_comments]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: (BindingType=Soap, SEIName=NewWSDLFile, BindingQName=(http://www.example.org/NewWSDLFile/)NewWSDLFileSOAP, PortTypeQName=(http://www.example.org/NewWSDLFile/)NewWSDLFile, SoapVersion=SOAP11, Galaxy_SDO=true, InterfaceMappingID=45ffb27c:1237f972cd8:-7d7e)."
    If possible can any one help me out.
    Thanks and regards
    Pranav

    Hi Arafat,
    Thanks for replying. Yes i have completed the output mapping. Input parameters i need for this service are :
    1. cn_comments
    ca_comments
    2. cn_planningGroup
    ca_account
    ca_serialnumber
    and few more attributes
    Now, what i did was i have created a complex type and added elements in it. But to my surprise i was not able to get these nodes and elements in output mapping. So, i changed the type of "parameter" from "new operation" to my complex type. By doing this i was able to get my nodes and elements in output mapping. Now i tested the entire thing in WS Navigator and i got that error.
    Please suggest how o proceed.
    Regards
    Pranav

  • Starting a BPM-flow programmatically

    Hi,
    When we start a BPM-flow in a manual way, via Configuration Management - Processes and Tasks - Process Repository, we can which user has initiated the process in Operation Management - Manage Processes in the column 'Started by'.
    However, when we try to start the same process programmatically, eg. in a webdyn pro app, via the assigned webservice in the start event, we don't see the user who has started the flow, instead we get to see 'Guest_'.
    Anyone an idea to resolve this issue?
    Thx!
    Wesley

    Hi,
    When we start a BPM-flow in a manual way, via Configuration Management - Processes and Tasks - Process Repository, we can which user has initiated the process in Operation Management - Manage Processes in the column 'Started by'.
    However, when we try to start the same process programmatically, eg. in a webdyn pro app, via the assigned webservice in the start event, we don't see the user who has started the flow, instead we get to see 'Guest_'.
    Anyone an idea to resolve this issue?
    Thx!
    Wesley

  • How to start a BPM process from ERP system

    Hi,
    I created a process in Netweaver Developer Studio with the Process Composer in SAP CE 7.1 BPM, now I want to automatically start the process by saving a SAP document like purchase requisition or purchase order. Therefore I think about implementing a UserExit / Badi or something else.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event?
    Greetings,
    Christian

    the process by saving a SAP document like purchase requisition or purchase order.
    Based on your business process, you will have to decide what data should be sent to other system. It could be in the form of Idoc trigger or an RFC calls. If there are non-SAP systems involved, you should be using PI 7.1 too. In that case, you can communicate using Abap proxy call too. For this you may either call an RFC internally in a report and schedule it.
    Regards,
    Prateek

  • Problem start a BPM process, No ADF binding is defined for the service.

    Hi,
    I am trying to use oracle.soa.management.facade.Service.request method to start a BPM process.
    The service works fine while being tested using Enterprise Manager. But while I am trying to invoke the service from a java client, exception occurs.
    The Service toString:
    Service {
    name = TechDocModifyProcess.service
    properties = {}
    bindings = [Binding {
    Name = WSBinding
    Type = ws
    Mode = entryPoint
    Properties = null
    WSDL URL = /TechDocModifyProcess.wsdl
    WSDL URL = http://eis-bpm-server.eis.smec-cn.com:8001/soa-infra/services/default/TechDocModifyProject!0.2*soa_fee2a899-b630-4c7c-8bbb-c740d37a1b03/TechDocModifyProcess.service?WSDL
    Below is the java code I used to call the service.
    try {
    NormalizedMessage input = new NormalizedMessageImpl();
    String uuid = "uuid:" + UUID.randomUUID();
    input.addProperty(NormalizedMessage.PROPERTY_CONVERSATION_ID,
    uuid);
    // payload is the partname of the process operation
    input.getPayload().put("creator", "jcooper");
    input.getPayload().put("notificationId", 1L);
    input.getPayload().put("title", "test");
    // process is the operation of the employee service
    NormalizedMessage res = null;
    try {
    svc.post("operation", input);
    } catch (Exception e) {
    e.printStackTrace();
    } catch (ProcessMetadataServiceException e) {
    e.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    Below is the exception stack trace:
    oracle.fabric.common.FabricInvocationException: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: No ADF binding is defined for the service.!
         at oracle.soa.management.internal.facade.ServiceImpl.post(ServiceImpl.java:178)
         at com.smec.eis.bpm.api.SOASvcProvider.main(SOASvcProvider.java:84)
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: No ADF binding is defined for the service.!
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1035_WLStub.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.EJBLocatorImpl.executeServiceMethod(EJBLocatorImpl.java:837)
         at oracle.soa.management.internal.facade.ServiceImpl.post(ServiceImpl.java:174)
         ... 1 more
    Caused by: java.lang.RuntimeException: No ADF binding is defined for the service.!
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBeanImpl.java:982)
         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.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:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
         at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
         at sun.reflect.GeneratedMethodAccessor2129.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.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.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy411.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    fusion order demo to the rescue ..
    specify binding.adf within the <service> in composite.xml and you are good to go ..

  • Starting a BPM Process - Where is the Service?

    Hi,
    I build a small test process and tested it, everythings working fine, but now I want to start with an application from portal. Unfortunately I haven't found the service to start the process.
    Can anybody help me?
    Regards,
    Felix

    Hello Sinh,
    what error occurs on deployment?
    Be sure not only to remove the output operation via the "Design"-View with NWDS embedded WSDL Editor.
    Also have a look at the source of your WSDL and remove:
    All <xsd:element>-tags/blocks within <wsdl:types> that have been assigned to your output/response operation
    The <wsdl:message> that stay in context to your response
    All <wsdl:output>-tags within <wsdl:portType> -> <wsdl:operation>
    The <wsdl:output>-block within <wsdl:binding> - > <wsdl:operation>
    See a minimal example WSDL attached that just has an input-operation with one field named "NewValue" of type string:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/NewWSDLFile/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NewWSDLFile" targetNamespace="http://www.example.org/NewWSDLFile/">
      <wsdl:types>
        <xsd:schema targetNamespace="http://www.example.org/NewWSDLFile/">
          <xsd:element name="NewOperation">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="NewValue" type="xsd:string"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
        </xsd:schema>
      </wsdl:types>
      <wsdl:message name="NewOperationRequest">
        <wsdl:part element="tns:NewOperation" name="parameters"/>
      </wsdl:message>
      <wsdl:portType name="NewWSDLFile">
        <wsdl:operation name="NewOperation">
          <wsdl:input message="tns:NewOperationRequest"/>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="NewWSDLFileSOAP" type="tns:NewWSDLFile">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="NewOperation">
          <soap:operation soapAction="http://www.example.org/NewWSDLFile/NewOperation"/>
          <wsdl:input>
            <soap:body use="literal"/>
          </wsdl:input>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="NewWSDLFile">
        <wsdl:port binding="tns:NewWSDLFileSOAP" name="NewWSDLFileSOAP">
          <soap:address location="http://www.example.org/"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
    Hope that helps.
    Have a nice day!
    Michael

  • How to start BPM Process in Netweaver CE 7.1 from backend

    Hi,
    since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
    In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
    Greetings,
    Manuel

    Hi,
    Netweaver BPM process can be started in two ways:
    1. Using NWA by instantiating a process
    2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    Hope this helps!!
    Regards,
    Arafat

  • How to start BPM Process in Netweaver CE 7.1

    Hi,
    since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
    In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
    Greetings,
    Manuel

    Hi,
    Netweaver BPM process can be started in two ways:
    1. Using NWA by instantiating a process
    2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    Hope this helps!!
    Regards,
    Arafat

  • Start BPM process from ABAP report. Need some investigations.

    Hi there!
    I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9457?QuickLink=index&overridelayout=true and have done everything it describes but the process doesn't start.
    What I've done:
    1) Created a service proxy in SE80.
    2) Created a logical port in SOAMANAGER.
    3) Write a code to start a WebService in ABAP Report.
    But when I start a program nothing happens, no errors.
    What analysis I did:
    1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.
    2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:
      Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    But I think it is OK and from the report it use a right method.
    3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.
    4) No logs in NWA logs
    My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).

    Dear Kirill Zhuklinets,
    Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC
    Error Message from SRM ECC :
    Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed
    Log from BPM Web service
    Error: process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    Please share your solution..
    Regards,
    Yasin

  • Start BPM Process from ABAP with another User as GUEST

    Hi all,
    i would like to start the BPM Process by a webservice. It works if the user GUEST has the role BPM_SuperAdmin.
    My question is: How can i chance this user, who call the webservice starting the process. The user, who starts the process by calling the webservice should be my own user instead of GUEST.
    Thanks in advance.
    Regards,
    Christoph

    the last reply is regarding the configuration at consumer side.
    of course you have to configure at the service provider side to enable the logon ticket as acceptable authentication method.
    I checked at my side, i found the the service for triggering bpm is already configured to use id/pwd and logon ticket as authentication method.
    you can check in this way,
    CE nwa-> SOA  Management->Application and Scenario Communication-->Single Service Administration
    find your service, if you haven't assign any profile to your service, there will be only one configuration generate by system
    you can edit this configuration.
    go to configuration tab, select the endpoint, select security tab in the bottom tab list.
    change the setting there.
    Edited by: John Wu on Sep 10, 2010 7:29 PM

  • Synchronous start event for a BPM process??

    Hi,
    If I trigger a BPM Process from say a BSP Application(Shld be able to do this as all I need is a Service Interface (Start Event) related to the BPM), If for some reason the process fails to start -- Is there a way of  having a response that would let the triggering application know that the BPM process instantiation has failed...
    What I am trying to understand is :
    1)would the Service Interface for the BPM start Event, provide a response ?...??
    2)Is it possible to have some kind of logic implementation for this Service Interface(that starts a BPM Process) ??
    Eventhough there was a similar message in the forum, I wanted to have a clear picture ....
    A detailed reply would be highly appreciated ..Thanks !
    Best Regards,
    Arun

    Hi Arun,
    I guess you need to distinguish 2 to 3 cases here:
    In case you used a snychronous call in the service interface definition assigned to the process start event it will result in a SOAP fault, which says that the process started successfully. Reason for that is explained here: Starting a BPM Process - Where is the Service?
    Problems within your process would also not be reflected in the SOAP message (e.g. if there is some issue within the first step after the process has been started). I guess that is somehow obvious as the process has been started after all, but I wanted to state it anyways.
    Finally and that's possibly the most important point for you: If there are any problems during the instantiation and in the end no process has been started then this should be reflected in the SOAP result. If not I would consider it as an issue in the implementation and would like to ask you to open a ticket for it on http://service.sap.com/message
    More details could be found in the documentation:
    Starting a Process
    https://help.sap.com/saphelp_nwce711/helpdata/en/62/a6d7ac03994e0796c6b949c8952547/frameset.htm
    Creating Service Interface Definitions
    https://help.sap.com/saphelp_nwce711/helpdata/en/47/62632a3c304359e10000000a42189c/frameset.htm
    Hope that helps,
    Martin

  • How to check the progress of a BPM process I started ?

    Hi,
    I used to build workflow with Guided Procedure, and there is a GP Runtime Workcenter where a user can find the processes he/she started, or being as an admin/overseer/owner. For GP, it is much more powerful than UWL.
    Now I'm testing BPM with the following secnario, but I don't know how the user starting a process to monitor the progress with UWL ? (I do not think NWA is a good tool for BPM user, correct me if I'm wrong )
    My scenario is : User fill in a leave-request data form built with Web Dynpro iView (not part of BPM task), and click submit, the iView start a BPM process. This process will go through the approvers. The user need to check the progress.....how can he/she find the process in UWL ? (He/She has no working items)
    I really want to know the best practice to present the process prgress to a user who is relative to the process instances (as initiator, admin, or participant)
    Thanks

    Hi,
    You can do it several ways.
    1> a) After starting the process, go to NWA [http://<hostname>:<port>/nwa]
         b) Go to 'Operations' -> Processes and Tasks' -> 'Manage Process'.
         c) Choose the Process instance you started and click on the 'Process flow'.
    This will show you a page with the process digram with a grenn 'token' beside the active step.
    2> The other way ( dificult to achieve, easier to use)
         a> During  process design, for every human activity UI, write down the process steps on task UI.
         b> Highlight the step  for every human task.
         c> When the user opens the tak UI from UWL, then can see the process step at which they are stuck.
      This method wont work if the process is stuck at any 'automated activity' or sub-process.
    Hope these help.
    Edited by: Subhra Jyoti Saha on Jul 6, 2010 7:04 AM

  • BPM Process stop to work

    when i start a bpm process during the runtime the process stop to work and in the default trace i found this error:
    2011 09 26 15:24:11:785--+0200--Error--com.sap.glx.core.kernel.mmtx.PrimaryTransaction--
    com.sap.BPM.core_svc.000064--BC-BMT-BPM-SRV--com.sap.glx.core.svc--F65520AD5DBD13F60000000000004958--29830050000000004----com.sap.glx.core.kernel.mmtx.PrimaryTransaction--SAP_BPM_Service--0----217287D5E83F11E0AF57000001C72BA2--217287d5e83f11e0af57000001c72ba2--217287d5e83f11e0af57000001c72ba2--0--Galaxy 2079 / Follower Worker--Plain----
    afterCompletion(int):Unexpected error during deferred transaction commit: java.lang.IllegalMonitorStateException: Attempted to release a write lock, but the ticket-local lock count is zero (danger, inconsistency detected!)
         at com.sap.glx.core.dock.impl.GalaxyCowLock$LockImpl$WriteLockImpl.unlock(GalaxyCowLock.java:378)
         at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.localImageRelease(AbstractTransactionBase.java:798)
         at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.clean(AbstractTransactionBase.java:240)
         at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.clean(PrimaryTransaction.java:86)
         at com.sap.glx.core.kernel.mmtx.AbstractTransaction.internalComplete(AbstractTransaction.java:392)
         at com.sap.glx.core.kernel.mmtx.AbstractTransaction.complete(AbstractTransaction.java:345)
         at com.sap.glx.core.kernel.mmtx.AbstractTransaction.rollback(AbstractTransaction.java:305)
         at com.sap.glx.core.kernel.mmtx.PrimaryTransaction$PersistentCommit.afterCompletion(PrimaryTransaction.java:401)
         at com.sap.engine.services.ts.jta.impl.SynchronizationWrapper.afterCompletion(SynchronizationWrapper.java:48)
         at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.rollback_internal(TXR_TransactionImpl.java:1286)
         at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.rollback(TXR_TransactionImpl.java:1048)
         at com.sap.engine.services.ts.jta.impl2.TXR_TransactionManagerImpl.rollback(TXR_TransactionManagerImpl.java:509)
         at com.sap.engine.services.ts.jta.impl2.TXR_UserTransaction.rollback(TXR_UserTransaction.java:170)
         at com.sap.glx.core.resource.impl.j2ee.J2EETransactionManagerFactory$JTATransactionManagerImpl.rollback(J2EETransactionManagerFactory.java:158)
         at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inRollback(PrimaryTransaction.java:274)
         at com.sap.glx.core.kernel.mmtx.AbstractTransaction.rollback(AbstractTransaction.java:279)
         at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:778)
         at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:202)
         at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:81)
         at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:129)
         at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
         at com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl$Sessionizer.run(J2EEResourceImpl.java:231)
         at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:150)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:337)
         at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:147)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299
    (in other post i insert the rest of the default trace)
    anyone know how can i resolve it?

    011 09 26 15:34:27:382--+0200--Error--com.sap.glx.core.kernel.mmtx.AbstractTransactionBase--
    com.sap.BPM.core_svc.000127--BC-BMT-BPM-SRV--com.sap.glx.core.svc--F65520AD5DBD14090000000000004958--29830050000000004----com.sap.glx.core.kernel.mmtx.AbstractTransactionBase--SAP_BPM_Service--0----217287D5E83F11E0AF57000001C72BA2--217287d5e83f11e0af57000001c72ba2--217287d5e83f11e0af57000001c72ba2--0--Galaxy 4198 / Follower Worker / Script [ita18.ferrero.com/fce_ita18_bu_bp_etl_lib/ETL_DB_MappingParallel_Run_POOL/4a8be0fffb1191332ea3088e50c48cf2/BLACK_HOLE]--Plain----
    getLocalImage0(DockObject, boolean, boolean, boolean, boolean, boolean, long):Someone attempted to stain an object, which has already been deleted (OID = 3d806fd7-e844-11e0-a45d-000001c72ba2, separation = 3e58308c-e83f-11e0-b267-000001c72ba2, class = com.sap.glx.adapter.BPMNAdapter:Instance_0_TaskRun_1ae30a59b281399e4cf102c2ac458587). Blame this code: java.lang.NullPointerException: Object has been terminated (OID = 3d806fd7-e844-11e0-a45d-000001c72ba2, separation = 3e58308c-e83f-11e0-b267-000001c72ba2, class = com.sap.glx.adapter.BPMNAdapter:Instance_0_TaskRun_1ae30a59b281399e4cf102c2ac458587)
         at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.getLocalImage0(AbstractTransactionBase.java:560)
         at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.getLocalImage(AbstractTransactionBase.java:499)
         at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.getWritableImage(AbstractTransactionBase.java:612)
         at com.sap.glx.core.dock.impl.DockObjectImpl.bind(DockObjectImpl.java:386)
         at com.sap.glx.core.dock.impl.DockObjectImpl.bindChecked(DockObjectImpl.java:402)
         at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.deleteChildInstances(BPMNAdapter.java:2245)
         at com.sap.glx.process.adapter.bpmn.impl.BPMNInstanceHandler.onDestruction(BPMNInstanceHandler.java:157)
         at com.sap.glx.core.dock.impl.DockObjectImpl.deletion(DockObjectImpl.java:226)
         at com.sap.glx.core.dock.impl.DockObjectImpl.delete(DockObjectImpl.java:563)
         at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.deleteFirstChildOfFrameIfInstanceOrTask(BPMNAdapter.java:2947)
         at com.sap.glx.process.adapter.bpmn.impl.BPMNFrameHandler.onDestruction(BPMNFrameHandler.java:69)
         at com.sap.glx.core.dock.impl.DockObjectImpl.deletion(DockObjectImpl.java:226)
         at com.sap.glx.core.dock.impl.DockObjectImpl.delete(DockObjectImpl.java:563)
         at com.sap.glx.core.kernel.trigger.config.Script$DeleteInstance.execute(Script.java:298)
         at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
         at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:78)
         at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
         at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
         at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
         at com.sap.glx.core.resource.impl.j2ee.J2EEResourceImpl$Sessionizer.run(J2EEResourceImpl.java:231)
         at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:150)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:337)
         at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:147)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)

  • BPM Process triggered externally

    I have created a BPM process and I am able to test it from NWA -> Process repository. But When I am testing from WS Navigator then I am getting an error like-> Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Process start has been triggered."
    But my process is started fine. Actualy I want to access this WSDL URL from other applications. Can anybody help me?
    Thanks,
    Somnath

    Hi Somnath,
                       u will get the fault message , when u test the services in ws navigator for trigerring the BPM Process. check this article for Starting the BPM process
    [http://help.sap.com/saphelp_nwce711/helpdata/en/59/b2af840e67514f8e8973d97d494c9b/content.htm]
    Hope it helps
    Thanks and regards

  • Triggering BPM process from ECC

    Dear All,
    I created a WSDL in BPM and consumed it in ECC . After that created a logical port using SOAMANAGER.
    While executing in the program(the code is shown below) or testing the service consumer  it does not give any error. but still process not starting up.
    REPORT ZTEST_BPM.
    DATA : lv_port type REF TO zco_abapwsdl,
            lo_sys_exception   TYPE REF TO cx_ai_system_fault,
            input TYPE ZNEW_OPERATION_REQUEST1,
            in TYPE ztest.
    TRY .
       CREATE OBJECT lv_port
         EXPORTING
             LOGICAL_PORT_NAME = 'ZPORT'.
    CATCH CX_AI_SYSTEM_FAULT.
    ENDTRY.
       input-in-first_name = 'ABCDEF'.
       input-in-last_name = 'G'.
    TRY.
       call METHOD lv_port->NEW_OPERATION
        EXPORTING
             INPUT = INPUT.
       COMMIT WORK.
       CATCH CX_AI_SYSTEM_FAULT INTO lo_sys_exception .
       CATCH cx_ai_application_fault.
    ENDTRY.
    write : 'Process Started'.
    Your input will be helpful.
    Thanks and Regards,
    Prabhu Karuppasamy

    Make sure that the user you are testing this with, has all the necessary roles and authorizations on the portal to Start a BPM Process.
    For all possible roles and authorizations related to SAP BPM, refer the following:
    http://help.sap.com/saphelp_nw73/helpdata/en/45/d7d0e08a164c5e87e4604ba89c632a/content.htm
    https://help.sap.com/saphelp_nw73/helpdata/en/9c/23eaeb4c53486f8d9c4cb376b99994/content.htm

Maybe you are looking for

  • Add new items to the top of a list in iWeb

    One of my sites is for a cat charity : www.catsprotectionshop.com When a new cat is added it is easiest to add it to the bottom of the page. The alternative would be to move all the others down to put it at the top. Is there an easy way to move the e

  • Structure won't let me add characteristics

    Hi, I have 2 structures in a query but now when I try to add some particular restricted key figures it refuses to accept them? What could be the problem? Thanks

  • How can I monitor the voltage output sent to each servo axis programmatically?

    Hi I am wondering if it is possible to monitor the voltage that's being sent to a servo motor during an axis position movement (in particular quantities such as max voltage). I am using a PID controller to drive this servo motor. Thanks Vlad

  • Zen Stone Plus 2GB dosen't work. - dead?

    I have problem with this mp3 player. I tried MP3 Player Recovery Tool, charging, resets, checking with other PCs. Still nothing. Screen is broken for few years, but player worked well to yesterday. Now PC doesn't see player, it not responding for any

  • Beginners ?'s,  Switching screens in keynote

    Every time I'm in Duel Screen mode, Running Video out through an AV cable, I get the count down on the 2nd screen instead of on my mac. I want the Slide show on the screen and the monitor on my MAc. How do I set this up?