Hi Karen, I´m not sure if it's still valuable to you. But make sure to double 
click on your tomcat server in eclipse, and check the value od server location 
field. Should be something like [eclipse workspace 
location]\.metadata\.plugins\org.eclipse.wst.server.core\tmpX where X is any 
number starting from 0. Which is basically the path to tomcat work directory 
people  were talking about. From here navigate to wtpwebapps folder. You will 
see folders which correspond to your web apps[projects in eclipse]. You 
basically will find the copy content of your WebContent folder from Eclipse 
project. Eclipse usually copies files from your |Webcontent folder to here 
right after you make changes and save your project changes. Sometimes it 
doesn't do this and you end up with a situation like yours. Then you have to 
manualy copy the specific file you have problems with. I've had this happen to 
me a few times and the first time it happend it was so frustrating. Hope this 
helps you

С уважением,
Азат Усманов
Отдел разработки программного обеспечения
Институт экономики, управления и права (г. Казань)

________________________________
От: Karen Goh <karenwo...@yahoo.com.INVALID>
Отправлено: 4 сентября 2019 г. 18:28:39
Кому: users@tomcat.apache.org <users@tomcat.apache.org>
Тема: Re: Tomcat doesn't refreshes and still gives me an old error again and 
again






On Wednesday, September 4, 2019, 10:50:17 PM GMT+8, Christopher Schultz 
<ch...@christopherschultz.net> wrote:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Karen,

On 9/4/19 10:45, Karen Goh wrote:
> On Wednesday, September 4, 2019, 9:32:43 PM GMT+8, Dave Thorn
> <da...@fysh.org.INVALID> wrote:
>
>
> On Wed, Sep 04, 2019 at 01:21:11PM +0000, Karen Goh wrote:
>
>
>> I am facing this problem - that Tomcat - 9.0.24 doesn't
>> refreshes and it will give ma an error, even after I commented
>> out a line. But, after several cleaning - using Tomcat Directory
>> clean, right-click on the project in Eclipse and do a run maven
>> force update and project built, it will still give me an error
>> that point out to a commented out line.
>
>
> Do you have a tomcat/work directory? ISTR sometimes having to
>
> rm -rf /var/cache/tomcat/work/Catalina/localhost/{webappname}
>
> Could you let me know how to do it Windows 10 way? Sorry for the
> trouble cos basically most of my stuff is still using Windows
> 10....

C:> DEL /S %CATALINA_BASE%\work\Catalina\localhost\{webappname}

Or just navigate Windows Explorer to the "work" directory and press
the "DELETE" key on your keyboard.

Hi Chris,

Just to clarify, so instead of doing the clean, I will have to to to this place 
- C:\Program Files\Apache\apache-tomcat-9.0.24\webapps\webappname and delete 
weappname ?

I happened to read this 
https://stackoverflow.com/questions/763693/where-is-the-work-directory-located-for-a-tomcat-instance-running-in-eclipse

I checked the location when I right-clicked the Tomcat instance, it says meta 
data, so should I delete the metadata one ? My Tomcat configuration is take 
control of Tomcat installation.

Kindly advise. And thanks for your help.




- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl1vzyQACgkQHPApP6U8
pFilXw//d6+V8jCdk7rsimcTHB7khA5G0ERSXISHZCbGRA+PHxa4wE2U6Z1HFZtv
7hoxx46PSNkcWr+wgIjWCcj87MRdZsOJOAOqByRH1fSPLmZzdJyUxafPPNjA0wxU
zT+T4CicFbBehjCi9rMbNI8tt/UOjQDcNJPuEIEXoLj2L4ybDSMcrTGjjDfhUuf8
+Z/1XefU7lBMiBDBGVGTmePm58P8cjLj8rq7nuXEbs3fcmA6udoHpWmoP7A4u+tx
bmF1L6UEL0V3DIAUPJrV+WONGUw6te4sRF4PmKCPLyWBqfClU6lRt0U3CFN/T2u8
RqjX/rsCio4oImLSbgzRQnYLdWwb5tvuZzhlRGTnJcrSHj8D8ECWq8GdL0ppOnZo
WoNf03NlaHniFUo6zW/LeMQUDjETH6/2qyvXC8fpjDDOn74yy6Zwk1ZMCwSmGS3e
D7Sdek0ZlzonaCRcOu0f+iHNU/2ZuGdwKrgIltPuRwG50Tkhjad780/Xt55v/vOL
kyqppaONZypXqNTkmDnIibzd1TyknRk7Y9UnCQIkgnBzhNuuG4MxzFh+2/BK8Qiy
fOVZUCEvm5DbFIMRE4QSc7b8edrrC3YDRuQecZnii5Lk7c9By3xLiGu1SfH673Jz
/is7giTMejiUzs2sb6JUYJN6RPyHPDFgI15ZRhgekt+OpN5jDXQ=
=EtCR
-----END PGP SIGNATURE-----


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


Reply via email to