tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tena Sakai" <tsa...@gallo.ucsf.edu>
Subject RE: (newbie question) missing classs file?
Date Wed, 19 Aug 2009 05:53:04 GMT
Hi Chuck,

> The Tomcat manager app is the easiest way.

Perhaps, but that was beyond what a newbie meager brain could comprehend.

> When I delete the webapps/sample/WEB-INF/classes/mypackage/Hello.class
> file and restart Tomcat, any attempt to reference the servlet example
> fails with a 404 (as expected).

You know, that's what I expected as well, but it kept working.
That's why I asked the question to begin with.  A fascinating
truth is that I can execute the sample jsp (Hello.class), as
I just did again, and there is no file in webapps/sample/WEB-INF/classes/mypackage
directory.  None whatsoever.  There is, however, hello_jsp.class
in $CATALINA_HOME/work/Catalina/localhost/sample/org/apache/jsp,
as was pointed out by Mr Martin Gainty, with the correct timestamp.

That makes me think maybe what you are claiming is happening
with a different version of tomcat?  As I mentioned, mine is
6.0.14.  What's yours?

Regards,

Tena Sakai


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Tue 8/18/2009 9:39 PM
To: Tomcat Users List
Subject: RE: (newbie question) missing classs file?
 
> From: Tena Sakai [mailto:tsakai@gallo.ucsf.edu]
> Subject: RE: (newbie question) missing classs file?
> 
> > you'd have to reload the webapp to make the change show.
> 
> Would you mind telling me how I would do that?

The Tomcat manager app is the easiest way.

> I just restarted tomcat and hit the same pages.
> No changes.

When I delete the webapps/sample/WEB-INF/classes/mypackage/Hello.class file and restart Tomcat,
any attempt to reference the servlet example fails with a 404 (as expected).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message