Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RA fails to deploy on JBoss 7 #182

Closed
rdicroce opened this issue Jun 8, 2012 · 1 comment

Comments

Projects
None yet
3 participants
@rdicroce
Copy link

commented Jun 8, 2012

hazelcast-ra-2.1.2.rar does not deploy on JBoss 7.1.1.Final. The following validation errors are logged:

Severity: ERROR
Section: 6.5.3.2
Description: A ManagedConnectionFactory must implement a "public int hashCode()" method.
Code: com.hazelcast.jca.ManagedConnectionFactoryImpl

Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a "public int hashCode()" method.
Code: com.hazelcast.jca.ResourceAdapterImpl

Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a "public boolean equals(Object)" method.
Code: com.hazelcast.jca.ResourceAdapterImpl

Severity: ERROR
Section: 6.5.3.2
Description: A ManagedConnectionFactory must implement a "public boolean equals(Object)" method.
Code: com.hazelcast.jca.ManagedConnectionFactoryImpl

Also, JBoss 7 is significantly different from JBoss 6 and the example configuration provided in the Hazelcast documentation no longer applies. I put the following in my standalone.xml to enable the resource adapter. I think it's correct but I'm not sure.

    <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">
        <resource-adapters>
            <resource-adapter>
                <archive>hazelcast-ra-2.1.2.rar</archive>
                <transaction-support>LocalTransaction</transaction-support>
                <connection-definitions>
                    <connection-definition class-name="com.hazelcast.jca.ConnectionFactoryImpl" jndi-name="java:/HazelcastCF"/>
                </connection-definitions>
            </resource-adapter>
        </resource-adapters>
    </subsystem>
@derjust

This comment has been minimized.

jimj pushed a commit to jimj/hazelcast that referenced this issue Aug 10, 2012

@jimj jimj referenced this issue Aug 10, 2012

Merged

Jca compliance #237

@mdogan mdogan closed this in e73ee1b Aug 11, 2012

@derjust derjust referenced this issue Aug 13, 2012

Closed

RAR-Adapter #239

bilalyasar pushed a commit to hazelcast/hazelcast-ra that referenced this issue Jan 28, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.