Re: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Patrick Moore
o.k. so it doesn't have to work... It doesn't look like there is any way to get to the Hivemind Registry until it has completely initialized ... which is too late. So I am going to have my stateObjectFactory check to see if it can get to the registry which is a little bit hacky and if it can't the

Re: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Patrick Moore
I have given myself 1 more hour before I use my fallback solution. But it is just one of those things that you say "there *has* to be a way to make it work!" :-) -Pat On 9/26/06, Ben Dotte <[EMAIL PROTECTED]> wrote: I remember spending an afternoon with a coworker once trying to do the same th

RE: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Ben Dotte
:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:29 PM To: Tapestry users Subject: Re: problems getting a session state object on start up (resend ..? ) Hi Ben -- What I am trying to do is preload some sample data, *as if* a user has entered it. So I want to have a Session object that I am going

Re: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Patrick Moore
ASO class and create it using ? Sorry I don't have a better answer for you, Ben -Original Message- From: Patrick Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:10 PM To: Tapestry users Subject: Re: problems getting a session state object on start up (resend ..? )

RE: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Ben Dotte
From: Patrick Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:10 PM To: Tapestry users Subject: Re: problems getting a session state object on start up (resend ..? ) I ran across an email thread that just suggested to create the WebRequest/WebSession objects. So I am going to try

Re: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Patrick Moore
I ran across an email thread that just suggested to create the WebRequest/WebSession objects. So I am going to try that. If anyone has a better idea let me know. On 9/26/06, Patrick Moore <[EMAIL PROTECTED]> wrote: Hi Ben --- thanks for this info. I just tried what I think is your suggestion.

Re: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Patrick Moore
Hi Ben --- thanks for this info. I just tried what I think is your suggestion. I added the ApplicationInitializer interface to my demo.Samples service and added this method: public void initialize(HttpServlet arg0) { try { init(); } catch (IOException e) {

RE: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Ben Dotte
infrastructure. Ben From: Patrick Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 10:45 AM To: users@tapestry.apache.org Subject: Re: problems getting a session state object on start up (resend ..? ) Hi there -- I have a hivemind service that loads test data into my app. I use th

Re: problems getting a session state object on start up (resend ..? )

2006-09-26 Thread Patrick Moore
Hi there --I have a hivemind service that loads test data into my app. I use the EagerLoad feature of hivemind to trigger this dataload. However, I get this exception:java.lang.IllegalStateException: The Infrastructure service has not yet been initialized. org.apache.tapestry.services.impl.Infrastr