-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Khurram,

On 4/22/13 6:26 AM, Khurram Raza wrote:
> So are there any thoughts on this issue which I am not able to
> resolve yet?

I'm not sure anyone really understands what is going on.

You are using a Servlet to configure (and apparently shut-down)
Spring. When the servlet is taken out of service in a particular order
(perhaps having to do with an environmental issue -- Linux vs.
Windows?) you get errors because Spring is already shut-down somehow.

My first question is this: why is Spring shutting down before you
should it down yourself?

My second question would be this: why aren't you using the
ServletContextListener(s) that ship with Spring that IIRC were built
for this exact purpose? I think you might want to take a look at how
you are using Spring and perhaps make a few changes.

Finally, ServletContextListeners are /really/ the way to go, here:
using a Servlet and <load-on-startup /> is a really crude way to
script your server's startup. This is precisely why
ServletContextListeners were invented.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRdaz+AAoJEBzwKT+lPKRYesMQAK9x42ERpa6AoCFJUSS3nn8o
BJKK43Q833SFMVfbOXDEL5V7SfTo+BFUJX05YW3ENeKx88sbqqkAgIL4zTpJdZ7V
rjmo7yx/roKrsVX2WyLfvvx2lbb/9rBLeY20GyQou5a8tM25+wWi17kQ9Pcc65b/
uYULlHNpYowozXpk4LQFfuaHLjBmKEOWEGLDgwiQqok6bkOSpHoplDa94qDGg1Jw
a3+vZdUIhZBc16TPowMTfcY8G9cwwt//OE+WBrdzT4XlEwpeVF9SiC8UZImhxRny
5ZWG5OE9IdfyFqJHVuoTo/MixrAD9RvbJ+evs0uI8QF2O1k1dKFU6NJwzW1+yBpk
3i/W4ffDlm30qhDd2y8XUg2tSVMiFE0XPCTDt/Dt7M6/tuEvIWLGQZUYLWAUslJX
/hVwXL03edgiJDHb+k9Z9Tgy51mcrqpAY9dxJ00/EI5XI3QXpBbT0hM+TKqjY0Kp
S28jhsTig26qCjG+t0cRzJ4WQoedvaFa7pwJDvlXUGT+/CxSginyxP7OTmZ8Jtnv
7VTXR0NY1ZNx45ZEUHdPIrfvERlShnGvqvC/gN/8MrpjYTIgl1QA/mOnKXW0buV6
2ve1/BffLpo/AArTmtEaj0YyUO5ykut8qEqfz8UNmWpTo8twTYGx/2tjsLl63j9E
on69mj4Gwt2X63heCYGR
=aUVk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to