tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Loading Tomcat into an already running JVM
Date Wed, 02 Jul 2014 13:37:07 GMT
On 02/07/2014 13:23, Todd Little wrote:
> I have an unusual need that I've been unable to find an answer for. I
> would like to load Tomcat into an already running JVM. I have a process
> that performs some work, loads the JVM dynamically, and I would like to
> load and start Tomcat into that JVM. Has anyone done this or can anyone
> provide some guidance on how to go about doing this?   I'm currently
> trying this with Tomcat 7.0.54 on Linux.

You can embed Tomcat in any other Java app and then load it when
required. Look at the unit tests for examples of how to do this. There
is also an embedded distribution that has exactly the same features but
in fewer JARs.

Mark


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


Mime
View raw message