[Quickfix-users] RE: Application crashes, dependency information required...
Brought to you by:
orenmnero
From: Shamanth <sha...@in...> - 2004-06-11 09:09:27
|
Hi This is not the problem of dependency, I have confirmed that. I am able = to create a successful socket connection to the server. But I still get = this exception, it is during generating the LOGON message on the client = and before sending this message to Server. Any inputs from anyone?? 0040611-09:08:16, FIX.4.2:ITL->testServer, event> (Connecting to localhost on port 5001) <20040611-09:08:16, FIX.4.2:ITL->testServer, event> (Connection succeeded) thread(1388): at SocketInitiator::onInitialize(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\sr c\C++\SocketInitiator.cpp:94) at Initiator::start(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Initiat or.cpp:176) thread(2724):class JVMException: Could not find class = Lquickfix/MessageFactory; at time_gmtime(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp: 296) at Session::insertSendingTime(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C ++\Session.cpp:110) at Session::fill(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session.cp p:127) at Session::sendRaw(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session .cpp:423) at Session::generateLogon(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\S ession.cpp:540) at Session::next(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session.cp p:141) at SocketConnection::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\ C++\SocketConnection.cpp:152) at SocketInitiator::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C ++\SocketInitiator.cpp:193) at ConnectorWrapper::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\ C++\SocketConnector.cpp:106) at SocketMonitor::block(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Soc ketMonitor.cpp:171) at SocketConnector::block(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\S ocketConnector.cpp:150) at SocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++ \SocketInitiator.cpp:99) at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I nitiator.cpp:226) with regards R Shamanth > -----Original Message----- > From: Shamanth =20 > Sent: Thursday, June 10, 2004 10:51 PM > To: 'qui...@li...' > Subject: Application crashes, dependency information required... >=20 > Hi >=20 > I have an application which will invoke quickfix engine and try and = connect to a server(Provider).=20 >=20 > My application's class extends quickfix.MessageCracker and implements = quickfix.Application. >=20 > I have copied=20 > quickfix_jni.dll > quickfix.lib > into a folder of the application's directory structure and I have set = the PATH variable to point to this folder. >=20 > I also have the quickfix.jar in the classpath. >=20 > I am able to create an initiator(ThreadedSocketInitiator) without any = problems. But when I start the initiatiator I get the following = exception and the application crashes. >=20 > NOTE: When these quickfix_jni.dll and quickfix.lib and quickfix.jar = files are in the lib folder of the directory structure as we get in the = zip file downloaded from quickfixengine.org, then everything works fine. = There is no problem. So I believe I am missing some dependency, are = these dll, lib file and the jar the only dependency or is there any = other dependency. >=20 > I get this error message only when I am using quickfix1.7, but when I = used quickfix1.7.1 then there is no error message shown and the the = application just crashes. >=20 > Thread(560): > at ThreadedSocketOracle9iAS (9.0.2.0.0) Containers for J2EE = initializedInitia > tor::onInitialize(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\ThreadedSoc > ketInitiator.cpp:95) > at Initiator::start(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Initiat > or.cpp:176) > thread(1332):class JVMException: Could not find class = Lquickfix/SessionID; > at socket_close(D:\> FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp > :168) > at ThreadedSocketConnection::disconnect(D:\FIX = Protocol\QuickFixEngineSrc\quic > kfix\src\C++\ThreadedSocketConnection.cpp:106) > at Session::disconnect(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Sess > ion.cpp:490) > at ThreadedSocketConnection::readQueue(D:\FIX = Protocol\QuickFixEngineSrc\quick > fix\src\C++\ThreadedSocketConnection.cpp:159) > at ThreadedSocketConnection::queueThread(D:\FIX = Protocol\QuickFixEngineSrc\qui > ckfix\src\C++\ThreadedSocketConnection.cpp:241) > thread(2528): > at thread_join(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp: > 342) > at ThreadedSocketInitiator::socketThread(D:\FIX = Protocol\QuickFixEngineSrc\qui > ckfix\src\C++\ThreadedSocketInitiator.cpp:188) > thread(2592): > at process_sleep(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cp > p:375) > at ThreadedSocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix > \src\C++\ThreadedSocketInitiator.cpp:100) > at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I > nitiator.cpp:226) > thread(2592): > at process_sleep(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cp > p:375) > at ThreadedSocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix > \src\C++\ThreadedSocketInitiator.cpp:100) > at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I > nitiator.cpp:226) > abnormal program termination >=20 >=20 > Any idea why this is happening,=20 >=20 > thanks and regards > R Shamanth > 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 |