Two Laptop Bag
The moose likes Tomcat and the fly likes backup of projects on daily basis to a backup server in network Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "backup of projects on daily basis to a backup server in network " Watch "backup of projects on daily basis to a backup server in network " New topic
Author

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

Bhuvana kuruva
Greenhorn

Joined: Mar 01, 2011
Posts: 1


Hi,

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.
 
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: backup of projects on daily basis to a backup server in network
 
Similar Threads
Problem while executing jar file
Using Sun App Server instead of Orion
Generating deployable war from Eclipse
Generating deployable war from Eclipse
File Upload from Servlet Using JCIFS