aspose file tools*
The moose likes Tomcat and the fly likes hot deployment refuses to work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "hot deployment refuses to work" Watch "hot deployment refuses to work" New topic
Author

hot deployment refuses to work

Mr Maxim
Greenhorn

Joined: Feb 24, 2010
Posts: 2
Hello i have a web application with Struts2+Hibernate, i have a vanilla tomcat 6.0.24
for some reason tomcat refuses to see any changes to simple jsp, to jsp with struts2 inside, even CSS files, every little change i have to restart the server

i use eclipse latest version to develop and deploy to tomcat and it thinks about everything...
if i however make a new dynamic web project with eclipse and make a simple jsp it works

this is my meta-inf\context.xml file



this is my WEB-INF\web.xml file



i also tried changing it to


i've been googling for 2 days now: i tried using eclipse to controll the server, to not controll the server, to manually deploy .war, to manually develop into the directory tomcat/webapps, i've tried ...



and it still woun't work
please help
Mr Maxim
Greenhorn

Joined: Feb 24, 2010
Posts: 2
i found that it is antiResourceLocking's fault, and it takes tomcat about 10 seconds to see the change
the documentation says it turns off jsp, but it is solved as resolved in tomcat 5.... and i'm using 6 so how can this bug still be ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hot deployment refuses to work