Hi Scott, Thanks for the info. Number 2 works very well.
Cheers, Dave -----Original Message----- From: Scott Nichol [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 14:23 To: [EMAIL PROTECTED] Subject: Re: Cached classes? I am no Tomcat expert, but here are some things I think I know. 1. Note that if you deploy the webapp by copying the war file to the webapps directory, you must delete its exploded directory in order for a new war file to take its place. For this reason, it may be better to install a webapp on Tomcat by exploding (jar -x...) it directly, rather than dropping the war file in place. See "Deployment with Tomcat 4" at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html. 2. If you define a Context for the SOAP webapp in server.xml, you can specify that it is reloadable like this <Context path="/examples" docBase="examples" debug="0" reloadable="true"> I *think* this means it will check for changes and re-load classes automatically, but I may be wrong. 3. You can use the Tomcat manager app to reload a webapp on demand. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html. 4. Tomcat also provides ant tasks to deploy, reload, undeploy, etc., if you prefer ant. I'm not sure where those docs are. Scott Nichol ----- Original Message ----- From: "Dave Searle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 24, 2002 1:21 PM Subject: Cached classes? > Hi Soapers, > > I have a small problem. > > I have a web service that when invoked gives me the correct return > value. When I change the code to this webservice (the class file) and > redeploy it to the same location and then invoke it again, I get the > previous return value, even though I know it should be different. This > is only corrected when and I stop and restart tomcat. > > Is there anyway to redeloy a class file without having to start/stop > tomcat? > > Cheers > Dave > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. It may contain information which is privileged. If you are not the intended addressee, you must not disclose, forward, copy or take any action in reliance of this e-mail or attachments. Webree.com do not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Webree.com. If you have received this e-mail in error, please notify our IT Manager as soon as possible at Webree.com PO Box 162 Portsmouth Hants PO1 2XL Tel: 44 (0) 2392 738000. E-mail [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>