There are actually essentially no consequences.  Using the depends tag
would make your ds deployment wait for the transaction manager to get
started before it gets deployed.  However you can't use it in 3.2RC2, just
3.2 cvs.

I haven't seen the tx manager deploy after a datasource, but it is
theoretically possible.  The warning is there in 3.2 due to slightly
careless backporting from head.
  What you should IMNSHO actually do is use the cvs version of jboss 3.2
and the *-ds.xml format files where this dependency is generated for you.

david jencks

On 2003.02.18 10:43 "Corbin, James" wrote:
> 
> Warnings make me nervous.  What are the consequences of ignoring the
> warning?  I'm just curious what affect not setting this as recommended by
> the warning in the log file.
> 
> -----Original Message-----
> From: David Jencks [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 18, 2003 7:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] ConnectionManager on 3.2.0RC2 [Exception
> TransactionManagerServic e )
> 
> You should be able to ignore  the warning.  If not change to
> 
> <depends
> optional-attribute-name"TransactionManagerService">jboss:service=Transaction
> Manager</depends>
> 
> Sorry about the confusing message.
> 
> david jencks
> 
> On 2003.02.18 08:40 Egger Lothar wrote:
> > hi list
> > 
> > just downloaded 3.2.0RC2
> > 
> > after deploying several beans and ConnectionManager oracle-service.xml
> > JBOSS 3.2.0RC2 complained 
> > 
> > 14:27:26,115 INFO  [LocalTxConnectionManager] Starting
> > 14:27:26,115 WARN  [LocalTxConnectionManager]
> > ----------------------------------------------------------
> > 14:27:26,115 WARN  [LocalTxConnectionManager]
> > ----------------------------------------------------------
> > 14:27:26,115 WARN  [LocalTxConnectionManager] Please change your
> > datasource
> > setup to use TransactionManagerService with
> > object name jboss.tm:service=TransactionManagerService
> > 14:27:26,115 WARN  [LocalTxConnectionManager] instead of
> > TransactionManager
> > with value java:/TransactionManager
> > 14:27:26,115 WARN  [LocalTxConnectionManager]
> > ----------------------------------------------------------
> > 14:27:26,115 WARN  [LocalTxConnectionManager]
> > ----------------------------------------------------------
> > 14:27:26,115 INFO  [OracleDS-OEBB] Bound connection factory for
> resource
> > adapter for ConnectionManager 'jboss.jca:servic
> > e=LocalTxCM,name=OracleDS to JNDI name 'java:/OracleDS'
> > 14:27:26,115 INFO  [LocalTxConnectionManager] Started
> > 
> > 
> > OK I changed oracle-service.xml:
> > <!-- <attribute
> > name="TransactionManager">java:/TransactionManager</attribute> -->
> > to:
> > <attribute>
> >
> name="TransactionManagerService">jboss.tm:service=TransactionManagerService<
> > /attribute>
> > result:
> > [LocalTxConnectionManager] 
> > Starting failed javax.management.InstanceNotFoundException: 
> > jboss.tm:service=TransactionManagerService is not registered.
> > at
> >
> org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:
> > 354)
> > 
> > an earlier version 3.2.0rc2 compiled fom cvs did not complain about
> > changing
> > the datasource.
> > 
> > 
> > thanks for all your work and help!
> > 
> > cheers
> > lothar
> > 
> > 
> > -------------------------------------------------------
> > 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
> This electronic message transmission contains information from the
> Company that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or
> entity named above.  If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the contents
> of this information is prohibited.  If you have received
> this electronic transmission in error, please notify the sender
> immediately by replying to the address listed in the "From:" field.
> 
> 
> 
> -------------------------------------------------------
> 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

Reply via email to