tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Webb" <>
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

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

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

View raw message