You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2009/02/26 15:59:59 UTC
[jira] Created: (SM-1816) AuditMBean getExchangeByRante() method
returns java.sql.SQLException: Invalid cursor state - no current row when
no exchange present yet
AuditMBean getExchangeByRante() method returns java.sql.SQLException: Invalid cursor state - no current row when no exchange present yet
----------------------------------------------------------------------------------------------------------------------------------------
Key: SM-1816
URL: https://issues.apache.org/activemq/browse/SM-1816
Project: ServiceMix
Issue Type: Bug
Components: servicemix-audit
Affects Versions: 3.3
Environment: Linux Debian 5.0
JVM Sun 1.5.0_14
ServiceMix 3.3
Reporter: Jean-Baptiste Onofré
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().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.