This Spring startup error can be mystifying if you don’t know how to tackle it.
listenerStart() configures and invokes application event listeners for a Context.
Most Spring applications have several listeners, and they should be invoked in the following order.
Each of them causes debug output, so if you do not see any, the first listener died:
- flex.messaging.HttpFlexSession (for Spring/Flex integration)
If the error message appeared, one of the above did not initialize correctly.
Put breakpoints in each of the listener classes’ contextInitialized() or requestInitialized() methods.
To view debug log messages for StandardContext, add:
1catalina.org.apache.juli.FileHandler.bufferSize = -1
SEVERE: Error listenerStart messages can be debugged by setting a breakpoint at org.springframework.web.context.ContextLoaderListener, line 47.
Step return once and wait for the container to load everything.
If there is an error you will now be at standardcontext.listenerstart and you will see the error in the variable window under the t variable.
For debug output, add this to web.xml:
The content on this web site is provided for general information purposes only and does not constitute legal or other professional advice
or an opinion of any kind.
Users of this web site are advised to seek specific legal advice by contacting their own legal counsel regarding any specific legal issues.
Michael Slinn does not warrant or guarantee the quality, accuracy or completeness of any information on this web site.
The articles published on this web site are current as of their original date of publication, but should not be relied upon as accurate,
timely or fit for any particular purpose.
Accessing or using this web site does not create a client relationship.
Although your use of the web site may facilitate access to or communications with Michael Slinn via e-mail or otherwise via the web site,
receipt of any such communications or transmissions does not create a client relationship.
Michael Slinn does not guarantee the security or confidentiality of any communications made by e-mail or otherwise through this web site.
This web site may contain links to third party web sites.
Monitoring the vast information disseminated and accessible through those links is beyond Michael Slinn's resources and he does not attempt to do so.
Links are provided for convenience only and Michael Slinn does not endorse the information contained in linked web sites nor guarantee its
accuracy, timeliness or fitness for a particular purpose.
© 1976-2020, Michael Slinn.
All rights reserved.