Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1816

AuditMBean getExchangeByRante() method returns java.sql.SQLException: Invalid cursor state - no current row when no exchange present yet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.3
    • None
    • servicemix-audit
    • None
    • Linux Debian 5.0
      JVM Sun 1.5.0_14
      ServiceMix 3.3

    Description

      Using JMX client, I start the JdbcAuditor service.

      When I call the getExchangeByRange() method on the AuditorMBean, if no exchange are stored in the audit derby database, I get :

      java.sql.SQLException: Invalid cursor state - no current row.

      The AuditorMBean should be able to return an empty list.

      The current workaround is to call getExchangeCount() to check if some exchange are stored and after call getExchangeByRange().

      Attachments

        Activity

          People

            Unassigned Unassigned
            jb@nanthrax.net Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: