tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Webb" <elihusma...@gmail.com>
Subject embedded tomcat 6
Date Thu, 14 Feb 2008 14:59:18 GMT
I have written a program that embeds tomcat 6.0.14 into it.  The
problem is that once I call Embedded.start(), the program does not
keep running and just terminates normally.  I have placed the program
in the eclipse debugger and all looks fine, but the program just
exits.

What can I do to ensure that the program stays running after the call
to Embedded.start()?  After the call, I place a
Thread.sleep(Integer.MAX_VALUE) and things are fine, but that just
does not seem to be good practice.

Thanks in advance
Mark

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


Mime
View raw message