Hello,

thanks for the link to the tomcat sources. It took a while but we are
willing to look at the code. We downloaded all tomcat sources (at least
I hope so) and Ant to compile tomcat once, to see if it compiles before
we begin to modify it.

build-catalina:
    [javac] Compiling 335 source files to 
                D:\tomcatunpacked\jakarta-tomcat-4.1.24-src\
            catalina\build\server\classes
    [javac] This version of java does not support the classic compiler;

            upgrading to modern
    [javac] D:\tomcatunpacked\jakarta-tomcat-4.1.24-src\
            catalina\src\share\org\apache\catalina\servlets\
            HTMLManagerServlet.java:205: cannot resolve symbol
    [javac] symbol  : method setRepositoryPath (java.lang.String)
    [javac] location: class org.apache.commons.fileupload.FileUpload
    [javac]
upload.setRepositoryPath(tempdir.getCanonicalPath());
    [javac]               ^
    [javac] D:\tomcatunpacked\jakarta-tomcat-4.1.24-src\
            catalina\src\share\org\apache\catalina\servlets\
            HTMLManagerServlet.java:262: write(java.io.File) in
            org.apache.commons.fileupload.FileItem 
            cannot be applied to (java.lang.String)
    [javac]                 warUpload.write(file.getCanonicalPath());
    [javac]                          ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors

BUILD FAILED

The fileupload package is commons-fileupload-current from
http://www.apache.org/dist/jakarta/commons/fileupload/
from 25-Jun-2003 23:32, which seems to me being the newest available.

When I use the commons-fileupload-1.0-beta-1 instead, these two errors
disappear.

My question is: is it safe to use the fileupload-beta with the tomcat
4.1.24 release or is it more safe to upgrade to a CVS version of tomcat
and therefore using fileupload-current?

Thanks for your opinion


Thomas Weller


-----Ursprungliche Nachricht-----
Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Betreff: RE: Problems starting Tomcat from CD

[snip]

Look at the relevant code:
http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/catalina/src/share/org/
apache/catalina/startup/ContextConfig.java?rev=1.67&content-type=text/vn
d.viewcvs-markup

[snap]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to