Jigsaw with Kaffe: HELP!

Godmar Back gback at cs.utah.edu
Fri Jan 29 07:37:12 PST 1999


 Vitaly,

 ad 1): Serialization is broken.  Will hopefully be fixed in the next
	release.

 ad 2): java.net.HttpURLConnection is not implemented.  Try using Sun's
        by appending classes.zip to your classpath.

	- Godmar

> 
>     Hi!
> 
>     Has anyone used (or compiled) Jigsaw Web-server with Kaffe?
> 
>     There are some problems, like:
>     1) during starting:
> 
> loading properties from: /vit/Jigsaw/Jigsaw/config/server.props
> java.io.EOFException
>         at java/lang/Throwable.<init>(31)
>         at java/lang/Exception.<init>(17)
>         at java/io/IOException.<init>(17)
>         at java/io/EOFException.<init>(17)
>         at java/io/ObjectInputStream.readFully(139)
>         at java/io/ObjectInputStream.readFully(130)
>         at java/io/ObjectInputStream.readUTF(305)
>         at java/io/ObjectStreamClass.readObject(136)
>         at java/io/ObjectInputStream.readObject(219)
>         at
> org/w3c/tools/resources/store/ResourceStoreManager.loadEntriesIndex(line
> unknown, pc 0x843455f)
>         at org/w3c/tools/resources/store/ResourceStoreManager.<init>(line
> unknown, pc 0x844b265)
>         at org/w3c/jigsaw/http/httpd.initializeResourceSpace(line unknown,
> pc 0x83c7d9f)
>         at org/w3c/jigsaw/http/httpd.initialize(line unknown, pc 0x83c1150)
>         at
> org/w3c/jigsaw/daemon/ServerHandlerManager.launchServerHandler(line unknown,
> pc 0x839125f)
>         at org/w3c/jigsaw/daemon/ServerHandlerManager.<init>(line unknown,
> pc  x838d250)
>         at org/w3c/jigsaw/daemon/ServerHandlerManager.main(line unknown, pc
> 0x836c537)
>         at org/w3c/jigsaw/Main.main(line unknown, pc
> 0x830f848)java.lang.RuntimeException: Unable to load entries index
>         at java/lang/Throwable.<init>(37)
>         at java/lang/Exception.<init>(21)
>         at java/lang/RuntimeException.<init>(21)
>         at
> org/w3c/tools/resources/store/ResourceStoreManager.loadEntriesIndex(line
> unknown, pc 0x843468b)
>         at org/w3c/tools/resources/store/ResourceStoreManager.<init>(line
> unknown, pc 0x844b265)
>         at org/w3c/jigsaw/http/httpd.initializeResourceSpace(line unknown,
> pc 0x83c7d9f)
>         at org/w3c/jigsaw/http/httpd.initialize(line unknown, pc 0x83c1150)
>         at
> org/w3c/jigsaw/daemon/ServerHandlerManager.launchServerHandler(line unknown,
> 
> pc 0x839125f)
>         at org/w3c/jigsaw/daemon/ServerHandlerManager.<init>(line unknown,
> pc 0x838d250)
>         at org/w3c/jigsaw/daemon/ServerHandlerManager.main(line unknown, pc
> 0x836c537)
>         at org/w3c/jigsaw/Main.main(line unknown, pc 0x830f848)
> 
>     2) during compilation:
> 
> HttpURLConnection.java:15: cannot access class HttpURLConnection; file
> java/net/HttpURLConnection.class not found
> public class HttpURLConnection extends java.net.HttpURLConnection
>                                                 ^
> HttpURLConnection.java:24: variable method not found in class
> org.w3c.www.protocol.http.HttpURLConnection
>             request.setMethod(method);
>                               ^
> HttpURLConnection.java:25: variable ifModifiedSince not found in class
> org.w3c.www.protocol.http.HttpURLConnection
>             if ( ifModifiedSince > 0 )
>                  ^
> HttpURLConnection.java:26: variable ifModifiedSince not found in class
> org.w3c.www.protocol.http.HttpURLConnection
>                 request.setIfModifiedSince(ifModifiedSince*1000);
>                                            ^
> HttpURLConnection.java:27: variable useCaches not found in class
> org.w3c.www.protocol.http.HttpURLConnection
>             if ( ! useCaches ) {
>                    ^
> HttpURLConnection.java:31: variable url not found in class
> org.w3c.www.protocol.http.HttpURLConnection
>             request.setURL(url);
> 
>     I have Kaffe (Just-in-time Version: 1.00 Java Version: 1.1) and Jigsaw
> 2.0.1.
>     If you can give me some help regarding this problem it will be nice...
> 
>     Thanks!
> 
>     Regards,
>     Vitaly Yermolenko
>     vyermolenko at zt.ukrtel.net
> 
> 
> 
> 



More information about the kaffe mailing list