[Quickfix-users] RE: RE: Application crashes, dependency information required...
Brought to you by:
orenmnero
From: Girish S. <Gir...@in...> - 2004-06-18 13:26:53
|
More investigation on this issue reveals that, the crash is due to = ClassNotFound exception thrown from newMessage routine in quickfix_jni = library at, JVMClass type( "Lquickfix/Message;" ); It is observed that JNI is not able to look up class names when called = from the C++ call backs: JavaApplication::toAdmin(FIX::Message& msg, const FIX::SessionID& = sessionID); Which is called from different thread than the one that loaded the JNI = lib. Also this is noticed only on the web server (Tomcat) context where as = the same implementation works from command line based program. I also tried to load the library at the time of web server startup using = a servlet. But got into another problem where the call hangs when we = create SessionSettings object either with FileInputStream or using = StringBuffer. The call does not even reach the = "Java_quickfix_SessionSettings_create" routine in the jni lib. I have = debug statement in the beginning of this call. Please suggest if we can workaround this issue. Thanks Girish > NOTICE > This e-mail message and any attachments, which may contain = confidential information, are to be viewed solely by the intended = recipient of Integral Development Corp. If the reader of this message = is not the intended recipient, you are hereby notified that any use, = dissemination, distribution or copying of this communication is strictly = prohibited. If you have received this message in error, please = immediately notify the sender and delete the mail and all attachments. > =20 >=20 >=20 |