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).

--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to