JVM is invalid after logoff from the windows
843829Jul 20 2004 — edited Aug 19 2004Hello,
I have one problem using JNI inside C++. I create JVM inside C++ and launch the application as service, then I log out from windows and leave the process running. I found that the JVM is not valid after I log out although the process is still running. It gives 0xC0000005 access violation exception when any method on JVM is invoked. I tried to call AttachCurrentThread on the JVM, but it fails as well. It seems that the JNIEnv* is also corrupted.
Did anyone encounter the same problem?
Thanks.