Re: Construction of service 'InternalRequestGlobals' has failed due to recursion:

2009-11-10 Thread mraible
I was able to solve this by using Spring's AbstractTransactionalJUnit4SpringContextTests (to cache the applicationContext) and adding a new ModuleDef to PageTester. Unfortunately, SpringModuleDef seems to take ApplicationContext as a constructor argument in 5.0.18, but not in 5.1.05. @ContextConf

Re: Construction of service 'InternalRequestGlobals' has failed due to recursion:

2009-11-10 Thread mraible
I tried changing to locator.proxy and direct instantiation, but no dice. For proxy(), I used: public static void contributeMasterObjectProvider(OrderedConfiguration configuration, ObjectLocator locator) { configuration.add("spring"

Re: Construction of service 'InternalRequestGlobals' has failed due to recursion:

2009-11-10 Thread Howard Lewis Ship
There will be a trace in the console of what Tapestry IoC was doing when it hit the issue. However, this looks like the culprit: public static void contributeMasterObjectProvider( OrderedConfiguration configuration, ObjectLocator locator) { configuration.add("spri