BAM Sensors

I am integrating a SOA App with BAM using the following path:
BPEL Activity --> Activity Sensor --> Sensor Action --> JMS --> EMS --> BAM ADC.
Note that I am not using the BAM Sensor Action in this test.
When tested, the JMS Message is duly put in the JMS Queue, the format is given below.
The problem is that the entire message format is put in the Queue, whereas I am interested only in the <Order> section which comes under
/actionData/payload/variableData/data/
The questions I have are
1) Is there a way to control what goes into the JMS Queue ?
2) The EMS configuration has a "pre-processing" option which can parse an XML, which is very non-intuitive. I am unable to make this work.
Can I have an example of how this works ?
JMS Message:
<actionData xmlns="http://xmlns.oracle.com/bpel/sensor">
<header>
<applicationName>default</applicationName>
<compositeName>POProcessing</compositeName>
<compositeInstanceId>210041</compositeInstanceId>
<compositeRevision>1.0</compositeRevision>
<compositeLabel>b34c92bb-8622-40cc-b509-c12740f3b8db</compositeLabel>
<componentName>approveLargeOrder</componentName>
<processName>approveLargeOrder</processName>
<processRevision>1.0</processRevision>
<domain>default</domain>
<instanceId>130020</instanceId>
<midTierInstance>PUNSEZ46662L.ad.infosys.com:8001</midTierInstance>
<timestamp>2009-12-31T12:57:39.128+05:30</timestamp>
<sensor sensorName="PendingApprovalActivitySensor" classname="oracle.tip.pc.services.reports.dca.agents.BpelActivitySensorAgent" kind="activity" target="assignCCNumber" xmlns:pc="http://xmlns.oracle.com/bpel/sensor" xmlns:ns2="http://xmlns.oracle.com/ns/order" xmlns:tns="http://xmlns.oracle.com/POProcessing/POProcessing/approveLargeOrder">
<activityConfig evalTime="all">
<variable outputDataType="OrderType" outputNamespace="http://xmlns.oracle.com/ns/order" target="$outputVariable/payload/ns2:Order"/>
</activityConfig>
</sensor>
</header>
<payload>
<activityData>
<activityType>assign</activityType>
<evalPoint>completion</evalPoint>
<durationInSeconds>0.0070</durationInSeconds>
<duration>P0Y0M0DT0H0M0.007S</duration>
</activityData>
<variableData>
<dataType>2005</dataType>
<data>
<Order xmlns:inp1="http://xmlns.oracle.com/ns/order" xmlns="http://xmlns.oracle.com/ns/order">
<inp1:customerId>1111</inp1:customerId>
<inp1:orderId>LARGE1-INVCC</inp1:orderId>
<inp1:prodName>Stereo</inp1:prodName>
<inp1:itemType>Music</inp1:itemType>
<inp1:price>150.99</inp1:price>
<inp1:qty>50</inp1:qty>
<inp1:status>Pending Approval</inp1:status>
<inp1:creditCardInfo>
<inp1:cardNumber>8765-8765-8765-8765</inp1:cardNumber>
<inp1:cardType>Mastercard</inp1:cardType>
</inp1:creditCardInfo>
</Order>
</data>
<queryName/>
<target>$outputVariable/payload/ns2:Order</target>
<updaterName>assignCCNumber</updaterName>
<updaterType>assign</updaterType>
</variableData>
</payload>
</actionData>
Edited by: user_jedi on Dec 31, 2009 1:56 AM

You can use advanced xml processing option in BAM including usign xsl to get to any attribute/node in xml.
See http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bam_ent_msg_sources.htm#CJAFGEBD
Please use bam 11.1.1.2.0.
There may be a way to limit the output generated by jms sensor action, please send that question to bpel forum.

