DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23751>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23751 Error with Saving Configuration Summary: Error with Saving Configuration Product: Tomcat 5 Version: 5.0.13 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Webapps:Administration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I "Commit Changes" button clicked, HTTP 500 Error occured and my configurations aren't saved. Caused by: java.io.FileNotFoundException: ..\..\conf\Catalina\localhost\jsp-examples.xml (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at java.io.FileWriter.<init>(FileWriter.java:73) at org.apache.catalina.core.StandardServer.storeContext(StandardServer.java:1205) at org.apache.catalina.core.StandardServer.storeHost(StandardServer.java:1669) at org.apache.catalina.core.StandardServer.storeEngine(StandardServer.java:1551) at org.apache.catalina.core.StandardServer.storeService(StandardServer.java:2151) at org.apache.catalina.core.StandardServer.storeServer(StandardServer.java:2107) at org.apache.catalina.core.StandardServer.storeConfig(StandardServer.java:798) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) ... 41 more following is a patch to fix this issue. Index: StandardServer.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardServer.java,v retrieving revision 1.22 diff -u -r1.22 StandardServer.java --- StandardServer.java 2 Sep 2003 21:22:04 -0000 1.22 +++ StandardServer.java 12 Oct 2003 10:51:30 -0000 @@ -855,10 +855,6 @@ if (configFile != null) { File config = new File(configFile); - if (!config.isAbsolute()) { - config = new File(System.getProperty("catalina.base"), - configFile); - } // Open an output writer for the new configuration file PrintWriter writer = null; @@ -1194,10 +1190,6 @@ if (configFile != null) { File config = new File(configFile); - if (!config.isAbsolute()) { - config = new File(System.getProperty("catalina.base"), - configFile); - } // Open an output writer for the new configuration file writer = null; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
