[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-898) Logging stays silent when a RuntimeException is thrown from preDestroy method

Nathan Wray (JIRA) jira-events at lists.jboss.org
Mon Nov 26 09:34:31 EST 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-898?page=comments#action_12389083 ] 
            
Nathan Wray commented on EJBTHREE-898:
--------------------------------------

Thanks Kahli, that was a promising suggestion.  I tried it this morning but it didn't resolve the warning messages with each iteration of the timer (30 seconds in this case).  The only relief I've found is restricting com.arjuna to "ERROR" in jboss-log4j.xml, which isn't really a solution after all.

I added the suggested "allowMultiple" directly at the beginning of the JTA segment:

    <properties depends="arjuna" name="jta">
      <property name="com.arjuna.ats.jta.allowMultipleLastResources" value="true"/>

and commented out the log4j restriction on com.arjuna.  I'm getting the following every 30 seconds in the server log:

2007-11-26 09:23:33,671 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 1767f1
2007-11-26 09:24:03,609 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 18a36e6
2007-11-26 09:24:33,656 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 1f1c748
2007-11-26 09:25:03,609 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 1815614
2007-11-26 09:25:33,593 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at ff3813
2007-11-26 09:26:03,609 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 68ef48




> Logging stays silent when a RuntimeException is thrown from preDestroy method
> -----------------------------------------------------------------------------
>
>                 Key: EJBTHREE-898
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-898
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.0 GA
>            Reporter: Carlo de Wolf
>            Priority: Critical
>             Fix For: Branch_4_2
>
>
> 09:48:47,432 INFO  [STDOUT] ContainedBean.preDestroy
> 09:48:47,432 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 1ccc3ea

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list