Hi Marco,
Good question. Currently, there's no way stopping an XmlRpcServer that has
been started with runAsService(), as far as I know. The method hangs in a
ServerSocket.accept() call. I'll take a closer look at it today and see
what has to be done to make it possible to stop it from another thread.
And please feel free to contribute with a solution, anyone.
Regards,
Greger
marco wrote:
>
> Hi List,
>
> Thanks for this great Xml Rpc Implementation!
>
> i have a little question, i'm running an XmlRpc Server in an Applet
> with the Sun plugIn, how can i free the serverport when leaving the
> site or on an reload?
> i get this error:
> Serverkomponente could not start: java.net.BindException: Address in use: JVM_Bind
>
> destroying the applet wont work, ending the thread i build either
> not. The Serversocket is still assigned....
>
> --
> Best regards,
> marco mailto:th...@gm...
>
> _______________________________________________
> Xmlrpc-developers mailing list
> Xml...@li...
> https://lists.sourceforge.net/lists/listinfo/xmlrpc-developers
|