tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyallex <>
Subject Re: Confused about startup
Date Wed, 24 Oct 2007 15:24:48 GMT
Hmm, obviously this was "not an acceptable question" ... shame.

Still, I have now managed to get 5.5.25 to build and run and when I
put some simple debug in Bootstrap.main() it does indeed appear that
this method is being called.

Still slightly confused as to why this method is commented as

     * Main method, used for testing only.
     * @param args Command line arguments to be processed

Ah well, it's all character building stuff I suppose.

On 10/24/07, Lyallex <> wrote:
> Hello
> Windows XP SP2
> Java 1.5.0_10
> Tomcat 5.5.25
> After many years using Tomcat to host various web sites I thought it
> was about time I started looking at some of the code. I downloaded the
> source for 5.5.25 and thought I'd start at the beginning and figure
> out what happens when I start the server from the command line..
> After deciphering the batch files (catalina.bat, startup.bat and
> setclasspath.bat) I figured out that the class being invoked was
> org.apache.catalina.startup.Bootstrap with the command line param
> start ... Well that's about as far as I get because I just can't
> figure out the entry point. I know that an instance of
> org.apache.catalina.startup.Catalina is being instantiated and invoked
> eventually but the main method in Bootstrap is apparently only used
> for testing.
> At least that what he comments state ... but main must be being called
> mustn't it ...  If main is not being called in Bootstrap how do things
> kick off... I'm a bit distressed that I can't figure this out. I
> haven't got around to building the distribution yet.
> I've read
> but I'm still at a loss, maybe I'm getting too old for all this or
> maybe I'm just tired ...
> Thanks

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message