Strange db adapter query behaviour

Has anyone come across this before....We have an issue with a couple of BPEL processes that query a view in an oracle 10g database. We select several fields from the view, 3 of which are fields in a table which are of DATE datatype. When the query runs we are starting to see this behaviour (but not all the time):
<next_inv_date>2011-03-28T00:00:00.000+01:00</next_inv_date>
<date_from>2011-03-27T00:00:00.000+00:00</date_from>
<date_to>1900-01-01T00:00:00.000+00:00</date_to>
As you can see, the field next_inv_date contains a +1 timezone shift. The output variable is setup with all the date fields of type dateTime. I did not think that timezone was stored in a DATE field, so how can this possibly be?
Thanks.

Hi there,
whether or not the query returns anything at each polling interval it still polls every 40 seconds.
For documentation on polling concepts closest would be this doc link here:
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm#CHDEFACG
Thanks
Steve

Similar Messages

  • Strange query behaviour

    I have a simple select query having a like statement as
    select * from table where name like %sami%
    This query behaves differently when run in the MS Access DB and when run from the Java code.
    when i remove the LIKE stmt then its behabiour is normal but when i use LIKE (sometimes with % and sometimes with *) the query does not return anything from the Java code.
    it works fine within Access DB
    whats the problem?
    Thanks

    try this
    '_sami_'
    or
    without ' '
    sami
    i don't know exactly....
    just try it out

  • JDBC Adapter, error behaviours

    Hi all,
    My scenario is FILE --> JDBC, everything is ok but, My query contain multiple insertion or update. If there is an error during the process (insertion or what ever) all stop.
    I do not want that behaviours, I would like my JDBC Adapter carring on the process even if there is some insertion failed !
    How can I do that ?
    Thanks

    Good, I didn't know that (i'm new in PI)
    So after that change all my mapping crashed down so I recreated it.
    Now, the message input has been changed by added those nodes :
    <Messes1>
        <message>
            <DT_xxxxxx>
    But in my file convertor its become the big mess. It cannot interpret the new message format
    My data type in imput is :
    <MT_2330003_TrainingCatalog_Request>
       <recordset>
          <training_catalog>
             <field1/>
             <field2/>
          </training_catalog>
       </recordset>
    </MT_2330003_TrainingCatalog_Request>
    Here is my configuration :
    Document Name : Messages
    Document NameSpace : http://sap.com/xi/XI/SplitAndMerge
    Document Offset :
    Recordset Name : massage1
    Recordset NameSpace :
    Recordset Structure: MT_2330003_TrainingCatalog_Request,recordset,training_catalog,*
    Recordset Name : massage1
    In properties :
    MT_2330003_TrainingCatalog_Request.recordset.training_catalog.fieldSeparator = ;
    MT_2330003_TrainingCatalog_Request.recordset.training_catalog.fieldNames = field1,field2,....
    MT_2330003_TrainingCatalog_Request.recordset.training_catalog.processFieldNames = fromConfiguration
    But the error is :
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Format error in 'xml.recordset' argument: 'recordset' is not valid

  • Query behaviour on db2e

    Hi everyone,
    I have encounter a strange behaviour when performing query's using MI 7.0 and DB2 Everyplace 8.2.4.7 in a SmartSync. When the query is performed in the application on the emulator it does not return any row's, but when performed on the CLP it work fine.
    The query for example is the following:
    select * from M13_cZSYNC_ORD_TOP where "EQUIP_NUM_SERIE" LIKE '%MAQUINA%'ESCAPE'\' AND "state" < 16 ORDER BY "EQUIP_NUM_SERIE" ASC
    and the query condition used is the "CONTAINS"
    Condition cond = queryFactory.createCondition(fd, RelationalOperatorType.CONTAINS, filter);
    How can this behaviour be solved??
    Regards,
    Ricardo Bernardino

    solved by not using deprecated api's

  • MacBookPro 15" 1.1: Strange GPU temp sensor behaviour

    Hello to all,
    Since I let my trusty MBP alone for a week two months ago some real strange behaviour occured.
    I left my MBP in standby as usual. When I came back from my trip, the battery was completely discharged and I had to connect the power adapter. MBP awoke from suspend to disk (grey screen, progress bar) and a few seconds after beeing ready for work, fans started to rev up. 5 min later the fans were running at full speed.
    Puzzled, I did a restart. Same behaviour, high RPM right after boot logo, full 6000rpm after a few minutes.
    When I took a look at iStatMenus I saw that the GPU Heatsink Sensor Temperature was around 35 degrees Celsius (around 70 Fahrenheit) higher than the GPU Temp sensor itself. It was the highest readout by all sensors, which makes no sense at all.
    I tried: PRAM reset, SMC reset, PMU reset. Apple Hardware Diagnostic CD by me and a German ASP, and by a Genius Bar expert. No errors shown.
    But over the two months the difference between the values sank to 18-20deg Celsius, and I found a tool to let only the CPU sensor control the fan, so I was happy again.
    Yesterday I came back from another trip, guess what: battery empty, woke up from standby..... the difference is now around 36 deg Celsius, and the MBP shuts down automatically even on the smallest YouTube clip when GPU Heatsink Temp exceeds around 86deg Celcius.
    I am clueless, everybody around me too. So maybe one of you has an idea?
    Regards, Matthias

    Not sure about sensors adapting to reality by themselves. This sounds like very strange behavior. I wonder if there could be something like a loose connection somewhere.
    Did the computer misbehave in front of the genius? If it didn't, it might be worth while seeing if you can determine the exact circumstances under which it will act up so you can make it act up in front of the genius.
    For example, my iBook used to freeze, but only when warmed up. I went to the genius bar early so I could give it time to warm up so that it would be sure to malfunction in front of them. This is especially important to do if you are still under warranty. It's important to establish that a problem first occurred under warranty, especially if your warranty is close to running out.
    Good luck!

  • Different query behaviour (index or no index use) between sql and pl/sql

    Hi All,
    I have a query inside a cursor in a procedure, let's say:
    cursor c_emp (b_dept_no in number)
    is
    select *
    from emp
    where dept_no = b_dep_no;
    There is an non unique index on dept_no.
    In this procedure i first loop through another cursor which gets the dept_no and with this dept_no i go into a for loop for the c_emp cursor.
    When i run this procedure i see that the explain plan of above query gives me a Full table Scan on EMP, eventhough there is a index on dept_no and there are 1.3 million records in the em table. When i take the above query and explain it seperately, it uses the index on dept_no.
    I have rebuild/analyzed the tables and indexes, nothing seems to work. Even hints in the procedure cursor are not helping at all.
    I'm using Oracle Database 10.2.0.1.0 and have never seen such behaviour before.
    Anyone an idea what is going on here?
    Kind regards,
    Dave

    Hoi Rob,
    it's like i have three tables. The first i have to get data from for my output, then for every record of table one there are one or more records in table 2 and table 3.
    I had to create a xml file and it looks like this:
    <Table1 Record 1>
    <Name>...</Name>
    etc...
    <Table2 Record 1>
    </Table2 Record 1>
    <Table2 Record 2>
    </Table2 Record 2>
    <Table3 Record 1>
    </Table3 Record 1>
    <Table3 Record 2>
    </Table3 Record 2>
    <Table1 Record 2>
    etc.etc.etc.
    So that's why i programmed:
    for r_1 in c_table1 loop
    for r_2 in c_table2(r_1.dept_no) loop
    end loop;
    for r_3 in c_table3(r_1.dept_no) loop
    end loop;
    end loop;
    And when i look at the first record,
    it has 2 records in table2 en 16 records in table3. So nothing huge.
    For now i'm unable to trace the session. I will try to post the tkprof later.
    Kind regards,
    Dave

  • 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

  • Xi JDBC Adapter - Query SQL Statement & Update SQL Statement

    Hi!
    I configure the JDBC adapter sender (XI) to take data from Oracle database.
    I set the Query and Update SQL Statement in the Processing parameters of the communication channel in this way:
    Query SQL Statement :
    SELECT * FROM XI_TABLE WHERE STATUS = 'WAIT' ORDER BY ROW_NUM
    Update SQL Statement :
    UPDATE XI_TABLE SET STATUS = 'DONE', DATE = SYSDATE WHERE STATUS = 'WAIT'
    My question is :
    If a new record with the field STATUS = 'WAIT' is added to the table (xi_table) during the time between the execution of the query statement and the start of the update statement, what will happen to that record during the update?
    There is a way to avoid the update of that record? or to pass to the update statement only the record selected in the query statement?
    Please, may you give me some example?
    Thanks,
    Francesco

    hi,
    did you check "Isolation Level for Transaction"
    for the sender jdbc adapter?
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Regards,
    michal

  • Soap adapter query string

    Sending Soap adapter question
    If the message id is duplicate , the message is rejected?
    How does the Query string look?
    thanks
    kumar

    Hi Kumar,
    the query string is
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    The message ID is give by XI, it is allways unique.
    Have a look to <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm">Configuring the Sender SOAP Adapter</a>
    Regards,
    Udo

  • Osb jca adapter weird behaviour

    Hi gurus,
    Im running OSB 11.1.1.5 having a db adapter polling an MSSQL2000 table (SELECT WITH (UPDLOCK, NOWAIT)..)
    The table is being filled by a long running transaction.
    I observe in the JCA logging the following error on every polling iteration while the table is being filled:
    <Jan 10, 2012 2:00:45 PM CET> <Error> <JCA_FRAMEWORK_AND_ADAPTER> <BEA-000000> <<oracle.tip.adapter.db.InboundWork handleException> Encountered a fatal exception while polling. Will continue polling but with minimal logging. Please investigate the fault and manually stop polling from the console if in development and this appears to be a modeling mistake. BINDING.JCA-11624
    DBActivationSpec Polling Exception.
    Query name: [O_Boeking_I_PollerSelect], Descriptor name: [O_Boeking_I_Poller.OBoeking]. Polling the database for events failed on this iteration.
    Caused by java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Lock request time out period exceeded..
    This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-1222" to your deployment descriptor (i.e. weblogic-ra.xml). 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).
    The issue I'm experiencing occurs after the long running transaction is done. What I see is that in the next polling sweep 2 XML documents are delivered by the db adapter engine...I cannot figure out why. I do not want this
    1 document contains only 1 record. The other document contains the rest of my records.
    Have tried both WebLogic and MS JDBC drivers.
    Some of mine properties:
    MaxRaiseSize = 0 (I want all the records in 1 XML document)
    MaxTransactionSize = unlimited
    Thanks alot

    Veejay,
    Have done so...I tried some different setting like test-connections-on-reserve (was off)...no successes here.
    I will give a try with another mssql driver version.
    Another interesting thing I have observed is when I do not commit the long running transaction, the next db adapter polling event results in this exception:
    <Jan 17, 2012 12:24:10 PM CET> <Error> <JCA_FRAMEWORK_AND_ADAPTER> <BEA-000000> <<oracle.tip.adapter.db.InboundWork handleException>
    Encountered a fatal exception while polling. Will continue polling but with minimal logging. Please investigate the fault and manually stop polling from the console if in development and this appears to be a modeling mistake. BINDING.JCA-11624 DBActivationSpec Polling Exception.
    Query name: [O_Boeking_I_PollerSelect], Descriptor name: [O_Boeking_I_Poller.OBoeking]. Polling the database for events failed on this iteration.
    Caused by java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0.
    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:682)
    at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:648)
    at oracle.tip.adapter.db.exceptions.DBResourceException.inboundReadException(DBResourceException.java:483)
    at oracle.tip.adapter.db.InboundWork.handleException(InboundWork.java:922)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:826)
    at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:578)
    at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
    at java.util.Vector.get(Vector.java:694)
    at oracle.tip.adapter.db.InboundWork.vectorSubList(InboundWork.java:1860)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:713)
    ... 6 more
    >
    This lets me think it could be a bug..

  • Strange measurement input fields behaviour

    Hello,
    I have a Czech version of Illustrator CC on Windows 7 Pro.
    Some measurement input fields are not working as expected, for example:
    When creating a new document:
    Decimal marks in document dimensions have disappeared (instead 210.00 mm it shows 210 00 mm). It also disappears after I add it. Another strange thing is when I click in the input box, do nothing and click out the value changes to 5779 55 mm
    (Something similar is happening in my InDesign: I can't change an object's dimension expressed with a number with a decimal mark to another number with a decimal mark - only to an integer. I'm not working in Web mode.)
    Is this behaviour controlled by some settings I can't find or is this a bug?
    Every note leading to a solution much appreciated!

    maara,
    The decimal point is basically governed by your Regional/Language settings, in the Control Panel I believe.
    There may be some issues between . and , for decimal point (and reversely for thousands).
    But, especially if the behaviour has not always been there, you may try the list below.
    In any case you may try a chat or a support call, here or here,
    Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    Adobe Support (phone),
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • DB Adapter Query - Polling using nested select

    When polling a table to initiate a BPEL process, can I use a nested select in the expression.

    The visual expression builder does not currently support this so you need to specify the raw sql directly.
    If you use the DeletePollingStrategy there is a way you can specify the exact sql string for both the 'select' and the after read 'delete'. So if you write the where clause yourself it can contain nested selects.
    This is the readme from the new PureSQLSelect database adapter sample. Also you may want to look at the PureSQLPolling sample.
    This sample shows you how you can bypass the designer's visual where clause builder to specify arbitrarily complex sql strings for your selects.
    Like the other samples, this sample uses the basic Movies schema.
    The Steps:
    Create a basic select. Made sure it has the same name and number of input parameters as you will need for your sql string. In this case create a single input parameter and call it 'genre_param'.
    Create a trivial where clause in the wizard expression builder using genre_param. I.e. genre.like(genre_param)
    Ideally run the sample once just to make sure everything else works and to get a template SQL. The select ... FROM ... part will be the same.
    Open the toplink_mappings.xml file. Look for an element called <database-query>. There will likely only be one. A sample is presented here:
    <query-manager>
    <descriptor-query-manager>
    <existence-check>Check cache</existence-check>
    <descriptor-named-queries>
    <database-query>
    <query-name>selectByGenreSelect</query-name>
    <query-should-maintain-cache>true</query-should-maintain-cache>
    <cascade-policy>1</cascade-policy>
    <should-bind-all-parameters>undefined</should-bind-all-parameters>
    <should-cache-statement>undefined</should-cache-statement>
    <should-use-wrapper-policy>true</should-use-wrapper-policy>
    <query-timeout>0</query-timeout>
    <query-arguments>
    <string>genre_param</string>
    </query-arguments>
    <query-argument-types>
    <values>java.lang.String</values>
    </query-argument-types>
    <reference-class>PureSQLSelect.Movies</reference-class>
    <refresh-identity-map>false</refresh-identity-map>
    <cache-usage>2</cache-usage>
    <lock-mode>0</lock-mode>
    <distinct-state>0</distinct-state>
    <query-indirection>
    <in-memory-query-indirection>
    <policy>0</policy>
    </in-memory-query-indirection>
    </query-indirection>
    <main-expression>
    <expression>
    <operator-type>AND</operator-type>
    <expression-list>
    <expression>
    <operator-type>Like</operator-type>
    <first-argument>
    <argument>
    <query-key-name>genre</query-key-name>
    <outer-join>false</outer-join>
    <to-many>false</to-many>
    <argument-class>oracle.toplink.tools.workbench.expressions.QueryableArgumentRepresentation</argument-class>
    </argument>
    </first-argument>
    <second-argument>
    <argument>
    <parameter-name>genre_param</parameter-name>
    <argument-class>oracle.toplink.tools.workbench.expressions.ParameterArgumentRepresentation</argument-class>
    </argument>
    </second-argument>
    <expression-class>oracle.toplink.tools.workbench.expressions.BinaryExpressionRepresentation</expression-class>
    </expression>
    </expression-list>
    <expression-class>oracle.toplink.tools.workbench.expressions.CompoundExpressionRepresentation</expression-class>
    </expression>
    </main-expression>
    <type>oracle.toplink.queryframework.ReadAllQuery</type>
    </database-query>
    </descriptor-named-queries>
    </descriptor-query-manager>
    </query-manager>
    We want to switch this query from using a high-level expression to a pure sql string. You will remove the <main-expression> element and replace it with a <sql-string> element of your own devising.
    Your replacement should look something like this:
    <query-manager>
    <descriptor-query-manager>
    <existence-check>Check cache</existence-check>
    <descriptor-named-queries>
    <database-query>
    <query-name>selectByGenreSelect</query-name>
    <query-should-maintain-cache>true</query-should-maintain-cache>
    <cascade-policy>1</cascade-policy>
    <should-bind-all-parameters>undefined</should-bind-all-parameters>
    <should-cache-statement>undefined</should-cache-statement>
    <should-use-wrapper-policy>true</should-use-wrapper-policy>
    <query-timeout>0</query-timeout>
    <sql-string>SELECT DELETED, DIRECTOR, GENRE, LAST_UPDATED, RATED, RATING, RELEASE_DATE, RUN_TIME, SEQUENCENO, STARRING, STATUS, SYNOPSIS, TITLE, TOTAL_GROSS, VIEWER_RATING FROM MOVIES WHERE (upper(GENRE) LIKE upper(concat(concat('%', #genre_param), '%'))) ORDER BY TOTAL_GROSS desc</sql-string>
    <query-arguments>
    <string>genre_param</string>
    </query-arguments>
    <query-argument-types>
    <values>java.lang.String</values>
    </query-argument-types>
    <reference-class>PureSQLSelect.Movies</reference-class>
    <refresh-identity-map>false</refresh-identity-map>
    <cache-usage>2</cache-usage>
    <lock-mode>0</lock-mode>
    <distinct-state>0</distinct-state>
    <query-indirection>
    <in-memory-query-indirection>
    <policy>0</policy>
    </in-memory-query-indirection>
    </query-indirection>
    <type>oracle.toplink.queryframework.ReadAllQuery</type>
    </database-query>
    </descriptor-named-queries>
    </descriptor-query-manager>
    </query-manager>
    Gotchas:
    The tempation to start writing pure sql may be terrible to some, but it was intentionally left out of the wizard for good reasons. Please be wary of the following when specifying pure sql:
    -There is a way to set the pure sql string in the Mapping Workbench, but when you edit the partnerlink to refresh the toplink_mappings.xml you may get an exception due to the query being in a pure sql format. For this reason you need to manually edit the toplink_mappings.xml, and again every time your run the wizard and hit finish after that.
    -The #genre_param is a TopLink convention for writing a sql string which still takes parameters. At runtime if you enter 'Action' in the bpel console, you will see this sql:
    SELECT DELETED, DIRECTOR, GENRE, LAST_UPDATED, RATED, RATING, RELEASE_DATE, RUN_TIME, SEQUENCENO, STARRING, STATUS, SYNOPSIS, TITLE, TOTAL_GROSS, VIEWER_RATING FROM SYSTEM.MOVIES WHERE (GENRE LIKE ?)
    bind => [Action]
    The #genre_param gets replaced with the value of the input parameter genre_param.
    -When specifying pure sql you should be aware of the following:
    -maintenance issues
    -loss of database platform independence
    -The sql needs to conform with the way TopLink works. It is recommended that you do not change the SELECT ... FROM ... part of the query. TopLink's design is to read from one table at a time. If an Employee has an Address, then the Address is read with a hidden relationship query. There are two advanced TopLink features which optimize reading from multiple tables, called joinedAttribute and batchAttribute reading, but the combination of these features with raw sql was not explored here. So to avoid danger you can only really affect the top level query, and only rewrite the where clause.
    -The pure sql route does not interact with most TopLink features, especially batch reading (on by default), and can not be combined with the following:
    -LogicalDeletePollingStrategy
    -SequencingPollingStrategy (LastUpdated, LastReadId, File)
    These features extend the selection criteria at runtime.

  • Passing resultser of one db adapter query to anoother db adapter query

    I would like achieve the following:
    1) first query returns PO_Number, Batch_Number,..... etc. in the first query. But in this query the PO_NUMBER and batch number can come mutiple times because of other columns.
    2) But I have to send a single notification for each Batch_Number/PO-number combination that comes from the above query.
    to do that there can be a second db adapter with the query which will be like
    select distinct PO_NUMBER, batch number from table1
    where Batch_number and PO Number which are selected in the first query.
    How to do that?
    Is there any other way to fulfil the same requirement.

    Hi there,
    this is probably more one for the database SQL forums. It is a tricky one as you can't execute a select like:
    select distinct PO_NUMBER, distinct BATCH_NUMBER, C3, C4, ....
    Safest would be to do this query first:
    select distinct PO_NUMBER, BATCH_NUMBER from tab
    Then for each PO/BATCH read, execute the following select:
    select * from tab where PO = ? and BATCH = ? and rownum <= 1;
    However that will lead to a lot of queries to get the extra column info.
    You can do it all in one query if you can find one other column in the table that is unique for a given PO/BATCH combination and sortable, i.e. assume it is named pk.
    Then you can execute:
    select * from TAB T0 where not exists (select * from TAB T1 where T0.PO = T1.PO and T0.BATCH = T1.BATCH and T1.pk< T0.pk)
    It took a while but failing that you still can do it with one query. If a, b are the columns that need to be distinct (PO and BATCH), and c is say the other column, you could execute this:
    with Q1 as (select distinct A, B, C, rownum as COUNTER from TAB) select T0.A, T0.B, T0.C from Q1 T0 where not exists(select * from Q1 T1 where T1.A= T0.A and T1.B = T0.B and T1.counter < T0.counter)
    You can do all of this using the "execute pure SQL" option of the DbAdapter wizard. Just cut and paste in the SQL and it should generate the right XSD.
    There is currently one issue with the pure SQL wizard, in that it doesn't recognize WITH. The query has to start with SELECT or it will think it is an update. So just wrap it with SELECT * FROM (...), i.e.
    select * from (with Q1 as (select distinct A, B, C, rownum as COUNTER from TAB) select T0.A, T0.B, T0.C from Q1 T0 where not exists(select * from Q1 T1 where T1.A= T0.A and T1.B = T0.B and T1.counter < T0.counter))
    That is if you want to do a one time select. If this is more for polling, I would look at the ExpertPolling sample on soasamples.samplecode.oracle.com for ideas. You can set the primary key to be PO/BATCH, and give custom poll and after read SQLs. The poll can be very similar to the one given here.
    Thanks
    Steve

  • OVD: Database Adapter Query Problem

    Hey Everyone,
    I am using a database adapter in OVD 10g and am not able to get the proper results from a query. We have created a view in the database and have pointed OVD at the view. We then set up 7 objectclasses using the DB Attribute Mapping Wizard. When doing a query on the base of the DB adapters we are not getting back all of the proper results one would expect. For instance if I query for objectclass=* I only get back 2 of the 7 objectclasses. Another example would be a query for mail=[email protected] will only return the attributes from the mailRecipient objectclass when normally in LDAP the entire record would be returned.
    Does anyone have an idea as to what could be going on? Does anyone have additional resources (beyond the OVD manual) for creating a database adapter?
    Thanks,
    Stephen

    Sorted this out:
    Used custom URL and made sure that the OVD Manager IDE was not appending any additional information following the closing bracket of the URL.
    The full successful URL was as follows with no values in any of the other fields:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1540))(ADDRESS = (PROTOCOL = TCP)(HOST = host2)(PORT = 1540))(CONNECT_DATA=(SERVICE_NAME=SNAME)))

  • Anyone understand this strange LR3 side panel behaviour?

    In the last couple of days my laptop has developed a piece of strange behaviour related to the side panels.  I'm pretty sure it didn't start when I installed the LR3.5 update, but this may have been a contributing factor.
    Until recently I always worked in "solo" mode.  A couple of days ago, LR's behaviour changed so that opening or closing any of the side panels would cause the relevant side (left or right) to become totally unresponsive.  The rest of the program continued to work fine, and the equivalent side panel in other modules continued to work properly until a panel was opened or closed.
    In an attempt to understand what was going on, I turned "solo" mode off.  This led to some very interesting behaviour indeed:
    If I used the triangle to open or close a side panel, everything worked exactly as expected.
    If I clicked on the dark grey bar to open or close a side panel, it became stuck in one of the two states.
    When stuck in "open" state, clicking in the grey area simply caused the panel to close and then re-open, very rapidly.
    When stuck in "closed" state, something similar happened in that the panel opened and then re-closed, very rapidly.
    When in "stuck" state, clicking on the triangle had no effect on the displayed panel but it seemed to toggle the internal state between opened and closed.
    Once toggled, clicking on the grey bar opened the panel where it used to close it, and vice versa.
    When collapsed, the panel displays as pale grey rather than the more usual dark grey.  See below for an illustration.
    I have a desktop machine as well which doesn't show the behaviour.  I've tried reinstalling LR3.5, to no avail.  My guess is that we're dealing with inconsistent panel state information in the "preferences" file, but I don't know for sure.
    If anyone knows what is happening, or (more importantly) how to stop it happening, I'd be enormously grateful for some help. 
    Many thanks in advance,
    Ian Wilson
    Cambridge UK

    Further investigation yielded yet more interesting behaviour - and, it turns out, a pointer to the problem.
    I tried renaming the old "preferences" file, causing LR to create a new one.  The problem was unchanged, apart from losing my registration information... 
    I tried creating a new, virgin catalogue.  This behaved normally, so I thought I was onto something!
    I tried importing a folder of pictures into the new catalogue.  The old behaviour returned.
    I created a new virgin catalogue, which reverted to good behaviour.  I then imported one picture into the catalogue.  Behaviour BAD.
    I then tried removing the single picture from the catalogue and restarted LR.  Behaviour GOOD!
    Conclusion:  Lightroom works just fine for me providing I never put any pictures into my catalogue!! 
    This got me thinking that, perhaps, the issue was related to the rendering of images.  I tried installing the latest nVidia drivers for my laptop, but this had no effect whatsoever.  Given the issue clearly related to how images are rendered, however, I wondered whether the problem could relate to colour profiles.  BINGO!!  I'd recently upgraded my "i1xtreme" to X-Rite's new "i1publish".  The profiles created with the latest software are ".icm" rather than ".icc", although this shouldn't matter (and doesn't matter to PS and Bridge).  It seems to matter to LR, however, as reverting to my earlier ".icc" profiles made everything work again just fine. 
    There is obviously a bug somewhere, but it's not clear whether I should be chasing Adobe or X-Rite.  I'd welcome any comments or advice...
    Many thanks for the suggestions,
    Ian.

