You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jm...@apache.org on 2002/02/15 18:58:28 UTC
cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/intake TurbineIntakeService.java
jmcnally 02/02/15 09:58:28
Modified: src/java/org/apache/turbine/services/intake
TurbineIntakeService.java
Log:
Patch by Colin Chalmers.
This is a small/minor patch for the TurbineIntakeService.
The patch is necessary because if the String doesn't begin with "/" the
following is appended by ServletUtils "./"
This doesn't seem to be a problem with the tests I've done on catalina (win
version) but does cause problems on WAS (websphere) 3.5 running on Solaris
whereby a path similiar to the following is created
"/foo./WEB-INF/appData.ser". An error is given that the file cannot be
generated.
The fix had been tested on Catalina (win) & WAS 3.5 solaris.
Revision Changes Path
1.4 +2 -2 jakarta-turbine-2/src/java/org/apache/turbine/services/intake/TurbineIntakeService.java
Index: TurbineIntakeService.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/intake/TurbineIntakeService.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TurbineIntakeService.java 21 Oct 2001 00:18:39 -0000 1.3
+++ TurbineIntakeService.java 15 Feb 2002 17:58:28 -0000 1.4
@@ -91,7 +91,7 @@
* on an XML specification.
*
* @author <a href="mailto:jmcnally@collab.net">John McNally</a>
- * @version $Id: TurbineIntakeService.java,v 1.3 2001/10/21 00:18:39 jmcnally Exp $
+ * @version $Id: TurbineIntakeService.java,v 1.4 2002/02/15 17:58:28 jmcnally Exp $
*/
public class TurbineIntakeService
extends TurbineBaseService
@@ -153,7 +153,7 @@
throw new InitializationException(pathError);
}
//!! need a constant
- String appDataPath = "WEB-INF/appData.ser";
+ String appDataPath = "/WEB-INF/appData.ser";
try
{
// If possible, transform paths to be webapp root relative.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>