-
1. Re: Deploy JCA
adrian.brock Nov 4, 2003 4:55 PM (in response to isaias)You need a -ds.xml to create an instance of the
connection factory and a connection manager/pool
See jms-ds.xml or one of the other examples in
docs/examples/jms that is not a db deployment.
Regards,
Adrian -
2. Re: Deploy JCA
isaias Nov 5, 2003 10:51 AM (in response to isaias)Hi,
I try see there files, but don't resolve my problem.
Thanks -
3. Re: Deploy JCA
adrian.brock Nov 5, 2003 10:56 AM (in response to isaias)What is your problem?
Just looking at the files won't create a new one
that deploys your managed connection factory. :-)
Regards,
Adrian -
4. Re: Deploy JCA
isaias Nov 5, 2003 12:11 PM (in response to isaias)I need to pass in descriptor whats the ConnectionManager, Connection factory and so.
Follow my ra.xml
<?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'>
<display-name>CustomJCA</display-name>
<vendor-name>iSoft</vendor-name>
<spec-version>1.0</spec-version>
<eis-type>Real Time</eis-type>
1.0
<managedconnectionfactory-class>com.isoft.jca.ManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.isoft.jca.ConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>com.isoft.jca.EISConnection</connection-impl-class>
<transaction-support>NoTransaction</transaction-support>
In Weblogic have a weblogic-ra.xml with this content
<?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>com.isoft.jca.ConnectionFactory</connection-factory-name>
<jndi-name>MyConnector</jndi-name>
</weblogic-connection-factory-dd>
This form i can access the Adapter througth my Bean with JNDI.
Thanks -
5. Re: Deploy JCA
adrian.brock Nov 5, 2003 12:27 PM (in response to isaias)You don't seem to understanding what I'm saying.
In weblogic you have a weblogic-ra.xml
in jboss you NEED a myconnector-ds.xml
e.g.
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>MyConnector</jndi-name>
<adapter-display-name>CustomJCA</adapter-display-name>
</tx-connection-factory>
</connection-factories>
Then are a number of different extra
configuration options like pool size, idle timeout, xa
support, etc.
NOTE: It is actually bound to java:/MyConnector
Regards,
Adrian