Moving simple JCA CCI adapter (not DataSource) from Weblogic
whitezzz Apr 26, 2005 6:42 AMHi guys.
We're moving our software developed to run on BEA Weblogic 8.1 to JBoss (we're running the latest 4.0.1sp1 and 3.2.6).
I've got an EAR, combining a simple JCA Adapter's RAR with Web application' WAR, working fine on Weblogic server. I've got the ra.xml like the following:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/j2ee/dtds/connector_1_0.dtd'> <connector> <display-name>zJCA Adapter</display-name> <vendor-name>BigCompany, LLC</vendor-name> <spec-version>1.0</spec-version> <eis-type>File Exec</eis-type> <version>1.0</version> <resourceadapter> <managedconnectionfactory-class> zjca.ZManagedConnectionFactory </managedconnectionfactory-class> <connectionfactory-interface> javax.resource.cci.ConnectionFactory </connectionfactory-interface> <connectionfactory-impl-class> zjca.ZConnectionFactory </connectionfactory-impl-class> <connection-interface> javax.resource.cci.Connection </connection-interface> <connection-impl-class> zjca.ZConnection </connection-impl-class> <transaction-support> NoTransaction </transaction-support> <reauthentication-support>false</reauthentication-support> </resourceadapter> </connector>
also, I've a Weblogic-specific config named weblogic-ra.xml:
<?xml version="1.0"?> <!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd'> <weblogic-connection-factory-dd> <connection-factory-name>ZConnectionFactory</connection-factory-name> <jndi-name>zjcaAdapter</jndi-name> </weblogic-connection-factory-dd>
I thought that deployment to JBoss can be as easy as with Weblogic, but unfortunetly, it failed. I have already checked the doc, look at the examples, but with no luck. Deploying my EAR gives me nothing more then:
13:18:32,623 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1sp1/server/default/deploy/zjca.ear
13:18:34,145 INFO [ResourceAdapter] Registration is not done -> stop
13:18:34,155 INFO [TomcatDeployer] deploy, ctxPath=/zjca, warUrl=file:/C:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp32118zjca.ear-contents/zjca-exp.war/
13:18:35,477 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.1sp1/server/default/deploy/zjca.ear
I'd be very thankful for any help, as I'm already broke my timeline for move to JBoss AS.
Thanks.