• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

backup of projects on daily basis to a backup server in network

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I would like to do projects backup from one location to another location in network.This sample application has been written in struts.This was achieved by using "org.apache.commons.io.FileUtils"/"Files".My problem here is, when I run this application in netbeans 6.9 IDE tomcat server its working fine. but when I tried to run this application in apache tomcat 7.0 server by deploying this application WAR file,I am getting exception like "java.io.Exception : Destination "destination path" directory can not be created" , this destination path is the another machine in our local network.But it is working fine in the netbeans.But unable to find out the another system path after deployment.I assume some kind of netbeans IDE options are enabling tomcat server to copy folder to a destination directory when i ran it in netbeans tomcat. where as, if i run this application in tomcat server some kind of tomcat file permissions are blocking.

Here both source and destination are shared folders.

Kindly, Solve my problem.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!