Hi David,

I'm gradually working my way through the same patch for 3.2 now as
we speak.

Regards,
Adrian

xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of David Jencks
> Sent: 26 June 2003 15:50
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] Tyrex transaction manager
> 
> 
> Most likely this is caused by bugs 731349 and/or 731363.  
> These should  
> be fixed in jb4. I've been offered a patch for 3.2 from a commercial  
> company whose product depends on these bugs being fixed but it is  
> unclear if JBossGroup will allow it to be applied.  AFAIK no 
> one wants  
> to fix these in the 3.0 branch.
> 
> david jencks
> 
> On Thursday, June 26, 2003, at 07:11 AM, Oleg V. Safonov wrote:
> 
> > After deploy tyrex-tm-plugin I get next exception
> > java.lang.IllegalStateException: The transaction is not yet or no  
> > longer
> > active
> >
> > 2003-06-26 18:34:08,733 ERROR 
> [org.jboss.ejb.EntityContainer] Starting
> > failed
> > java.lang.IllegalStateException: The transaction is not yet or no  
> > longer
> > active
> >  at  
> > 
> tyrex.tm.impl.TransactionImpl.enlistResource(TransactionImpl.java:600)
> >  at  
> > 
> tyrex.tm.impl.TransactionImpl.enlistResource(TransactionImpl.java:565)
> >  at
> > 
> org.jboss.resource.connectionmanager.TxConnectionManager$TxCon
> nectionEv 
> > entLi
> > stener.enlist(TxConnectionManager.java:460)
> >  at
> > 
> org.jboss.resource.connectionmanager.TxConnectionManager.manag
> edConnect 
> > ionRe
> > connected(TxConnectionManager.java:358)
> >  at
> > 
> org.jboss.resource.connectionmanager.BaseConnectionManager2.al
> locateCon 
> > necti
> > on(BaseConnectionManager2.java:490)
> >  at
> > 
> org.jboss.resource.connectionmanager.BaseConnectionManager2$Co
> nnectionM 
> > anage
> > rProxy.allocateConnection(BaseConnectionManager2.java:798)
> >  at
> > 
> org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnectio
> n(Wrapper 
> > DataS
> > ource.java:102)
> >  at  
> > org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:39)
> >  at
> > 
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(
> JDBCEntit 
> > yBrid
> > ge.java:119)
> >  at
> > 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManag
> er(JDBCSt 
> > oreMa
> > nager.java:438)
> >  at
> > 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStor
> eManager. 
> > java:
> > 372)
> >  at
> > 
> org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersisten
> ceManager 
> > .java
> > :170)
> >  at  
> > org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339)
> >  at  
> > 
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport
> .java:192 
> > )
> >  at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at
> > 
> org.jboss.system.ServiceController$ServiceProxy.invoke(Service
> Controlle 
> > r.jav
> > a:966)
> >  at $Proxy11.start(Unknown Source)
> >  at  
> > org.jboss.system.ServiceController.start(ServiceController.java:392)
> >  at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> >  at $Proxy37.start(Unknown Source)
> >  at org.jboss.ejb.EjbModule.startService(EjbModule.java:329)
> >  at  
> > 
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport
> .java:192 
> > )
> >  at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at
> > 
> org.jboss.system.ServiceController$ServiceProxy.invoke(Service
> Controlle 
> > r.jav
> > a:966)
> >  at $Proxy11.start(Unknown Source)
> >  at  
> > org.jboss.system.ServiceController.start(ServiceController.java:392)
> >  at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> >  at $Proxy24.start(Unknown Source)
> >  at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:540)
> >  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
> >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
> >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
> >  at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> >  at $Proxy7.deploy(Unknown Source)
> >  at
> > 
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDe
> ploymentS 
> > canne
> > r.java:302)
> >  at
> > 
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDepl
> oymentSca 
> > nner.
> > java:476)
> >  at
> > 
> org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner
> Thread.do 
> > Scan(
> > AbstractDeploymentScanner.java:200)
> >  at
> > 
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startSe
> rvice(Abs 
> > tract
> > DeploymentScanner.java:273)
> >  at  
> > 
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport
> .java:192 
> > )
> >  at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at
> > 
> org.jboss.system.ServiceController$ServiceProxy.invoke(Service
> Controlle 
> > r.jav
> > a:966)
> >  at $Proxy0.start(Unknown Source)
> >  at  
> > org.jboss.system.ServiceController.start(ServiceController.java:392)
> >  at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> >  at $Proxy5.start(Unknown Source)
> >  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
> >  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
> >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
> >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
> >  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >  at
> > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.ja 
> > va:39
> > )
> >  at
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl
> > .java:25)
> >  at java.lang.reflect.Method.invoke(Method.java:324)
> >  at
> > 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
> tedMBeanD 
> > ispat
> > cher.java:284)
> >  at  
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
> >  at $Proxy6.deploy(Unknown Source)
> >  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
> >  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
> >  at org.jboss.Main.boot(Main.java:150)
> >  at org.jboss.Main$1.run(Main.java:388)
> >  at java.lang.Thread.run(Thread.java:536)
> >
> >
> >
> > I have next transaction-service.xml
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE server>
> > <!-- $Id: transaction-service.xml,v 1.2.2.1 2003/02/15 15:33:36  
> > d_jencks Exp
> > $ -->
> >
> > <server>
> >
> >   <!--
> > 
> ====================================================================  
> > -->
> >   <!--
> >              -->
> >   <!--
> > 
> ====================================================================  
> > -->
> >
> >   <!-- The configurable Xid factory.  For use with Oracle, 
> set pad to
> > true -->
> >   <mbean code="org.jboss.tm.XidFactory"
> >   name="jboss:service=XidFactory">
> >     <!--attribute name="Pad">true</attribute-->
> >   </mbean>
> >
> >   <!--
> >      | The fast in-memory transaction manager.
> >    -->
> >   <!--
> >   <mbean code="org.jboss.tm.TransactionManagerService"
> >   name="jboss:service=TransactionManager">
> >     <attribute name="TransactionTimeout">300</attribute>
> >
> >     <depends
> > 
> optional-attribute-name="XidFactory">jboss:service=XidFactory<
> /depends>
> >   </mbean>
> >   -->
> >   <mbean code="org.jboss.tm.plugins.tyrex.TransactionManagerService"
> >          name="java:service=TransactionManager">
> >     <attribute
> > name="ConfigFileName">../server/all/conf/domain.xml</attribute>
> >   </mbean>
> >
> >   <!--
> >      | UserTransaction support.
> >    -->
> >   <mbean 
> code="org.jboss.tm.usertx.server.ClientUserTransactionService"
> >   name="jboss:service=ClientUserTransaction">
> >   </mbean>
> >
> >   <!--
> >      | The CachedConnectionManager is used partly to relay started
> > UserTransactions to
> >      | open connections so they may be enrolled in the new tx.
> >    -->
> >   <mbean  
> > code="org.jboss.resource.connectionmanager.CachedConnectionManager"
> >   name="jboss.jca:service=CachedConnectionManager">
> >     <!--SpecCompliant false means JBoss will close 
> connections left  
> > open
> > when you
> >         return from a method call and generate a loud warning.
> > SpecCompliant true
> >         means JBoss will disconnect connection handles left 
> open on  
> > return
> > from a
> >         method call and reconnect them with an appropriate 
> (security,  
> > tx)
> >         connection on the next call to the same object.-->
> >     <attribute name="SpecCompliant">false</attribute>
> >   </mbean>
> >
> > </server>
> >
> > oracle-xa-ds.xml
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <!--
> > 
> ==============================================================
> =======  
> > -->
> > <!--                                                        
>             
> >     -
> > ->
> > <!--  JBoss Server
> >               -->
> > <!--                                                        
>             
> >     -
> > ->
> > <!--
> > 
> ==============================================================
> =======  
> > -->
> >
> > <!-- $Id: oracle-xa-ds.xml,v 1.1.2.10 2003/04/25 16:58:57 
> igorfie Exp  
> > $ -->
> >
> > <!--
> > 
> ==============================================================
> =======  
> > -->
> > <!-- ATTENTION:  DO NOT FORGET TO SET Pad=true IN  
> > transaction-service.xml  -
> > ->
> > <!--
> > 
> ==============================================================
> =======  
> > -->
> >
> > <datasources>
> >   <xa-datasource>
> >     <jndi-name>OracleDS</jndi-name>
> >     <track-connection-by-tx>true</track-connection-by-tx>
> >     <isSameRM-override-value>false</isSameRM-override-value>
> >
> > <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa- 
> > datasource
> > -class>
> >     <xa-datasource-property
> > name="URL">jdbc:oracle:oci:@ORCL_MAINSERV</xa-datasource-property>
> >     <xa-datasource-property 
> name="User">SCOTT</xa-datasource-property>
> >     <xa-datasource-property 
> name="Password">1</xa-datasource-property>
> >
> > <exception-sorter-class- 
> > name>org.jboss.resource.adapter.jdbc.vendor.OracleEx
> > ceptionSorter</exception-sorter-class-name>
> >   </xa-datasource>
> >
> >   <!--
> >   <mbean
> > 
> code="org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExcept
> ionFormat 
> > ter"
> >          name="jboss.jca:service=OracleXAExceptionFormatter">
> >     <depends
> > optional-attribute- 
> > name="TransactionManagerService">jboss:service=Transactio
> > nManager</depends>
> >   </mbean>
> >   -->
> >
> > </datasources>
> >
> >
> > I use JBoss 3.2.1 and oracle 9.0
> >
> > Anybody use tyrex transaction manager?
> >
> > Oleg V. Safonov (Millennium Group, MTDORB Team, R&D)
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting  
> > Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly  
> > Commission!
> > INetU Dedicated Managed Hosting 
> http://www.inetu.net/partner/index.php
> > 
> _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU 
> Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly 
> Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 





-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to