Hi guys,

I've been away for a few months on a spelunking hiatus in the murky depths
of PHP so this might just be a really silly question! Apologies if it is!

I'm all set up running 5.4-beta-13 (tapestry-hibernate flavour) and
tapestry-security or at least I was until some time this morning.

Whenever I try to run my projects now I'm getting errors from
HibernateModule saying it can't find x or y Tapestry internal services
(i.e.: PersistentFieldManager, DashboardManager,
ClasspathAssetAliasManager, TemplateParser, AssetObjectProvider).

I try binding these manually in my AppModule and the errors go away. So it
looks like HibernateModule is executing before TapestryModule and I'm a
little bit stumped as to why.

Anyone experienced this before? Happening on Java 6 and 7, Jetty 6, 7 and 8.

Example of one of these error traces:
2014-06-25 14:16:13.727:WARN::Failed startup of context
java.lang.IllegalArgumentException: Contribution
org.apache.tapestry5.hibernate.modules.HibernateModule.provideHibernateDashboardTab(OrderedConfiguration)
(at HibernateModule.java:194) is for service 'interface
org.apache.tapestry5.services.dashboard.DashboardManager' qualified with
marker annotations [], which does not exist.
at
org.apache.tapestry5.ioc.internal.RegistryImpl.validateContributeDefs(RegistryImpl.java:241)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:200)
at org.apache.tapestry5.ioc.RegistryBuilder.build(RegistryBuilder.java:170)
at
org.apache.tapestry5.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:199)
at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at runjettyrun.Bootstrap.main(Bootstrap.java:97)

Thanks!
Peter Hvass

Reply via email to