To make a clean work, you should stop tomcat unless you still have access to the default host-manager or manager that comes with tomcat. From there you can stop a webapp and then you will be able to remove the old folder without having java classes still in memory for that web app.
Richard On 2012-08-13, at 07:52, david gang <michaelg...@gmail.com> wrote: > Hi Richard, > > I did not intend to post the message twice. The first post was not > with enough data and i did not know > how to edit the message, so i removed it and posted it again :-) > > No. I did not remove the folder. > Can i remove the jenkins directory while the tomcat is running or do i > have to shutdown the application. > > Thanks, > David > > On Aug 13, 2:38 pm, Richard Lavoie <lavoie.rich...@gmail.com> wrote: >> Posting the message twice won't help you receive a faster answer. >> >> Did you try removing the jenkins folder in the tomcat webapps folder so it >> redeploys the new war file correctly as if new ? >> >> Richard >> >> On 2012-08-13, at 07:27, david gang <michaelg...@gmail.com> wrote: >> >> >> >> >> >> >> >>> Hi, >> >>> In the admin screen I got the message >>> New version of Jenkins (1.477) is available for download. >>> I tried to upgrade the apllication but without success. >> >>> These are the steps i made: >> >>> I downloaded the war file >>> fromhttp://updates.jenkins-ci.org/download/war/1.477/jenkins.war >>> and moved it to the webapp folder. >>> I stopped the tomcat and started it again. >>> In the catalina log i got the message >>> INFO: Deploying web application archive from: apache-tomcat-7.0.29/ >>> webapps/jenkins.war >>> Therefore it seems that the application was deployed. >>> But after restart i get still the message that New version of Jenkins >>> (1.477) is available for download. >> >>> I have jenkins version 1.475 and tomcat version 7.0.29 >>> What do i wrong? >> >>> Best regards, >>> David