Similar Messages

  • Can't create BAM Sensor Action - XSD schema file exists

    Hi,
    In JDeveloper, I created some activity sensors and when I try to create a BAM sensor action it complains about the schema definition of the variable and that it should not be inline in the WSDL.
    The fact is that my BPEL process communicates with an external web service, and the variables that I'm using in the process are of the type of the message defined in the WSDL of the web service. So in the WSDL file of my BPEL process, I import the WSDL of the web service. And in the WSDL file of the web service, the schema of the messages is defined in a XSD file not inline in the WSDL. Thus the schema is imported in the web service's wsdl.
    It looks like JDeveloper assumes that it is defined inline, but there is a schema file. Does somebody encounter this problem? Is there a workaround?
    Any help would be greatly appreciated.
    Amir

    Looks like I was wrong. I created a brand new project in Xcode and all I did as add "choose file name" to the applescript. It still gets a "EXCBADACCESS". I also tried a 'display dialog "Error"' in my applescript and it does the same thing.
    Here is the script the fails. Everything else in the project is default.
    script ChoosenewFile
    property parent : class "AMBundleAction"
    on runWithInputfromAction_error(input, anAction, errorRef)
    -- Add your code here, returning the data to be passed to the next action.
    display dialog "Error"
    return input
    end runWithInputfromAction_error
    end script
    In the debugger, this is the stack:
    #0 0x91184917 in objc_msgSend
    #1 0x63707472 in ??
    #2 0x16c01e36 in DecodeAEDescInternal
    #3 0x16c02b4b in DecodeObjectSpecifier
    #4 0x16c01c24 in DecodeAEDescInternal
    #5 0x16c022bb in DecodeAEList
    #6 0x16bccdd0 in ASExecuteEvent_PushSendStackFrame
    #7 0x16bccfcc in ASExecuteEvent
    #8 0x918026cb in callComponent_4444
    #9 0x16bc3d4a in AppleScriptComponent
    #10 0x917efcb6 in CallComponentDispatch
    #11 0x972455df in OSAExecuteEvent
    #12 0x00339ffe in +[BAObjectProto invokeScriptHandler:forObject:args:error:]
    #13 0x0033a363 in -[BAObjectProto invokeScriptHandler:args:error:]
    #14 0x0033b581 in -[BAObjectProto forwardInvocation:]
    #15 0x92f760c4 in __forwarding__
    #16 0x92f75bf2 in _forwarding_prep_0__
    #17 0x000718af in -[AMAction runWithInput:loopParent:]
    #18 0x00070d2f in -[AMWorkflowRunner runAction:withInput:loopParent:]
    #19 0x000c60a8 in -[AMWorkflowRunner runAction:]
    #20 0x0013261d in -[AMRunActionOperation main]
    #21 0x9094d34c in -[__NSOperationInternal start]
    #22 0x9094cfe0 in ___startOperations_block_invoke2
    #23 0x91caa7b8 in dispatch_call_block_andrelease
    #24 0x91c9c97e in dispatch_workerthread2
    #25 0x91c9c401 in pthreadwqthread
    #26 0x91c9c246 in start_wqthread
    Any more advice would be appreciated.
    Scott

  • BAM Sensor Action Failed

    Friends,
    Could someone help me understand where the issue is... I have created a BPEL Process with a Receive Activity to receive orders from a Partner Link. On this activity I have created a Sensor and a BAM Sensor Action to load a BAM Data Object with the received variable payload.
    This process deploys successfully, but does not insert the BAM Data Object. Going through the log, these are the error messages I see
    Caused by: ORABPEL-20301
    Data Publisher failed.
    The Reporting Data Publisher SensorActionforBAM failed.
    Please examine the log file for more details.
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:137)
         at com.collaxa.cube.engine.sensor.registry.BpelSensorActionInfo.publish(BpelSensorActionInfo.java:148)
         at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:93)
         ... 56 more
    Caused by: oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix xmlns
         at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:520)
         at oracle.xml.parser.v2.XMLDocument.createAttributeNS(XMLDocument.java:2166)
         at oracle.xml.parser.v2.XMLDocument.importNode(XMLDocument.java:1994)
         at oracle.xml.parser.v2.XMLDocument.importNode(XMLDocument.java:1983)
         at com.collaxa.cube.engine.sensor.dca.BpelVariableAgent.capture(BpelVariableAgent.java:120)
         at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedActivityData.getSensorData(BpelCapturedActivityData.java:135)
         at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedData.getFacade(BpelCapturedData.java:128)
         at com.collaxa.cube.engine.sensor.sa.FilteredDataPublisher.publish(FilteredDataPublisher.java:86)
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
         ... 58 more
    Pl. help me resolve this issue. Appreciate your help in advance.
    Thanks
    Ram

    Friends,
    Could someone help me understand where the issue is... I have created a BPEL Process with a Receive Activity to receive orders from a Partner Link. On this activity I have created a Sensor and a BAM Sensor Action to load a BAM Data Object with the received variable payload.
    This process deploys successfully, but does not insert the BAM Data Object. Going through the log, these are the error messages I see
    Caused by: ORABPEL-20301
    Data Publisher failed.
    The Reporting Data Publisher SensorActionforBAM failed.
    Please examine the log file for more details.
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:137)
         at com.collaxa.cube.engine.sensor.registry.BpelSensorActionInfo.publish(BpelSensorActionInfo.java:148)
         at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:93)
         ... 56 more
    Caused by: oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix xmlns
         at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:520)
         at oracle.xml.parser.v2.XMLDocument.createAttributeNS(XMLDocument.java:2166)
         at oracle.xml.parser.v2.XMLDocument.importNode(XMLDocument.java:1994)
         at oracle.xml.parser.v2.XMLDocument.importNode(XMLDocument.java:1983)
         at com.collaxa.cube.engine.sensor.dca.BpelVariableAgent.capture(BpelVariableAgent.java:120)
         at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedActivityData.getSensorData(BpelCapturedActivityData.java:135)
         at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedData.getFacade(BpelCapturedData.java:128)
         at com.collaxa.cube.engine.sensor.sa.FilteredDataPublisher.publish(FilteredDataPublisher.java:86)
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
         ... 58 more
    Pl. help me resolve this issue. Appreciate your help in advance.
    Thanks
    Ram

  • BAM Sensor in BPEL

    Hi,
    I'm new to BAM and am trying to use a BAM sensor in my BPEL process to populate the BAM data objects. I've created a BAM sensor variable and corresponding sensor action. The BPEL process executes as expected but the sensor does not seem to reflect any data.
    I'm obviously missing something but not sure what - I'm using SOA 11.1.1.3 and have tried using both activity and variable sensors.
    Any help would be much appreciated.
    Thanks,
    T

    Make sure you have the BAM adapter configured.
    11.1.1.3.0 doc link: http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10226/bam_config.htm#SOAAG9931
    See BPEL BAM Tutorial at
    http://www.oracle.com/technology/products/integration/bam/11g/tutorials11g/BPEL-BAMSensorsandAdapters.pdf
    See more samples and tutorials at
    http://www.oracle.com/technology/products/integration/bam/collateral/Samples11g.html

  • Hardcoded BAM server parameters when using BAM sensors

    The problem we're having is that when a BPEL process has BAM sensors, the BAM server configuration parameters are hardcoded in bpel.xml and sensorAction.xml.
    This causes problems when the process is being deployed to a different instance than the development instance.
    I solved the problem for the bpel.xml file with the <customize> ant task, but haven't found a solution yet for sensorAction.xml.
    Any suggestions?
    Thanks,
    Arnold van Koppen

    See..when the BAM Server is down the corresponding data objects wont be available to you..During the design time wat u do is create a variable which contains the elements dat u wanna monitor in the BAM...IN BAM u create data objects ..then u map the schema from the BPEL to the BAM Data Objects ...U need a BAM Server connection which pulls up the metadata from the server ..If the BAM Server is down u wont get the BAM DOs...to keep a back up u can use DB as the sensor action so that the data from the sensor action is written to the DB..Using a DB Adapter i think the data from the Reports schema can be written to the OracleBAM schema ...so that even if the BAM Server is down the data is written to the OracleBAM schema

  • How to see data in BAM from sensor on BPEL activity?

    Hello, I 'am working with BPEL on Jdeveloper (last version).
    I have putted sensors on some activity of my process. On an other machine I have putted the BAM server (last version) which is ON and I have the BAM connection on Jdevlepper. Now I try to see data on BAM from sensor but I can't.
    Can someone explain me how to do?
    (I just can build some data just like in a data base with BAM architect but I can't read and put to graphics the ones from the sensors)
    Thank's much
    JAck

    Hello,
    To answer your question, I have install BAM on the same machine where BPEL server is running.
    Now I steel can't get sensor's data from BPEL:
    With BAM architect I can build data, with BAM studio I can use that data to design graphics but when I try to feed data from BPEL it doesn't work because I just can't press the OK button!!
    In BPEL : When I try to Create BAM sensor action (from structure panel), I can't generate the xsl map file no action is done when pressing OK, create mapping or edit mapping button!

  • BPEL Sensor for BAM report transaction rollback exception, ORABPEL-05002

    HI,
    I meet a question about BPEL sensor to BAM, it often report below error for Transaction rollback exception and timed out. After this error last half an hour, BPEL will thoughout connect database error and out of Memory.
    It is running on BPEL/BAM 10.1.3.5.
    <2010-01-19 17:33:42,595> <INFO> <default.collaxa.cube.sensor> Flushed 2 rows in BAM batch
    <2010-01-19 17:33:42,600> <INFO> <default.collaxa.cube.sensor> Flushed 6 rows in BAM batch
    <2010-01-19 17:33:42,600> <INFO> <default.collaxa.cube.sensor> Flushed 4 rows in BAM batch
    <2010-01-19 17:33:42,603> <ERROR> <default.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
    javax.transaction.RollbackException: Timed out
         at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
         at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
         at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
         at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
         at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
         at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
         at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:139)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.transaction.RollbackException: Timed out
         at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
         at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
         at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
         at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
         at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
         ... 29 more
    <2010-01-19 17:33:42,604> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    <2010-01-19 17:33:42,605> <ERROR> <default.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
    javax.transaction.RollbackException: Timed out
         at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
         at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
         at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
         at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
         at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out
         at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
         at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:139)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.transaction.RollbackException: Timed out
         at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:633)
         at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
         at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
         at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
         at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
         ... 29 more
    After half an hour, BPEL will report below error log:
    ORABPEL-04067
    Cannot update invoke message.
    The process domain was unable to update the state of the invocation message "99e5b70b31758b56:3c0225db:126439fa400:48c0". The exception reported is: Io exception: Connection reset
    Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: UPDATE invoke_message SET state = ? WHERE message_guid = ?
    I am not sure these two error has any relationship.
    But it is an issue that BAM sensor ofter report transaction time out.

    sorry, I forgot the below things which I tried to tune the JMS.
    <property name="retryMaxCount">10</property>
    <property name="retryInterval">60</property>
    <property name="useJCAConnectionPool">true</property>
    <property name="maxSizeJCAConnectionPool">500</property>
    Thanks.

  • BAM and Sensors 040306

    I have seen that in BPEL we have " Create Sensor action " and Create BAM Sensor action". I don't find any documentation about "Create BAM sensor action " in BPEL developer Guide. Where is it?
    What is the best solution to implement sensors to comunicate with BAM ? using " Create Sensor action " and publish to a jms Topic or use " Create BAM sensor action" ?
    thanks
    Gonçalo Ribeiro

    hello once again,
    I need to configure BAM JNDI service Provider URL. and Initial context factory to get the information from a topic which is being written by a BPEL process sensor.
    In my sensor I have:
    Name: BAMPublisher
    Publish type: jms Topic
    Connection factory: jms/TopicConnectionFactory
    Publish Target: jms/demoTopic
    I have to get the jndi Name URL from my app server?! Where is it? The initial context factory?
    Second as soon as I get the information from the topic how can We access to that information? Could you please point me to the right documentation?
    Thanks
    Gonçalo Ribeiro

  • Sensors in BPEL (JMS Adapter)

    Hi there! I'm trying to send Sensor-Data into a MQQueue, but this always results in an
    error. The results are in the following Error-Log (sorry, some messages are german but the
    messages are nearly equal to english):
    Caused by: ORABPEL-12141
    ERRJMS_CONN_FAC_NOT_FOUND.
    Instanziieren von Connection Factory nicht möglich. JMS-Adapter konnte Connection Factory com.ibm.mq.jms.MQQueueConnectionFactory weder JNDI nicht finden noch als Java-Klasse instanziieren
    Weitere Informationen hierzu finden Sie in der Log-Datei.
         at oracle.tip.adapter.jms.JMS.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:207)
         at oracle.tip.adapter.jms.JMS.JMSConnectionFactoryFactory.getQueueConnectionFactory(JMSConnectionFactoryFactory.java:98)
         at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:191)
         at oracle.tip.adapter.jms.JMS.JMSConnection.<init>(JMSConnection.java:132)
         at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:426)
         at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createDefaultConnection(JmsManagedConnectionFactory.java:417)
         at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:380)
         at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:104)
         at oracle.tip.adapter.jms.JmsDefaultConnectionManager.allocateConnection(JmsDefaultConnectionManager.java:76)
         at oracle.tip.adapter.jms.JmsConnectionFactory.getConnection(JmsConnectionFactory.java:125)
         at com.collaxa.cube.engine.sensor.sa.publisher.JMSAdapterPublisher.publish(JMSAdapterPublisher.java:277)
         at com.collaxa.cube.engine.sensor.sa.FilteredDataPublisher.publish(FilteredDataPublisher.java:99)
         at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
         ... 83 more
    Caused by: javax.naming.NameNotFoundException: com.ibm.mq.jms.MQQueueConnectionFactory not found
         at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
    The following Steps were made:
    - I added two library-paths in the application.xml (D:\Programme\SOA_Suite\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\config\application.xml)
    <library path="../../home/lib/com.ibm.mq.jar"/>
    <library path="../../home/lib/com.ibm.mqjms.jar"/>
    - In the oc4j-ra.xml (D:\Programme\SOA_Suite\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\application-deployments\default\JmsAdapter\oc4j-ra.xml)
    a new connector-factory was added
         <connector-factory location="eis/mqseries/Queue" connector-name="Jms Adapter">
              <config-property name="connectionFactoryLocation" value="com.ibm.mq.jms.MQQueueConnectionFactory"/>
              <config-property name="factoryProperties" value="QueueManager=MQ_TEST;TransportType=1;HostName=10.1.1.1;Port=1414;Channel=SYSTEM.DEF.TEST"/>
              <config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE"/>
              <config-property name="isTopic" value="false"/>
              <config-property name="isTransacted" value="true"/>
              <config-property name="username" value=""/>
              <config-property name="password" value=""/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    I assume I have to enter a new JNDI-Entry somewhere but the JNDI-Browser in the Application Server is readonly.

    There are two ways to get data into BAM. There is the ADC web service that BPEL uses and then there's Enterprise Link which is the ETL tool that can grab data from Databases and other sources. I only used EL for jms and for ETLing data into a a BAM data object, I never used it for real time. The only real time BAM I've done is with BPEL projects with BAM sensors. I don't think EL is sophisticated enough for looking for changes in rows of data.
    Maybe you can have a db trigger that publishs the changed data to table specially designed for your task. Then you can create an EL "Plan" that runs periodically at a high enough rate that it appears to be in real time in BAM.
    Another possibility is to have the db trigger fire off an xml message that contains the data to the BAM ADC webservice. The BAM ADC web service is http://server:port/OracleBAM/Services/DataObject/DataObjectOperations.asmx.
    It has documentation on how to use it. I don't know if you're db can execute application code or not though.

  • BPEL BAM integration couldn't populate data in BAM repository.

    I have created one BPEL process which had BAM sensor at beginning and at end. I have created everything has mentioned as per tutorial of BAM and BPEL integration but I couldn't see any data in BAM Architect.
    In BPEL consoles the BPEL process run successfully but in Sensor value tab I don't see anything.
    What is wrong and How can I debug this problem?

    Usually errors relating to BAM will show up in the BPEL domain logs on the BPEL server.
    Check the deployment descriptor for your BPEL process and make sure that the BAM settings are correct: host name, port (should be 80), user name, password, and domain.

  • BPEL Sensor problem

    Hi guys,
    I'm newbie here with oracle bpel. I'm creating a dashboard in the oracle BAM. I've already incorporated a sensor and sensor action in my bpel but once i've test sensor values gave me "null". It seems that the data which is supposedly populated in the database in not happening thus my data object in BAM has no entry.Hope you guys could help me in this problem.
    Thanks a lot in advance!

    Thanks for the reply.
    I think theres a data in the field where i put the sensor the problem is that the data doesnt stored or copied in to the BAM data objects. By the way i'm doing the hello world as my prctice in creating a BAM sensor. Just want to populate the BAM data object with the input i've made in the hello world bpel process.
    Thanks again..

  • BPEL Sensor Deployment Descriptor Properties Question

    When a BPEL process is deployed to the container, several BAM properties are exposed at runtime via the BPEL deployment descriptor (BAM server connection properties). These can be modified via the BPEL Process Manager. The ideal being that when the BPEL process is deployed various places you can change the BAM sensor server properties without a re-compile.
    Unfortunately when I tried doing this, it seemed to try to work, but not successfully. When I changed the server settings it tried to access the new server, but with the old (or otherwise invalid) credentials -- even though I updated them. This locked the user account on the BAM server. I also noticed that once the BPEL process ran, the BAM server was continually bombarded with invalid requests (causing the account on the BAM server to lock as fast as it could be unlocked) until the BPEL engine was bounced.
    I'm not ruling out something weird in our environment, but has anyone else done this?
    Are the settings supposed to be in effect immediately after updating them or does it require a bounce of the BPEL container to properly re-initialize them?

    I think this was logged as a BPEL console bug. Updating BPEL descriptor for BAM server properties, (a) will not immediately take effect (b) updating BAMserver components have to be done 1 at a time (not 3 BAM params update) (c) BPEL server needs restart after each BAM server property change. Pl log a bug with BPEL server team with Oracle support. Validate the above with 1 property change per BPEL server restart.

  • How BAM can use to monitor B2B process?

    We have a BPEL process that is using B2B piece for connecting Trading partner and want to monitor whole process from Start of the BPEL to end of the B2B.
    Here are the questions.
    Q1. We know by using BAM sensor on BPEL process we can monitor the BPEL prcocess but how about B2B piece?
    Q2. What are the best practices for capturing and reading transactional data in various phases and functional acknowledgement messages from a B2B server?
    Thanks in advance for your reply.

    Please send a note to [email protected] for a document on BAM-B2B integration.

  • Sensor Data in BPEL

    Hi
    I have BAM Sensrs in BPEL process at various activities. The data is published to BAM DO. How to check the logs, payload any details related . The sensor tabl in the BPEL COnsole...Does that show any details....bcoz I dont see anything there....
    Guide where to look the excuted sensors payload and whether it executed succefully or errored out..
    The only place where I go and look now is domain.log in BPEL and BAm Server log.

    Hello,
    To answer your question, I have install BAM on the same machine where BPEL server is running.
    Now I steel can't get sensor's data from BPEL:
    With BAM architect I can build data, with BAM studio I can use that data to design graphics but when I try to feed data from BPEL it doesn't work because I just can't press the OK button!!
    In BPEL : When I try to Create BAM sensor action (from structure panel), I can't generate the xsl map file no action is done when pressing OK, create mapping or edit mapping button!

  • No sensor values have been generated for this instance.

    Hi
    We are trying to insert values of a sensor variable into Database using a Sensor Action.
    Sometimes,it is working fine.and sometimes not. We couldn't even find any logs regarding this issue.
    Please help me at the earliest.
    Thank you.

    Hi,
    BPEL Console does not show data published on BAM Sensors, to see on BPEL console you have use database sensor type.
    Bpel log (default.log) shows any errors encountered on sending data to BAM.
    Thanks

