0 Replies Latest reply on Oct 7, 2002 4:01 PM by Jeff Crump

    Transactions not started?

    Jeff Crump Newbie

      The resource adapter I've written supports local transactions, but for some reason JBoss isn't starting the transaction that my back-end EIS expects to be in progress.

      This example works fine in several other containers, so it must be something I'm doing wrong (or not doing) for JBoss. It deploys fine, and the interactions are invoked properly; everything seems to be working properly except for the transaction.

      If anyone could offer help I'd appreciate it. Thanks.


      The service.xml looks like this:
      <!-- The local adapter service configuration for JBoss 3.0.2. -->


      <depends optional-attribute-name="ManagedConnectionFactoryName">

      eis/DXELocalConnector_JNDI


      <config-property name="CacheType" type="java.lang.String">locking</config-property>


      <depends optional-attribute-name="OldRarDeployment">
      jboss.jca:service=RARDeployment,name=Excelon DXE Local Connector



      <depends optional-attribute-name="ManagedConnectionPool">

      0
      50
      5000
      15
      ByContainer


      <depends optional-attribute-name="CachedConnectionManager">
      jboss.jca:service=CachedConnectionManager

      <depends optional-attribute-name="JaasSecurityManagerService">
      jboss.security:service=JaasSecurityManager

      java:/TransactionManager
      jboss.jca:service=RARDeployer



      The ra.xml looks like this:
      <?xml version="1.0" encoding="UTF-8" ?>

      <!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN"
      "http://java.sun.com/dtd/connector_1_0.dtd">



      <display-name>Excelon DXE Local Connector</display-name>
      J2EE Connector for local access to a DXE server.
      <vendor-name>Excelon Corporation</vendor-name>
      <spec-version>1.0</spec-version>
      <eis-type></eis-type>
      1.0



      <managedconnectionfactory-class>com.exln.dxe.jca.LocalManagedConnectionFactory</managedconnectionfactory-class>
      <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
      <connectionfactory-impl-class>com.exln.dxe.jca.LocalConnectionFactory</connectionfactory-impl-class>
      <connection-interface>javax.resource.cci.Connection</connection-interface>
      <connection-impl-class>com.exln.dxe.jca.ConnectionImpl</connection-impl-class>
      <transaction-support>LocalTransaction</transaction-support>

      <config-property>
      Type of DXE cache
      <config-property-name>CacheType</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>locking</config-property-value>
      </config-property>

      <authentication-mechanism>
      Authentication mechanism
      <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
      <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
      </authentication-mechanism>



      <reauthentication-support>false</reauthentication-support>