Revision 4422
Added by ben leinfelder about 16 years ago
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
include context for replication server