Project

General

Profile

« Previous | Next » 

Revision 4132

Added by daigle almost 16 years ago

Differentiate between tomcat directory and deployment directory.

View differences:

MetacatReplication.java
43 43
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
44 44
import edu.ucsb.nceas.metacat.util.SessionData;
45 45
import edu.ucsb.nceas.metacat.util.SystemUtil;
46
import edu.ucsb.nceas.utilities.FileUtil;
46 47
import edu.ucsb.nceas.utilities.GeneralPropertyException;
47 48
import edu.ucsb.nceas.utilities.PropertyNotFoundException;
48 49

  
......
541 542
			IOException, MalformedURLException, PropertyNotFoundException {
542 543
		
543 544
		// the path to be uploaded to
544
		String certPath = PropertyService.getProperty("application.tomcatDir")
545
				+ "/webapps/" + PropertyService.getProperty("application.context"); 
545
		String certPath = PropertyService.getProperty("application.deployDir")
546
				+ FileUtil.getFS() + PropertyService.getProperty("application.context"); 
546 547

  
547 548
		// get filename from the URL of the certificate
548 549
		String filename = certURL;

Also available in: Unified diff