• 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
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSPs not being updated from time to time in work directory

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Once every blue moon (and I do mean it happens pretty rarely) I make a change to a jsp in my j2ee application and the change does not show up in my application. If I have had enough coffee, I realize oh if I just go to the work directory and delete the generated .java and .class file which Tomcat keeps for my jsp then my new jsp will be handled correctly next time someone vists that page. But sometimes, I have doubt and I say oh I must have done something else wrong in my jsp and so I do not think to go to the work directory to do this.

So my question is, what are some of the causes of Tomcat not regenerating the .java and the .class files for a jsp page? Is there anything I can do to reduce the rate from once every blue moon to 1/infinity?

I am using Tomcat 6 if that helps any.
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It may be that you just need a little patience. Tomcat doesn't update instantaneously. It does a periodic scan. The default scan interval is fairly short, but if you're impatient, sometimes you might be outracing it.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic