JBoss Community

Informix JDBC Driver Issue

created by Sam Tielker in JBoss AS 7 Development - View the full discussion

Hello. 

 

I am having trouble setting up an Informix JDBC Driver XA Datasource.  I followed the instructions on http://www.javalinux.it/wordpress/2011/07/14/how-to-create-an-manage-datasources-in-as7/ , but I still can't get JBoss to pickup the datasource.  I can get the mysql setup to work by following the directions, but nothing shows up for Informix. 

 

Module.xml

--------------------

<?xml version="1.0" encoding="UTF-8"?>

<module xmlns="urn:jboss:module:1.1" name="com.informix.jdbc">

  <resources>

    <resource-root path="ifxjdbc.jar"/> 

    <resource-root path="ifxjdbcx.jar"/>

  </resources>

  <dependencies>

    <module name="javax.api"/>

  </dependencies>

</module>

 

standalone.xml

--------------------------

<driver name="informix" module="com.informix.jdbc">

    <driver-class>

        com.informix.jdbc.IfxDriver

    </driver-class>

    <xa-datasource-class>

        com.informix.jdbcx.IfxXADataSource

    </xa-datasource-class>

</driver>

 

The server starts up without errors, but when I check the datasources ([standalone@localhost:9999 /] /subsystem=datasources:installed-drivers-list), the Informix datasources doesn't show up.  Any help would be greatly appreciated.

 

Thanks,
Sam

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community