• 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

auto-reload for WebSphere Test Env in VAJ4

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If I change the contents of a servlet in my workspace, the servlet engine does not take any changes, even though auto-reload enabled="true" is set for my application. Although, if I rename the servlet, the browser can't find it anymore.
Any ideas ?
 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm.. Well you will need to start and stop your servlet engine to see a servlet change. That much is a given. Since you are in VAJ, the Servlet Engine will automatically stop for you (I think) If 4 doesn't stop it for you, you may want to try that.
Dale
 
Peter Stokes
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dale,
Thanks for replying. I didn't quite understand the last bit of your answer. Anyway, in the docs for WTE, it states that for default.servlet_engine under tag <auto-reload enabled="true" polling-interval="3000"/> :
"Controls whether classes within a Web application are reloaded when a change is detected. blah..."
When I had Tomcat integrated with VAJ IDE, that was able to pick up an altered class file on the workspace without any probs. I think I must be missing something......
 
Peter Stokes
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorted it. Don't know what it was - it worked this morning, with no changes......
 
We don't have time for this. We've gotta save the moon! Or check this out:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic