Informix

From Resin 3.0

Jump to: navigation, search


META-INF/resin-web.xml - non-XA

<web-app xmlns="http://caucho.com/ns/resin">

  <database>
    <name>jdbc/informix</name>
    <driver>
      <type>com.informix.jdbcx.IfxConnectionPoolDataSource</type>
      <url>jdbc:informix-sqli://123.45.67.89:1533/''dbname''</url>
      <init-param param-name="INFORMIXSERVER" param-value="myserver"/>
      <user>''username''</user>
      <password>''password''</password>
    </driver>
  </database>

</web-app>

META-INF/resin-web.xml - XA

<web-app xmlns="http://caucho.com/ns/resin">

  <database>
    <name>jdbc/informix-xa</name>
    <xa>true</xa>
    <driver type="com.informix.jdbcx.IfxXADataSource">
      <url>jdbc:informix-sqli://123.45.67.89:1533/<em>dbname</em></url>
      <init-param param-name="INFORMIXSERVER" param-value="myserver"/>
      <user>''username''</user>
      <password>''password''</password>
    </driver>
    ...
  </database>

</web-app>
Personal tools