Hi All,
I am trying to write an automation test where I need to copy the modified
catalina-server.xml file in to <CARBON_HOME>/repository/conf/tomcat folder.
But always the catalina-server.xml file get copied in to
<CARBON_HOME>/repository/conf/ folder. But on the other hand I could copy
the axis.xml file without any issues.
I am using following method to copy this.
File sourceCatalinaFile = new
File(ProductConstant.SYSTEM_TEST_RESOURCE_LOCATION +
BPSTestConstants.DIR_ARTIFACTS
+ File.separator +
BPSTestConstants.DIR_HTTPS_ONLY_TRANSPORT + File.separator +
"catalina-server.xml");
File targetCatalinaFile = new
File(CarbonUtils.getCarbonConfigDirPath() + File.separator + "tomcat" + File
.separator + "catalina-server.xml");
serverConfigurationManager.applyConfiguration(sourceCatalinaFile,
targetCatalinaFile);
Any help is appreciated to sort out this issue.
Regards,
Firzhan
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev