Polling DB Adapter example by Oracle

Hi,
I am trying to implement the polling DB adapter example provided by oracle.I am using the option of deleting the rows after they were read.The below are my sql queries created.
Polling SQL:
SELECT TITLE, DIRECTOR, STARRING, SYNOPSIS, GENRE, RUN_TIME, RELEASE_DATE, RATED, RATING, VIEWER_RATING, STATUS, TOTAL_GROSS, DELETED, SEQUENCENO, LAST_UPDATED, POLLING_STRATEGY FROM MOVIES_IN WHERE (POLLING_STRATEGY = 'Delete') ORDER BY TITLE ASC
After Read SQL:
DELETE FROM MOVIES_IN WHERE (TITLE = #TITLE).
In the Polling SQL when i use the condition POLLING_STRATEGY = 'Delete',it gives me the following exceptions in the soa server log and polling doesnt happen,although i have updated the polling_strategy colum value as 'Delete'.
<May 11, 2012 7:22:22 AM IST> <Error> <oracle.soa.adapter> <BEA-000000> <Database Adapter PollingDbAdapters <oracle.tip.adapter.db.InboundWork handleException> Encountered a fatal exception while polling. Will continue polling but with minimal logging. Please investigate the fault and manua
DBActivationSpec Polling Exception.
Query name: [DeleteAdapterSelect], Descriptor name: [DeleteAdapter.MoviesIn]. Polling the database for events failed on this iteration.
Caused by javax.resource.spi.InvalidPropertyException: BINDING.JCA-11615
Invalid Property Exception.
The property [DBActivationSpec.pollingStrategy] is invalid.
Caused by java.lang.ClassNotFoundException: .
Make sure the property is valid in the interaction (activation) spec by editing its definition in the wsdl. Refer to the Configuring the Database Adapter Guide.
This exception is considered not retriable, likely due to a modelling mistake. This polling process will shut down, unless the fault is related to processing a particular row, in which case polling will continue but the row will be rejected (faulted).
at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:690)
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:656)
at oracle.tip.adapter.db.exceptions.DBResourceException.inboundReadException(DBResourceException.java:491)
at oracle.tip.adapter.db.InboundWork.handleException(InboundWork.java:983)
at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:568)
at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: javax.resource.spi.InvalidPropertyException: BINDING.JCA-11615
Invalid Property Exception.
The property [DBActivationSpec.pollingStrategy] is invalid.
Caused by java.lang.ClassNotFoundException: .
Make sure the property is valid in the interaction (activation) spec by editing its definition in the wsdl. Refer to the Configuring the Database Adapter Guide.
at oracle.tip.adapter.db.DBActivationSpec.createPollingStrategy(DBActivationSpec.java:437)
at oracle.tip.adapter.db.InboundWork.initPollingStrategy(InboundWork.java:476)
at oracle.tip.adapter.db.InboundWork.init(InboundWork.java:368)
at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:564)
... 4 more
>
java.lang.NullPointerException
at oracle.tip.adapter.db.InboundWork.handleException(InboundWork.java:1047)
at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:568)
at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
[TopLink Info]: 2012.05.11 07:25:11.098--ServerSession(672505459)--TopLink, version: Oracle TopLink - 11g Release 1 (11.1.1.6.0) (Build 111018)
[TopLink Info]: 2012.05.11 07:25:11.099--ServerSession(672505459)--Server: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050
[TopLink Info]: 2012.05.11 07:25:11.110--ServerSession(672505459)--businessrules_session_oracle login successful
<May 11, 2012 7:33:47 AM IST> <Warning> <Log Management> <BEA-170011> <The LogBroadcaster on this server failed to broadcast log messages to the admin server. The Admin server may not be running. Message broadcasts to the admin server will be disabled.>
<May 11, 2012 8:04:10 AM IST> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
<May 11, 2012 8:04:10 AM IST> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
<May 11, 2012 8:04:40 AM IST> <Notice> <WebLogicServer> <BEA-000378> <Server failed to shutdown within the configured timeout of 30 seconds. The server process will exit now.>
<May 11, 2012 8:04:40 AM IST> <Error> <> <BEA-000000> <cannot load libary 'stackdump': java.lang.UnsatisfiedLinkError: no stackdump in java.library.path
Can any of you please guide.Thanks in Advance
Thanks
Manish

