-
1. Re: WARN LocalTxConnectionManager message
adrian.brock May 26, 2003 7:38 AM (in response to janoss)Your db has does not support XA.
Regards,
Adrian -
2. Re: WARN LocalTxConnectionManager message
janoss Jun 17, 2003 10:09 PM (in response to janoss)Is this good or bad. If it only a warning and does not affect my entities, how can I turn off all of the JBoss warning messages?
-
3. Re: WARN LocalTxConnectionManager message
janoss Jun 17, 2003 10:12 PM (in response to janoss)What is the reslolution for this? If it does not affect the entity, how can I diable these numerous warning messages?
-
4. Re: WARN LocalTxConnectionManager message
jonlee Jun 17, 2003 10:57 PM (in response to janoss)The warnings indicate that things might not work as you anticipate. It is not strictly critical, but might affect the data committed. However, this is too complex a matter for the container to decide. You need to analyse your transactions and determine if there is a possibility that this is harmful.
You can filter out all warnings in your container by setting your threshold to ERROR in your log4j.xml configuration for the instance you are running. For example, if you are running the default instance, the file would be server/default/conf/log4j.xml.
You can also adjust it for different categories which might be more appropriate. See the documentation and the examples in log4j.xml. -
5. Re: WARN LocalTxConnectionManager message
janoss Jun 19, 2003 12:35 AM (in response to janoss)Eureka. Since nothing is ever documented, I used the old hammer technique and beat on the jboss.xml file until I corrected the problem. Hiding the warn messages is unacceptable since I want things to work correctly.
What did I do? Despite being unable to set the following using JBuilder 9, I manually added the following lines to my jboss.xml file inside the 'Message Bean' declaration. I should write a book.
<session-pool-transacted>false</session-pool-transacted>
<xa-connection>false></xa-connection>
Now when my message bean gets a message via onMessage off of the topic. It does not complain when it performs actions on the Entity beans which are using mysql. God I hate this stuff. Give me C, Perl, and bash anyday. -
6. Re: WARN LocalTxConnectionManager message
adrian.brock Jun 19, 2003 12:44 AM (in response to janoss)That does not fix underlying the problem.
You now have two transactions instead of one.
One could rollback, one could commit.
All you have done is stop jboss detecting the problem.
The underlying problem is that your db doesn't
have support for two phase commit.
Regards,
Adrian