[jboss-jira] [JBoss JIRA] Updated: (JBAS-8072) wrapXAResource can't be enabled.

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Mon Jun 7 10:53:38 EDT 2010


     [ https://jira.jboss.org/browse/JBAS-8072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Halliday updated JBAS-8072:
------------------------------------

        Summary: wrapXAResource can't be enabled.  (was: enable wrapXAResource by default)
    Description: 
Transaction diagnostics can be improved through the use of the information provided by XAResourceWrapper. However, this currently requires explicitly enabling. Further, it's not possible to enable it in the -ds.xml, only via JMX. This is pointless - it should be on by default.

When forcing it on, it blows up:

java.lang.NullPointerException
	org.jboss.resource.connectionmanager.TxConnectionManager.createConnectionListener(TxConnectionManager.java:497)
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:647)

since the BaseWrapperManagedConnection implementation is incomplete:

   public ManagedConnectionMetaData getMetaData() throws ResourceException
   {
      // TODO: implement this javax.resource.spi.ManagedConnection method
      return null;
   }

  was:Transaction diagnostics can be improved through the use of the information provided by XAResourceWrapper. However, this currently requires explicitly enabling. Further, it's not possible to enable it in the -ds.xml, only via JMX. This is pointless - it should be on by default.



> wrapXAResource can't be enabled.
> --------------------------------
>
>                 Key: JBAS-8072
>                 URL: https://jira.jboss.org/browse/JBAS-8072
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: 6.0.0.M3
>            Reporter: Jonathan Halliday
>            Assignee: Jesper Pedersen
>             Fix For: 6.0.0.M4
>
>
> Transaction diagnostics can be improved through the use of the information provided by XAResourceWrapper. However, this currently requires explicitly enabling. Further, it's not possible to enable it in the -ds.xml, only via JMX. This is pointless - it should be on by default.
> When forcing it on, it blows up:
> java.lang.NullPointerException
> 	org.jboss.resource.connectionmanager.TxConnectionManager.createConnectionListener(TxConnectionManager.java:497)
> org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:647)
> since the BaseWrapperManagedConnection implementation is incomplete:
>    public ManagedConnectionMetaData getMetaData() throws ResourceException
>    {
>       // TODO: implement this javax.resource.spi.ManagedConnection method
>       return null;
>    }

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

        


More information about the jboss-jira mailing list