spring mvc - Tomcat 7 with SpringMVC, missing "Server startup" success message -
up until catalina.log used report following:
mar 19, 2015 4:49:20 pm org.apache.catalina.core.applicationcontext log info: initializing spring frameworkservlet 'dispatcher1' mar 19, 2015 4:49:20 pm org.apache.coyote.abstractprotocol start info: starting protocolhandler ["http-bio-9080"] mar 19, 2015 4:49:20 pm org.apache.catalina.startup.catalina start info: server startup in 53209 ms
which during automated deployment know whether servlet started ok. recently, no longer message in catalina.out. however:
- there no startup errors
- logging working
- the server seems working perfectly, afaict (responds requests)
- kill -3 doesn't show helpful can see
so,
- what might have caused "server startup" message stop being printed (and yet server accept connections)?
- in (annotation based) spring mvc, there place can place hook , output custom "servlet startup success" message?
the "standard out" may no longer going catalina.out. what's in log4j property file? , using start tomcat?
you impelement servletcontextlistener aware of when servlet based application ready accept requests.
Comments
Post a Comment