Alerts or Exceptions from BPM

I have BPM where there are multiple send steps ( Files ) and Sych Sends as well.
I would like to send alert if Send step fails. We donot have CCMS. I would still be able to send alerts to list of Users I guess. How can I achive this.
BPM steps:
Start - Receive - split - (8 Async sends in Parallel ) - Send Sync - Send Async - Stop
Do I have enclose all 8 Async Sends in a block and add Exception branch ?.

Hi,
Correct You have to use On block step with exception handle step with 8 send steps..
in exception handle .. put control step , ..
in alrtcatdef.. add users specific .. whatever you want list..
Here all 8 steps with exception name in each send step..and put in fork and this should be in block with exception .. if any one fails raise exception.. by control step in exception handler..
and if you want to stop the execution / process then put another control step to cancel the process..
Else if you eant to continue after raising the alert , you have to use tranformation step and do not put second controlstep..
see some links here to get an idea..
After createing an Alert Category using ALRCATDEF. The next step will be to define an ALERT RULE.
To define an ALERT RULE, just go to your RUN TIME WORKBENCH, and select ALERT CONFIGURATION, and after that , select your ALERT CATEGORY and
and create a rule for that category.
Just check this blog by michael for a complete scenario,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Now, when you use the report RSALERTTEST under SE38, you will find your ALERT CATEGORY, and will be able to trigger it.
This same ALERT can now be used in your BPM.
The links below on Alert Management (ALM) will be of good help to you:
http://help.sap.com/saphelp_nw04/helpdata/en/3f/567ddea69d3d4c93a6aedabd08899e/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm
Also go through these blogs:
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1382. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
Meanwhile look at these forum threads also:
Alerts not getting triggered from Adapter Framework
Alert  Configs...
Regards
Chilla..

