Project

General

Profile

« Previous | Next » 

Revision 4422

include context for replication server

View differences:

src/edu/ucsb/nceas/metacat/util/MetaCatUtil.java
603 603
        // append "context/servlet/replication" to the host name
604 604
        try {
605 605
        replicationServerName = 
606
        	SystemUtil.getSecureServer() + "/servlet/replication";
606
        	SystemUtil.getSecureServer() 
607
        	+ FileUtil.getFS()
608
			+ PropertyService.getProperty("application.context")
609
			+ "/servlet/replication";
607 610
        } catch (PropertyNotFoundException pnfe) {
608 611
        	logMetacat.error("Could not get local replication server name " 
609 612
        			+ "because property could not be found: " + pnfe.getMessage());

Also available in: Unified diff