• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

reload not working

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic