|Anonymous | Login | Signup for a new account||11-30-2021 10:17 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003977||[Resin]||major||always||03-01-10 14:14||01-18-11 17:08|
|Summary||0003977: Display of web.xml upon auto-restart|
When I upload a new .jar file to the domain/WEB-INF/lib directory, the server automatically restarts. When this happens, I sometimes encounter the error where the web.xml file will be displayed as the error page for the website.
Also, we are starting hosts in separate JVM instances, not sure if this contributes to the issue.
1.) Upload new .jar file.
2.) Go the the website and click to refresh/reload the website quickly.
3.) Often this will show back the web.xml file which sometimes includes DB connection info w/ password.
I think that it is happening if a web page is called during the process of loading a new .jar file.
|This has happened in the previous few versions also, but since I just upgraded to .10 I thought I'd put the bug in.|
The entire web.xml as a text file? Or an error where Resin shows 3-5 lines of web.xml context?
I can see the second happening because of a timing issue during startup, but I'm not sure how showing the whole web.xml would be possible.
I think that only part of the web.xml file is being displayed, as part of an error message.
500 Servlet Exception
com.blah.services.rml in EnvironmentClassLoader[web-app:]
The bad part that mine always seems to display is displaying the DB connection information with user, password etc.
I think that you are right in that it is a timing issue, is their any way to display something other than the WEB.xml file or any parts of it? Maybe during startup a message can display that says..."Server starting up, please refer to server logs for more details."
Would custom error messages prevent this from happening? I see it mostly on our development site, that doesn't have custom pages for error handling.
If you remove the <development-mode-error-page/> in the resin.xml, the error message will be a generic one that doesn't show the web.xml.
Do you know where that class is in the classpath? Is there a chance that the class is being loaded before the <class-loader> tag is evaluated?
|03-01-10 14:14||norlab||New Issue|
|03-01-10 14:15||norlab||Note Added: 0004502|
|03-01-10 14:37||ferg||Note Added: 0004503|
|04-02-10 11:04||norlab||Note Added: 0004513|
|04-02-10 11:22||ferg||Note Added: 0004514|
|04-06-10 05:20||hans||Issue Monitored: hans|
|01-18-11 17:08||ferg||Assigned To||=> ferg|
|01-18-11 17:08||ferg||Status||new => closed|
|01-18-11 17:08||ferg||Resolution||open => fixed|
|01-18-11 17:08||ferg||Fixed in Version||=> 4.0.14|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed.|
30 unique queries executed.