*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet reload problem" Watch "Servlet reload problem" New topic
Author

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
Alexan
[ September 10, 2003: Message edited by: Alexan Kahkejian ]

Alexan Kahkejian<br />SCJP<br />SCWCD<br /><a href="http://www.javaemployer.com" target="_blank" rel="nofollow">http://www.javaemployer.com</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 http://www.apache.org/dist/jakarta/tomcat-4/binaries/ and download hotfix 22096 extract it and copy the directory org to tomcat_install_dir\server\classes directory and restart tomcat.
Alexan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet reload problem