This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat: error 503 servlet not avaiable

 
Lee Provoost
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,
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
tia
lee provoost
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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....
Cheers,
Gaya3
 
Jason Davies
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic