2 Replies Latest reply on Nov 8, 2001 12:44 AM by ravi

    Informix JCA resource adaptor

    ravi Newbie

      Has anybody used the jboss generic resource adaptor to wrap informix jdbc driver into a jca resource adaptor.
      if so please post it here.

        • 1. Re: Informix JCA resource adaptor
          David Jencks Master

          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
            ravi Newbie

            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 -->