[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    Re: XML-RPC webserver question
From:       Lars Schnoor <Lars.Schnoor () ifad ! dk>
Date:       2011-01-31 14:49:43
Message-ID: 4D46CC07.50204 () ifad ! dk
[Download RAW message or body]

How would I enable for extensions in the XmlRpcServlet example?

On 11-01-2011 15:30, Jochen Wiedmann wrote:
> Take any examplle on embedding Jetty and use the XmlRpcServlet as the
> servlet in question.
>
>
> On Tue, Jan 11, 2011 at 3:02 PM, Lars Schnoor<Lars.Schnoor@ifad.dk>  wrote:
>> Are there any examples of how to use Jetty as the web server for XML-RPC?
>>
>> On 11-01-2011 13:55, Jochen Wiedmann wrote:
>>> Any small, embeddable servlet server, like Jetty, Tomcat, whatever ...
>>> should do.
>>>
>>>
>>> On Tue, Jan 11, 2011 at 1:21 PM, Lars Schnoor<Lars.Schnoor@ifad.dk>
>>>   wrote:
>>>> Any suggestion what other web server to use?
>>>>
>>>> On 11-01-2011 09:11, Jochen Wiedmann wrote:
>>>>> Noone ever suggested using the WebServer for production use. It is
>>>>> basically a toy product. Sorry, but that's as it is. I know that a lot
>>>>> of people use it in production anyways, but I can't help.
>>>>>
>>>>> On Tue, Jan 11, 2011 at 8:56 AM, Lars Schnoor<Lars.Schnoor@ifad.dk>
>>>>>   wrote:
>>>>>> Hi
>>>>>>
>>>>>> I am using XML-RPC to communicate between two Java programs, so it is
>>>>>> Apache
>>>>>> XML-RPC on both ends. I have one server and a varying number of
>>>>>> clients,
>>>>>> the
>>>>>> server sends out data to the available clients. Each client connects to
>>>>>> the
>>>>>> server on startup and polls for data from the server every 20 seconds,
>>>>>> the
>>>>>> polling causes the client to reconnect if disconnected. The server
>>>>>> keeps
>>>>>> track of all the connected client and checks frequently if the
>>>>>> connected
>>>>>> clients are alive. The server runs thru the list of connected clients
>>>>>> and
>>>>>> performs a XML-RPC call to the clients on the list, if a client is down
>>>>>> it
>>>>>> will not reply and the XML-RPC will time out, this will cause the
>>>>>> client
>>>>>> to
>>>>>> be removed form the list and the server will not send any data updates
>>>>>> to
>>>>>> the client.
>>>>>> The setup is that there is a XML-RPC Client and a XML-RPC Server on
>>>>>> both
>>>>>> ends.
>>>>>>   From a log file I can see that some of the liveness calls time out
>>>>>> causing
>>>>>> the client to be removed form the list only to be added to the list
>>>>>> after
>>>>>> the 20 seconds have gone and the client reconnects. This is a problem,
>>>>>> because the client won't receive any data updates while it is not on
>>>>>> the
>>>>>> list of connected clients.
>>>>>> I am not sure what causes these problem, but it looks like I am getting
>>>>>> a
>>>>>> connection refused or connection time out. Is there any known issue
>>>>>> about
>>>>>> that the web server in XML-RPC is unstable?
>>>>>> Thanks
>>>>>>
>>>>>> Lars
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
>>>>>> For additional commands, e-mail: dev-help@ws.apache.org
>>>>>>
>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: dev-help@ws.apache.org
>>>>
>>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: dev-help@ws.apache.org
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic