aspose file tools*
The moose likes Tomcat and the fly likes Error -HTTP status 503 - This application is not currently available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error -HTTP status 503 - This application is not currently available" Watch "Error -HTTP status 503 - This application is not currently available" New topic
Author

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

Vasudevan Gopalan
Ranch Hand

Joined: Aug 29, 2003
Posts: 67
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

Joined: Mar 22, 2000
Posts: 12835
    
    5
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

Joined: Feb 20, 2001
Posts: 3695

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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error -HTTP status 503 - This application is not currently available