You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Shaw, Richard A" <ri...@atkinsglobal.com> on 2008/05/02 16:56:08 UTC

Service monitoring

I have a service which contains a quartz timer and and everytime it fires it requests data from another CXF service. Sometimes it starts reporting connection errors when talking to the service or simply stops alltogether. 

My question is - what is the best way to monitor that my service is still running ? 

Requesting the WSDL tells me something is still alive but not necessarily the complete service.  

I can trap the connection errors and send a message (or write to DB) when this occurs and monitor that. But I don't think this will get all my failures.

I could update a timestamp in a DB after every execution and monitor the DB for lack of update.

Any ideas ? Is there something else I could do ?

BTW my error is usually "sun.reflect.GeneratedMethodAccessor19 invoke
WARNING: dispatch failed!" And I haven't been able to discover what it means - I asked you guys before and nobody else knew either.



Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems 

Atkins Highways and Transportation 
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: richard.shaw@atkinsglobal.com

www.atkinsglobal.com/its


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW. A list of wholly owned Atkins Group companies registered in the United Kingdom can be found at http://www.atkinsglobal.com/terms_and_conditions/index.aspx

Consider the environment. Please don't print this e-mail unless you really need to.