tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riley,R" <R.Ri...@lse.ac.uk>
Subject RE: New class definition not being picked up
Date Wed, 06 Dec 2000 17:23:28 GMT
Andreas

Thanks for responding.  

I've done everything that you suggest (except upgrade) and still have the
same result.

I'll try re-installing tomcat.

Regards

Ron

> -----Original Message-----
> From:	Stubenrauch,Andreas [SMTP:mex02@erv.de]
> Sent:	Wednesday, 06 December 2000 16:25
> To:	'tomcat-user@jakarta.apache.org'
> Subject:	RE: New class definition not being picked up
> 
> You have to put your .jar files in the appropriate
> webapps/yourcontext/WEB-INF/lib directory
> automatic reload only works in this directory. Further more they must not
> be
> 
> set in your classpath.
> 
> BTW: I recommend upgrading to Tomcat 3.2
> 
> Regards,
> Andreas
> 
> > -----Original Message-----
> > From: Riley,R [mailto:R.Riley@lse.ac.uk]
> > Sent: Wednesday, December 06, 2000 3:53 PM
> > To: 'tomcat-user@jakarta.apache.org'
> > Subject: New class definition not being picked up
> > 
> > 
> > Hi
> > 
> > I'm new to tomcat, so sorry if this is an obvious one - I've 
> > searched the
> > archive.
> > 
> > Using tomcat 3.1 on redhat linux with jdk1.3.
> > 
> > All of my java classes are in .jar files in a separate 'jars' 
> > directory.
> > Each of the jar files is listed in the class path.
> > 
> > Everything worked fine until I replaced one of the class 
> > files in one of the
> > jars.  If the browser page source is to be believed then the new class
> > definition is not being picked up by tomcat.  Somehow tomcat 
> > continues to
> > use the prevous class after running shutdown.sh and startup.sh.
> > 
> > I've de-compiled the class in the jar file to ensure that it 
> > is the correct
> > (new) one.  If I remove the .jar file then tomcat can't find 
> > the classes in
> > that jar, and throws an error, but when I replace the jar 
> > file, with one
> > including the new class,  then then the original class continues to be
> > used(!).
> > 
> > I've ensured that the browser isn't using a cached copy of an 
> > old page.
> > 
> > I'd be really pleased to hear from anyone who has any ideas 
> > about this.
> > 
> > Many thanks
> > 
> > Ron Riley
> > 

Mime
View raw message