File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes auto-reload for WebSphere Test Env in VAJ4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "auto-reload for WebSphere Test Env in VAJ4" Watch "auto-reload for WebSphere Test Env in VAJ4" New topic
Author

auto-reload for WebSphere Test Env in VAJ4

Peter Stokes
Greenhorn

Joined: Dec 07, 2001
Posts: 9
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

Joined: Nov 02, 2000
Posts: 515
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


By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Peter Stokes
Greenhorn

Joined: Dec 07, 2001
Posts: 9
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

Joined: Dec 07, 2001
Posts: 9
Sorted it. Don't know what it was - it worked this morning, with no changes......
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: auto-reload for WebSphere Test Env in VAJ4