Saturday, April 26, 2003 02:49 PM
Hi There. I have a multi-threaded VC++ app which runs as a NT service and one of my thread uses JNI to launch JVM and make java API calls(these infact are some RMI calls to a server on a remote box). Anyway, all seems to work fine, but after a load run for a week or so I saw some exceptions in my C++ code (on the JNI call to CallStaticObjectMethod, I think). After researching more I found that the JVM is gone down the tubes. However my JNI calls GetStaticMethodID are successful, but its the CallStaticObjectMethod which seems to throw exception. Has anyone has any idea whats going on. Is there a way I can instrument my code to check if the JVM is alive or gone. Please help.