Maybe you are looking for

  • ITunes 12.0.1.26 update will not connect to internet, despite no connection problem on my PC?

    After upgrading to 12.0.1.26, podcasts won't update and cannot access iTunes Store. Get a message that I cannot access as not connected to internet. There is no problem with my connection. I've rebooted, delete & reloaded etc., still not working. Not

  • Payment clearing in customer

    hi can anybody tell how to do payment clearing in customer invoice , like f-32, residual , step by step process bcoz i not getting how to do

  • How to include a new Subject area?

    Hi, 1. In my Physical Layer I have ORCL Database and SH physical schema, how do I move it to the Business model and then to Presentation Layer. 2. Once it is moved to Presentation Layer will it appear in the Subject Area of the "Answers". 3. This is

  • Songs/albums being replaced with new content

    Hi, I got a 120gb iPod Classic for Christmas and am just getting used to using it. The problem I have at the moment is that when I sync new songs/albums to the ipod, they are replacing what was already on it!! For instance, I had 2 albums by the one

  • Defining constants/enums with const in JavaScript

    Hi folks, I like to define constant enums like the InDesign DOM already provides, e.g.: SpecialCharacters.FORCED_LINE_BREAK StateTypes.DOWN etc. I like to define such enums too. The only approach I found was: const MY_ENUM = {TOP:"top",DOWN:"down"} B