AFX test connector settings button times out and the test connector capabilities work or the test connector capabilities fail but the test connector settings button succeeds in RSA Identity Governance & Lifecycle
Originally Published: 2015-06-26
Article Number
Applies To
RSA Version/Condition: 6.9.x, 7.0.x, 7.1.x
Issue
Additional Symptoms:
- This is true for all connectors regardless of connector type and target host.
- A key symptom is the test connector settings button timing out. For example, when targeting an invalid hostname instead of getting the expected connection failure messages, the test times out.
- There are no useful logs in $AFX_HOME/esb/logs.
- The $AFX_HOME/activemq/data/activemq.log has messages similar to the following:
2015-06-25 20:41:15,780 | ERROR | Failed to fill batch | org.apache.activemq.broker.region.cursors.AbstractStoreCursor | Queue:AFX-SETTINGS-MySQL-Database java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaProducerAuditCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:265) at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:110) at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) at org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1678) at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1898) at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1425) at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98) at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36) Caused by: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaProducerAuditCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand at org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:956) at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$5.execute(KahaDBStore.java:494) at org.apache.kahadb.page.Transaction.execute(Transaction.java:728) at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recoverNextMessages(KahaDBStore.java:485) at org.apache.activemq.store.ProxyMessageStore.recoverNextMessages(ProxyMessageStore.java:88) at org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:97) at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:262) ... 7 more 2015-06-25 20:41:15,781 | ERROR | Failed to page in more queue messages | org.apache.activemq.broker.region.Queue | Queue:AFX-SETTINGS-MySQL-Database java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaProducerAuditCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:113) at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) at org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1678) at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1898) at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1425) at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98) at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36) Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaProducerAuditCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:265) at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:110)
Cause
This issue can occur after an AFX server crashes with insufficient disk space.
Resolution
- To resolve this issue, recreate the KahaDB database as specified in RSA Knowledge Base Article 000038511 -- How to create a new ActiveMQ KahaDB for use with AFX in RSA Identity Governance & Lifecycle.
- If recreating the persistence database does not resolve your issue, the next step would be to download and install the AFX Server Archive. For instructions on how to do this, please see RSA Knowledge Base Article 000037993 - How to download and install the AFX Server Archive in RSA Identity Governance & Lifecycle.
- If downloading and installing the AFX Server Archive does not resolve your issue, please see RSA Knowledge Base Articles 000038029 -- Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle and 000038030 -- Troubleshooting AFX Server issues in RSA Identity Governance & Lifecycle for additional articles on resolving AFX issues.
- If none of the above resolves your issue, please contact RSA Identity Governance & Lifecycle Support for further assistance.
Related Articles
Test connection fails from the RSA ID Plus Cloud Access Service and Identity Router to the SecurID Authentication Manager 1.37KNumber of Views How to test RSA SecurID Authentication Manager to ID Plus Cloud Access Service connectivity 844Number of Views Test connection failed. One or more directory connections is incorrect error during testing connection from RSA Authentica… 1.87KNumber of Views How to test RSA Identity Router (IDR) Secure Connector connectivity to the RSA ID Plus Cloud Access Service 2.53KNumber of Views Exported roles does not contain role entitlements in V7.5.2 P08 in RSA Governance & Lifecycle. 48Number of Views
Trending Articles
Troubleshooting Web Tier deployments on Red Hat Enterprise Linux for RSA Authentication Manager 8.1 RSA-2026-07: RSA Identity Router Security Update for Third-Party Component Vulnerabilities How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console Installing rsaservmgr scripts [exec] error reading information on service rsaservmgr error when installing RSA Web Tier o… RSA-2026-05: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities
Don't see what you're looking for?