[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Classpathx-discuss] Update: Can gcj compile apache xmlrpc with clas
From: |
Everton da Silva Marques |
Subject: |
Re: [Classpathx-discuss] Update: Can gcj compile apache xmlrpc with classpathx? |
Date: |
Mon, 22 Sep 2003 17:48:28 -0300 |
User-agent: |
Mutt/1.5.4i |
On Mon, Sep 22, 2003 at 01:57:22PM -0300, Everton da Silva Marques wrote:
>
> $ 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)
> $
Sorry for replying to my own message, but I could further debug
this issue. The test program was improperly creating a XmlRpcClient
with XmlRpcClient("http://127.0.0.1:1234"), while the more correct
URL seems to be XmlRpcClient("http://127.0.0.1:1234/RPC2"). This
fixed the issue I reported above.
Now gij is giving the following error:
$ gij-3.3 -classpath build:../lib/servlet.jar:../lib/xmlrpc.jar echo.EchoClient
Exception in thread "main" java.lang.IllegalAccessError
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.4.0.0)
at uk.co.wilson.xml.MinML.parse(java.io.Reader) (Unknown Source)
at uk.co.wilson.xml.MinML.parse(org.xml.sax.InputSource) (Unknown Source)
at org.apache.xmlrpc.XmlRpc.parse(java.io.InputStream) (Unknown Source)
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)
$
I looked at uk.co.wilson.xml.MinML.parse(java.io.Reader), but
still can't tell what is going on. Does anyone have any hint?
I wonder whether this may be a gij issue. I have sent a message
to gcj list about it.
Best regards,
Everton