Polling Database No exceptions or errors if DB down.

In my Process I have DB Adapter that polls a table every 2 minutes for any new records. In my Process how do I know if the Database I am polling against is down or not. I tested my Process first with Database up and anytime new record added is picked up. Then I shut down the database but did not get any exceptions or errors from polling prtnerlink in my BPEL console. But looking at the BPEL log it keeps on adding Database poll exception may be the Database is down once the database comes up the polling will resume. But is there a way I send any kind of Notification or something to let the Admin know polling is not working as Database down. If so how can I check this in my process.
Thanks

Hi there,
yes this came up with another customer too so starting in the next release you will be able to:
-see a warning in the bpel console's process log if the database goes down.
-point to a bpel process to handle any polling exception. I.e. the handler process can check the error code and send a notification to an admin.
The workaround is to create a process in an infinite loop, which repeatedly 'invokes' a read on the target database, sending a notification on catching a remote fault. In general you can replace a receive with an invoke inside a loop, as long as you configure the instance to never time out. To kick it off initiate an instance from the bpel console.
For more on never ending processes see this thread:
Start process on polling interval
Sorry we didn't get to this in the first release.
Thanks
Steve

Similar Messages

  • Error  While Polling Database changes using Custom SQL

    Hi,
    I am using Oralce SOA Suite 11g DbAdapter for polling Database changes.
    My source database is DB2,I am using custom query for polling the changes in source database.
    I am using "Update an External Sequencing Table on a Different Database" polling Strategy
    Query section of the Mapping file is as follows.
    <querying xsi:type="query-policy">
    <queries>
    <query name="ReceiveF554102TXEDataSelect" xsi:type="read-all-query">
    <call xsi:type="sql-call">
    <sql><![CDATA[SELECT FILE_NAME, LIBRARY_NAME,
                   USER_NAME, SEQUENCE_NUM,
                   JOURNAL_CODE, ENTRY_TYPE, TIME_STAMP, JOB_NAME, JOB_USER,
                   JOB_NUMBER, PROGRAM_NAME, ARM_NUMBER, ADDRESS_FAMILY, RMT_ADDRESS,
                   REMOTE_PORT, SYSTEM_NAME, REL_RECORD, OTRCLN, IBMCU, IBITM, IBLITM,
                   IBAITM, IBY55ETAFR, IBY55ETATH, IBY55NUM01, IBY55NUM02, IBY55NUM03,
                   IBY55NUM04, IBY55NUM05, IBY55NUM06, IBY55NUM07, IBY55NUM08,
                   IBY55NUM09, IBY55NUM10, IBELM01, IBELM02, IBELM03, IBELM04, IBELM05, IBY55STR01,
                   IBY55STR02, IBY55STR03, IBY55STR04, IBY55STR05, IBY55CHA01,
                   IBY55CHA02, IBY55CHA03, IBY55CHA04, IBY55CHA05, IBY55DAT01, IBY55DAT02,
                   IBY55DAT03, IBY55DAT04, IBY55DAT05, IBUSER, IBPID, IBJOBN, IBUPMT,
                   IBUPMJ FROM PY_JRNMON.F554102T WHERE ((TIME_STAMP > (SELECT LAST_READ_DATE FROM SOALIB.SOASEQHDR WHERE (TABLE_NAME = 'F554102T'))) AND (TIME_STAMP < SYSDATE)) ORDER BY TIME_STAMP ASC]]> </sql>
    </call>
    <reference-class>ReceiveF554102TXEData.F554102T</reference-class>
    <lock-mode>none</lock-mode>
    <container xsi:type="list-container-policy">
    <collection-type>java.util.Vector</collection-type>
    </container>
    </query>
    </queries>
    <delete-query xsi:type="delete-object-query">
    <call xsi:type="sql-call">
    <sql>UPDATE SOALIB.SOASEQHDR SET LAST_READ_DATE = #LAST_READ_DATE WHERE (TABLE_NAME = 'F554102T')</sql>
    </call>
    </delete-query>
    </querying>
    I am getting following Error after defining the custom SQL in my mapping.xml file. (After executing the Created Process)
    Caused by: BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by BINDING.JCA-11626
    Query Not Found Exception.
    Could not find Named Query [ReceiveSampleCustomPollSelect] with ? arguments, belonging to Descriptor [ReceiveSampleCustomPoll.F554102T] for [oracle.tip.adapter.db.DBActivationSpec@2ec733b0] inside of mappings xml file: [ReceiveSampleCustomPoll-or-mappings.xml].
    You may have changed the queryName info in either the _db.jca or toplink-mappings.xml files so that they no longer match.
    Make sure that the queryName in the activation/interactionSpec and in the Mappings.xml file match. If an old version of the descriptor has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this named query.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. 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:653)
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:619)
         at oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:291)
         at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:883)
         at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:375)
         at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:266)
         at oracle.tip.adapter.db.InboundWork.init(InboundWork.java:322)
         at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:526)
         ... 4 more
    Caused by: BINDING.JCA-11626
    Query Not Found Exception.
    Could not find Named Query [ReceiveSampleCustomPollSelect] with ? arguments, belonging to Descriptor [ReceiveSampleCustomPoll.F554102T] for [oracle.tip.adapter.db.DBActivationSpec@2ec733b0] inside of mappings xml file: [ReceiveSampleCustomPoll-or-mappings.xml].
    You may have changed the queryName info in either the _db.jca or toplink-mappings.xml files so that they no longer match.
    Make sure that the queryName in the activation/interactionSpec and in the Mappings.xml file match. If an old version of the descriptor has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this named query.
         at oracle.tip.adapter.db.exceptions.DBResourceException.queryNotFoundException(DBResourceException.java:694)
         at oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer.initializeQuery(TopLinkXMLProjectInitializer.java:1238)
         at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:728)
         ... 8 more
    Help required to fit custom SQL in mapping.xml file for complex queries.
    Thanks,
    Arun Jadhav.

    "Execuite Custom SQL" in DB adapter and you'l get it.
    But in this case you'll have to implement your own polling strategy (if you need one).
    If you want to use one of the predefined polling strategy you should use "Poll for New or Changed records" and import all the tables you use and connect them in wizard.

  • Control exceptions or errors in procedure

    Hy , I have a proceducre like this:
    CREATE OR REPLACE PROCEDURE "MY_PROCEDURE"( )
    AS
    BEGIN
    INSERT INTO tableBackupTable1 SELECT table1.* FROM table1;
    INSERT INTO tableBackupTable2 SELECT table1.* FROM table2;
    */*Disable FK*/*
    for i in (select constraint_name, table_name from user_constraints where constraint_type ='R' and status = 'ENABLED')
    LOOP
              execute immediate 'alter table '||i.table_name||' disable constraint '||i.constraint_name||'';
    end loop;
    delete * from table1;
    delete * from table2;
    */*Enable FK*/*
    for i in (select constraint_name, table_name from user_constraints where constraint_type ='R' and status = 'ENABLED')
    LOOP
              execute immediate 'alter table '||i.table_name||' enable constraint '||i.constraint_name||'';
    end loop;
    END;
    1. If I want to control the errors or exceptions for this procedure from my java code where Im calling this procedure from:
    I dont have to declare a block "EXCEPTION......" in the procedure, right?
    2. If I want to rollback if an error or exception happens, should I do something in the procedure or in my java code?
    3. If I dont want to return anything in my procedure, should I use a sys_refcursor like out parameter?
    4. Should I use commit, where?
    5. Should I surround the loops for enable or disable fk with begin and end because If I dont surround it and an error ocurrs while enablling FK or disabling them ?
    6. All my accesses to the database from my java code are transactional, so if I call this procedure from my java code and this call is transactional and the procedure is itself transactional, is there a problem with this?
    Thanks
    Edited by: user13162080 on 29-dic-2010 6:40
    Edited by: user13162080 on 29-dic-2010 6:46
    Edited by: user13162080 on 29-dic-2010 6:56

    Hi,
    I dont want to handle it in the procedure itself because I am controlling all exceptions or errors in the database from java to make rollback or whatever
    Can you help me in the others questions? In my opinion this is not the right way to handle database exception. Database exception should be handled in database itself not in java. Oracle will rollback the transaction autometically if any statement fails(exception) and you will not have to put extra efforts(java code) to control the exception. If you wish you can explain your business requirement we may suggest something easier/better.
    2. If I want to rollback if an error or exception happens, should I do something in the procedure or in my java code?It should be driven by your business requirement.
    3. If I dont want to return anything in my procedure, should I use a sys_refcursor like out parameter?It depends what kind of value you want to return. For a single value sys_refcursor is not the right tool. Refer this link http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/static.htm#i7106
    4. Should I use commit, where?
    It should also driven by your business need. COMMIT will make the changes permanent into the database so whenever you want to commit you can. All the DDLs (CREATE, DROP table etc) are having implicit (auto) COMMIT.
    5. Should I surround the loops for enable or disable fk with begin and end because If I dont surround it and an error ocurrs while enablling FK or disabling them ?
    I would suggest to have a look on http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/toc.htm
    6. All my accesses to the database from my java code are transactional, so if I call this procedure from my java code and this call is transactional and the procedure is itself transactional, is there a problem with this?
    What do you mean by transactional? do you mean for each row?
    Thanks and Regards,
    Avinash
    Edited by: Avinash Tripathi on Dec 29, 2010 7:04 PM

  • SSRS Reports " Failed to unload app domain DefaultDomain.The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015). error

    Hi,
    I'm using SQL Server 2008R2 Reporting Services.
    When i click on Web Services URL link it throws the below error.
    "Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
    The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
    and in the Event viewer i can see the below error for reporting services.
    "Failed to unload app domain DefaultDomain.  The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
    Any help would be greatly appreciated.

    Related thread has a solution:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Sudden exit of Thread without Exception or Error

    Hi @all,
    I've got some strange problem.
    Within my socket server I handle each request within a Thread. Inside this Thread, the whole code is surrounded by...
    try
    catch( Throwable th )
    Sometimes a Thread dies without occurence of any Exception or Error.
    Especially strage is, that (if it crashes) always objects of the same class and exactly the same line of code is executed last.
    There is kind of logging, that is executed last, like ...
    logLogger.debug( "" );
    Next should be getting the instance of a Singleton, which is a database connection pool, and getting a database connection out of it.
    DbConnectionPool.getInstance().getDbConnection();
    Within "getInstance()", the first line of code is logging, as well as the first line of "getDbConnection()".
    The logger that I use is log4j. The same code is used in many classes, but the error only occurs in few of them.
    Do you have any idea, what this error could be about?
    Could it be, that there is no Throwable risen in case of an error, but only the concerning Thread dies, but the whole virtual machine and other functionality works well, as before?
    My system :
    Suse Linux Enterprise Server Version 8 /
    Suse Linux Enterprise Server Version 10
    At least 4 CPUs and 8 GiB of RAM, as well as enough space on hard disk.
    Java virtual machine :
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02), Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) /
    Java(TM) SE Runtime Environment (build 1.6.0-b105), Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
    Many thanks in advance.
    Bye ... Christian

    The concerning code is as follows.
    The Thread class :
    try
    // Get AddressCount parameter from configuration.
    int iAddressCount = 0;
    try
    iAddressCount = Integer.parseInt( elmF1755.getAttributeValue( ATT_ADDRESSCOUNT ) );
    logLogger.debug( "Received AddressCount from configuration : " + iAddressCount ); *// This is the last executed line of code.*
    catch( Exception ex )
    throw new Exception( String.format( "Invalid configuration attribute <%1$s : %2$s : %3$s>.", Constants.FUNCTIONPARAMETER, Constants.ELM_F1755, Constants.ATT_ADDRESSCOUNT ), ex );
    // Get free database connection from the pool.
    clsDB = DbConnectionPool.getInstance().getDbConnection();
    if( clsDB == null )
    throw new Exception( "No free database connection available." );
    catch( Throwable th )
    String strError = th.getClass().getSimpleName() + " occured. (" + th.getMessage() + ")";
    logLogger.error( strError, th );
    clsResponse.clear();
    clsResponse.setTag( SSI_T002_FUNCID, GLF1755_ID );
    clsResponse.setFuncOrRetVal( SSI_E999_SYSERROR, strError );          
    return clsResponse.getResponseString();
    finally
    // Clean-up
    if( result != null )
    result.close();
    logLogger.debug( "End execute." );
    The DbConnectionPool code :
    public static DbConnectionPool getInstance()
    throws Exception
    logLogger.debug( "Get instance of the DbConnectionPool." ); *// This should be executed next*
    if( instance == null )
    instance = new DbConnectionPool();
    return ( instance );
    public synchronized Connection getConnection()
    logLogger.debug( "Start getConnection." ); *// This should be executed as well*
    }

  • Exception ex Error

    Hi all, my test.jsp got the "Exception ex" error; however, I don't see any Exception ex in my test.jsp code plus "'}' expected" error. Can any one tell me what's wrong in test.jsp and how to fix it.
    Thanks a ton
    [05/May/2003:17:23:15] info ( 1276): Internal Info: loading servlet /regionalnews.jsp
    [05/May/2003:17:23:16] info ( 1276): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:626: 'catch' without 'try'.
    } catch (Exception ex) {
    ^
    C:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:637: '}' expected.
    ^
    C:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:638: 'try' without 'catch' or 'finally'.
    ^
    3 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
         at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
         at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
         at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:427)
    [05/May/2003:17:23:16] warning ( 1276): Internal error: Failed to get GenericServlet. (uri=/regionalnews.jsp,SCRIPT_NAME=/regionalnews.jsp)
    Here is my test.jsp file: ********************
    <%@ page import = "java.sql.*,oracle.jdbc.driver.*,java.util.Date, java.text.*" %>
    <%
    String dbUrl = "jdbc:oracle:thin:@sjw1bnguyen01:1521:mydb";
    String dbUser = "scott";
    String dbPass = "tiger";
    //Do the login through database
    String queryArtcCatNav = "SELECT DISTINCT CAT_ID FROM ssp01_artc" +
    " WHERE RGN_ID " + "= " + "\'" + request.getParameter("RgnId") + "\'" +
    " ORDER BY CAT_ID ASC";
    String queryArtcYrNav = "SELECT DISTINCT (to_char(ARTC_PUB_DTM, 'YYYY')) as ARTC_PUB_DTM" +
    " FROM ssp01_artc" +
    " WHERE RGN_ID = " + "\'" + request.getParameter("RgnId") + "\'" +
    " ORDER BY ARTC_PUB_DTM DESC";
    String queryLatestYr = "SELECT MAX(to_char(ARTC_PUB_DTM, 'YYYY'))FROM ssp01_artc)";
    String queryCurYrArtc = "SELECT CAT_ID, RGN_ID, ARTC_FLNM_TRKG_ID, ARTC_HDR_TXT, ARTC_PUB_DTM" +
    " FROM ssp01_artc" +
    " WHERE to_char(ARTC_PUB_DTM, 'YYYY')" +
    " IN (SELECT MAX(to_char(ARTC_PUB_DTM, 'YYYY'))FROM ssp01_artc)" +
    " AND RGN_ID = " + "\'" + request.getParameter("RgnId") + "\'" +
    " GROUP BY CAT_ID, ARTC_FLNM_TRKG_ID, ARTC_HDR_TXT, ARTC_PUB_DTM" +
    " ORDER BY CAT_ID, ARTC_PUB_DTM DESC";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection con = DriverManager.getConnection(dbUrl, dbUser,dbPass);
    Statement st = con.createStatement();
    ResultSet rsArtcCatNav = st.executeQuery(queryArtcCatNav);
    ResultSet rsArtcYrNav = st.executeQuery(queryArtcYrNav);
    ResultSet rsCurYrArtc = st.executeQuery(queryCurYrArtc);
    ResultSet rsLatestYr = st.executeQuery(queryLatestYr);
    %>
    <html>
    <head>
    <title>Test Page</title>
    <table border="0" width="515" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <h4 align="center"><font color="#000000" face="Verdana, arial"> <br>
    <%
    if(request.getParameter("RgnId").equals("na")) {
    %>
    </font><font face="verdana, arial">Semiconductor Press Room
    - North America</font></h4>
    <% }
    else if(request.getParameter("RgnId").equals("eu")) { %>
    </font><font face="verdana, arial">Semiconductor Press Room
    - Europe</font></h4>
    <% } %>
    <hr width="515">
    <!--- Display corporate news article header --->
    <p align="center"><font face="verdana, arial"><b>Corporate News</b></font></a></p>
    <!--- Set message flag variable to control the display for warning message --->
    <% boolean blnMsgFlg = false; %>
    <ul>
    <% while(rsCurYrArtc.next()) { %>
    <li>
    <%
    if(rsCurYrArtc.getString("RGN_ID").equals("na") && rsCurYrArtc.getString("CAT_ID").equals("crp")) {
    %>
    <% blnMsgFlg = true; %>
    <li>
    <!--- If the region is North America then show the hyperlink with MM/DD/YYYY format
    If the region is Europ then show the hyperlink with MM/YYYY format --->
    <%
    SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
    String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
    ParsePosition pos = new ParsePosition(0);
    Date currentTime_2 = formatter.parse(dateString, pos);
    formatter = new SimpleDateFormat ("MMM d, yyyy");
    dateString = formatter.format(currentTime_2); %>
    <!-- Call html file -->
    <p align="left"><font size="2" face="verdana, arial"><a href="/press/releases/<%= rsCurYrArtc.getString(ARTC_FLNM_TRKG_ID") %">.htm">
    <%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
    <% } //Region=eu
    else if(rsCurYrArtc.getString("RGN_ID").equals("eu") && rsCurYrArtc.getString("CAT_ID").equals("crp")) { %>
    <% blnMsgFlg = true; %>          
    <%
    SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
    String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
    ParsePosition pos = new ParsePosition(0);
    Date currentTime_2 = formatter.parse(dateString, pos);
    formatter = new SimpleDateFormat ("MMM, yyyy");
    dateString = formatter.format(currentTime_2); %>
    <!-- Call html file -->
    <p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
    <%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>          
    </li>
    <% } %>
    </ul>
    <!--- Dispaly the warning message if there is no article --->
    <% if(blnMsgFlg) { %>
    <p align="center"><font face="verdana, arial" size="2"><b>
    No news release for this category.</b></font></a></p>     
    <% } %>
    <hr width="515">
    <!--- Display product news article header --->
    <p align="center"><font face="verdana, arial"><b>Product News</b></font></a></p>
    <!--- Set variable category id counter to control the display of category description under Product News title --->
    <% int intCatIdCtr = 0; %>
    <!--- Set message flag variable to control the display for warning message --->
    <% boolean blnMsgFlg = false; %>     
    <% while(rsCurYrArtc.next()) { %>
    <%
    if(rsCurYrArtc.getString("RGN_ID").equals("na") && rsCurYrArtc.getString("CAT_ID") != "crp") {
    %>
    <% blnMsgFlg = true; %>
    <%
    if(rsCurYrArtc.getString("CAT_ID") != intCatIdCtr) {
    %>
    <p align="center"><font face="verdana, arial" size="2"><b><%= rsCurYrArtc.getString("CAT_ID") %></b></font></a></p>
    <% intCatIdCtr = rsCurYrArtc.getString("CAT_ID") %>
    <% } %>
    <ul>
    <li>
    <!--- If the region is North America then show the hyperlink with MM/DD/YYYY format
    If the region is Europ then show the hyperlink with MM/YYYY format --->
    <%
    SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
    String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
    ParsePosition pos = new ParsePosition(0);
    Date currentTime_2 = formatter.parse(dateString, pos);
    formatter = new SimpleDateFormat ("MMM d, yyyy");
    dateString = formatter.format(currentTime_2); %>
    <!-- Call html file -->
    <p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
    <%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
    <% }
    else if(rsCurYrArtc.getString("RGN_ID").equals("eu") && rsCurYrArtc.getString("CAT_ID") != "crp") { %>
    <% blnMsgFlg = true ;%>          
    <%
    SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
    String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
    ParsePosition pos = new ParsePosition(0);
    Date currentTime_2 = formatter.parse(dateString, pos);
    formatter = new SimpleDateFormat ("MMM, yyyy");
    dateString = formatter.format(currentTime_2); %>
    <!-- Call html file -->
    <p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
    <%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>          
    </li>
    <% } %>
    </ul>
    <!--- Display the warning message if there is no article --->
    <% if(blnMsgFlg) { %>
    <p align="center"><font face="verdana, arial" size="2"><b>
    No news release is available in the selected category for the selected
    year request.getParameter("PubYr"). Please try another year or category</b></font></a></p>     
    <% } %>
    </td>
    </tr>
    </table>
    <% try {
    rsArtcCatNav.close();
    rsArtcYrNav.close();
    rsCurYrArtc.close();
    rsLatestYr.close();
    st.close();
    con.close();
    catch
    (Exception e) {} %>
    </body>
    </html></a>

    hi there,
    again, it's pretty hard to see from your code but the exception you get is synthax related. you probably forgot to close one of the if's. if you format your code nicely these would be easier to catch.
    ie. i use following format:
    if(something)
    for(condition)
    do something.
    notice how easy it is to see where you open and close {}'s.
    have a nice day.
    cem.

  • BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATIST

    Dear all,
    We have recently migrated 4.6c/oracle9i/solaris 6800 5.8 to 4.6c/oracle10g/HPUX11.23
    After the migration everything was succesfull. Except the below error, when I run a dbcheck from db13.
    BR0970W Database administration alert - level: ERROR, type: FILE_OFFLINE, object: /oracle/DV2/mirrlogA/log_g1m2.dbf     
    BR0970W Database administration alert - level: ERROR, type: FILE_OFFLINE, object: /oracle/DV2/mirrlogB/log_g2m2.dbf     
    BR0970W Database administration alert - level: ERROR, type: FILE_OFFLINE, object: /oracle/DV2/mirrlogA/log_g3m2.dbf     
    BR0970W Database administration alert - level: ERROR, type: FILE_OFFLINE, object: /oracle/DV2/mirrlogB/log_g4m2.dbf     
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.APQD              
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.APQI              
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.ARFCRSTATE        
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.ARFCSDATA         
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.ARFCSSTATE        
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.ATAB              
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.CDCLS             
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.COIX              
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.COIX_DATA40       
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.DBTABLOG          
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.DDLOG             
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.DDNTF             
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.DDNTT             
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.DDXTF             
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.DDXTT             
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.EPIDXB            
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.EPIDXC            
    BR0970W Database administration alert - level: ERROR, type: HARMFUL_STATISTICS, object: (table) SAPR3.GLSP
    Can anyone help us  to overcome the above issue
    Regards
    Senthil

    Thank you Warren. I shall do that reply to you.
    Also I have received the below error messages
    oracle9i/solaris 6800 5.d to 4.6c(Kernel46D)/oracle10g/hpux11.23.
    Everything works fine except the below Three errors:
    BR0970W Database administration alert - level: ERROR, type: FILE_OFFLINE, object: /oracle/DV2/mirrlogA/log_g3m2.dbf
    BR0970W Database administration alert - level: WARNING, type: IN_WRONG_TABLESPACE, object: (table) SAPR3.APQD, value: PSAPAPQDD
    BR0978W Database profile alert - level: ERROR, parameter: LOG_ARCHIVE_START, value: FALSE (<> TRUE)
    Can you help
    Regards
    Senthil

  • LiveCycle unable to access Cache Controller. Exception message - Error accessing the cache container - Error on GET action for cache Replicated:UM_CLUSTER_INVALIDATION_CACHE

    The incident starts after all the members are removed from the DCS Stack DefaultCoreGroup view and added back again by WebSphere Application Server. Following exceptions are seen after LiveCycle was added back in again to the view.
    We have a clustered environment with two nodes 2A and 2B. Server 2A crashed and therefore all members on 2B node were removed from the DCS view. Later the new core group view was installed but LiveCycle did resume operations as expected.
    Errors below:
    Exception caught while dealing with cache : Action - Get, ObjectType - UM_CLUSTER_INVALIDATION_CACHE, Exception message - Error accessing the cache container - Error on GET action for cache Replicated:UM_CLUSTER_INVALIDATION_CACHE
    ServiceRegist W   Cache get failed for service EncryptionService Reason: Error accessing the cache container - Error on GET action for cache
    Error accessing the cache container - Error on GET action for cache Local:SERVICE_FACTORY_CACHE
    The following message appeared for several different services:
    Cache put failed for service [CredentialService, ReaderExtensionsService,EncryptionService, etc]
    SSOSessionCle W   Error in cleaning stale sessions from the database. These sessions would be deleted in next trigger
                                     java.lang.RuntimeException: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
      at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:125)
      at com.adobe.idp.um.scheduler.SSOSessionCleanupJob.execute(SSOSessionCleanupJob.java:69)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
      at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:219)
      at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:99)
      ... 3 more
    Caused by: com.gemstone.gemfire.distributed.DistributedSystemDisconnectedException: GemFire on 2B<v1>:9057/51073 started at Sun Aug 17 08:57:23 EDT 2014: Message distribution has terminated, caused by com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system.  Reason='this member is no longer in the view but is initiating connections'
      at com.gemstone.gemfire.distributed.internal.DistributionManager$Stopper.generateCancelledEx ception(DistributionManager.java:746)
      at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem$Stopper.generateCance lledException(InternalDistributedSystem.java:846)
      at com.gemstone.gemfire.internal.cache.GemFireCacheImpl$Stopper.generateCancelledException(G emFireCacheImpl.java:1090)
      at com.gemstone.gemfire.CancelCriterion.checkCancelInProgress(CancelCriterion.java:59)
      at com.gemstone.gemfire.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:669 4)
      at com.gemstone.gemfire.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2587)
      at com.gemstone.gemfire.internal.cache.LocalRegion.entries(LocalRegion.java:1815)
      at com.gemstone.gemfire.internal.cache.LocalRegion.entrySet(LocalRegion.java:7941)
      at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:209)
      ... 4 more
    Caused by: com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system.  Reason='this member is no longer in the view but is initiating connections'
      at com.gemstone.org.jgroups.protocols.pbcast.ParticipantGmsImpl.handleLeaveResponse(Particip antGmsImpl.java:106)
      at com.gemstone.org.jgroups.protocols.pbcast.GMS.up(GMS.java:1289)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:202)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:276)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.UNICAST.up(UNICAST.java:294)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:625)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:187)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:504)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.FD.up(FD.java:438)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.Discovery.up(Discovery.java:258)
      at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
      at com.gemstone.org.jgroups.protocols.TP.handleIncomingMessage(TP.java:1110)
      at com.gemstone.org.jgroups.protocols.TP.handleIncomingPacket(TP.java:1016)
      at com.gemstone.org.jgroups.protocols.TP.receive(TP.java:923)
      at com.gemstone.org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1320)
      at java.lang.Thread.run(Thread.java:773)
    [22/08/14 0:28:10:237 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:29:10:252 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:30:10:268 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:31:10:283 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:32:10:298 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:33:10:313 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:34:10:328 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:35:10:343 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:36:10:358 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:37:10:373 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerException
    [22/08/14 0:38:10:389 EDT] 00000b4f WorkPolicyEva W   Exception thrown in background thread. Cause: java.lang.NullPointerExceptionor
    I have tried looking for the root cause about why LiveCycle was not able to resume normally, didn't find anything related.

    LiveCycle uses Gemfire as distributed cache for cluster members. If you are using TCP Locators (caching based on TCP instead of UDP), below are the possible situations which might lead to “ForcedDisconnectException” :
    - There is time difference between two nodes.
    - These is network connectivity issues.
    - The high CPU usage by the member crashed.
    -Wasil

  • Could not connect to database io exception: 10g on xp

    after a series of adding and deleting an instance of oracle through oracle database assitantl;
    i've yet to see my database :(
    the error written in enterprise manager was :
    Unable to connect to the database
    io exception: The Network Adapter could not establish the connection
    i'm on xp sp1 standalone;
    any help on the matter is greatly appreciated

    guys you can discard this question,
    i've decided to uninstall and reinstall the entire 10g
    now it works fine
    cheers

  • Statement Exception: General Error

    Hi everybody
    I have a program which interacts with Access database,
    I get this error:
    Statement Exception: General Error
    when I try to execute this part of code,, it used to be working,,
    but I dont know whats going wrong
    any idea???
    String addRec="INSERT INTO Election(Elect_Id, Title, Survay, Start_Time,"+
    "Start_Date, End_Time, End_Date, Owner)VALUES"+ +"("+id+", '"+title+"' , '"+question+"', '"+startTime+"', '"+
    startDate+"', '"+endTime+"', '"+endDate+"', '"+owner+"');";
    stmnt=con.createStatement();
    stmnt.executeUpdate(addRec);

    Are your date/time formats right? I always execute a query with an example of the code I use if it doesn't work out in java. Most of the time it's some stupid type error you looked over.

  • CS2 Database file - Damaged Error, program shuts down

    32mb InDesign file with 50 pages of text and hi-res color images. Just after saving and trying to scroll to another page, images were grayed out and an error message came up stating the database was damaged and InDesign was shutting down.
    Reopened InDesign and same error. Restarted the Mac, opened the file and the program rebuilt the file, seems to be OK. I have 3.5mb of memory with InDesign, Photoshop, Illustrator, Word, Excel, Acrobat and Safari all open. MAC OS 10.4.11
    Any clues on what might be causing this problem??

    This is the window I received.
    edit* looks like pics don't work here
    What is it supposed to do and how do I un-install it.....have removed all traces of JAVA & downloaded fresh, still nothing
    Any ideas?
    Message was edited by:
    RichardJW1

  • 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

  • Where can I find information about exceptions and errors?

    I'm new to Java and sometimes run into errors that I don't understand. Is there a list of common errors somewhere that I could look at to at least get a general idea of what's causing my problem?
    for instance:
    I'm writing a little program where the user inputs a number and depending on their input a message is displayed. I'm using java.awt.*, java.awt.event.*, & javax.swing.* for my events, buttons, and other goodies. My program compiles & I can execute my main but when I click on the button that grabs the input I get the following errors.
    java.lang.NullPointerException
         at Horoscope$ButtonHandler.actionPerformed(Horoscope.java:44)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    I'm not asking for anyone to solve this for me. It's critical that I learn how to troubleshoot and figure out a solution. I was just wondering if there was a site or link on the web that generally discusses what these (and other) errors mean. Or if anybody could tell me what they mean?

    The Java API documentation is the first place to look. Each exception or error is a class. For instance, information on java.lang.NullPointerException is in the API for the java.lang package, toward the bottom.
    For more than that, just search the internet for the name of the exception/error.

  • Could not validate SPNEGO token.java.lang.Exception: Checksum error.

    Hello consultant:
    We are trying configurated SSO usind SPNEGO  module
    We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
    we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
    When we have logged with user Active Directory and we try access to portal we obtain following error:
    Authorization check user error
    We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
    following steps:
    1. Select "Component" = "security" and "Activity" = "all"
    2. Click the "Go" button, followed by the "Add All" button
    3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
    4. Click the "Go" button, followed by the "Add All" button
    5. Start the tool
    Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
    15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
    15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
    java.lang.Exception: Checksum error.
    at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
    at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
    at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
    at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
    at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
    at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
    at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
    at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
    at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
    at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Could you help us?
    Many thanks for your collaboration

    << Do not post the same question across a number of forums >>

  • System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).

    I have been trying to install a piece of software on 2 Windows 7 PCS called Rightfax...during installing I get the error below;
           System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
    It then gives me an error log of ;
    2015-04-23 14:43:03Z: Error: Unexpected problem occurred in task worker
           System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
              at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
              at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
              at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
              at TaskWizard.TaskWorker.RunTasks()
              at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
    2015-04-23 14:43:03Z: Error: Problem in sequence or one of its pages
           System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
              at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
              at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
              at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
              at TaskWizard.TaskWorker.RunTasks()
              at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
              at CommonInstall.PreparationWorker.OnDoWork(DoWorkEventArgs e)
              at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    2015-04-23 14:43:03Z: Error: Problem in sequence or one of its pages
           System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
              at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
              at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
              at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
              at TaskWizard.TaskWorker.RunTasks()
              at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
              at CommonInstall.PreparationWorker.OnDoWork(DoWorkEventArgs e)
              at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    2015-04-23 14:43:03Z: Info: Page changed from 'WizardWorkerPage' to 'ResultPage' driven by result 'Next' and exception 'none'
    2015-04-23 14:44:06Z: Info: Page changed from 'ResultPage' to 'none' driven by result 'Next' and exception 'none'
    2015-04-23 14:44:06Z: Info: Work has not been completed; install state will not be saved.
    2015-04-23 14:44:06Z: Info: Reboot status = NotRequired
    2015-04-23 14:44:06Z: Info: Exitcode = 0
    2015-04-23 14:44:06Z: Info: Logging ended.
    I have installed this software succesfully on other machines previously.....

    Hi RyanWelsh78,
    This forum is discussing about Visual Stuido Tools for Office developing, your issue is related with the installing Rightfax add-in which is a third party product. As the reply from Eugene, you could contact Rightfax add-in developers for help.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Replication of Z table from CRM to R/3 - No mBDoc Created

    I need to transfer the contents of a bespoke customer table from CRM into R/3, off the back of delta changes being made to the CRM table.  To help us to achieve this we have performed the following steps so far: 1. Created the customer table in both

  • Need help troubleshooting issues with Adobe Reader X

    Hello, Recently our company upgraded multilpe computers to Reader X.  Initially we installed version 10.1.0.  Ever since our users on X have been experiencing problems.  We are seeing three different issues. 1) A user will fill out the PDF and click

  • Doubt in select [Resolved]

    Hello, I need urgent help I have a table where two fields are repeated id_terr, resource_id. For example: id | id_terr | resource_id 01 | 500 | 100900 02 | 505 | 100900 03 | 513 | 100900 04 | 718 | 108000 05 | 650 | 108000 06 | 513 | 108000 07 | 500

  • Dynamic queries in stored procedures - JDBC

    Hi, How do we write a query in stored procedures if the field to be selected,conditions & sort order are dynamic? The user selected the columns,conditions & sort order only at run time. Thanks in advance, sundar

  • Reg. Stock of material through CO11N confirmation

    Dear Experts I am doing confirmation entry in CO11N, Stock is not coming to stock overview screen, there is no stock. Pls help, what to do for that to bring the stock. Thanks Rajakumar.K