Excuse me for my previous reply, in fact in 3.2RC2 you should use <attribute name="TransactionManager">java:/TransactionManager</attribute>
and ignore the warning. I have just checked in the code that allows you to use <depends optional-attribute-name"TransactionManagerService">jboss:service=TransactionManager</depends> so it is available in cvs but not in 3.2RC2. thanks david jencks On 2003.02.18 05:47 Benjamin Cox wrote: > Hello, > I have just downloaded 3.2.0RC2 (the zip file, after building from > source failed), and tried to set up two MySQL datasources. I copied the > mysql-service.xml file from > $JBOSS_HOME/docs/examples/jca/mysql-service.xml and modified the > connection, etc. properties. When I ran JBoss, it complained with the > following warning: > > 02:37:24,418 WARN [XATxConnectionManager] > ---------------------------------------------------------- > 02:37:24,418 WARN [XATxConnectionManager] > ---------------------------------------------------------- > 02:37:24,418 WARN [XATxConnectionManager] Please change your datasource > setup to use TransactionManagerService with object name > jboss.tm:service=TransactionManagerService > 02:37:24,418 WARN [XATxConnectionManager] instead of TransactionManager > with value java:/TransactionManager > 02:37:24,419 WARN [XATxConnectionManager] > ---------------------------------------------------------- > 02:37:24,419 WARN [XATxConnectionManager] > ---------------------------------------------------------- > > Trying to run anyway resulted in a lot of exceptions in my > application, all indicating I didn't set up my datasources correctly. > So, I followed the advice of the warning, and changed the line: > <attribute > name="TransactionManager">java:/TransactionManager</attribute> > to: > <attribute > >name="TransactionManagerService">jboss.tm:service=TransactionManagerService</attribute> > > Running again, I received four copies of the following error (2 per > datasource): > > 02:37:25,158 INFO [LocalTxConnectionManager] Starting > 02:37:25,159 ERROR [LocalTxConnectionManager] Starting failed > javax.management.InstanceNotFoundException: > jboss.tm:service=TransactionManagerService is not registered. > at > org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354) > at > org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:445) > at > >org.jboss.resource.connectionmanager.TxConnectionManager.startService(TxConnectionManager.java:277) > at > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966) > at $Proxy11.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:392) > at org.jboss.system.ServiceController.start(ServiceController.java:408) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy5.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:231) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612) > at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy7.deploy(Unknown Source) > at > >org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:404) > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:545) > at > >org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:195) > at > >org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:268) > at > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy5.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:231) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:596) > 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:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy6.deploy(Unknown Source) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:332) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:239) > at org.jboss.Main.boot(Main.java:155) > at org.jboss.Main$1.run(Main.java:393) > at java.lang.Thread.run(Thread.java:536) > > I know this is only a release candidate, but I wanted to see if it was > possible to use it. Can anyone help me solve this problem, or will I > have to wait for the release? > Thanks in advance, > > Ben > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user