View Single Post
  #1 (permalink)  
Old December 19th, 2005, 09:04 AM
ranee ranee is offline
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fail to create jvm again

Using JNI I am calling java code.i write the code in C++ Win32 dll.
to create jvm the code is:
status = JNI_CreateJavaVM(&jvm, (void**)&env,&vm_args);

to destroy the JVM:
jvm->DestroyJavaVM();

this win32 dll i am calling in ASP,when executing once it is working fine,again when trying to execute it is saying jvm not Created.
when server is restarted then its working fine.

Please if anyone knows about the problem,plz reply.

Seema