Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

auto-reload for WebSphere Test Env in VAJ4

 
Peter Stokes
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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 ?
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Sorted it. Don't know what it was - it worked this morning, with no changes......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic