We will not be supporting the Tyrex transaction manager anymore unless you want to take over the integration.
XXXXXXXXXXXXXXXX Bill Burke Chief Architect JBoss Group, LLC XXXXXXXXXXXXXXXX Cast your vote for JBoss as JDJ Best App Server http://www.sys-con.com/java/readerschoice2003/vote.cfm > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Oleg V. Safonov > Sent: Thursday, June 26, 2003 10:12 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-dev] Tyrex transaction manager > > > 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$TxConnect > ionEventLi > stener.enlist(TxConnectionManager.java:460) > at > org.jboss.resource.connectionmanager.TxConnectionManager.managedCo > nnectionRe > connected(TxConnectionManager.java:358) > at > org.jboss.resource.connectionmanager.BaseConnectionManager2.alloca > teConnecti > on(BaseConnectionManager2.java:490) > at > org.jboss.resource.connectionmanager.BaseConnectionManager2$Connec > tionManage > rProxy.allocateConnection(BaseConnectionManager2.java:798) > at > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wr > apperDataS > 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>(JDBC > EntityBrid > ge.java:119) > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(J > DBCStoreMa > nager.java:438) > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreMan > ager.java: > 372) > at > org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceMa > nager.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(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > cher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCont > roller.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(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > 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(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > cher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCont > roller.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(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > 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(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > 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(URLDeploy > mentScanne > r.java:302) > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeployme > ntScanner. > java:476) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThre > ad.doScan( > AbstractDeploymentScanner.java:200) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner.startServic > e(Abstract > DeploymentScanner.java:273) > at > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > cher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCont > roller.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(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > 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(NativeMethodAccessorIm > pl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc > cessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM > BeanDispat > 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.vendo > r.OracleEx > ceptionSorter</exception-sorter-class-name> > </xa-datasource> > > <!-- > <mbean > code="org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionF > ormatter" > 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
