tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: How to embed Tomcat in my Java program?
Date Fri, 04 Feb 2000 10:10:56 GMT
> -----Original Message-----
> From: Shachor Gal []
> Sent: Friday, 4 February 2000 18:27
> To:
> Subject: Re: How to embed Tomcat in my Java program?
> The approach is actually to use the main(String s[]) method in
> Call it and provide command line
> parameters...
> One parameter for example will be the path to server.xml, so you will need
> to do something similar to:
>                                       "full path to server.xml"});

I don't think that is the approach to be taken in general.

The tomcat core and the tomcat startup code are independent so you can use a
different startup mechanism with the tomcat core. This is the intention
behind Unfortunately this is currently broken. I think
Costin has even removed it for now. You can either wait for him to put back
a working version or try your hand at your own using the ContextManager in
place of the HttpServer.


View raw message