Apache Jserv 0.9.10 Under Kaffe 0.10.0??
Tim Wilkinson
tim at transvirtual.com
Wed Apr 1 10:52:42 PST 1998
Tank,
I've never had any luck getting javac working with compress class files (although other compress stuff
seems to work just fine - notable jar). I've not put much effort into investigating the problem however.
Tim
Tank wrote:
> Greets all-
>
> Thanks to some help from the list, I've gotten Kaffe 0.10.0 up and
> running, however I'm having trouble getting it to run the Apache
> JServ 0.9.10 classes.
>
> The JServ stuff compiled fine under JDK, but the build breaks with the
> following:
>
> javac -deprecation -classpath
> servlets:src:servclasses.zip:.:/usr/local/share/kaffe/classes.zip:/usr/local/share/kaffe/klasses.zip:\
> /home/tank/postgresql.jar:/home/httpd/jserv/lib/servclasses.zip:/home/httpd/jserv/classes
> -d classes src/org/apache/jserv/test/BadC\
> lassTest.java
> java.io.EOFException: Unexpected end of ZLIB input stream
> at java/lang/Throwable.<init>(89)
> at java/lang/Exception.<init>(53)
> at java/io/IOException.<init>(53)
> at java/io/EOFException.<init>(59)
> at java/util/zip/InflaterInputStream.fill(156)
> at java/util/zip/InflaterInputStream.read(119)
> at java/io/BufferedInputStream.fill(135)
> at java/io/BufferedInputStream.read(162)
> at java/io/DataInputStream.readShort(277)
> at sun/tools/java/BinaryAttribute.load(56)
> at sun/tools/java/BinaryClass.load(117)
> at sun/tools/javac/BatchEnvironment.loadFile(253)
> at sun/tools/javac/BatchEnvironment.loadDefinition(340)
> at sun/tools/java/Environment.loadDefinition(148)
> at sun/tools/java/Environment.loadDefinition(148)
> at sun/tools/java/Environment.loadDefinition(148)
> at sun/tools/java/ClassDeclaration.getClassDefinition(116)
> at sun/tools/java/Environment.getClassDefinition(105)
> at sun/tools/java/Imports.resolve(162)
> at sun/tools/javac/SourceClass.basicCheck(934)
> at sun/tools/java/ClassDeclaration.getClassDefinition(121)
> at sun/tools/javac/Main.compile(279)
> at sun/tools/javac/Main.main(473)
> src/org/apache/jserv/test/BadClassTest.java:58: Class
> javax.servlet.http.HttpServlet not found in import.
> import javax.servlet.http.HttpServlet;
> ^
> src/org/apache/jserv/test/BadClassTest.java:70: Superclass
> javax.servlet.http.HttpServlet of class
> org.apache.jserv.test.BadClassTe\
> st not found.
> public class BadClassTest extends HttpServlet
>
> Are there any known problems with the kaffe zip stuff?
>
> --
> Tank (SPM) "The Big Bad Wolf"
> <tank at pencom.com>
> <tank at iroquois.mcla.org>
--
Tim Wilkinson Tel: +1 510 704 1660
Transvirtual Technologies, Inc., Fax: +1 510 704 1893
Berkeley, CA, USA. Email: tim at transvirtual.com
More information about the kaffe
mailing list