Similar Messages

  • Throwing Runtime Exceptions from BPM. How?

    Hi !
    I want to make appear a red flag in the SXMB_MONI as a result of a custom condition inside a BPM. I tried with the control step, but it makes no "red flag".
    Should I make a transform step between 2 dummy message types with a UDF that throws the runtime exception there?? is there another way ?? We want a red flag as a result of a expired deadline while waiting a file adapter transport acknowledgement.
    Thanks !!
    Matias.

    Matias,
    As you said before you want the BPM to be errored out if it reach the deadline, am I right. In control step if u say cancel process it equivalent to logically deleting the work items, so obviously you will get an succesfull message. What I suggest you to do is in  Deadline branch - control branch select throw exception. The exception name has to be defined in Block level. So if you throw an exception it will look for the exception branch in the same block level if not the higher(super)block level, if it couldn't find the exception branch it will run out to error. Actually the exception branch is used to catch that exception and continue the rest of the process, so i think there is no need for defining the exception branch itself.
    Hope it helps you!!!
    Best regards,
    raj.

  • How to Extract Error Text from RFC.Exception within BPM?

    Hi,
    I have a scenario MPA -> XI <-> RFC.  A synchronous RFC call will be performed inside a BPM on a SAP system.  An exception message is expected if RFC raises exception.  However, there don't seem to be any mechanism that allows logic/step in BPM to extract the error text from the RFC exception message in order to send it out to user as an error alert.
    Appreciate if anyone can shed some lights.  Thx in advance.
    Regards
    Chong Wah

    Hi,
    you can always wrap your RFC with another one
    in which you'll catch the exception
    and pass in a normal field back to the XI
    and then do the standard as per my weblog:
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Using Standard Container Variables in Email Alerts from BPM

    Dear All
    While creating alert categories from ALRTCATDEF we have a Long Text Tab where we can use Container  Variables like  SXMS_MSG_GUID ,SXMS_RULE_NAME, SXMS_ERROR_CAT , SXMS_ERROR_CODE etc create the mail contents.  We can also display the message passed by the BPM by using the variable
    ALERTDYNAMIC_SHORTTEXT , ALERTDYNAMIC_LONGTEXT .
    In my case when I call the alert category from the BPM , the message passed by the BPM is displayed through the ALERTDYNAMIC_LONGTEXT in the alert inbox , but I am not able to utilize the other container variables (like SXMS_MSG_GUID ,SXMS_RULE_NAME, SXMS_ERROR_CAT ) for displaying the messageid ,error category etc. Using these variables for alerts invoked from BPM results in Blank Values for all the container variables.
    If the alert is not invoked from BPM these variables are getting populated.
    My question is is there a way by which we can utilize these variables for Alerts thrown from BPM.
    regards
    Nilesh .

    hi check the below links for reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    http://rant03.ranffm.de:50000/rwb_mdt/detailsservlet?objectName=name=is.00.rant03,type=XIIntegrationServer&rwb=true&XIDomain=domain.00.rant03&archive=false&selectMessage=%SXMS_MSG_GUID%
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Message in Alert from BPM

    Hello
    I have control step that sends Alert. The messasage contains BPM containers as &varilable&.
    Alert catergory has been defined in ALRTCATDEF with Workflow type but I don't see a message from BPM in Alert Inbox.
    What do I need to add into my alert category in order the message is to be displayed in Alert Inbox?

    Hi,
    I have the same problem as Denis. I created an alert category with dynamic text. As alert classification I have set WEBFLOW (this type wasn't part of the standard  classifications, so i created it). In my BPM I trigger the alert within a control step. The alert is thrown, I can see it in the alert inbox, but without description an without long text. As short text I see the name of the category and the string  "(Die auslösende Anwendung hat Sie als Empfänger bestimmt)".
    Can anybody help to fix my problem?
    @Denis: Have you solved your problem? How?
    Regards,
    Thomas

  • Elements from BPM in alert container. Possible?

    Hi!
    Is it possible to define container elements in TCODE ALRTCATDEF and fill them with values from a BPM? I have read about this and it seems to be possible when coding an abap application, but can it be done from the BPM at runtime?
    Thanks!
    regards Pavel

    Hi Pavel,
    If you are using the fault message's to get the errror details.
    It is possible to trigger the alert ...with all the information which inturn is coming in the fault message.
    Do an RFC call in the fault message mapping to RFC  - SALERT_CREATE.
    If not then the easy option
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Which doesn't suites your requirement...
    Sunil.

  • Alerts, Notify and e-mail using UWL from BPM tasks

    Hello experts,
    Can we activate UWL alerts and notifications for bpm human tasks ?
    For example, when a task needs to be completed and the user doesn't not make any thing, can we send an UWL Alert or message that appears to a supervisor role?
    Regards!
    Julio Cesar

    Julio
    I dnt think this is possible out of the box in UWL..However in BPM you can do the following..
    For the BPM Human Tasks you are concerned about, assign it a deadline/timeline..Create the timeline boundary event on the human task..Then assign an BPM email notification activity to the Boundary event..So during runtime, if the user does not complete the task within the timeline, it will trigger the boundary event and then an email will be triggered from the BPM (you can select the recipients as required).
    This should work for your requirement.
    Sandip

  • Anyone know how to customize email subject generated by Alerts from BPM

    I'm generating Alerts from BPM. However, the Alerts generated this way has subject title with - Process and an id number like this 'Process 000000126930'.
    I want to create custom subject line / email title.
    I tried by creating and using container variables in the Alert category for the title and it did not work.
    Any ideas on how to do this.
    Thank you,
    Parimala

    Hi Parimala,
    You can use the external definition Mail strcuture (Mail.xsd) provided by SAP for XI. You can map your structure with the Mail structure where you can create any subject line and any content as well, depending upon your interface configuration.
    Pls find the attached, Mail.xsd. Customize the subject, to, from etc. fields and populate the content branch element to send any message via the email.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://sap.com/xi/XI/Mail/30" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/Mail/30">
      <xsd:element name="Mail">
        <xsd:annotation>
          <xsd:documentation>Mail package for XI - Mail Adapter</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Subject" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="From" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Reply_To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Content_Type" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Date" type="xsd:dateTime" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Message_ID" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
         <xsd:element name="Content" minOccurs="0">
           <xsd:annotation>              
              </xsd:annotation>
         </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="encoding" type="xsd:string" />
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    Hope this helps, pls let me know if you need further info.
    Cheers,
    Ranjan

  • Alerts from BPM Email Subject and From address should be changed.

    Hi All,
    I'm raising an alert from BPM by using Container operation  and Control steps.
    The below details are appearing in the Email. Is there any way to change these standard steps... ?
    From:     WF-BATCH at K.local
    To:         SAPSupport at k.com
    Subject:  Process 000000021589
    Alert ID:   ##00010##
    I want to change the
    - Subject name with my own subject line.
    - From address should be changed to it.helpdesk at k.com instead of WF-BATCH at k.com
    - I checked in some of the threads, looks like there is limitation in terms of characters in the Email body(127 characters)? Is there anything I can do to extend the email body?
    Kindly suggest me.
    Thanks
    Deepthi

    Hi Baskar,
    // You can pretty much change the subject title and recipient information easily. Click on fixed recipients to modify mail address.
    Recipients list is fine. I can change. How about the Sender Email address?
    Ex:  WF-BATCH.. Since the errors are generated from BPM, the sender userid will be always WF-BATCH.
    I want to change this user id into my custom user id.. is it possible?
    2. Also I enabled Dynamic Text in alert category which is used to get the dynamic text from mapping.. Hence i cannot use Short and Long texts tab in Alert Category to generate the subject line.
    Hence Subject line is coming with process ID, looks like I cannot change?
    Thanks

  • Exception in BPM

    Hello Dear Community ,
    I have an asynchronous scenario using BPM and it's working well.........
    Start->Receiver->Transformation->Send->Stop
    I inserted a Container operation and Control using Michal's Blog "Alerts with variables from the messages payload (XI) - UPDATED" /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated to send an alert and it worked well too.
    I move the Container and Control Steps to an Exception Block.....but when mapping error occurs It seems to be that the Exception isn't caught and the alert is never send...
    I did next steps:
    - I inserted a block and I entered the exception "runtime".
    - I add an exception handler branch and I entered the exception "runtime" in the   exception handler attribute.
    - In the transformation step I entered the exception "runtime".
    - I moved the Container operation and the Control step into the exception branch.
    My doubt is if I can catch any exception in the BPM. In this case the mapping error was due to a bad index using the substring function.
    Or is it necessary to throw the exception explicitly in the mapping ?.
    thanks a lot for your help.

    First, check whether your BPM instances have "COMPLETED" status in SWWL (or SXMB_MONI_BPE, but SWWL is simpler; don't delete any instances though ).
    If there are any instances with "ERROR" status in SWWL, then your BPM is having problem before that and is not even getting to the exception throwing step.
    You can double click the BPM name in order to go into technical workflow (and from there you can check which steps executed with errors).
    If all the instances are ok, make sure that the exception branch was not executed.
    Go into the BPM technical workflow and check which steps were executed. Make sure that the steps in exception branch were not.
    If they were executed, then the problem is with your alert. Maybe it was not defined correctly.
    If they were not, then the problem really is in exception throwing.
    Which exception did you expect to happen? Are you sure it had happened?
    Get the payload which is used in Transformation Step (from SXMB_MONI message which goes into BPM) and test it in Message Mapping (or Interface Mapping) test tab.
    Regards,
    Henrique.

  • XI Alerts not working for BPM

    We have been live with alert framework for some time, but we recently noticed we are not getting alerts when mapping fails within a BPM. 
    All other errors are being alerted to us properly.  Is there something we need to configure differently for BPM? 
    Thanks in advance,
    Michael

    Hi,
    Did you trigger alert from BPM ? Check the Alert sending step in the BPM.
    This SAP note on ALert Trougbleshooting may help u-913858
    Alerts triggered from BPM e.g- /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    In the BPM, u can configure the Exception Branch for the Mapping. Whenever  mapping exception occurs, you can trigger an alert
    Regards,
    Moorthy

  • Alerts in Integration Process (BPM)?

    We are just beginning to use Alerts in PI 7.1.  If an error occurs in an integration process (BPM), will it trigger an alert if the Alert Rule is defined wide open?  Or do you actually have to trigger the alert in the integration process with an additionl step to trigger the alert?

    The Alert has to be defined in ALRTCATDEF.....no matter where the alert comes from (IE, AE, BPE)
    If an error occurs in BPM and you have not mainatined proper exception handling for it then....and if the processing shows in red in SXMB_MONI then the alert will be raised as IE alert
    However if you have implemented exception handling for a step and then in that exception branch you raise an alert then your BPM will raise alert....the subject of your alert email will be Process <ProcessID>
    BPM related alert can be either with static text (using Alert Container Variables) or Dynamic text (using some value from payload)
    Please note that to raise an alert from BPM it is not compulsory to only raise it as a Dynamic Alert......static alert can also be raised.
    The documents which are available for lower releases are still applicable in alert creation.....so existing blogs/ docs should work
    Regards,
    Abhishek.

  • Exceptions in BPM

    I want to use Exceptions in BPM.
    In my block step I have created the Exceptions like Exceptions1 and Exceptions 2 etc.
    Now let us say if my Sender system is down then I want to use Exception1  or if the request is Bad then I want to use Exception2, how to handle it.
    Or if there is any blog that narrates about the Exceptions in BPM?

    Hi Mohini,
    You can go thro' this blog:-
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    I hope it helps.
    Regards.
    Praveen

  • 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

  • Office 365 App using NAPA - "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"

    Hello,
    I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code  (jquery code) in content editor web part on a page, its working fine, but when I am adding
    the same code in an app, its giving me error :  "The system cannot find the file specified. (Exception from HRESULT:
    0x80070002)" - 500 Internal Server error.
    (function () {
    // This code runs when the DOM is ready and creates a context object which is
    // needed to use the SharePoint object model
    $(document).ready(function () {
    //alert('In doc ready');
    $('.attachmentButton').change(function(event){
    var listName = 'UploadTest',
    itemId = 2;
    handleFileChange(listName,itemId,event.target.files);
    function handleFileChange(listName,itemId,files){
    alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
    alert('files.length :=' + files.length);
    var filereader = {},
    file = {},
    i=0;
    //loop over each file selected
    for(i = 0; i < files.length; i++) {
    alert('In for loop');
    file = files[i];
    filereader = new FileReader();
    filereader.filename = file.name;
    alert('filereader.filename :=' + filereader.filename);
    filereader.onload = function() {
    var data = this.result;
    var n=data.indexOf(";base64,") + 8;
    //alert('n :=' + n);
    //removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
    data= data.substring(n);
    //alert('data :=' + data);
    alert('Above SPServices this.filename :=' + this.filename);
    $().SPServices({
    operation: "AddAttachment",
    listName: listName,
    asynch: false,
    listItemID:itemId,
    fileName: this.filename,
    attachment: data,
    completefunc: function (xData, Status) {
    console.log('attachment upload complete',xData,status);
    alert('Status :=' + Status);
    if (Status.toLowerCase() == "error"){
    alert(xData.responseText);
    alert(xData.status);
    alert(xData.statusText);
    filereader.onabort = function() {
    alert("The upload was aborted.");
    filereader.onerror = function() {
    alert("An error occured while reading the file.");
    //fire the onload function giving it the dataurl
    filereader.readAsDataURL(file);
    alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
    alert(xData.status); - gives error - "500"
    alert(xData.statusText); - gives error - "Internal server error"
    Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
    Any suggestions, why I am getting this error in NAPA ?

    Hi,
    According to your post, my understanding is that you have an issue about adding attachments to list items in app.
    To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
    There are two articles about retrieve the list and list items in the host web, you can refer to them.
    http://www.dotnetcurry.com/showarticle.aspx?ID=1028
    http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
    What’s more, we can also use the REST API to achieve the same scenario.
    http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • Syncing Two Computers to 1 iPod

    I just got a new 80GB vieo iPod, imported my library from my mini and synced it to my TiBook at home...no problem. Then I purchased a song on my TiBook and can't get it to synch with the iPod. I have both computers "authorized". Any ideas on how to s

  • Production down : Data updation is getting queued

    Hi all, We are facing major problem in our production system. whatever transaction invoice,HU creation ,sales order creation etc...we do, number is getting generated but data doesn't get updated. it goes into queue. V1 , V2 update goes in queue. Pls

  • PDF form vs Fodm Guide

    My form is about 1.04 MB size and it takes around 10 seconds to render in the workspace. Will it render faster if i convert the PDF into form guide? Or any other way to decrease the rendering duration? -Nith

  • Two Blackberries synch to one Outlook

    Hi I have just one Outlook on my pc. I also have two blackberries - one for personal use and one for my own business use. Both are BIS. I should like to synch my outlook calendar, address book, notes etc to both blackberries; they are all currently s

  • HT1338 where can i download OS X 10.7

    hay guys where can i download OS X 10.7 snow leopard bcoz i want to update to Mountain Lion pls advice me