Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JVM is invalid after logoff from the windows

843829Jul 20 2004 — edited Aug 19 2004
Hello,
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2004
Added on Jul 20 2004
3 comments
130 views