File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reload not working

 
John Peders
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic