You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Aram Melkoumian <ar...@umail.ucsb.edu> on 2005/10/13 01:33:34 UTC
Built in client and server not working
I am trying to run the built in org.apache.xmlrpc.WebServer and
org.apache.xmlrpc.XmlRpcClient to test if it is working. I run it with the
arguments given on http://ws.apache.org/xmlrpc/client.html. I get the
following error when I try to execute the client:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/codec/DecoderException
at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
at
org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(XmlRpcClientRe
sponseProcessor.java:48)
at
org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:4
3)
at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
at org.apache.xmlrpc.XmlRpcClient.main(XmlRpcClient.java:473)
I am running java 1.5.02.
-Aram
Re: Built in client and server not working
Posted by manishks <ma...@yahoo.com>.
You can download this package from:
http://jakarta.apache.org/site/downloads/downloads_commons-codec.cgi
--
View this message in context: http://www.nabble.com/Built-in-client-and-server-not-working-tf401188.html#a5187344
Sent from the Apache Xml-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
RE: Built in client and server not working
Posted by Aram Melkoumian <ar...@umail.ucsb.edu>.
Peter,
Thanks for that, I just noticed that it was asking for codec. Thanks for all
the help.
-Aram
-----Original Message-----
From: Peter Guy [mailto:pguy@vrcis.com]
Sent: Wednesday, October 12, 2005 10:55 PM
To: xmlrpc-user@ws.apache.org
Subject: Re: Built in client and server not working
Hmm, I see that my classpath does not include the commons codec jar. I
mustve pulled it out somehow while sanitizing it.
Here's what you need:
http://jakarta.apache.org/commons/codec/
Sorry about that,
-Peter
----- Original Message -----
From: "Aram Melkoumian" <ar...@umail.ucsb.edu>
To: <xm...@ws.apache.org>
Sent: Wednesday, October 12, 2005 9:39 PM
Subject: RE: Built in client and server not working
>I tried that just now and same error. I at first just tried including the
>commons from your classpath and then everything in your classpath even
>though some are unrelated. Any more ideas?
>
> -Aram
>
>
> Peter Guy <pg...@vrcis.com> wrote:
>
>> You have to get a couple of commons jar files and include them in your
>> classpath.
>>
>> http://jakarta.apache.org/commons/
>>
>> Here's my classpath:
>>
CLASSPATH=axis.jar;jaxrpc.jar;commons-logging-1.0.4.jar;commons-discovery-0.
>> 2.jar;wsdl4j-1.5.1.jar;saaj.jar;xml-apis.jar;xercesImpl.jar
>>
>> hth,
>>
>> -Peter
>>
>> -----Original Message-----
>> From: Aram Melkoumian [mailto:aram@umail.ucsb.edu]
>> Sent: Wednesday, October 12, 2005 4:34 PM
>> To: xmlrpc-user@ws.apache.org
>> Subject: Built in client and server not working
>>
>>
>> I am trying to run the built in org.apache.xmlrpc.WebServer and
>> org.apache.xmlrpc.XmlRpcClient to test if it is working. I run it with
>> the
>> arguments given on http://ws.apache.org/xmlrpc/client.html. I get the
>> following error when I try to execute the client:
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/commons/codec/DecoderException
>> at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
>> at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
>> at
>> org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(XmlRpcClientRe
>> sponseProcessor.java:48)
>> at
>> org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:4
>> 3)
>> at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
>> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
>> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
>> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
>> at org.apache.xmlrpc.XmlRpcClient.main(XmlRpcClient.java:473)
>>
>> I am running java 1.5.02.
>>
>> -Aram
Re: Built in client and server not working
Posted by Peter Guy <pg...@vrcis.com>.
Hmm, I see that my classpath does not include the commons codec jar. I
mustve pulled it out somehow while sanitizing it.
Here's what you need:
http://jakarta.apache.org/commons/codec/
Sorry about that,
-Peter
----- Original Message -----
From: "Aram Melkoumian" <ar...@umail.ucsb.edu>
To: <xm...@ws.apache.org>
Sent: Wednesday, October 12, 2005 9:39 PM
Subject: RE: Built in client and server not working
>I tried that just now and same error. I at first just tried including the
>commons from your classpath and then everything in your classpath even
>though some are unrelated. Any more ideas?
>
> -Aram
>
>
> Peter Guy <pg...@vrcis.com> wrote:
>
>> You have to get a couple of commons jar files and include them in your
>> classpath.
>>
>> http://jakarta.apache.org/commons/
>>
>> Here's my classpath:
>> CLASSPATH=axis.jar;jaxrpc.jar;commons-logging-1.0.4.jar;commons-discovery-0.
>> 2.jar;wsdl4j-1.5.1.jar;saaj.jar;xml-apis.jar;xercesImpl.jar
>>
>> hth,
>>
>> -Peter
>>
>> -----Original Message-----
>> From: Aram Melkoumian [mailto:aram@umail.ucsb.edu]
>> Sent: Wednesday, October 12, 2005 4:34 PM
>> To: xmlrpc-user@ws.apache.org
>> Subject: Built in client and server not working
>>
>>
>> I am trying to run the built in org.apache.xmlrpc.WebServer and
>> org.apache.xmlrpc.XmlRpcClient to test if it is working. I run it with
>> the
>> arguments given on http://ws.apache.org/xmlrpc/client.html. I get the
>> following error when I try to execute the client:
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/commons/codec/DecoderException
>> at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
>> at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
>> at
>> org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(XmlRpcClientRe
>> sponseProcessor.java:48)
>> at
>> org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:4
>> 3)
>> at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
>> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
>> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
>> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
>> at org.apache.xmlrpc.XmlRpcClient.main(XmlRpcClient.java:473)
>>
>> I am running java 1.5.02.
>>
>> -Aram
RE: Built in client and server not working
Posted by Aram Melkoumian <ar...@umail.ucsb.edu>.
I tried that just now and same error. I at first just tried including
the commons from your classpath and then everything in your classpath
even though some are unrelated. Any more ideas?
-Aram
Peter Guy <pg...@vrcis.com> wrote:
> You have to get a couple of commons jar files and include them in your
> classpath.
>
> http://jakarta.apache.org/commons/
>
> Here's my classpath:
> CLASSPATH=axis.jar;jaxrpc.jar;commons-logging-1.0.4.jar;commons-discovery-0.
> 2.jar;wsdl4j-1.5.1.jar;saaj.jar;xml-apis.jar;xercesImpl.jar
>
> hth,
>
> -Peter
>
> -----Original Message-----
> From: Aram Melkoumian [mailto:aram@umail.ucsb.edu]
> Sent: Wednesday, October 12, 2005 4:34 PM
> To: xmlrpc-user@ws.apache.org
> Subject: Built in client and server not working
>
>
> I am trying to run the built in org.apache.xmlrpc.WebServer and
> org.apache.xmlrpc.XmlRpcClient to test if it is working. I run it with the
> arguments given on http://ws.apache.org/xmlrpc/client.html. I get the
> following error when I try to execute the client:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/codec/DecoderException
> at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
> at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
> at
> org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(XmlRpcClientRe
> sponseProcessor.java:48)
> at
> org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:4
> 3)
> at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> at org.apache.xmlrpc.XmlRpcClient.main(XmlRpcClient.java:473)
>
> I am running java 1.5.02.
>
> -Aram
>
>
RE: Built in client and server not working
Posted by Peter Guy <pg...@vrcis.com>.
You have to get a couple of commons jar files and include them in your
classpath.
http://jakarta.apache.org/commons/
Here's my classpath:
CLASSPATH=axis.jar;jaxrpc.jar;commons-logging-1.0.4.jar;commons-discovery-0.
2.jar;wsdl4j-1.5.1.jar;saaj.jar;xml-apis.jar;xercesImpl.jar
hth,
-Peter
-----Original Message-----
From: Aram Melkoumian [mailto:aram@umail.ucsb.edu]
Sent: Wednesday, October 12, 2005 4:34 PM
To: xmlrpc-user@ws.apache.org
Subject: Built in client and server not working
I am trying to run the built in org.apache.xmlrpc.WebServer and
org.apache.xmlrpc.XmlRpcClient to test if it is working. I run it with the
arguments given on http://ws.apache.org/xmlrpc/client.html. I get the
following error when I try to execute the client:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/codec/DecoderException
at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
at
org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(XmlRpcClientRe
sponseProcessor.java:48)
at
org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:4
3)
at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
at org.apache.xmlrpc.XmlRpcClient.main(XmlRpcClient.java:473)
I am running java 1.5.02.
-Aram