1 Reply Latest reply on May 26, 2008 11:07 AM by Guillaume Jeudy

    XATransaction - Unabled to enlist resource

    Guillaume Jeudy Master

      Hi,

      Im running JBoss Seam 2.0.1GA under JBoss 4.2.2AS and i'm using a xa datasource, oracle jdbc driver version 10g:

      <xa-datasource>
       <!-- this datasource can be shared amongst application components as it is using a common connection pool configuration -->
       <jndi-name>ReferenceDataManagerXADS</jndi-name>
       <track-connection-by-tx />
       <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
       <xa-datasource-property name="URL">
       jdbc:oracle:thin:@hostname:1521:REFD10
       </xa-datasource-property>
       <isSameRM-override-value>false</isSameRM-override-value>
       <user-name>REFDEV</user-name>
       <password>pass</password>
       <no-tx-separate-pools/>
       <!-- ensures that we always get a connection pointing to LIVE workspace to start with -->
       <check-valid-connection-sql>select gotoWorkspaceFn('LIVE') from dual</check-valid-connection-sql>
       <exception-sorter-class-name>
       org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
       </exception-sorter-class-name>
       <metadata>
       <type-mapping>Oracle9i</type-mapping>
       </metadata>
       </xa-datasource>


      I consistently get the below stack on the 2nd usage (2nd fetch of the connection from the pool)

      2008-05-26 10:23:17,763 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
      2008-05-26 10:23:17,763 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] subject: null
      2008-05-26 10:23:17,763 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] getManagedConnection trackByTx=true tx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.RUNNING >
      2008-05-26 10:23:17,888 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying ManagedConnection from pool: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=null]
      2008-05-26 10:23:17,888 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Got connection from pool tracked by transaction org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=true trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=null] tx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.RUNNING > [InUse/Available/Max]: [1/39/20]
      2008-05-26 10:23:17,888 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Using connection from pool tracked by transaction org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=null] tx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.RUNNING > [InUse/Available/Max]: [1/39/20]
      2008-05-26 10:23:17,888 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Pre-enlist: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=null] threadTx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.RUNNING >
      2008-05-26 10:23:17,888 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Get synchronizer org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=null] threadTx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.RUNNING >
      2008-05-26 10:23:17,888 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Enlisting resource org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=TxSync11975163{tx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=false}]
      2008-05-26 10:23:17,935 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_PROTO for < 131075, 25, 23, 1-afac77c:7db:483ac487:e7afac77c:7db:483ac487:ec >
      2008-05-26 10:23:17,935 ERROR [STDERR] oracle.jdbc.xa.OracleXAException
      2008-05-26 10:23:17,935 ERROR [STDERR] at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)
      2008-05-26 10:23:17,935 ERROR [STDERR] at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:244)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113)
      2008-05-26 10:23:17,935 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:776)
      2008-05-26 10:23:17,935 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:499)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.Loader.doQuery(Loader.java:673)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.Loader.doList(Loader.java:2220)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.Loader.list(Loader.java:2099)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
      2008-05-26 10:23:17,935 ERROR [STDERR] at com.archinsurance.rdmservices.stateless.impl.DeploymentLogServiceImpl.findDeployDBLogEntriesByReleasePackage(DeploymentLogServiceImpl.java:69)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,935 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      2008-05-26 10:23:17,935 ERROR [STDERR] at com.archinsurance.rdmservices.interceptors.LoggingInterceptor.intercept(LoggingInterceptor.java:18)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,935 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,935 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
      2008-05-26 10:23:17,935 ERROR [STDERR] at $Proxy243.findDeployDBLogEntriesByReleasePackage(Unknown Source)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-05-26 10:23:17,935 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,935 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      2008-05-26 10:23:17,935 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_5.findDeployDBLogEntriesByReleasePackage(Object_$$_javassist_5.java)
      2008-05-26 10:23:17,935 ERROR [STDERR] at com.archinsurance.rdmservices.stateful.impl.PackageAdminActionBean.showDeployStatus(PackageAdminActionBean.java:213)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,951 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      2008-05-26 10:23:17,951 ERROR [STDERR] at com.archinsurance.rdmservices.interceptors.LoggingInterceptor.intercept(LoggingInterceptor.java:18)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,951 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:65)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,951 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
      2008-05-26 10:23:17,951 ERROR [STDERR] at $Proxy132.showDeployStatus(Unknown Source)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,951 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:40)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_3.showDeployStatus(Object_$$_javassist_3.java)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-05-26 10:23:17,951 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-05-26 10:23:17,951 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      2008-05-26 10:23:17,951 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
      2008-05-26 10:23:17,951 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
      2008-05-26 10:23:17,951 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:383)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:316)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:291)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:248)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:461)
      2008-05-26 10:23:17,951 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
      2008-05-26 10:23:17,951 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      2008-05-26 10:23:17,951 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      2008-05-26 10:23:17,951 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.ajax4jsf.Filter.doFilter(Filter.java:175)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-05-26 10:23:17,951 ERROR [STDERR] at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:118)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      2008-05-26 10:23:17,951 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      2008-05-26 10:23:17,951 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      2008-05-26 10:23:17,951 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Failed to enlist resource org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@bbade9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@bbad98 handles=0 lastUse=1211811781825 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@38f93d context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@cc1f32 xaResource=org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper@bbade7 txSync=TxSync11975163{tx=TransactionImple < ac, BasicAction: afac77c:7db:483ac487:e7 status: ActionStatus.ABORT_ONLY > wasTrackByTx=true enlisted=false}]
      java.lang.Throwable: Unabled to enlist resource, see the previous warnings.
       at org.jboss.resource.connectionmanager.TxConnectionManager.<clinit>(TxConnectionManager.java:132)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy52.create(Unknown Source)
       at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:192)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy10.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)


      When I remove:

      <check-valid-connection-sql>select gotoWorkspaceFn('LIVE') from dual</check-valid-connection-sql>
      


      from the datasource config and restart the jboss server I dont get the error anymore. I confirm that the SQL can't throw an exception.

      By digging deeper into the exception log information I find out that the javax.transaction.xa.XAResource.start() was attempted in an improper context. The XAException holds XAER_PROTO code as described below.

      XAER_PROTO
      public static final int XAER_PROTORoutine was invoked in an improper context.


      log excerpt:
      2008-05-26 10:23:17,935 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_PROTO for < 131075, 25, 23, 1-afac77c:7db:483ac487:e7afac77c:7db:483ac487:ec >
      2008-05-26 10:23:17,935 ERROR [STDERR] oracle.jdbc.xa.OracleXAException
      2008-05-26 10:23:17,935 ERROR [STDERR] at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)
      2008-05-26 10:23:17,935 ERROR [STDERR] at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:244)
      


      This is the farthest I could get, can somebody tell me what are the next steps I should do to troubleshoot the issue? Or have any leads? I'm not a XA expert but this error is really throwing me off.


      Thanks,
      -Guillaume

        • 1. Re: XATransaction - Unabled to enlist resource
          Guillaume Jeudy Master

          Now I think i'm on to something, if I replace the SQL in check-valid-connection-sql to:

          select count(*) from dual
          it doesnt throw the exception anymore.

          ok so this has something to do with the actual SQL being executed.

          select gotoWorkspaceFn('LIVE') from dual
          is a user function calling the workspace manager oracle stored procedure under the hood:

          exec dbms_wm.GotoWorkspace('LIVE')


          I dont have access to this oracle 10g release supplied stored procedure source code but I suspect it might be doing something special with the transaction.

          ok so, at this point I don't think anybody else in the world hit the same issue as me so I will ask a different question:

          What are the hooks in jboss I can use to configure a connection everytime its taken from the connection pool ?

          check-valid-connection-sql seemed like a valid hook to me even though I curb the purpose of the feature to my own ends. Is there anything else? I cannot use new-connection-sql as this is only set on creation, I need the configuration to happen everytime the connection is taken from the pool.

          Thank you,
          -Guillaume