tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Embedding Tomcat in a standalone JAR
Date Wed, 03 Jan 2007 01:04:48 GMT
> From: Vacuum Joe [] 
> Subject: Re: Embedding Tomcat in a standalone JAR
> Right, those are two of the places I looked at, including the 
> source for, and they weren't helpful.  They are 
> all about specifying files on the filesystem.

There has to be some relation to the file system, since the servlet spec
requires that the container provide working space for the webapps.  I
think if you started with and replaced the relatively
little File-related logic with getResourceAsStream() equivalents, you
could put a server.xml inside your jar and have it provide most of the
necessary config, other than the listen and shutdown ports.  Those you
get from a simple GUI, as you originally intended.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

View raw message