Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

Connect with experts and peers to elevate technical expertise, solve problems and share insights


#Data
#Data
#Businessautomation
 View Only

Using WebSphere MQ to emit events

  • 1.  Using WebSphere MQ to emit events

    Posted Thu May 30, 2013 07:35 AM
    HI All,

    I am new to Business Monitor, I have done the Limosouines example that was provided in the Integration Designer. I am able to create instances and generate events using the universal test client(UTC) , have used the sample xml file with the events. 
    Now, I want to generate events from WebSphere MQ, in the infocenter they have explained how to do it "Using the WebSphere MQ messaging provider", have followed all the steps.

    When I place a sample message in the local queue in the MQ,  and check the Common Base Event Browser, there are no events. The messages are not consumed, here are the logs

    [5/30/13 15:33:35:466 SGT] 00000060 SibMessage W [:] CWWMQ0007W: The message endpoint IBM_WBM_EMITTER_SERVICES#EventEmitterMDB.jar#MDBEmitter has been paused by the system. Message delivery failed to the endpoint more than 0 times. The last attempted delivery failed with the following error: javax.jms.TransactionRolledBackException:
    at com.ibm.mq.connector.inbound.WorkImpl.callDeliveryFailed(WorkImpl.java:511)
    at com.ibm.mq.connector.inbound.WorkImpl.xaStateChanged(WorkImpl.java:460)
    at com.ibm.mq.connector.xa.XAObservable.update(XAObservable.java:120)
    at com.ibm.mq.connector.xa.XARWrapper.rollback(XARWrapper.java:444)
    at com.ibm.tx.jta.impl.JTAXAResourceImpl.rollback(JTAXAResourceImpl.java:365)
    at com.ibm.tx.jta.impl.RegisteredResources.deliverOutcome(RegisteredResources.java:1664)
    at com.ibm.tx.jta.impl.RegisteredResources.distributeOutcome(RegisteredResources.java:1950)
    at com.ibm.tx.jta.impl.RegisteredResources.distributeRollback(RegisteredResources.java:2603)
    at com.ibm.tx.jta.impl.TransactionImpl.internalRollback(TransactionImpl.java:1981)
    at com.ibm.tx.jta.impl.TransactionImpl.internalRollback(TransactionImpl.java:1944)
    at com.ibm.tx.jta.impl.TransactionImpl.rollback(TransactionImpl.java:1346)
    at com.ibm.ws.tx.jta.TransactionImpl.rollback(TransactionImpl.java:3568)
    at com.ibm.ws.tx.jta.TranManagerImpl.rollback(TranManagerImpl.java:478)
    at com.ibm.tx.jta.impl.TranManagerSet.rollback(TranManagerSet.java:206)
    at com.ibm.ejs.csi.TranStrategy.rollback(TranStrategy.java:1180)
    at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:207)
    at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:579)
    at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4873)
    at com.ibm.ejs.container.MessageEndpointHandler.afterDelivery(MessageEndpointHandler.java:1533)
    at com.ibm.ejs.container.MessageEndpointHandler.invokeMessageEndpointMethod(MessageEndpointHandler.java:870)
    at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:831)
    at com.sun.proxy.$Proxy63.afterDelivery(Unknown Source)
    at com.ibm.mq.connector.inbound.WorkImpl.run(WorkImpl.java:362)
    at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:257)
    at java.security.AccessController.doPrivileged(AccessController.java:252)
    at javax.security.auth.Subject.doAs(Subject.java:495)
    at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:132)
    at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:260)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
    at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:606)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)
    .
    [5/30/13 15:33:36:694 SGT] 00000060 SibMessage W [:] CWSJY0003W: MQJCA4018: MessageEndpoint afterDelivery() call failed with: 'afterDelivery failure'
    [5/30/13 15:33:36:697 SGT] 00000060 MessageEndpoi W J2CA0140W: The Message Endpoint pause operation failed for ActivationSpec jms/eventemitter/actspecqueue (com.ibm.mq.connector.inbound.ActivationSpecImpl) and MDB Application IBM_WBM_EMITTER_SERVICES#EventEmitterMDB.jar#MDBEmitter because the endpoint is currently deactivated, stopped, or an unexpected exception occurred deactivating the endpoint.
    [5/30/13 15:33:36:700 SGT] 00000060 SibMessage W [:] CWWMQ0007W: The message endpoint IBM_WBM_EMITTER_SERVICES#EventEmitterMDB.jar#MDBEmitter has been paused by the system. Message delivery failed to the endpoint more than 0 times. The last attempted delivery failed with the following error: javax.resource.ResourceException: afterDelivery failure
    at com.ibm.ejs.container.MessageEndpointHandler.afterDelivery(MessageEndpointHandler.java:1542)
    at com.ibm.ejs.container.MessageEndpointHandler.invokeMessageEndpointMethod(MessageEndpointHandler.java:870)
    at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:831)
    at com.sun.proxy.$Proxy63.afterDelivery(Unknown Source)
    at com.ibm.mq.connector.inbound.WorkImpl.run(WorkImpl.java:362)
    at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:257)
    at java.security.AccessController.doPrivileged(AccessController.java:252)
    at javax.security.auth.Subject.doAs(Subject.java:495)
    at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:132)
    at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:260)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
    at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:606)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)
    Caused by: javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction marked rollbackonly
    at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:260)
    at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:579)
    at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4873)
    at com.ibm.ejs.container.MessageEndpointHandler.afterDelivery(MessageEndpointHandler.java:1533)
    ... 12 more
    Caused by: com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction marked rollbackonly
    ... 16 more