Hmm, how about adding an additional servlet to the war,
with <load-on-startup>99999</load-on-startup> (loaded for sure after the Resource), that does a fake post to the Resource, something like:

ProxyHandler handler = new ReflectionProxyHandler();
handler.setAction("http://test.org/";);
handler.setRequestName(new QName("http://test.org";, "startup", "pfx0"));
handler.setRequestParameterNames(new QName[0]);
handler.setResponseName(null);
handler.setReturnType(void.class);
invoke(handler,new Object[0]);

Currently this idea is not working, an Error 500 is returned by axis, but maybe the errorhandler can be overridden to do the initialization.

Jürgen

Daniel Jemiolo wrote:
Unfortunately, there isn't - discussion is here:

http://marc.theaimsgroup.com/?l=muse-user&m=116775708010331&w=2



J�rgen Mangler <[EMAIL PROTECTED]> wrote on 02/23/2007 05:39:54 AM:

Is it somehow possible to initialize the resource immediately after the deployment (now it is initialized with the first access to the
resource)?
J�rgen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to