• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
crispy bacon. crispy tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic