0 Replies Latest reply on Feb 6, 2004 12:12 PM by nasser

    JBoss 3.2 and Ingress DataBase

    nasser Newbie

      Hi!

      I use JBOSS 3.2
      I would like to know, if anybody have a example of .xml file connection, with INGRES DATABASE, using that class:

      ca.edbc.jdbcx.EdbcXADataSource

      inside EDBC.zip
      I've been trying to use that .xml file:



      <xa-datasource>
      <jndi-name>conn_ingres</jndi-name>
      <xa-datasource-class>ca.edbc.jdbcx.EdbcXADataSource</xa-datasource-class>
      <xa-datasource-property name="ServerName">nameServer</xa-datasource-property>
      <xa-datasource-property name="DatabaseName">baseName</xa-datasource-property>
      <xa-datasource-property name="PortName">portName</xa-datasource-property>
      <xa-datasource-property name="User">x</xa-datasource-property>
      <xa-datasource-property name="Password">y</xa-datasource-property>
      </xa-datasource>



      And appear that error message:

      Caused By: org.jboss.util.NestedSQLException: Could not enlist on entering meta-aware
      object!javax.transaction.SystemException: enlistResource failed; -nested thowable:
      (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware
      object!javax.transaction.SystemException: enlistResource failed)



      Thank's

      Nasser Auada