[jboss-jira] [JBoss JIRA] Updated: (JBAS-3693) Other XAResource errors

Adrian Brock (JIRA) jira-events at jboss.com
Mon Sep 25 08:06:01 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3693?page=all ]

Adrian Brock updated JBAS-3693:
-------------------------------

    Description: 
Further to JBAS-3336 (resource manager error during enlist should close the connection). 

There are other xa resource failures that need to be catered for.
e.g. a failure to delist probably means a problem with the connection.

Also, this could be dealt with at the rar level? e.g. the jdbc XAManagedConnection

   public void end(Xid xid, int flags) throws XAException
   {
+      try
+      {
         xaResource.end(xid, flags);
+      }
+      catch (XAException e)
+      {
+          broadcastConnectionError(e);
+          throw e;
+      }
...


  was:
Further to JBAS-3336 (resource manager error during error should close the connection). 

There are other xa resource failures that need to be catered for.
e.g. a failure to delist probably means a probably means a problem with the connection.

Also, this could be dealt with at the rar level? e.g. the jdbc XAManagedConnection

   public void end(Xid xid, int flags) throws XAException
   {
+      try
+      {
         xaResource.end(xid, flags);
+      }
+      catch (XAException e)
+      {
+          broadcastConnectionError(e);
+          throw e;
+      }
...



> Other XAResource errors
> -----------------------
>
>                 Key: JBAS-3693
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3693
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Adrian Brock
>         Assigned To: Weston Price
>             Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.GA
>
>
> Further to JBAS-3336 (resource manager error during enlist should close the connection). 
> There are other xa resource failures that need to be catered for.
> e.g. a failure to delist probably means a problem with the connection.
> Also, this could be dealt with at the rar level? e.g. the jdbc XAManagedConnection
>    public void end(Xid xid, int flags) throws XAException
>    {
> +      try
> +      {
>          xaResource.end(xid, flags);
> +      }
> +      catch (XAException e)
> +      {
> +          broadcastConnectionError(e);
> +          throw e;
> +      }
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list