File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Tomcat: error 503 servlet not avaiable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat: error 503 servlet not avaiable" Watch "Tomcat: error 503 servlet not avaiable" New topic

Tomcat: error 503 servlet not avaiable

Lee Provoost

Joined: Sep 14, 2003
Posts: 3
i'm developing servlets for a school project using tomcat 4.1.27, eclipse 2.1.1 on windows server 2003
i have the following strange thing: when i create a new project in eclipse and i compile it in the tomcat\webapps\projectname directory everything works fine
i can use my servlet on http://localhost:8080/projectname/test.html
but when i do some changes in the sourcecode in eclipse and i recompile the whole thing (rebuild project) and also restart the tomcat server i get always an error 503: servlet not avaiable
when i reboot my computer and try it again, then it's working
i don't have much experience with servlet developing, but is this normal? or can you tell me a way to avoid this problem? because it's really enoying waiting everytime for the reboot of my computer
lee provoost
Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
There is a hotfix for tomcat 4.1.27 version did u install it ? Please go thru. I had the same problem with Tomcat 4.1.27. But the jakartha site says 4.1.27 is a stable version. Bartenders help the community....
Jason Davies

Joined: Sep 18, 2003
Posts: 14
I get a 503 error if I modify web.xml with auto-reloading enabled in Tomcat. But if I refresh a few times, it disappears and everything works fine.
There are probably other causes for the same error though. It's a bit drastic that you have to reboot in order to fix it!

<a href="" target="_blank" rel="nofollow"></a> - Web programming articles and tutorials.
I agree. Here's the link:
subject: Tomcat: error 503 servlet not avaiable
It's not a secret anymore!