
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
1.
idea_tomcat_startup_race.zip (5 kb)
|
|
Environment:
|
Windows XP.
Tomcat 5.5.16.
Windows XP.
Tomcat 5.5.16.
|
|
| Build: |
5,581
|
| Severity: |
High
|
When I try to start a Tomcat project in the debugger, it fails about 20% to 50% of the time. (I go through good periods where it is about 20%, and bad periods where it is more like 50%.) I suspect a race condition, for several reasons:
- There are a variety of failure modes, from missing jar files (which will not be missing next time) to mysterious unloading or reloading of the context. I will attach a zip file containing the log output from 4 different failure modes.
- If I have a client attempting HTTP requests of Tomcat while I am starting Tomcat, the startup attempt is much more likely to fail – it sometimes seems 80% likely to fail.
- I get the impression that if I wait longer after stopping Tomcat before restarting it, the startup is less likely to fail. It is hard to be sure of this, though.
I should also mention that startup very rarely fails on the first attempt in a newly started Idea.
|
|
Description
|
When I try to start a Tomcat project in the debugger, it fails about 20% to 50% of the time. (I go through good periods where it is about 20%, and bad periods where it is more like 50%.) I suspect a race condition, for several reasons:
- There are a variety of failure modes, from missing jar files (which will not be missing next time) to mysterious unloading or reloading of the context. I will attach a zip file containing the log output from 4 different failure modes.
- If I have a client attempting HTTP requests of Tomcat while I am starting Tomcat, the startup attempt is much more likely to fail – it sometimes seems 80% likely to fail.
- I get the impression that if I wait longer after stopping Tomcat before restarting it, the startup is less likely to fail. It is hard to be sure of this, though.
I should also mention that startup very rarely fails on the first attempt in a newly started Idea. |
Show » |
|