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!

Similar Messages

  • Parsing sensor data (out of JMS queue)

    Hi,
    I´m currently trying to implement sort of a monitor using sensors.
    I´ve managed to set up a JMS queue that is used by a sensor and I have casted the message i got to a com.evermind.server.jms.EvermindTextMessage. However, all I can get out of this is a string representation of the sensor action data in XML. It looks somehow like this:
    <actionData xmlns="http://xmlns.oracle.com/bpel/sensor"><header><sensor sensorName="activation" classn
    ame="oracle.tip.pc.services.reports.dca.agents.BpelActivitySensorAgent" kind="activity" target="setSwitchCondition"> <activityConfig evalTime="activation"/> </sensor><instanceId>29501</instanceId><midTierInstance>mxs2018:9700</midTierInstance><processName>SensorTest</proces
    sName><processRevision>1.0</processRevision><domain>default</domain><timestamp>2006-02-13T12:56:55.453+01:00</timestamp>
    </header><payload><activityData><activityType>assign</activityType><evalPoint>activation</evalPoint></activityData></pay
    load></actionData>
    So now, I´m searching for a simple solution to put this structure back in an java-object so I can easily get the different parts I need. I´ve found a schema dealing with sensors under OraBPELPM\integration\orabpel\system\xmllib\Sensor.xsd and have translated this via schemac to classes, but there seems to be no class for the element "actionData", as this is also not mentioned in the schemas.
    I´m currently using my own parser/handler (SAX), but this is no satisfying solution.
    I´ve searched almost everywhere, but it seems, noone has ever dealed with this.
    Any suggestions or ideas?
    Thnx in advance,
    Max
    Message was edited by:
    mxs

    Hi Clemens,
    schemac has indeed included this one (SensorAction.xsd) by itself - all classes are generated correctly (including SensorAction/SensorActionProperty/etc). Nevertheless it´s somehow useless, because those sensor schemas seem to be a definition of the sensor itself rather than the data it produces.
    As you can see in the schemas, there is no definition for either a "header", nor a "actionData" or "activityData". I could (for example) extract the node "sensor" and feed it to the proper class - same goes for inner node "activityConfig". But all those other values (providing most of the information i need) don´t have a matching structure in the schemas.
    Before I used JMS, I have tried a custom sensor class that implements com.oracle.bpel.sensor.DataPublisher. In this case I´m getting the information I need from com.oracle.bpel.sensor.schemas.ITSensorActionData and can extract the header and payload from there. This leads me to the conclusion that there is (somewhere) another XSD describing the sensor data - or did I get something completely wrong?
    Greetings,
    Max

  • Send Data from BPEL to BAM

    Hello, I have problem right now. I tried to send data from bpel to BAM (without enterprise link) but It failed. Then I found error like this:
    java.io.IOException: URL is invalid /OracleBAMWS/inspection.wsil [407]
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BAMServerConnection.testConnection(BAMServerConnection.java:289)
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BamEndpoint.testEndpoint(BamEndpoint.java:444)
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BamEndpoint.testConnection(BamEndpoint.java:373)
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BamEndpoint.init(BamEndpoint.java:119)
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BamDataObjectMetadata.pingBamAndFlushExceptionQueue(BamDataObjectMetadata.java:221)
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BamJob.pingAction(BamJob.java:69)
         at com.collaxa.cube.engine.sensor.sa.publisher.bam.BamJob.execute(BamJob.java:58)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    I don't know why it check in 'OracleBAMWS', I tried http://localhost/oraclebam/OracleBAM/inspection.wsil and it works, but when I tried http://localhost/oraclebam/OracleBAMWS/inspection.wsil the page can't be found. How to fix this? And I want to know where 'OracleBAMWS' declaration come from?
    Just for info, I'm using version 101330.
    thx

    most likely your BPEL and BAM servers are not at the same version level. if your BPEL is 10.1.3.4, your BAM must be 10.1.3.4 as well.

  • I2C interface (Sensor Data Acquisition) LabVIEW

    Hi all!
    Hope you are doing great!
    Well I have a question which is more about asking all you for an idea!
    The Situation:
    I have a circuit board which has an On-Off Valve, Digital pressure sensors (manufacturer AMD) and Humidity/Temperature Sensors (make- IST Hygrosens). On the board all the sensors communicate as I2C slave devices and all the data from the sensors is read into an I2C --> USB adapter chip which further connects to the PC via normal USB cable.
    Additional to this board, There is a Relay circuit with a simple 1-pole relay which controls an on-off valve on the above Circuit board. This valve is controlled totally separate via a coaxial cable from the relay directly to the Valve. But the relay board has a I2C interface and it also acts as a slave device. The relay board has the same I2C --> USB adapter chip.
    Both the Relay board and Sensor board connect via USB to the PC which I suppose is the Master device.
    The software code written for this arrangement and Sensor data acquisition is too old and there are a lot of problems coming. I have almost given up troubleshooting..
    I now want to translate this automation system onto LabVIEW. I searched the NI website where there is a DAC card called - USB8451 which supports I2C interface... I am a beginner in LabVIEW and cant really make sense out of how should I go about implementing this system on LabVIEW..
    If you guys can please help me out to atleast start (like what all hardware I would need etc..), to have a clear picture, it would be great help!!
    Looking forward to your inputs and Thank you so much in advance!
    Cheers!
    Pramit

    NI provides a LabVIEW API for the USB8451.  If you use the USB8451, you would use the provided API to write a program that controls the USB8451 and you would do all of the I2C communication in your program.  This would mean using functions / SubVI's to connect to the USB8451 and then perform I2C operations through it.
    If you use USB already on your device, then you would probably use NI-VISA as the driver and have to get / write your own API to talk to the specific device.  The manufacturer may have a LabVIEW (or other) API available for talking to the device that you could get.  If not, then you would have to understand the details of how to communicate with the device and then write an API using NI-VISA serial functions.  This would mean making NI-VISA be the assigned driver for the device and then using VISA Serial functions / SubVI's to send the messages and receive the responses.

  • Service reads data but Bpel process does not start

    i have a very simple project. I have db2(as400) adapter and it reads data, i will receive data, transfom and send to oracle database. I deployed the project successfuly but when instance start i see the service reads the data but bpel process does not start and and there is no error. At the flow chart there is only readAS400 partnerlink, there is no bpelprocess. In the partnerlink i am usin polling, i read the data's with 1 and update to 2. It reads but dont update to 2.
    In deploy step and when instance starts there is no errors. But when i am deploying i get a warning but i dont know it's related with this situation.
    (Warning: property "activationAgent.readAs400.className" may not be understood by BPEL component BPELProcessEqpType - it will likely be ignored.)
    Do you have any suggestion ? Thanks in advance.

    check the recovery console, the bpel process possibly is going into manual recovery,
    Another thing you might wanna try is using checkpoints in your process..
    also, instead of getting the db adapter to instantiate the process, try a simpler process just to see if the db adapter is working or not..
    A normal process, which you manually instantiate from em console, with the db adapter in it after the recevie activity
    Edited by: AshishSharma on Jun 24, 2010 5:48 PM

  • XSD validation for incoming data into BPEL process

    Please suggest how to validate XSD incoming data into BPEL process.
    I just wanted to verify the data before entering into BPEL

    Hi,
    I guess i am replying very late.
    In BPEL 2.0 we have an activity called "Validate" which can do the XSD validations.
    "Lets Learn Oracle SOA: Validate XML schema In BPEL"
    Regards,
    Chinmaya

  • Mapping sensor data to process flows

    Hi,
    I´ve implemented a sensor-action that uses a JMS-queue to report its data. I´ve specified a few sensors in the process I´m calling as well as all processes called by that first one.
    This is ment to monitor the process workflow resulting in a graph that represents the flow of the different processes visited.
    To get to the point: when that first process is called twice (or even more often) at a time I get a whole bunch of sensor data, but cannot distinquish their origin - either from the first flow or the second one. Since I´m using not only one process I cannot use the instance-id as a reference. I was thinking of passing sort of a generated id (timestamp) through all processes.
    Any ideas or suggestions?
    Thanks in advance,
    Max

    You can use a wrl file with the 3D picture control. How you map your values is optional. I have used color coded sphere at the locations of interest.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Sort data Date wise(YYYY-MM-Date) in BPEL output

    HI,
    Can any one help me, how to write code for sort data Date wise(YYYY-MM-Date) .
    I pass the input as Name from the service wsdl(Exposed Services) and its call the third party service(External References) , its return the output like below one,
    Name:Vodafone
    Pole:INdia
    End Date:2012-05-12
    Name:Airtel
    Pole:USA
    End Date:2012-05-13
    Name:Uninor
    Pole:Canda
    End Date:2020-10-13
    Name:Celltell
    Pole:INdia
    End Date:2011-03-21
    Above o/p in Random way, but i need this one in sort data date wise.
    Finally i need output based on the latest End Date..
    like,
    Name:Uninor
    Pole:Canda
    End Date:2020-10-13
    Name:Airtel
    Pole:USA
    End Date:2012-05-13
    Name:Vodafone
    Pole:INdia
    End Date:2012-05-12
    Name:Celltell
    Pole:INdia
    End Date:2011-03-21.
    Could you please help me the format of code, and where to i implement this one. its very urgrnt.
    Regards,
    Harsih

    Hi
    Sukanya,
    Thanks for ur quick replyy, i fetch data from external reference onlyy. If i fetch data from DB what u said its exactly right.
    Re: Sort data Date wise(YYYY-MM-Date) in BPEL output 

  • Oracle data into BPEL

    Hi,
    I am new to this forum so pls. pardon me if I am not familier with the rules. I need to know how to integrate DB Adapter data into BPEL rules engine. Actually, based on a status column value in Oracle table this rules engine would guide it to a human task. I need help to do this.
    Thx,

    Hi
    I am exactly working on the same scenario as below and wanted to use the Oracle Apps Adapter
    1. Import the CSV files using File Adapter.
    2. Move the CSV data into Oracle Staging Table using Databse Adapter.
    3. Validate the Record by PL/SQL Package that i publish as WebService.
    4. Move the Validated Record to Oracle Base table using Apps Adapter.
    I created a package for validating the data and call the Oracle Seeded APIs and registered the same as a concurrent program. Now when i am trying to find the same concurrent program through apps adapter I couldn't find.
    Am I missing something? Or do I have only one option to call the Concurrent Program through DB Adapter?
    Can any one help me out please

  • Creating streams and sensor data hub

    Hi all,
    I am working on the Getting Started example from OTN ( "HandsOnSession.pdf" )
    and in the step to create stream and sensor data hub, am having a problem.
    I am working with the Standalone SES v10.1.2 running on a Linux OS.
    While running this command at the Linux Terminal,
    sqlplus system/welcome1@orcl
    I get a -bash: sqlplus command not found error
    I am in the <filepath>/edge/sql $ when I execute it.But I observed that my Oracle edge server install folder doesnot have a sqlplus folder which I think is by default installed in the Oracle_Home folder. There is a sqlj folder though , but am not familiar much with sqlj.
    Could anyone advise on how to connect to the database and create he SDH tables.
    Also in the sqlplus system/welcome1@orcl command, could anyone confirm if the syntax is as below,
    sqlplus <username>/<password>@orcl
    where
    <username> = username used to install the Edge server install
    <password> = password used to install the Edge server install
    would appreciate your response,
    Thanks,
    Vijay

    Hi Vijay!
    The EdgeServer doesn't have a full Oracle installation. Therefore a client tool such as sqlplus is not present. Install a Oracle Database on this machine (as I suspect you do not have a database yet) and use the sqlplus it comes with.
    cu
    Andreas

  • How to extract month from given date in bpel??

    Hi friends hi need some information  regarding dates in BPEL.. Here in these I taking date as input which type is also date type.Then required output is month in number format.. Here I  used Assign activity and in assign activity,I took month-from-date and passed argument to this function.But it raised an error "internal Xpath error" Any one can you give me ideas please....

    First convert you date into datetime and then use the month-from-datetime function.
    Regards,
    Anshul

  • How to use multithreading to access sensor data?

    I'm trying to access sensor data on another thread but keep getting error - No overload for 'OnSensorChanged' matches delegate 'System.Threading.ThreadStart' What am I doing wrong?
            public string str
    { get; set; }
            public void OnSensorChanged(SensorEvent e)
                if (e != null)
                     str
    = e.Values [2].ToString("0.0");
            public void button_OnClick (object sender, EventArgs eventArgs)
                Setup setup = new Setup();
                Thread newThread = new Thread(new ThreadStart(setup.OnSensorChanged));
                newThread.Start();
                newThread.Join();
                newThread.Abort();
                       _text.Text = str;

    Hi Kringle,
    >>No overload for 'OnSensorChanged' matches delegate 'System.Threading.ThreadStart'
    This exception indictates that the method signature for OnSensorChanged does not match the signature defined by a ThreadStart delegate. You need to pass a SensorEvent object into this method, for example:
    Thread newThread = new Thread(setup.OnSensorChanged);
    newThread.Start(new SensorEvent());
    Reference:
    https://msdn.microsoft.com/en-us/library/system.threading.parameterizedthreadstart%28v=vs.110%29.aspx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sensor logs on BPEL Console Sensor tab

    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.

    This is a known bug.
    I think it is resolved in SP3.
    Regards
    Ingo

  • Creating of a Sensor Action in BPEL ("OK button" out of order)

    Hello, have a problem creating BAM Sensor Actions in JDeveloper version 10.1.3.2. In the "Create Sensor Action" dialog I can fill in all the required data but I'm not able to close the dialog using the "OK" button. The button can be clicked but nothing happens. This also occures to the "Create Mapping" and "Edit Mapping" buttons next to the "Map File" text field. So I can't generate the .xsl file.
    (I have folowed this tuto : http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/sensors.htm ; but nothink is writen about that)
    Does someone know what can I do to make it work?
    Thank's

    check the BAM forum post here:
    Re: BPEL and BAM: Problem creating Sensor Actions in JDeveloper
    it should help.

  • How to create a type of 'alarm event' based on acquired sensor data and system time?

    Hello all,
    I'm fairly new to LabVIEW and have successfully created a VI that reads voltage data from sensors.  Each sensor outputs 2 voltage values and I treat these values as 2 different DBL values.  I'd like to be able to record each voltage value as a base and then compare the subsequent data readings with that base.  Once the base is determined, I'd like a sort of 'variable' set as "TIME" to be recorded at the moment the base voltage is recorded.
    The alarm should occur (or anything Boolean set to TRUE I guess) once the continuously read voltage remains within certain limits for about 2 hours.  I know I can compare the system time w/ the "TIME" that the voltage base value was recorded.  If the voltage readings escape those limits, I'd like the voltage base value reset and the TIME set to the corresponding system time again.
    I apologize in advance if this I haven't' described my problem well, but if anyone could help me figure out the best way to create this code, I would appreciate it much!
    Thanks!
    Solved!
    Go to Solution.

    ill try to illustrate a couple scenarios:
    keep in mind that i dont necessarily want the voltages in these specific ranges, but just a range of +/- 20 mV ... in an above post i refer to a "base" voltage reading, in this case that would be 200 mV for V1 and 400 mV for V2, just because the voltage has shifted to those values for an extended amount of time each (> 2 seconds)
    Scenario 1
    1:00 pm
    Sensor readings
    Voltage 1: 200 mV
    Voltage 2: 400 mV
    between 1:00 and 3:00 pm:
    Voltage 1 does not deviate from 180-220 mV range
    Voltage 2 does not deviate from 380-420 mV range
    at 3:00pm I want an alert/alarm/Boolean to change to 'true'
    Scenario 2
    1:00 pm
    Sensor readings
    Voltage 1: 200 mV
    Voltage 2: 400 mV
    at 1:45 pm:
    Voltage 1: 2 mV
    Voltage 2: 600 mV
    Since the voltage has shifted out of the range, i want the new base voltage to equal whatever it changed to out of the range, and also the time spent within the new range (2 +/- 20 mV and 600 +/- 20 mV, respectively for V1 and V2) would be reset, so a new 2-hour counter would begin

Maybe you are looking for

  • Vendor Number/Name in Asset Report

    Hi Friends, Is there any standard report for Assets which gives Vendor Number/Name also? Thanks & Regards, Sajan C P

  • Content conversion File Query.

    Hii, I wanted a little help with the content conversion. I have mentioned the parameters bleow: Document Name: MT_Vault_TRY RecordStructure: DT_DLY_DEPOSIT1.* Key Field Name: DT_DLY_DEPOSIT1.STRNBR parameters: DT_DLY_DEPOSIT1.fieldNames STRNBR,SLSDT,

  • DVDSP 3 Not Importing m2v file, Unexpectedley Quits

    I'm experiencing a very consistent quit, and I'm looking for a work around. In trying to import an asset, I've created a reference movie file, and in the same folder placed the two compressed pieces that I'm trying to import (.aiff and .m2v). I can i

  • BDC program using HR ABAP

    Hi, I am new to HR ABAP . Can anybody send me an end to end sample BDC program using HR ABAP. I have a requirement  to develop a program. Please give the sample file which  has the sample data to upload to SAP. Rgds, Sofia

  • Class loader and Byte code verifier

    Can some one tell me what these stuff do ?