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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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 ?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: hot deployment refuses to work
 
Similar Threads
Tomcat 5.5.9 getting Database Connection
Accessing DBCP in RequestProcessor class
problem with j_security_check
A question about creating a Connection pool that uses Oracle JDBC
TOMCAT 5.5.4 + Datasource in ROOT not working