Security Actions Necessary to develop BPM processes

Hello,
could anyone tell me which security actions are necessary to develop BPM-processes.
For deployment, Sap-help says the following:
    *every user needs to have dc_action action to be able to read deployment related information
    *if you want to perform online deployment operations, the user needs in addition the deploy_action
    *if you want to perform offline deployment operations, the user needs in addition the dc_offline_action action
This doesn't work so far. Any other suggestions?
The other neccessary action neccessary will be one to be able to choose users for the processes. Does anyone know which action could fulfill this?
Thanks and regards
Robert

Hi !
Try with "SAP_CAF_DEVELOPER".
Regards,
Matias.

Similar Messages

  • How to carry out an action on a task in a bpm process from another adf app?

    Hi everyone,
    We have a simple BPM process with only one human task with two actions: approve and reject.
    We want to know if it is possible to approve or reject this task from another adf application; I mean by clicking a button on a different page - not using the Actions menu in workspace, can I change the status of the task to approved or rejected and remove the task from the workspace of the assignee?

    I think you can use ItemAdding event to update your fields. This works better for you instead of ItemAdded event.
    Bala

  • BPM process and BRM rules process in same development component in NWDS

    Hi All,
    Is it possible to create the BPM process and BRM rules process in the same development component in NWDS?
    I tried but whenever we create it,say,first ly for BPM,that is File-New-Project-Development Component-Process Composer
    While once this development component is created I try to create rules composer in the same composer by right clicking on local development component as well as process composer but ther is no option of creating /calling rules composer/rules modeling.
    Can you please guide me creating both BPM process and BRM rules composer/rules modeling in the same development component if its possible?
    Thanks in advance

    Open your project explorer and expand the BPM project you have created. Locate a folder named "Rules" in the Project Tree. Right-click on the Rules folder and select 'Create new rule'. You can model your rules such as rule-scripts here and use it in the BPM.
    Note: These rules cannot be used outside the BPM Project.

  • Calling ADF page Custom Listener (Ex: ActionListener) from BPM Process Task (APPROVE/REJECT)

    Hi All,
    Jdeveloper version - 11.1.1.7
    I am very new to BPM / SOA development, but I have very good development skills on ADF.
    I am not using ADF BC, using EJB for business services and also using custom ADF pages for HumanTasks.
    Usecase:
    From the BPM Process task, when process submission (APPROVE / REJECT) , I need to invoke a Custom listener (Ex.Action Listener - a EJB call) in the ADF page.
    I am trying to use BPM APIs.
    Please clarify me how this will achieve using BPM APIs. I need detail guidelines to do it. Please make to understand this process.
    Provide some useful documentation or links to understand the following:
    1. Custom Human task pages
    2. BPM APIs - 11.1.1.7
    3. Call a BPM process task from ADF Listener and Call a ADF Listener from BPM Process task - Using BPM APIs.
    Please revert more clarifications needed.
    Thanks and Regards
    Mohanraj N

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

  • Calling Oracle BPM Process Web Service from Oracle Service Bus

    Hi
    I am using Oracle Service Bus 10gR3.
    I have developed simple BPM process through Oracle BPM studio 10.3.1.0.I then followed steps below
    1. Create a Process.
    2. Expose the Process as a Web Service.
    3. Run the project. This starts the Process Execution Engine.
    4. Create an ALSB External Resource of type Management Host.
    5. Create a second ALSB External Resource for registration.
    6. Register the End Point
    Until this point everything is fine. Then I created one project through Oracle Service Bus console. Under that created WSDL, Proxy Service and Business Service Folders. I am using the web service created through BPM studio as teh Business Service in SB . I then created one proxy service to route the request to the Business Service.
    Finally when I try to test the Proxy Service by launching test console, I get the
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380001</con:errorCode>
    <con:reason>INTERNAL SERVER ERROR</con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    I also tried to debug through "Oracle Workshop for WebLogic Version 10.3 " . But I am not getting enough details as to why this is failing.
    Please help me . Thanks In advance.
    Thanks
    Nilay
    Edited by: user8950019 on Feb 1, 2010 4:11 AM

    Hi,
    When im calling wsdl created when BPM exposed as webservice in SOAP-ui, i first hit the startSession
    Request is:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <soapenv:Header/>
    <soapenv:Body>
    <exp:startSession>
    <password>Employee</password>
    <user>Employee</user>
    </exp:startSession>
    </soapenv:Body>
    </soapenv:Envelope>
    Response i Get is:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:startSessionResponse xmlns:ns1="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <return>3782hecq1s85h</return>
    </ns1:startSessionResponse>
    </soapenv:Body>
    </soapenv:Envelope
    but when i put this sessionId in main request:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <soapenv:Header/>
    <soapenv:Body>
    <exp:expenseReport>
    <sessionId>3782hecq1s85h</sessionId>
    <reportArg>
    <!--Optional:-->
    <comments>yes</comments>
    <!--Optional:-->
    <costCenter>jaa</costCenter>
    <!--Optional:-->
    <description>aa</description>
    <!--Optional:-->
    <isApproved>y</isApproved>
    <!--Zero or more repetitions:-->
    <items>
    <!--Optional:-->
    <elements>
    <!--Optional:-->
    <amount>700</amount>
    <!--Optional:-->
    <date>?</date>
    <!--Optional:-->
    <description>?</description>
    <!--Optional:-->
    <receiptChecked>?</receiptChecked>
    </elements>
    </items>
    <!--Optional:-->
    <reviewedBy>?</reviewedBy>
    <!--Optional:-->
    <submitDate>?</submitDate>
    <!--Optional:-->
    <submittedBy>?</submittedBy>
    <!--Optional:-->
    <total>?</total>
    </reportArg>
    </exp:expenseReport>
    </soapenv:Body>
    </soapenv:Envelope>
    Response coming is :-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.</faultstring>
    <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:244)
         at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.soaptype.SoapListener.invokeDynamic(SoapListener.java:104)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "jaa"
         at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:36)
         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 fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
         ... 21 more
    Caused by: java.lang.NumberFormatException: For input string: "jaa"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.valueOf(Unknown Source)
         at fuego.util.Conversion.tojava_lang_Integer(Conversion.java:934)
         at fuego.xobject.runtime.ConversionUtilities.fromString(ConversionUtilities.java:56)
         at fuegoblock.xml.XmlElementDeserializer.deserializeElement(XmlElementDeserializer.java:175)
         at fuegoblock.xml.XmlElementDeserializer.deserialize(XmlElementDeserializer.java:81)
         at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:160)
         at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:119)
         at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:17)
         ... 28 more</ns1:stackTrace>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">D-113014550</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    can anyone explain why this error is coming.?
    Edited by: user8937128 on May 19, 2010 6:58 AM

  • How to invoke a webservice in the middle of a BPM process

    I use BPM studio to create processes.
    In the middle part of the BPM process, it need to invoke a web service (an ADF project deployed to weblogic as a web service). Then, it will wait.
    After the process is finished, it will invoke another web service (an ADF project deployed to weblogic as a web service).
    How to invoke web services in and after the process?
    Thank you.

    Hi,
    Thanks for your reply. I use BPM studio 10.3
    In the Catalogue, there are 3 default components which are Fuego, Java, and Plumtree.
    In the Fuego, there is an item of WebServices. In the Plumtree, there is an item named WebServiceProperty.
    If I create a new Module, I cannot find the option of web service.
    How to invoke a webservice (ADF/Java web service developed in Jdeveloper deploy to weblogic ) ?
    Thanks.

  • How to set a base64binary to hexBinary in BPM process

    Hi all.
    I'm developing using Oracle BPM Suite 11.1.1.5
    I've the following scenario:
    I need to insert a binary from a BPM process to database using a data access web service implemented with ADF Service Interface. In the process a binary value is treated like xsd:base64binary while the ADF web service treats binary values as xsd:hexBinary. Inside my BPM process I got a service task making a service call to the data access webservice and invoking an InsertPhoto method. During the process I obtain the image (as a binary) I want to insert in the database and, using associations, I map the image value to the binary field required as input for the insert method. There's no error during the implementation but after deploy and test the process I got the following error, asociated to the service task:
    javax.xml.ws.soap.SOAPFaultException:
    Exception Description: The object [<the hole binary characters>], of class [class java.lang.String], could not be converted to [class [B].
         at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
         at $Proxy29.operation(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.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         at $Proxy30.operation(Unknown Source)
         at com.oracle.xmlns.bpmn.bpmnprocess.process.ProcessPortClient.main(ProcessPortClient.java:24)
    Any suggestion will be welcome.
    Regards
    isabelbernelly

    Done. The solution was just go to the ADF web service schema definition (xsd), look for the InsertPhoto method message and change the type of Image (the binary field) from "hexBinary" to "base64Binary" and redeploy the web service application.

  • How to reuse a BPM Process in other DC

    Hi
    I have all generic reusable BPM Processes defined in a separate Process Composer DC. Now I am building specific BPM processes in sepearate DCs and want to use generic processes from other DC. How to do that?
    Thanks
    Raags

    Hi Raags,
    What you need to do is set up a dependency from your specific process to your generic process.
    You do this in the Development Infrastructure Perspective of the NWDS.
    Open your generic process DC and create a Public Part.  You can call it whatever you want - e.g. "api".
    Then open your specific process DC and create a dependency from the specific process DC to the generic process DC and its public part.
    Don't forget to check the Design Time/Deploy Time/ Runtime checkboxes in the Dependency details against the generic process DC and its public part. 
    If your DCs are in different software components you'll need a dependency at the software component level as well.
    If your dependencies are set up correctly you should then be able to select the generic process from your specific process, e.g. when creating a referenced sub process task.
    This works for all sorts of elements... e.g. it can be a handy way to share service groups or WDJ apps as UIs.
    Regards,
    Jocelyn

  • BPM process jax-ws callback URL error

    I generated the web service proxy for a BPM process with the callback option. Then I deployed the callback web service in to weblogic 10.3. While invoking the client proxy I am giving the callback url as shown
    GCTLab04ProcessPortType gCTLab04ProcessPortType = gCTLab04ProcessService.getGCTLab04ProcessPortType_pt();
    +// Get the request context to set the outgoing addressing properties+
    WSBindingProvider wsbp = (WSBindingProvider)gCTLab04ProcessPortType;
    WSEndpointReference replyTo =
    new WSEndpointReference("http://localhost:8001/GCTLab04-WSClient-context-root/GCTLab04ProcessPortTypeCallBackImplPort", WS_ADDR_VER);
    String uuid = "uuid:" UUID.randomUUID();+
    wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag));
    I am getting the error for invalidaddressing. Can anyone help me how to solve this error?
    +<Aug 24, 2010 7:45:44 PM IST> <Warning> <com.sun.xml.ws.addressing.WsaTube> <BEA+
    -000000> <A header representing a Message Addressing Property is not valid and t
    +he message cannot be processed, Problem header:{http://www.w3.org/2005/08/addres+
    +sing}Action, Reason: {http://www.w3.org/2005/08/addressing}ActionMismatch+
    com.sun.xml.ws.addressing.model.InvalidAddressingHeaderException

    Hi,
    there is a bug in 11.1.1.3 which is fixed in 11.1.1.4. but I found a simple workaround.
    I changed the web service annotation from the callback function for "@Adressing" from "true" to "false". e.g.
    @WebService(targetNamespace="http://xmlns.oracle.com/SOAHelloApp/SOAHelloAsync/SOAHelloAsyncProcess", name="SOAHelloAsyncProcessCallback")
    @XmlSeeAlso(
    { ObjectFactory.class })
    @SOAPBinding(style=Style.DOCUMENT)
    @Addressing(enabled=false, required=false)
    so I still have the wrong wsa:Action, but nobody cares.
    HTH

  • Error starting BPM process in CE 7.2

    Hi Guys,
    I created a BPM process and deployed it on CE 7.2 server. When I try to start it from  Process Repository , I get following error.
    com.sap.tc.bpem.wdui.procstarter.procstarter.comp.ProcStarterComp$MyException: Error :Start event ID is null; Check if the necessary services are started
    Start Event and end event are defined.
    Any idea what this error is about.
    Thanks,
    Yomesh

    hi,
    how about other bpm process?
    if all are like this, you have to check the bpm service.
    Best regards,
    John

  • Attachments in BPM Process 11g  (soa suite 11.1.1.4.0, wls 10.3.4)

    Hi. I have a BPM Process with 2 activities. I want to add 4 comments and 4 files in the first activity and review this in the second activity.
    But... I have a problem.
    When the attachments are URL + NAME (for example http://server01/app01/image.jpg) the file is attached correctly.
    When the attachments are local files (for example c:\midir\myfile.jpg) the file cannot be attached.
    I save the instance and return, but when I review the instance, the instance have only URL attachments, not local file attachments.
    What's wrong? Any Ideas?

    Not works =/
    my bc4j.xcfg :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
    <AppModuleConfigBag ApplicationName="model.service.tcAppModule">
    <AppModuleConfig DeployPlatform="LOCAL" jbo.project="model.Model" name="tcAppModuleLocal" ApplicationName="model.service.tcAppModule">
    <Security AppModuleJndiName="model.service.tcAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/soademoDSDS"/>
    </AppModuleConfig>
    <AppModuleConfig DeployPlatform="LOCAL" jbo.project="model.Model" name="tcAppModuleShared" ApplicationName="model.service.tcAppModule">
    <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1" jbo.ampool.resetnontransactionalstate="false"/>
    <Security AppModuleJndiName="model.service.tcAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/soademoDSDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    Note: Using DATASOURCE, jdeveloper set it to "jdbc/soademoDSDS" instead of "jdbc/soademoDS", and here starts my problem "oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection".

  • BPM Process does not show newly added task

    I added a new task to my current BPM Process which has several tasks already built into it and they work when deployed. When I execute the workflow and get to that step, I get the following message: Details not available for this task. I am using jDeveloper 11.1.1.5. I created my page with ADF. I can see the pages for all the rest of the tasks in my process but not this newly added step. I have checked the source for this task against other tasks in the process and it looks the same. Does anyone have an idea what I might need to change or add in order to make this work?
    Edited by: user10279592 on Jan 13, 2012 7:20 AM

    If you're getting the Server 500 error and it is not an initiator task, what are you seeing at the bottom of your log file?
    If you're getting the Server 500 error and it's an initiator task, then there is a trick to figuring out the real problem (close the dialog -> refresh the worklist -> select the work item at the bottom of the list). The initiator activity makes it necessary to do this additional step to see what the issue is.
    Hope this helps,
    Dan

  • 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 Spaces: Attachments and Comments issue

    Hi,
    I've integrated BPM Process Spaces with WebCenter Spaces. When I'm trying to initiate a Process and send comments and attachment, the values for them is not passed from step to another. For example, if user A initiate a task with comments and attachments and send it to user B; user B can't see the comments and attachments from user A.
    I searched the internet and I found conflict answers, some answers are saying that comments and attachments are not supported and others are saying it's working.
    Can please someone give me a definitive answer and the configuration required if any?
    Also can someone give me a definitive answer about how to configure BPM to store attachment in UCM?
    This is urgent as I'm preparing a customer POC next week.
    Thanks
    Regards

    after some investigations I found the following:
    - Users can attach documents and provide comments on task level from the task details page. The attachments and comments will only be available for this specific task but not on the process level.
    - Users can attach documents and provide comments on Process level from the Process Tracking page-> Audit Trail part. The attachments and comments will available for all the tasks in the process
    - in BPM 11.1.1.5 Features Pack. Integration with UCM has been developed and also comments and attachments can be defined as Task level or Process level when ever the user want to provide one.
    Hope this helps.
    Thanks
    Regards

  • How to start BPM process WSDL from WDA

    Hello,
    I need to start BPM Process from SRM ECC with WDA; i have been through this link ;
    http://forums.sdn.sap.com/thread.jspa?threadID=1643425
    also followed the pdf named 'Triggering NetWeaver BPM Process from ABAP' provided from SAP but still stuck on some issues;
    - I have a WSDL in order to start BPM process and works fine as i successfully call it from EP Java AS with WDJ..
    - What i need to do is to trigg it from SRM Screens so i need to call this WSD from ECC, so;
        When i try to create a consumer proxy using external wsdl option, after putting in WSDL Url it throws an error;
    Exception occurred in communication framework:Error in HTTP Framework:405 Method Not Allowed http://xxx.local:50000/bpm/de
    mosapcom/dccategoryappbpm/StartCatAppSI
    Exception of class CX_SLIB_HTTP_FAIL
    And this is error from BPM Logs for the same action;
    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.
    at com.sap.engine.services.webservices.espbase.server.additions.SOAPHTTPTransportBinding.getAction(SOAPHTTPTransportBinding.java:581)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.overwriteConfiguration(RuntimeProcessingEnvironment.java:894)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:469)
    Also i found this link : http://wiki.sdn.sap.com/wiki/display/TechTSG/(WSR)Problems-P06/
    But no help so far,
    So, is there anyone faced similar or the same issue? Any suggestion will be appreciated.
    Regards,
    Yasin

    Hi soujanya,
    BPM server is not open to the internet but only intranet, so i will copy the WSDL code for you,
    will be glad if you can help;
    - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.koczer.com/StartCatAppSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="StartCatAppSI" targetNamespace="http://www.koczer.com/StartCatAppSI/">
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://www.koczer.com/StartCatAppSI/">
    - <xsd:complexType name="DetailsType">
    - <xsd:sequence>
      <xsd:element name="Category_ID" type="xsd:int" />
      <xsd:element name="Category_Text" type="xsd:string" />
      <xsd:element name="User" type="xsd:string" />
      <xsd:element name="Manager" type="xsd:string" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:element name="NewOperation">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="Details" type="tns:DetailsType" />
      </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="StartCatAppSI">
    - <wsdl:operation name="NewOperation">
      <wsdl:input message="tns:NewOperationRequest" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="StartCatAppSISOAP" type="tns:StartCatAppSI">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="NewOperation">
      <soap:operation soapAction="http://www.koczer.com/StartCatAppSI/NewOperation" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="StartCatAppSI">
    - <wsdl:port binding="tns:StartCatAppSISOAP" name="StartCatAppSISOAP">
      <soap:address location="http://zerbpmts.koczer.local:50000/bpm/demosapcom/dccategoryappbpm/StartCatAppSI" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

Maybe you are looking for