tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf <rufoo2...@yahoo.com>
Subject Re: Do something after the webapp starts
Date Sat, 01 Feb 2003 10:01:08 GMT

--- "Craig R. McClanahan" <craigmcc@apache.org> wrote:
> > [1] I want to deploy axis services
> programmatically
> > after application starts. This is done by an
> > AdminClient contacting the server. But the problem
> is
> > that the server is not yet up! Where do you think
> > should I do this deployment?
> >
> 
> We had a similar design requirement for the Java Web
> Services Developer
> Pack (http://java.sun.com/webservices/), where we
> needed some webapps to
> be initialized and functioning before requests could
> be processed.  The


Are these initializations not part of the webapp which
gets requests? 


> solution used there was to create two <Service>
> elements in the server.xml
> file, because Tomcat guarantees that the first
> <Service> will be
> completely initialized and available before the
> second one is started.
> 

Here in my case, everything is in one webapp. Do you
still suggest me to split up things into two webapps
to be put separately in contexts of two <Service>
elements?

I dont know much about <Service> - I have look at the
docs briefly.

> You might want to download JWSDP and see how the
> default server.xml file
> there is set up.
> 
> > thanks.
> 
> Craig

Rf


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message