cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: cvs commit: xml-cocoon2/src/org/apache/cocoon/servlet CocoonServlet.java
Date Mon, 29 Oct 2001 08:35:39 GMT
Ovidiu or Carsten, can you explain us what are these classloading
problems ?

cziegeler@apache.org a écrit :
> 
> cziegeler    01/10/28 23:38:56
> 
>   Modified:    src/org/apache/cocoon/servlet Tag: cocoon_20_branch
>                         CocoonServlet.java
>   Log:
>   Sync with 2.1: create a directory inside the servlet engine work directory to avoid
classloader problems (e.g. with tomcat 3.3)
> 
>   Revision  Changes    Path
>   No                   revision
> 
> 
>   No                   revision
> 
> 
>   1.13.2.31 +2 -1      xml-cocoon2/src/org/apache/cocoon/servlet/CocoonServlet.java
> 
>   Index: CocoonServlet.java
>   ===================================================================
>   RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/servlet/CocoonServlet.java,v
>   retrieving revision 1.13.2.30
>   retrieving revision 1.13.2.31
>   diff -u -r1.13.2.30 -r1.13.2.31
>   --- CocoonServlet.java        2001/10/23 11:38:44     1.13.2.30
>   +++ CocoonServlet.java        2001/10/29 07:38:55     1.13.2.31
>   @@ -58,7 +58,7 @@
>     * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
>     * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
>     * @author <a href="mailto:leo.sutic@inspireinfrastructure.com">Leo Sutic</a>
>   - * @version CVS $Revision: 1.13.2.30 $ $Date: 2001/10/23 11:38:44 $
>   + * @version CVS $Revision: 1.13.2.31 $ $Date: 2001/10/29 07:38:55 $
>     */
> 
>    public class CocoonServlet extends HttpServlet {
>   @@ -146,6 +146,7 @@
>                workDir.mkdirs();
>            } else {
>                workDir = (File) this.servletContext.getAttribute("javax.servlet.context.tempdir");
>   +            workDir = new File(workDir, "cocoon-files");
>            }
> 
>            this.appContext.put(Constants.CONTEXT_WORK_DIR, workDir);
> 

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message