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:
Juan Carlos Luciani 2007-05-24 15:45:48 +00:00
parent ddab06ecb6
commit 631e02cd5a

View File

@ -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