Modified the TomcatConnectorEditor to utilize the direct path to the
appropriate server.xml file rather than a link to avoid issues where the editor is invoked before the link has been created.
This commit is contained in:
		| @@ -195,7 +195,7 @@ public final class TomcatConnectorEditor | |||||||
|       FileOutputStream outStream = null; |       FileOutputStream outStream = null; | ||||||
|       try |       try | ||||||
|       { |       { | ||||||
|          File serverXmlFile = new File("/srv/www/casaats/conf/server.xml"); |          File serverXmlFile = new File("/srv/www/casaats/conf/server-sun.xml"); // tbd - This can be enhanced so that we load this path from the properties file | ||||||
|          inStream = new FileInputStream(serverXmlFile); |          inStream = new FileInputStream(serverXmlFile); | ||||||
|  |  | ||||||
|          // Pull the server.xml file into a DOM |          // Pull the server.xml file into a DOM | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user