This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Running apache xmlrpc with gij 3.3.1
- From: Everton da Silva Marques <everton at lab dot ipaccess dot diveo dot net dot br>
- To: java at gcc dot gnu dot org
- Date: Mon, 22 Sep 2003 14:12:12 -0300
- Subject: Running apache xmlrpc with gij 3.3.1
- Reply-to: everton at lab dot ipaccess dot diveo dot net dot br
Hi,
Thanks to Jeff Sturm help, I am now able to compile
XMLRPC+servletAPI with gcj 3.3.1, using the
following source packages:
- GNU Classpathx servletapi-2.3-alpha1.tar.gz
- Apache XMLRPC xmlrpc-1.2-b1-src.tar.gz
There is a trivial xmlrpc-base echo server
I compiled with gcj 3.3.1. It can be run cleanly
with both Kaffe 1.1.1 and Sun j2sdk 1.4.2_01.
This is a sample healthy result:
$ /usr/local/kaffe/bin/java -classpath build:../lib/servlet.jar:../lib/xmlrpc.jar echo.EchoClient
Hello world!
$
Unfortunately, when running that same echo
server under gij 3.3.1, I get the following error:
$ gij-3.3 -classpath build:../lib/servlet.jar:../lib/xmlrpc.jar echo.EchoClient
could not call XML-RPC method: java.io.IOException: Malformed HTTP header
java.io.IOException: Malformed HTTP header
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(java.lang.String, java.util.Vector) (Unknown Source)
at org.apache.xmlrpc.XmlRpcClient.execute(java.lang.String, java.util.Vector) (Unknown Source)
at echo.EchoClient.main(java.lang.String[]) (Unknown Source)
$
Is this known? Can this be a gij issue?
Any hints on how to further investigate this?
Please share your thoughts.
Thanks,
Everton