This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Running apache xmlrpc with gij 3.3.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]