I am using a c++ opensource code, which is made as an ".so" and placed in a server. From Java client I will call this ".so" through the JNI package.
Now my problem is, the "opensource C++" code which I am using , doesnt handle any errors. So if something happens in the C++ part the server is getting crashed. So I cant use my application until I start the server again.
My question here is , is there any way to stop the server crash because of the ".so" (C++ code) failure? Right now I am also not in a position to modify the Opensource C++ code as I am in a tight schedule.
Can some one provide me some ideas or work arounds to stop the server getting crashed because of ".so" failure?