Re: Update: Can gcj compile apache xmlrpc with classpathx?

Everton da Silva Marques <[email protected]> Mon, 22 Sep 2003 13:57:22 -0300
Newsgroups gmane.comp.java.classpath.extensions.discuss
Message-ID <[email protected]>
Hi,

I am able to compile XMLRPC+servletAPI with
gcj 3.3.1, using the following packages:

- GNU Classpathx servletapi-2.3-alpha1.tar.gz
- Apache XMLRPC  xmlrpc-1.2-b1-src.tar.gz

I can run a simple xmlrpc-based echo server
with Kaffe 1.1.1 and Sun j2sdk 1.4.2_01. Both
VMs produce the same expected result.

Unfortunately, when running that same bytecode,
gij 3.3 gives 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 problem in gij...?

Any hints on how to further investigate this?

Thanks,
Everton