Maybe you are looking for

  • Can I go back to Firefox 7? I want to enable the Google toolbar agai. My contacts were lost and gmail doesn't work the previous way.

    I use Windows 7 Home Premium and gmail with contacts in Google toolbar. The contact list was lost, when Firefox 8.0 is used, and the gmail setup is changed and unsatisfactory.

  • SOAP Client Error:- INVALID CHANNEL

    Dear Friends,                        I am configuring a simple SOAP to RFC syn scenario . after generating the wsdl when  I am testing it using SOAP UI  the following error is thrown:- !!!!!1<SOAP:Fault>          <faultcode>SOAP:Server</faultcode>   

  • Receiving Duplicate Workitems

    When I set the status of a Notification to 'Complete', I receive duplicate work items in my SAP Inbox. I checked the linkages in SWE2 only one Event 'ALLTASKCOMPLETED' is assigned, but when I run trace it is showing that the event and the respecting

  • Planning DataExport

    I have created a business rule to export data planning. The data is exporting to the path specified. Content of the rule for export is as below: FIX DATAEXPORT "File" ";" "W:\export.txt" "0"; ENDFIX Our situation is such that many users will be expor

  • How to make an instr in javascript

    Dear all, I need to extract some information in a javascript function. In sql we can do like this substr(:P3_APP_AVS_ID, 1, instr(:P3_APP_AVS_ID,'__')-1) How I can do it in javascript. Thanks Eric