On Tue, 10 Apr 2001, Klaus Sonnenleiter wrote:

> Is there any way to make the Embedded server in 4.0 load its configuration 
> (contexts, connectors etc.) the same way a standalone Tomcat would? (from 
> the server.xml file and by looking at the directory structure in webapps).
> 
> TIA
> 
> 

In order to do this, you'd have to emulate what the
org.apache.catalina.startup.Bootstrap class does.  Of course, if that's
what you want to do, you might just consider calling:

        String args[] = { "start" };
        Bootstrap.main(args);

and all of the standard startup processing will be performed.

Craig McClanahan


Reply via email to