Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error -HTTP status 503 - This application is not currently available

 
Vasudevan Gopalan
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the followingerror

------------------------------------------------------------------
Error -HTTP status 503 - This application is not currently available

The requested service is not currently available
-----------------------------------------------------------------------

I am using Tomcat 4.1.27 and i am having application outside tomcat directory.I gave the following code in server.xml.

<Context path="/develop" docBase="H:\Sure\develop" debug="0" reloadable="true" crossContext="true" />

I am not getting the above error till i make any changes in java file and compile it(i.e web-inf\classes in my application directory).Why i am getting this error?.
Help me please...

Regards
Vasu
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am I correct that you can access the servlet and get the expected result after Tomcat has been restarted, and you only get the 503 if you change the class files while it is running?
Do the log files show anything related to the servlet?
Bill
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not getting the above error till i make any changes in java file and compile it(i.e web-inf\classes in my application directory).Why i am getting this error?

There is a well-known class-reloading bug in TC 4.1.27. The hotfix is available from: http://apache.mirrored.ca/jakarta/tomcat-4/binaries/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic