-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
first of all please excuse me writing this question here as I think myself it doesn't have much to do with the apache xml-rpc library itself. However I though it might be better asking people working with the WebServer directly, maybe the answer simple. When an exception happens, in my case Exception in thread "XML-RPC Weblistener" java.lang.RuntimeException: Address already in use" the application returns to the system but no error code is given back to the shell. I'm running a standalone application at the unix shell prompt. Usually when an uncaught Exception occurs, it is returned "1" to the shell. I *think* this is different here because org.apache.xmlrpc.WebServer is using threads and the Listener thread throws this exception and not the main thread. I'm not very confident with Java so I wasn't able to figure out how I can signal the shell that an error occurred in this special case. I need this as I'm using a cronjob to start the application but in case of errors a notification should be sent and currently I'm using the return value at the shell prompt. thanks for any pointers and sorry for this off-topic question, - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD+dta1nS0RcInK9ARAhH4AJ9uLox9RBIzhxe3yS8ZQokfDlnH8gCeKpdZ LDDN3eS9OD6iIQmf2K5nhJE= =SSEm -----END PGP SIGNATURE-----
