wood burning stoves 2.0*
The moose likes Tomcat and the fly likes reload not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "reload not working" Watch "reload not working" New topic
Author

reload not working

John Peders
Greenhorn

Joined: Nov 28, 2006
Posts: 1
Hi,

I have an app working OK in Tomcat 5.5.9, but I can't get it to reload. I get errors such as:


D:\workspace\starfriend\build.xml:319: Failed to copy D:\workspace\starfriend\vm\home\start.vm to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\starfriend\WEB-INF\vm\home\start.vm due to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\starfriend\WEB-INF\vm\home\start.vm (Access is denied)

I am using Velocity pages.

It seems that all files under Tomcat are set to read-only.

I have had this app working before , and reloading fine, but had to reinstall everything on my machine...

I have set my app to be reloadable with this:

<Context path="/appName" docBase="C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/starfriend" debug="3" reloadable="true">

in my file starfriend.xml, in conf/catalina/localhost.

I don't want to undeploy, redeploy - much slower.

Can anyone help?

Thanks,

John

Windows XP SP2, Java 1.5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
due to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\starfriend\WEB-INF\vm\home\start.vm (Access is denied)


That doesn't look like a Tomcat related error, it is not Tomcat setting the read only status of that file and the reloadable="true" doesn't have anything to do with that error from ANT.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reload not working
 
Similar Threads
Servlet reloading
Request Resource not available.
HTTP Status 404 - /Ch1/Serv1
applet not loading
Compiling java file