[jboss-dev-forums] [JBoss AS 7 Development] - Informix JDBC Driver Issue

Sam Tielker do-not-reply at jboss.com
Tue Dec 27 16:20:10 EST 2011


Sam Tielker [http://community.jboss.org/people/stiel] created the discussion

"Informix JDBC Driver Issue"

To view the discussion, visit: http://community.jboss.org/message/643438#643438

--------------------------------------------------------------
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/ 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 at 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
[http://community.jboss.org/message/643438#643438]

Start a new discussion in JBoss AS 7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111227/7fb4bd0d/attachment.html 


More information about the jboss-dev-forums mailing list