File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Servlet reload problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet reload problem" Watch "Servlet reload problem" New topic

Servlet reload problem

Alexan Kahkejian
Ranch Hand

Joined: Apr 30, 2003
Posts: 74
Hi all
I'm using Tomcat 4.1.27 with jdk1.4.1 and I have a problem with servlet reloading.
I read previous posts about this topic and I made the changes in server.xml
<DefaultContext reloadable="true" />
But when I copy the new version of the class file(ServletTest.class) I get the following error:
HTTP status 503 Servlet org.apache.catalina.INVOKER.ServletTest is currently unavailable
Can someone help me.
Thanks in advance
[ September 10, 2003: Message edited by: Alexan Kahkejian ]

Alexan Kahkejian<br />SCJP<br />SCWCD<br /><a href="" target="_blank" rel="nofollow"></a>
Alexan Kahkejian
Ranch Hand

Joined: Apr 30, 2003
Posts: 74
Got it Solved
The problem was a bug in version 4.1.27 of tomcat so anyone having this problem go to and download hotfix 22096 extract it and copy the directory org to tomcat_install_dir\server\classes directory and restart tomcat.
I agree. Here's the link:
subject: Servlet reload problem
It's not a secret anymore!