tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark W. Webb" <>
Subject Re: tomcat 5 embedded ?
Date Tue, 27 Jan 2004 14:50:10 GMT
where can I find some examples on embedding  tomcat in a java app using JMX?

thank you for your time and sorry for any inconvenience.

Remy Maucherat wrote:

> Mark W. Webb wrote:
>> Embedded tomcat 4 had an API that could be used to programatically 
>> start tomcat from within another application.  I am wondering if the 
>> same API exists for tomcat 5.  If not, how could I start tomcat in an 
>> existing process.
>> I would guess that I could not take advantage of the JMX stuff in 
>> tomcat 5 by using this "startup" API.
> Tomcat 5 has the same Embedded API. The main difference (although you 
> won't notice it) is that it is blended with the regular standalone 
> Tomcat code. No more weird incompatibilities, and you can use some of 
> each mode (ie, have a server.xml while using the Embedded API to 
> manage contexts).
> The embedded dist also includes an Ant script, which is basically a 
> set of JMX commands. You can use the same JMX commands to embed Tomcat 
> 5. I used that to embed Tomcat 5 inside JBoss 3.2.x (actually, all the 
> initial code was Costin's).

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message