• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

'cleaning tomcat'

 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I have one annoying problem. I try one application, and after erasing it, the Tomcat continuously display me error of that application absence? I really do not get it?! I've deployed and erased many application, but this start happening when I deploy and erase some testing application 'struts2-mailreader-2.0.14.war' from struts official site.
The exception I got is :


So, how can I 'refresh' Tomcat?
 
Sheriff
Posts: 67560
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Giving a cat a bath is never pretty!

Seriously, have you removed the context descriptor from the /conf/Catalina hierarchy?
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have right. I find 'struts2-mailreader-2.0.14.xml' in \conf\Catalina\localhost\, and delete it. Why oter application didn't create sucha file, and why this one has been stored after deletion? Thanks you anyway!
 
Bear Bibeault
Sheriff
Posts: 67560
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tomcat automatically generates those files for running apps if one doesn't exist. Deleting the war doesn't cause those file to go away -- you need to do so by hand.
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, but why for such a particular file, like 'struts2-mailreader-2.0.14.war' was gone a way? I mean, why not for other wars which I've also deleted, the generating of those files occurs?
 
Bear Bibeault
Sheriff
Posts: 67560
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That I cannot tell you. I've never seen Tomcat not create the xml files.
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok. So I need just to check if the same error occurs :-) thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic