Re: tomcat-4.1.24 compile error issue with commons-fileupload????

2003-08-14 Thread Bill Barker
Either:
1) get the HTMLManagerServlet.java file from 4.1.27
2) look in the CVS, and apply the patch to your copy
3) get commons-fileupload-B1

David Kramer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Im trying to compile tomcat 4.1.24 from source and Im receiving the below
 error:

 [javac] Compiling 46 source files to
 /opt/tomcat/catalina/build/server/classes
 [javac] This version of java does not support the classic compiler;
 upgrading to modern
 [javac]

/opt/tomcat/catalina/src/share/org/apache/catalina/servlets/HTMLManagerServl
 et.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]

/opt/tomcat/catalina/src/share/org/apache/catalina/servlets/HTMLManagerServl
 et.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]


 I found the same error online, apparently a developer changed the API
within
 commons fileuploads around the 21st of July(atleast thats when the email
was
 posted to the archives).  The email mentioned something about using a new
 fileupload version where the missing method is found(DiskFileUpload).  The
 email also said to not use an older version of commons-fileupload.  Does
 anyone have any ideas or recommendations on resolving this issue?  Im
 completely stumped and need to get Tomcat up and running ASAP.
 Unfortunately Im being forced to compile this from scratch, so just
getting
 the Tomcat binaries isnt an option.  Any insight is appreciated.
 Thanks,
 DK


 David Kramer
 Software Developer
 Reflect.com
 Direct: 415.369.4856
 Cell: 650.302.7889




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



RE: tomcat-4.1.24 compile error issue with commons-fileupload????

2003-08-14 Thread Shapira, Yoav

Howdy,
Get the 4.1.27 source and fileupload-1.0 final, not a beta or release
candidate.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: David Kramer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 6:01 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat-4.1.24 compile error issue with commons-fileupload

Im trying to compile tomcat 4.1.24 from source and Im receiving the
below
error:

[javac] Compiling 46 source files to
/opt/tomcat/catalina/build/server/classes
[javac] This version of java does not support the classic compiler;
upgrading to modern
[javac]
/opt/tomcat/catalina/src/share/org/apache/catalina/servlets/HTMLManager
Serv
l
et.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]
/opt/tomcat/catalina/src/share/org/apache/catalina/servlets/HTMLManager
Serv
l
et.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]


I found the same error online, apparently a developer changed the API
within
commons fileuploads around the 21st of July(atleast thats when the
email
was
posted to the archives).  The email mentioned something about using a
new
fileupload version where the missing method is found(DiskFileUpload).
The
email also said to not use an older version of commons-fileupload.
Does
anyone have any ideas or recommendations on resolving this issue?  Im
completely stumped and need to get Tomcat up and running ASAP.
Unfortunately Im being forced to compile this from scratch, so just
getting
the Tomcat binaries isnt an option.  Any insight is appreciated.
Thanks,
DK


David Kramer
Software Developer
Reflect.com
Direct: 415.369.4856
Cell: 650.302.7889


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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