tags:

views:

110

answers:

0

I have a java process that runs as a service via a shell script on a RHEL box. The process runs for a while, then seems to die quietly. The process does have a shutdown hook that fires and in the event of a normal kill it does log stuff and but nothing is logged in the cases where it dies.

I checked the system logs and at the same time the process dies I see entries like this:

messages:Mar  2 19:43:22 beta_web gconfd (sifagent-16786): starting (version 2.14.0), pid 16786 user 'sifagent'
messages:Mar  2 19:43:22 beta_web gconfd (sifagent-16786): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
messages:Mar  2 19:43:22 beta_web gconfd (sifagent-16786): Resolved address "xml:readwrite:/home/sifagent//.gconf" to a writable configuration source at position 1
messages:Mar  2 19:43:22 beta_web gconfd (sifagent-16786): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2

The only times I see these messages are when the service dies. I tried doing a kill -9 on the service process and it does not cause these entries to appear nor do they appear when you do a service stop.

It seems the gconfd entries are in the logs every time the service dies, not sure if this is a symptom or a cause.

Any ideas much appreciated.