You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sankaranarayanan Ganapathy <sg...@vitria.com> on 2001/07/11 18:56:25 UTC

Embedding Tomcat3.2.1 in my application : Repeat message! : pl h elp!!!

Hi All,

Has anybody embedded tomcat 3.2.1 in their application successfully? The
code EmbededTomcat.java that ships with 3.2.1 doesnt seem to be working
correctly (and there doesnt seem to be a stop method as well).

I tried using their other class org.apache.tomcat.startup.Tomcat. I have 2
problems with that!

1. The class is not instantiable and their main method masks all exceptions
2. Stop calls system.exit which knocks off my application as well.

Are there work arounds? If anybody has done it , let me know.


Thanx
Ganesh