I think you are using an older version of tapx-core; I split off the Kaptcha support into tapx-kaptcha because of this conflict.
On Wed, Apr 27, 2011 at 1:01 AM, Greg Pagendam-Turner <g...@liftyourgame.com> wrote: > Thanks Stefan, > > That fixed that issue. > > Now I'm getting: > > 2011-04-27 17:58:56.332::WARN: Failed startup of context > JettyWebAppContext@ffce2f2@ffce2f2/liftyourgame,file:/C:/development/workspace/liftyourgame/src/main/webapp/,C:\development\workspace\liftyourgame\src\main\webapp > java.lang.RuntimeException: Service id 'KaptchaProducer' has already been > defined by > org.chenillekit.image.ChenilleKitImageModule.buildKaptchaProducer(Map) (at > ChenilleKitImageModule.java:38) and may not be redefined by > com.howardlewisship.tapx.core.internal.services.KaptchaProducerImpl(Map, > boolean) (at KaptchaProducerImpl.java:40) via > com.howardlewisship.tapx.core.services.CoreModule.bind(ServiceBinder) (at > CoreModule.java:41). You should rename one of the service builder methods. > > What's best way to solve this duplication? > > Regards, > > Greg. > > > On 27/04/2011 2:14 PM, Stefan Markmann wrote: >> >> I had the same issue and just switched to OrderedConfiguration as >> mentioned in the message: >> >> >> // Quartz-Setup >> public void contributeSchedulerFactory(OrderedConfiguration<URL> >> configuration) { >> Resource configResource = new >> ClasspathResource("quartz.properties"); >> configuration.add("configuration", configResource.toURL()); >> } >> >> // Quartz-Jobs >> public static void >> contributeQuartzSchedulerManager(EmailArchiveImporter importer, >> OrderedConfiguration<JobSchedulingBundle> configuration){ >> // Add any task >> configuration.add("importEmailToArchive", new >> ImportEmailToArchiveBundle(importer)); >> } >> >> Regards, >> >> Stefan >> >> >> Am 27.04.2011 06:10, schrieb Greg Pagendam-Turner: >>> >>> Hi, >>> >>> I'm wanting to get my site working with the latest production release of >>> Tapestry. >>> >>> My project depends on ChenilleKit quartz. >>> >>> According to the Tapestry mailing list a version 1.3.2 so I'm using that. >>> >>> My current problem is that the code in my app to create a schedular >>> factory >>> >>> public static void >>> contributeSchedulerFactory(MappedConfiguration<String, Resource> >>> configuration) >>> { >>> Resource configResource = new >>> ClasspathResource("scheduler.properties"); >>> configuration.add("quartz.properties", configResource); >>> } >>> >>> Generates an exception >>> Caused by: org.apache.tapestry5.ioc.internal.OperationException: Service >>> 'SchedulerFactory' is configured using >>> org.apache.tapestry5.ioc.OrderedConfiguration, not >>> org.apache.tapestry5.ioc.MappedConfiguration. >>> >>> The documentation at http://www.chenillekit.org >>> <http://www.chenillekit.org/> looks a little old. It points to source code >>> that is 23 months old as well as old mailing lists on google code. >>> >>> Where can I find an example using the new ChenilleKit so I can fix this >>> issue? >>> >>> Regards, >>> >>> Greg. >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org