Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Paul Stanton
Thanks, I've got it. For details see http://www.tapestryforums.com/-vp21462.html#21462 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Paul Stanton
So my service needs to implement an interface? which? Howard Lewis Ship wrote: One possibility is that the service you are contributing does not implement the correct interface, though I'm pretty sure there should be checks in place for that. I wrote the ChainBuilder code in HiveMind a couple

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Howard Lewis Ship
One possibility is that the service you are contributing does not implement the correct interface, though I'm pretty sure there should be checks in place for that. I wrote the ChainBuilder code in HiveMind a couple of years back! Basically, your contributions are mixed in with Tapestry's and any

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Paul Stanton
Howard, At present this is all the output I'm getting, I haven't enabled Log4j/Logging yet though (haven't decided on the best way to do so). org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.init.MasterInitializer: Failure invoking constructor for class $

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Howard Lewis Ship
Check your console; there is almost certainly additional output describing why the code failed. On 4/25/07, Paul Stanton <[EMAIL PROTECTED]> wrote: Thanks Marcus, I think I'm closer but it still doesn't work. I've updated my hivemodule.xml, so now the initializer part reads: But now I

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Paul Stanton
Thanks Marcus, I think I'm closer but it still doesn't work. I've updated my hivemodule.xml, so now the initializer part reads: But now I get the following exception: org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.init.MasterInitializer: Failure

RE: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-24 Thread Marcus.Schulte
The name of the config-point is ApplicationInitializers, not ApplicationSpecificationInitializer. > -Original Message- > From: Paul Stanton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 24, 2007 2:27 AM > To: Tapestry users > Subject: Re: Hivemind eager loading of

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-23 Thread Paul Stanton
Thanks Howard, I've altered the 'contribution element to the following: configuration-id="tapestry.init.ApplicationSpecificationInitializer"> id="zzz" object="service:application.zzz"/> But now I get the error message: org.apache.hivemind.ApplicationRuntimeException: Error at context:/WE

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-23 Thread Howard Lewis Ship
What you do in this case, where you are reliant on information HiveMind doesn't have at Registry creation, is to hook into the ApplicationInitializers configuration point: http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/tapestry.init.ApplicationInitializers.html On 4/22/07, Paul St

Hivemind eager loading of a service which references tapestry services is not possible

2007-04-22 Thread Paul Stanton
I'm trying to avoid Spring and use Hivemind to manage my Hibernate service. It's pretty basic stuff but one basic feature is proving very hard to achieve: eager load startup. In my case I need to reference WebContext (the tapestry component) in my initialisation procedure, but it seems to be '