|
From: Michael M. <mmu...@re...> - 2011-03-02 11:13:40
|
Did you manage to resolve your issue? I know the response is somewhat delayed but the reason for the warnings is that you have registered a synchronisation with the transaction using: javax.transaction.Transaction.registerSynchronization(Synchronisation sync) and your implementation of sync.afterCompletion() has thrown an exception. When I say "your implementation" that could also include usages of javax.ejb.SessionSynchronisation (does your bean implement that). Do you have any logs that could indicate why the Synchronisation implementation is throwing the exception? Mike > Hi! > > First of all let me show the strange warnings I get when I access my API. > > 2010-11-18 11:39:26,574 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@c851c3 > 2010-11-18 11:39:33,466 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@1289d03 > 2010-11-18 11:39:47,005 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@1631f82 > 2010-11-18 11:39:49,785 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@dd8d64 > 2010-11-18 11:39:51,341 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@abbebb > 2010-11-18 11:39:52,428 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@14419ee > 2010-11-18 11:39:53,296 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@339c2f > 2010-11-18 11:39:54,074 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@477d3a > 2010-11-18 11:39:54,745 WARN [arjLoggerI18N ] (http-0.0.0.0-80-1) > [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] > TwoPhaseCoordinator.afterCompletion - returned failure for > com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@4bbc8b > > I get a warning for each http call to my service. Each get, post, put, > causes a warning. It seems like some sort of jboss transaction problems. > > Now to my environment. I use RESTeasy 2.0.0GA, JBoss AS 5.1GA. My > application is an ear, containing two wars and one ejb jar. one of the > wars is the entry point for my resteasy services. My resources are > modelled as stateless session beans. In the methods of my service, I > make according calls to methods of my DAO layers. My DAOs are also > stateless session beans. Does anyone have a clue what is going on here? > > Best regards. btw RESTeasy is awesome! > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > > > _______________________________________________ > Resteasy-users mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-users |