You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by as...@ieuskadi.com on 2002/11/04 16:33:58 UTC

Exception when calling Execute method

Hello,
      I am finding some trouble implementing XMLRPC:
when I call repeteadly (from different threads xmlrpc funcions some of the
calling are rejected with the exception shown bellow. I am using Windows
2000 as O.S. and XmlRpc 1.1.
Rejections are from 1% up to 8% in number. And the calls are made from 500
different threads.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Invalid fault response
org.apache.xmlrpc.XmlRpcException: Invalid fault response
        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
        at com.bbk.SMS.AHSMS.enviarMensaje(AHSMS.java:222)
        at com.bbk.SMS.AHSMS.enviarSM(AHSMS.java:112)
        at EnviarMensaje.run(SMSTest.java:53)
        at java.lang.Thread.run(Thread.java:484)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Any idea?

Thanks.



Re: Exception when calling Execute method

Posted by Peter Carter <pe...@pbc.ottawa.on.ca>.
I would guess that you are into a classic resource limit. Java does not  
seem to complain, so I would suggest it could be inside windows. Try  
upping the amount of processes and threads that windows can spawn.  
These are registry entries, and I do not remember what they are. Look  
in the Microsoft KB for those.

On Monday, November 4, 2002, at 10:33 AM, asier.axpe@ieuskadi.com wrote:

>
> Hello,
>       I am finding some trouble implementing XMLRPC:
> when I call repeteadly (from different threads xmlrpc funcions some of  
> the
> calling are rejected with the exception shown bellow. I am using  
> Windows
> 2000 as O.S. and XmlRpc 1.1.
> Rejections are from 1% up to 8% in number. And the calls are made from  
> 500
> different threads.
>
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> -------------------
> Invalid fault response
> org.apache.xmlrpc.XmlRpcException: Invalid fault response
>         at  
> org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
>         at com.bbk.SMS.AHSMS.enviarMensaje(AHSMS.java:222)
>         at com.bbk.SMS.AHSMS.enviarSM(AHSMS.java:112)
>         at EnviarMensaje.run(SMSTest.java:53)
>         at java.lang.Thread.run(Thread.java:484)
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> -------------------
>
> Any idea?
>
> Thanks.
>
>


Re: Exception when calling Execute method

Posted by Peter Carter <pe...@pbc.ottawa.on.ca>.
I would guess that you are into a classic resource limit. Java does not  
seem to complain, so I would suggest it could be inside windows. Try  
upping the amount of processes and threads that windows can spawn.  
These are registry entries, and I do not remember what they are. Look  
in the Microsoft KB for those.

On Monday, November 4, 2002, at 10:33 AM, asier.axpe@ieuskadi.com wrote:

>
> Hello,
>       I am finding some trouble implementing XMLRPC:
> when I call repeteadly (from different threads xmlrpc funcions some of  
> the
> calling are rejected with the exception shown bellow. I am using  
> Windows
> 2000 as O.S. and XmlRpc 1.1.
> Rejections are from 1% up to 8% in number. And the calls are made from  
> 500
> different threads.
>
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> -------------------
> Invalid fault response
> org.apache.xmlrpc.XmlRpcException: Invalid fault response
>         at  
> org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
>         at com.bbk.SMS.AHSMS.enviarMensaje(AHSMS.java:222)
>         at com.bbk.SMS.AHSMS.enviarSM(AHSMS.java:112)
>         at EnviarMensaje.run(SMSTest.java:53)
>         at java.lang.Thread.run(Thread.java:484)
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> ----------------------------------------------------------------------- 
> -------------------
>
> Any idea?
>
> Thanks.
>
>