-
1. Re: Informix JCA resource adaptor
davidjencks Nov 5, 2001 9:52 PM (in response to jbossravi)And please contribute your working ConnectionFactoryLoader configuration to the jboss manual. (post here or send to me d_jencks@users.sourceforge.net).
Thanks! -
2. Re: Informix JCA resource adaptor
jbossravi Nov 8, 2001 12:44 AM (in response to jbossravi)The listing ABC works, but
I get a ClassCastException when I look up the datasource.
(javax.sql.DataSource) ds = (javax.sql.DataSource)ctx.looup("java:/MinervaXADS");
The lookup is returning a refernece to a XADataSource object and not a DataSource object
Listing ABC
<!-- Added Informix Resource Adaptor -->
MinervaXADS
com.informix.jdbcx.IfxXADataSource
User=user
Password=pass
ServerName=my_srv
DatabaseName=mydb
IfxIFXHOST=myhost:5678
XAMinervaDS
JCA:service=RARDeployer
Minerva JDBA XA Resource Adapter
XADataSourceName=java:/MinervaXADS
MinervaXACMFactory
# Pool type - uncomment to force, otherwise it is the default
#PoolConfiguration=per-factory
# Connection pooling properties - see
# org.jboss.pool.PoolParameters
MinSize=0
MaxSize=10
Blocking=true
GCEnabled=false
IdleTimeoutEnabled=false
InvalidateOnError=false
TrackLastUsed=false
GCIntervalMillis=120000
GCMinIdleMillis=1200000
IdleTimeoutMillis=1800000
MaxIdleTimeoutPercent=1.0
org.jboss.resource.security.ManyToOnePrincipalMapping
userName=user
password=pass
<!-- End Add -->