Hi Manish,
Can you copy paste your .jca file?
I think the problem is with the name 'pollingStrategy'. Verify if the property used in the .jca file is PollingStrategy (Use Capital 'P').
Regards,
Neeraj Sehgal

Similar Messages

  • Pre-configure of AQ Adapter example

    Hi all,
    Could anyone tell me if it is possible to run AQ Adapter example in Oracle Lite?
    Would you like to give me some steps?
    (For example, modify "oc4j-ra.xml" and restart BPEL)
    Any reply are welcome and thank you very much.
    Roy

    OracleAQ is only available in the 'real' Oracle database, not in Oracle Lite.
    So you should install a 10g Database (e.g. the free Express Edition) to try this out.

  • How to specify custom SQL in polling db adapter with logical delete option

    Hi all,
    I am writing a SOA composite app using JDeveloper SOA Suite 11.1.1.4 connecting to a SQL Server db using a polling DB Adapter with the logical delete option to send data to a BPEL process.
    I have requirements which go beyond what is supported in the JDeveloper UI for DB Adapter polling options, namely:
    * update more than one column to mark each row read, and
    * specify different SQL for the logical delete operation based on whether bpel processing of the data polled was successful or not.
    A complicating factor is that the polling involves two tables. Here is my full use-case:
    1) Polling will select data derived from two tables: e.g. 'headers' and 'details' simplified for this example:
    table: headers
    hid - primary key
    name - data label
    status - 'unprocessed', 'processed', or 'error'
    processedDate - null when data is loaded, set to current datetime when row is processed
    table: details
    hid - foreign key pointed at header.hid
    attr - data attribute name
    value - value of data attribute
    2) There is a many:1 relationship between detail and header rows through the hid columns. The db adapter polling SELECT shall return results from an outer join consisting of one header row and the associated detail rows where header.status = 'unprocessed' and header.hid = details.hid. (This is supported by the Jdeveloper UI)
    3) The polled data will be sent to be processed by a bpel process:
    3.1) If the bpel processing succeeds, the logical delete (UPDATE) operation shall set header.status = 'processed', and header.processedDate = 'getdate()'.
    3.2) If bpel processing fails (e.g. hits a data error while processing the selected data) the logical delete (UPDATE) operation shall set header.status = 'failed', header.processedDate = 'getdate()', and header.errorMsg = '{some text returned from bpel}'.
    Several parts of #3 are not supported by the JDeveloper UI: updating multiple columns to mark the row processed, using getdate() to populate a value of one of those column updates, doing different update operations based on the results of the BPEL processing of the data (success or error), and using data obtained from BPEL processing as a value of those column updates (error message).
    I have found examples which describe specifying custom SQL using the polling delete option to create a template then modifying the toplink file(s) to specify custom select and update SQL to implement a logical delete. (e.g. http://dlimiter.wordpress.com/2009/11/05/advanced-logic-in-oracle-bpel-polling-database-adapter/ and http://myexperienceswithsoa.blogspot.com/2010/06/db-adapter-polling-tricks.html). But none of them match what I've got in my project, in the first case because maybe because I'm using a higher version of JDeveloper, and in the second I think because in my case two tables are involved.
    Any suggestions would be appreciated. Thanks, John

    Hi John,
    You've raised a good scenario.
    First of all let me say that the purpose of the DB polling transaction, is to have an option to initiate a process from a DB table/view and not to update multiple fields in a table (or have other complex manipulation on the table).
    So, when choose to update a field in a record, after reading it, you are "telling" the engine not to poll this record again. Sure, i guess you can find a solution/workaround for it, but I don't think this is the way....
    The question now is what to do?
    You can have another DB adapter where you can update the data after finishing the process. In that case, after reading the data (on polling transaction) - update the header.status = 'processed' for example, and after processing the selected data update the rest of the fields.
    Hope it make some sense to you.
    Arik

  • Use of current time for polling Database Adapter query

    I am writing a simple BPEL process with a Polling Database Adapter and a Recieve. The idea is that we are polling an XE database for any entries in a TRIP table which have an expiration date/time field that has passed.
    The Adapter was build using JDeveloper 10.1.3.2 (with Oracle Application Server patched to 10.1.3.3.0) as a "Poll for New Changed Records in a Table" Operation type with a STATUS field (0 for live, 1 for expired) as the Logical Delete Field.
    I was unable to find a way to generate a SELECT query expression with the wizard that would allow me to use current/system time as an attribute, so I finished the wizard and edited the Toplink Descriptor to use a custom SQL expression for the query. This resulted in the following code in the toplink_mappings.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)"
    xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>ExpiredTripPoller</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>ExpiredTripPoller.Trip</opm:class>
    <opm:alias>Trip</opm:alias>
    <opm:primary-key>
    <opm:field table="TRIP" name="ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy">
    <opm:queries>
    <opm:query name="ExpiredTripPoller" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:call xsi:type="toplink:sql-call">
    <toplink:sql>SELECT ID, LPN, START_TIME, EXPIRY_TIME, STATUS FROM TRIP WHERE ((STATUS = '0') AND (EXPIRY_TIME < SYSDATE)) ORDER BY EXPIRY_TIME ASC</toplink:sql>
    </toplink:call>
    <toplink:reference-class>ExpiredTripPoller.Trip</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    <opm:query name="findAllTrip" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>ExpiredTripPoller.Trip</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    </opm:queries>
    <toplink:does-exist-query xsi:type="toplink:does-exist-query">
    <toplink:existence-check>check-database</toplink:existence-check>
    </toplink:does-exist-query>
    <toplink:read-all-query xsi:type="toplink:read-all-query">
    <toplink:reference-class>ExpiredTripPoller.Trip</toplink:reference-class>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </toplink:read-all-query>
    </opm:querying>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>id</opm:attribute-name>
    <opm:field table="TRIP" name="ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.math.BigDecimal</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>lpn</opm:attribute-name>
    <opm:field table="TRIP" name="LPN" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>startTime</opm:attribute-name>
    <opm:field table="TRIP" name="START_TIME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>expiryTime</opm:attribute-name>
    <opm:field table="TRIP" name="EXPIRY_TIME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>status</opm:attribute-name>
    <opm:field table="TRIP" name="STATUS" xsi:type="opm:column"/>
    <opm:attribute-classification>java.math.BigDecimal</opm:attribute-classification>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    <toplink:always-refresh>true</toplink:always-refresh>
    </toplink:caching>
    <toplink:remote-caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    </toplink:remote-caching>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="TRIP"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    </opm:class-mapping-descriptors>
    </toplink:object-persistence>
    To test I used the above custom SQL at the command line and it filtered the records by EXPIRY_TIME as expected.
    When deployed, the polling process updates the STATUS file dof table entries, but all entries with status 0 regardless of EXPIRY_DATE. My modification appears to be being ignored. I was unsure as to whether the QUERY was being determined in some other way so I modified the descriptor (with the toplink expression editor) to compare against a literal time value, producing the following modified toplink_mappings.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)"
    xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>ExpiredTripPoller</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>ExpiredTripPoller.Trip</opm:class>
    <opm:alias>Trip</opm:alias>
    <opm:primary-key>
    <opm:field table="TRIP" name="ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy">
    <opm:queries>
    <opm:query name="ExpiredTripPoller" xsi:type="toplink:read-all-query">
    <opm:criteria operator="lessThan" xsi:type="toplink:relation-expression">
    <toplink:left name="expiryTime" xsi:type="toplink:query-key-expression">
    <toplink:base xsi:type="toplink:base-expression"/>
    </toplink:left>
    <toplink:right xsi:type="toplink:constant-expression">
    <toplink:value xsi:type="xsd:date">2007-07-30</toplink:value>
    </toplink:right>
    </opm:criteria>
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>ExpiredTripPoller.Trip</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    <opm:query name="findAllTrip" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>ExpiredTripPoller.Trip</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    </opm:queries>
    <toplink:does-exist-query xsi:type="toplink:does-exist-query">
    <toplink:existence-check>check-database</toplink:existence-check>
    </toplink:does-exist-query>
    <toplink:read-all-query xsi:type="toplink:read-all-query">
    <toplink:reference-class>ExpiredTripPoller.Trip</toplink:reference-class>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </toplink:read-all-query>
    </opm:querying>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>id</opm:attribute-name>
    <opm:field table="TRIP" name="ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.math.BigDecimal</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>lpn</opm:attribute-name>
    <opm:field table="TRIP" name="LPN" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>startTime</opm:attribute-name>
    <opm:field table="TRIP" name="START_TIME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>expiryTime</opm:attribute-name>
    <opm:field table="TRIP" name="EXPIRY_TIME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>status</opm:attribute-name>
    <opm:field table="TRIP" name="STATUS" xsi:type="opm:column"/>
    <opm:attribute-classification>java.math.BigDecimal</opm:attribute-classification>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    <toplink:always-refresh>true</toplink:always-refresh>
    </toplink:caching>
    <toplink:remote-caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    </toplink:remote-caching>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="TRIP"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    </opm:class-mapping-descriptors>
    </toplink:object-persistence>
    On deployment, this version of the BPEL process behaved as expected - only modifying the records with EXPIRY_TIME less thatn the literal time specified. (Also, I can't really pass in the time as a parameter as this is a polling model).
    Can anyone shed any light on what is happening or suggest how I might go about polling in the desired way?
    Cheers

    Please take a look at this article which states SYSDATE is not supported in a
    where clause.
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/qualcomm-bpel.html
    Excerpt from the article:
    Here are three important things you should do in implementing the above design:
    Have the status of the record being processed stored in the database. The status includes the process state, next process attempt time, and processing attempt count.
    Create an updatable view that exposes only records that are ready to be processed. A view is needed because the database adapter cannot handle a where clause that compares against SYSDATE.
    Design logic that determines if a process instance that has faulted should be retried and when the retry should occur. This information will be updated in the database by use of a stored procedure. This can also be done with an update partner link and additional logic in BPEL.
    mahalo,
    a iii

  • PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Studio.
    http://www.4shared.com/file/128256802/f20abc7a/PAPI-WS_for_Oracle_BPM_Studio.html
    Be sure to use the project that is in the zip file for this example.
    If you need an example of how to use PAPI-WS on Oracle BPM Enterprise, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    Hope this helps,
    Dan

    Hi,
    Is there any sample code showing PAPI-WS with VS 2008? AFAIK, there is a sample using VS 2005 and WSE 3.0, but I'm interested in using VS 2008/WCF.
    Regards,

  • PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Enterprise Standalone.
    http://www.4shared.com/file/128249957/9bd6ef61/PAPI-WS_for_Oracle_BPM_Standalone.html
    Be sure to use the project that is in the zip file for this example.
    To see how to invoke PAPI-WS when using Oracle BPM Studio, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    Hope this helps,
    Dan

    Dan,
    I tried in both studio and Standalone.
    From Studio :*
    1. The Url for the Webservice is (http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl). From studio by default port number was 8585.From this studio wsdl URL(http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl),I did n't see any wsdl text in the browser.
    From Standalone :*
    1. In BPM Admin Center, I have selected *"PAPI Web Services"* check box(Page 5 of your document).
    2. In The BPM Admin Center, I have clicked on *"Start BPM Web Applications"*.
    3. After Stand alone server started *"Launch PAPI WebServices Console"* link was enabled,And I clicked on that link.It opened a browser with URL (http://localhost:8686/papiws/PapiWebService)
    Oracle® BPM PAPI Web Services
    Service Name 'PapiWebService'
    Style: Document Literal Wrapped
    SSO Enabled: false
    WS-Security UsernameToken Profile Authentication Enabled: false
    HTTP Basic Authentication Enabled: true
    Preset Authentication Enabled: false
    MTOM Optimization for attachments Enabled*: false
    Endpoint: http://localhost:8686/papiws/PapiWebServiceEndpoint
    WSDL: http://localhost:8686/papiws/PapiWebServiceEndpoint?wsdl
    I have copied wsdl URL(http://localhost:8686/papiws/PapiWebServiceEndpoint?wsdl) and pasted it into a browser's URL field.I did n't see any wsdl text in the browser,but I see following error
    HTTP Status 404 - Servlet PapiWebServiceServlet is not available
    type Status report
    message Servlet PapiWebServiceServlet is not available
    description The requested resource (Servlet PapiWebServiceServlet is not available) is not available.
    Apache Tomcat/5.5.15
    Edited by: Prabhasankar on Dec 24, 2010 9:10 AM

  • JCA polling DB Adapter current time for MarkReadValue

    Hi,
    For future debugging I would like to use current time (in whatever format) for MarkReadValue in a logical delete polling DB Adapter.
    I understand that complex expressions such as ${weblogic.Name}, ${IP}, ${instance} work with the system properties. Is there a complex expresion for getting current date and time (in whatever format)?
    Thanks,
    --cb

    Hi Manish,
    Can you copy paste your .jca file?
    I think the problem is with the name 'pollingStrategy'. Verify if the property used in the .jca file is PollingStrategy (Use Capital 'P').
    Regards,
    Neeraj Sehgal

  • Oracle Coherence Examples with Oracle SOA suite 11.1.1.4.0 and JDeveloper.

    Hi,
    I am new to Oracle Coherence. I was looking for examples implementing Oracle Coherence step by step so as to get a basic understanding using JDeveloper but most of the examples available are using Oracle Service Bus and Eclipse.
    Could anyone please help me in providing link with examples using Oracle Coherence with Oracle SOA suite 11.1.1.4.0 and JDeveloper.
    Thanks for the needful.
    Cheers,
    Varun

    Hi Varun,
    Please find the answers to your questions below:
    1) Could you please let me know how to use this system property -Dtangosol.coherence.override in my application so that I can coordinate between the cluster used by my application and the one started for using Coherence Node.
    You need to specify this property in the Java Options of your server or cache node startup script.
    2) I was trying to understand how to use this tangosol-coherence-override.xml but the document is pretty confusing. I am not able to understand that whether I am suppose to use it at server level or at application level.
    I would suggest extract the coherence.jar and you it would be important for you to have a look at the tangosol-coherence.xml and tangosol-coherence-override.xml. This file is used to override any of the properties specified in tangosol-coherence.xml for your cluster configuration for example, clustername, multicast ip and port or WKA for unicast, logging and so on.
    3) Another point is how to coordinate among tangosol-coherence-override.xml, coherence-cache-config.xml and -Dtangosol.coherence.override system property from my application
    Ideally you should specify in the java options of your application startup but you can also sepcify using System.setProperty("property", "value") in you code for specifying the various properties
    4) How to use the cache updating mechanisms from an application?
    I am not clear what do you mean by cache updating mechanisms? If you mean how you can update the cache from application then you can use simple Put, Entry Processor and so on. Refer NamedCache APIs to start with for operations but there many other ways to update the cache from within application or otherwise
    Hope this helps!
    Cheers,
    NJ

  • Where can i find the Oracle by Example for Oracle Discoverer 9i2

    Hi,
    I am not able to get the Oracle by Example for Oracle Discoverer (9iDS)version 2.
    Also, can someone give me the tutorials and any examples how to start learning this tool in a short time.
    Can mail me to [email protected]
    Sri

    There is no OBE on Discoverer Administrator, which is under iDS. However you can see the 9.0.4 OBEs on Discoverer Plus and Viewer from this link http://www.oracle.com/technology/obe/obe_as_10g/bi/index.html.
    Thanks,

  • Examples for Oracle - BLOB, please...

    Could somebody give me some examples about operations with BLOB fields in Oracle.
    Thanks a lot...

    When I search this forum with the following I get 200+ hits. Is not one of them an example?
    Oracle blob

  • Oracle BPEL Polling Database Adapter

    Can someone give me sample or link of db polling ?
    i tired in following way
    1. created db adapter with logical delete option
    2. then created bpel process based on wsdl
    i tired inserting new data but my instance did not get executed?

    Hi,
    Can you please specify your requirement in more detail so I can understand why you need to DB adapter.
    Inbound vs Outbound:
    The main function of inbound is to execute a sql select query and turn the result set as a message. This in relation to outbound that handles a message to execute an SQL query.
    Don't worry about this with the DB adapter as it will do this for you. The only thing you have to make sure that the JNDI name you specify in the DB adapter is configured as a data source in weblogic.
    Thanks
    Sander

  • Example of Oracle Service Bus with DB Adapter

    I need to integrate Peoplesoft HCM with another application using the OSB. How can I use DB Adapter with OSB to realise inserts in Oracle Database?

    http://guidoschmutz.wordpress.com/2010/08/08/oracle-service-bus-11g-and-db-adapter-a-different-more-integrated-approach/
    He has posted some videos as well.
    Thanks,
    Vijay

  • Error in Adapter Table Adapter Configuration IDM - Oracle 10g

    Error in the configuration of Oracle Database Table Adapter Configuration.
    Log:
    2007-10-02 10:26:40,843 INFO [DBADAPTERLOGGER] DBProvisioner::createUser : DBProvisioner::createUser : userProperties is xel_usr_id#:#V04#;#xel_usr_password#:#56pddssd#;#xel_usr_status#:#1#;#xel_usr_first_name#:#Juana#;#xel_usr_last_name#:#Rengifo#;#xel_usr_group#:##;#xel_usr_title#:#Analista#;#xel_usr_dept#:##;#xel_usr_comm_lang#:##;#xel_usr_logon_lang#:##;#xel_usr_email#:[email protected]#;#xel_usr_tel_no#:#111-222-4444#;#xel_usr_time_zone#:##;#xel_usr_date_fmt#:##;#xel_usr_dec_ntn#:##;#xel_usr_role#:#System Admin
    2007-10-02 10:26:40,859 INFO [DBADAPTERLOGGER] DBProvisioner::createUser : Starting time for createUser method :1191346000859
    2007-10-02 10:26:40,875 ERROR [DBADAPTERLOGGER] DBSchemaErrorHandler::error : ERROR : 1:227cvc-elt.1: Cannot find the declaration of element 'xl-ddm-data'.
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'xl-ddm-data'.

    Based on your error a few questions come to mind...
    What does your Configuration XML file look like? It's root XML node should be xdb_app_map. Your error makes me think you may be pointing at an adapter file versus db schema mapping file.
    Are you starting from one of the provided examples like OraApp1.xml? If you followed Step 3: the connector file copy instructions during deployment, you should find the samples in "OIM_home/xellerate/XLIntegrations/DBAppTables/xml/DB_Schema" Or you can search for OraApp1.xml or OraApp2.xml.
    Have you configured your IT Resource with the appropriate path to the XML file? If you are on Unix it's going to be case sensitive, I can't speak for a windows path.
    I hope this helps. I know I had a few challenges myself when I first took a swing at the DB Table Adapter from the 9.0.4.1 connector pack.
    regards,
    Jason

  • Polling DB Adapter is not working when "NumberOfThreads" value= 1

    Hi All,
    I am facing an issue with DB adapter in OSB.
    My requirement is, i have one table name as "Header Table",for every 1 sec around 5 messages are inserted into this table.By using that records i need to call API.
    For this i created one DB adapter with polling option.It is poll the Header table for every 3 seconds and fetch the 5 records.Suppose in first iteration at 3 seconds it poll and get 5 records
    One proxy service is created for that Adapter jca file.This proxy will get the records and call the API.
    But here issue is the thread is poll the table after first iteration(first 5) records are processing only.After All 5 records are processed only the next polling happening.
    That means every 3 sec polling is not happening.
    For this i increased NumberOfThreads value =3 in Adapter jca file.Then polling is Not working,it is completely stopped not even 3 sec also?
    I tried with both XA , NonXA adapters and Distributed polling option also.But it is not working.This is not working in Cluster environment and as well as my local system?
    When i use NumberOfThreads=1 it is working,More than 1 it is not working
    These properties i used for JCA file.
      <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
          <property name="DescriptorName" value="GOP_DB_FSL_HEADER_POLLING_APICALL.XxGilSvcOrderHeader"/>
          <property name="QueryName" value="GOP_DB_FSL_HEADER_POLLING_APICALLSelect"/>
          <property name="MappingsMetaDataURL" value="GOP_DB_FSL_HEADER_POLLING_APICALL-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="SOA_POLL_STATUS"/>
          <property name="MarkReadValue" value="C"/>
          <property name="MarkUnreadValue" value="W"/>
          <property name="PollingInterval" value="3"/>
          <property name="MaxRaiseSize" value="1"/>
          <property name="MaxTransactionSize" value="5"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
          <property name="SequencingColumn" value="OFS_CREATEDDATE"/>
          <property name="MarkReservedValue" value="R${weblogic.Name-2}-${IP-2}"/>
        </activation-spec>
    ===========================================================
    Professionals, Please Help me on the same
    Thanks in Advance
    AV

    Hi All,
    I am facing an issue with DB adapter in OSB.
    My requirement is, i have one table name as "Header Table",for every 1 sec around 5 messages are inserted into this table.By using that records i need to call API.
    For this i created one DB adapter with polling option.It is poll the Header table for every 3 seconds and fetch the 5 records.Suppose in first iteration at 3 seconds it poll and get 5 records
    One proxy service is created for that Adapter jca file.This proxy will get the records and call the API.
    But here issue is the thread is poll the table after first iteration(first 5) records are processing only.After All 5 records are processed only the next polling happening.
    That means every 3 sec polling is not happening.
    For this i increased NumberOfThreads value =3 in Adapter jca file.Then polling is Not working,it is completely stopped not even 3 sec also?
    I tried with both XA , NonXA adapters and Distributed polling option also.But it is not working.This is not working in Cluster environment and as well as my local system?
    When i use NumberOfThreads=1 it is working,More than 1 it is not working
    These properties i used for JCA file.
      <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
          <property name="DescriptorName" value="GOP_DB_FSL_HEADER_POLLING_APICALL.XxGilSvcOrderHeader"/>
          <property name="QueryName" value="GOP_DB_FSL_HEADER_POLLING_APICALLSelect"/>
          <property name="MappingsMetaDataURL" value="GOP_DB_FSL_HEADER_POLLING_APICALL-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="SOA_POLL_STATUS"/>
          <property name="MarkReadValue" value="C"/>
          <property name="MarkUnreadValue" value="W"/>
          <property name="PollingInterval" value="3"/>
          <property name="MaxRaiseSize" value="1"/>
          <property name="MaxTransactionSize" value="5"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
          <property name="SequencingColumn" value="OFS_CREATEDDATE"/>
          <property name="MarkReservedValue" value="R${weblogic.Name-2}-${IP-2}"/>
        </activation-spec>
    ===========================================================
    Professionals, Please Help me on the same
    Thanks in Advance
    AV

  • Polling DB Adapter error in Jdev 11.1.1.5

    Hi,
    I have a table on a schema in an XE database which I am trying to poll. One of the columns in the database is of a VARRAY Collection Type.
    I go through the Database Adapter Wizard steps as per usual, importing the table etc etc. However, when I get to choosing the 'After Read' operation, whenever I choose the first one, 'Delete the Row(s) that were read' which is always selected by default, I am unable to press 'Next' and get on to the next screen/step in the wizard. Clicking on the operation radio button again then gives the following error message:
    java.lang.ClassCastException: org.eclipse.persistence.mappings.structures.ObjectArrayMapping cannot be cast to org.eclipse.persistence.mappings.CollectionMapping
         at oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterPollingOptionsPage.refreshOrderByFieldChoices(XRAdapterPollingOptionsPage.java:690)
         at oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterPollingOptionsPage.initialize(XRAdapterPollingOptionsPage.java:191)
         at oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterPollingOptionsPage.<init>(XRAdapterPollingOptionsPage.java:122)
         at oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterAfterReadPage.addFollowingPages(XRAdapterAfterReadPage.java:386)
         at oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterAfterReadPage.actionPerformed(XRAdapterAfterReadPage.java:418)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at oracle.bali.ewt.olaf2.OracleButtonListener.mouseReleased(OracleButtonListener.java:44)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1585)
         at java.awt.Component.setVisible(Component.java:1537)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
         at oracle.tip.tools.ide.adapters.designtime.adapter.techAdapterWizard.display(techAdapterWizard.java:364)
         at oracle.tip.tools.ide.adapters.designtime.adapter.DbScaEndpointImpl.createImplementation(DbScaEndpointImpl.java:86)
         at oracle.tip.tools.ide.fabric.gui.controller.ActionExternalReferenceEdit.add(ActionExternalReferenceEdit.java:145)
         at oracle.tip.tools.ide.fabric.gui.controller.ActionExternalReferenceEdit.process(ActionExternalReferenceEdit.java:108)
         at oracle.tip.tools.ide.fabric.gui.controller.DiagramController.processActionRequest(DiagramController.java:354)
         at oracle.tip.tools.ide.fabric.gui.components.ManagerView$1.run(ManagerView.java:526)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    I then choose the 'Logical Delete' option as an alternative. This allows me to get past the current screen and on to the next one. However, I am then unable to get past the 'Logical Delete' option screen.
    I am not sure why it is doing this. I have successfully created DB Adapters before that call stored procedures with VARRAY Collection Types defined and I have also created polling adapters for tables with normal datatypes (string, integer, boolean) successfully before. This is the first time I am polling a table with a VARRAY Collection Type column and am wondering whether anyone has experienced this before or whether they could give this a try to see what the error is and how to resolve it please?
    I have installed Jdeveloper 11.1.1.5 locally along with XE database. Have tried in 11.1.1.3 Jdeveloper and it works OK, but it doesn't work in 11.1.1.4 either.
    Thanks

    I encountered the same problem and found the following workaround:
    1. Create a copy of the table without the collection type column.
    2. Go through the Database Adapter Wizard and finish it normally.
    3. Next, modify the created Dataabse Adapter but now select the original table with the collection type column.
    4. You should now be able to finish the wizard without any problems.

Maybe you are looking for

  • Consumer/producer fast AI and AO.

    I made a routine for fast DAQmx (PXIe-6124) acquisition in two while loop (consumer and producer). Currently it can be run by pushing run-button.  But, I would like to one more while loop (totally 3) for user-friendly interface and integrating sub-pr

  • Install port error.

    Howdy all. I just installed 10g and during the install got an error about not being able to use the assigned port because it was set to NULL. It also said I would be able to go back and fix in Enterprise Manager after the install was complete. But th

  • I want to use my iMac's hard drive as backup f my Macbook Pron i d

    I want to copy all the files on my Macbook hard drive to my iMac in my office which has a bigger capacity. How can i do this using (USB) cables?

  • How to use UTF-8 in JSP ?(Farsi Language)

    Hi All, I am trying to write in Farsi language in a jsp page with jdeveloper. i have a .properties file where i write my lables in farsi.i have content="text/html; charset=UTF-8" in my jsp as well.but still in run-time i get something like ??????????

  • How to i get my printer online

    How do i get my printer to scan documents to my laptop.  it says my printer is offline.