Jesper, Following up on my earlier response...
You might want to look at the work done in the tapestry5-acegi project, where there was a HttpSessionIntegrationFilter rewritten to be used within the Tapestry pipeline rather than from web.xml I think this is a very similar situation. Jonathan > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jesper Zedlitz > Sent: Friday, February 29, 2008 9:59 AM > To: users@tapestry.apache.org > Subject: T5 PageTester problem (Spring and Hibernate) > > Maybe someone with more detailed knowledge about Tapestry's IoC > infrastructure can help me with this problem. > > I have written a unit test (in fact it's more a kind of integration test) > using the PageTester. Injected into the page is a DAO configured via > Spring. If run in non-transactional mode the test works. After enabling > the > transaction manager the test fails. > > The problem is a bit difficult to explain so I have written a small demo. > It > includes three test classes: > * the first a basic page test, > * the second with a simple Spring bean, > * the third the problematic combination of Tapestry, Spring and Hibernate. > http://www.comsys.informatik.uni-kiel.de/~jze/tapestry5-test.zip > > With the current configuration > mvn test > will fail. After commenting out the transaction manager in > src/main/resources/applicationContext.xml all tests will work. > > Jesper > > -- > Jesper Zedlitz Dept. for Computer Science, CAU of Kiel > Room 1108 Communication Systems Research Group > Phone: +49-(0)431-880-7279 > Christian-Albrechts-Platz 4 Fax: +49-(0)431-880-7615 > 24098 Kiel - Germany [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]