A ResourceAdapter must implement a "public boolean equals(Object)"

Solution Verified - Updated -

Issue

  • We want to deploy the resource adapter for Sonic MQ v8.5 in EAP6 but getting the following error message:
ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a \"public boolean equals(Object)\" method.
Code: com.sonicsw.sonicmq.j2ee.jmsra.impl.sonic.SonicResourceAdapter

Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a \"public int hashCode()\" method.
Code: com.sonicsw.sonicmq.j2ee.jmsra.impl.sonic.SonicResourceAdapter
"}}
  • When trying to deploy the IBM CICS RAR we get the following error:
Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a "public int hashCode()" method.
Code: com.ibm.connector2.cics.ECIResourceAdapter

Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a "public boolean equals(Object)" method.
Code: com.ibm.connector2.cics.ECIResourceAdapter

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
  • Sonic MQ v8.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content