Menu

#15 Bad App Behaviour on EventHeap crash

open
Event Heap (9)
5
2012-09-15
2003-06-01
No

When the Event Heap crashes, the EventHeap client may lock up
the JVM completely.

The EventHeap client uses a ShutdownHook to correctly
shutdown the EventHeap connections.

However, the ShutdownHook tries to synchronize on a shared data
area. If the EventHeap has crashed, then the client will try to
reestablish the connection to the heap but in this process, it never
unsynchs from the data area. The ShutdownHook can therefore
never correctly finish.

This problem is a bug in the Java code. As long as the EventHeap
is present, there is no problem. Otherwise the application can only
shut down with kill -9 app'' under linux or by force closing the window by clicking [x] or by using the task manager under windows at which point an dialog window will pop up saying something likeAre you sure?''.

This is not really a big issue, but it is annoying if you test
applications with a shutdown EventHeap.

Discussion


Log in to post a comment.