On Wed, Nov 30, 2016 at 8:50 PM Christopher Schultz < ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > John, > > On 11/26/16 7:29 PM, John D. Ament wrote: > > Hi, > > > > Looking for some external input. I've put together a simple > > tomcat embedded instance designed to deploy an arbitrary set of > > servlets, filters, etc. > > > > For some reason, when I run tests with Tomcat the server never > > fully launches. I can see the port in use, but connections to the > > server are not answered by the instance. When I debug the start > > up, I see what appears to be a loop attempting to start services > > that never returns, in LifecycleBase. > > So you see a busy-loop? What's the stack trace? > > Tomcat version? > 8.5.8 and a few older ones, so 8.0.30 and 8.5.3 as well (that I can recall recently) > > > Easiest way to reproduce it with this project is to clone > > https://github.com/hammock-project/hammock/ and run a local build > > (to get snapshots) and then run 'mvn clean install -Ptomcat-test' > > from rest-resteasy (or spark or jersey). > > Er... sorry, I'm not going to do that, and it doesn't look like anyone > else is going to do that, either. > Its always worth a shot. > > > I'm sure there's something simple I'm over looking. > > I browsed your github repo for about 15 seconds until I realized that > there are like 10k files and I'd never find the embedded driver > without asking. So, where is it? > > Can you compare your driver with any of the many Tomcat test cases > that launch an embedded server instance? Those test classes do exactly > what it sounds like you are trying to do. > Happily, can you point me to some of these test cases? On a related note, documentation for tomcat embedded is scarce. I usually have to find it on non-apache channels. What would be the best way to get a document page started, maybe linked off of http://tomcat.apache.org/tomcat-8.5-doc/index.html ? What repo contains your site? I'd be happy to provide some patches from my own learnings. John > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJYP4HoAAoJEBzwKT+lPKRYOL8P/A5MQFuVMK0kbgsAzbYVWx81 > yLsIN5BgjMBwPCxr2S2KIg40/P8dq256+VFYkwLI/Y3kKi206IK0KQdRJCTQFEO9 > avTOSFTgY3IXCCEEijSh5HeM8ofO7AgFrjcUGYZ6PI5PmnkCx/bN+sCAmbIL4SuE > hpOdA+A6zaV7TFFqjk2b71dVeijCTO3B/nUjkwOY7lP56jOX4bM2YDZoZj1o0SsV > bLsR3hjIlyZX1q83XNGPNYicueMZv9EsoUuZkwN3N/9CwTIbn27ck9xWfs3zOsOr > DLppYHdcKQNByd630cL0xhgYEHShJJcUcRddXWCeuEJOQ0urFYvfiOW2H5Py86lE > jwlA8XqIhvK5nmG5fOjwInSN3v+Fhd5A9rAhZrPZpP4+J1tGK37FvVhPJa9xXFWz > OYgtUxP2y1zwYyq+qs5jCYy628HE3Y++YSUSK+mWSN8Id/jDBqKUzZkZWuc7750B > wRy/8rb6F9L47sAVkg4gj8XqQF/gQ3gbS3ujf+eYuIf4GS4h1pmI4xCmuoZo0LLt > NJo2k4jAfwx2l48BpjO9Ry8MaSft2a9vE0uBQR/jwY5dvn5Y0mYX8Dr2JgdFYpeW > Skxf9+U2U/IzB2qePvdmo5u5QUyl40fu6/ndMjoEk/AXycwfodr6/UG9fLOG7uDR > kLSU4n1jBzwEf+9WMtFA > =7GKl > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >