RE: [Quickfix-users] RE: Application crashes, dependency information required...
Brought to you by:
orenmnero
From: Shamanth <sha...@in...> - 2004-06-12 10:10:34
|
Hi Oren =20 Yes you were right, now I am able to get stacktrace with 1.7.1 also. It = appears to be the same as I get in 1.7.=20 =20 waiting for results of your test with Tomcat. =20 thanks R Shamanth -----Original Message----- From: Oren Miller [mailto:or...@qu...] Sent: Friday, June 11, 2004 4:52 PM To: Shamanth Cc: qui...@li... Subject: Re: [Quickfix-users] RE: Application crashes, dependency = information required... This is what I was thinking of, though I'm not sure if this pertains to = your situation or not. Let me know if this is helpful. I'll also try = running QuickFIX through tomcat to see what I can come up with. BTW, = with 1.7.1 you can probably get the same output if you compile the = library with the call stack enabled (see config_windows.h)=20 http://sourceforge.net/mailarchive/message.php?msg_id=3D4164853=20 --oren=20 On Jun 11, 2004, at 5:58 AM, Shamanth wrote:=20 Hi=20 I tested this again with TomCat, I am calling a Client programme from a = JSP page. The client program makes an instance of the SocketInitiator = and then calls start method on it. I am using 1.7, with 1.7.1 I do not = get any exception in the console but TomCat just crashes. The same = programs work fine from commandline.=20 I get the following exception in the console.=20 <20040611-10:54:23, FIX.4.2:ITL->testServer, event>=20 (Connecting to 208.161.241.237 on port 3968)=20 <20040611-10:54:24, FIX.4.2:ITL->testServer, event>=20 (Connection succeeded)=20 thread(2700):=20 at SocketInitiator::onInitialize(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\sr=20 c\C++\SocketInitiator.cpp:94)=20 at Initiator::start(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Initiat=20 or.cpp:176)=20 thread(2776):class JVMException: Could not find class = Lquickfix/MessageFactory;=20 at time_gmtime(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp:=20 296)=20 at Session::insertSendingTime(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C=20 ++\Session.cpp:110)=20 at Session::fill(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session.cp=20 p:127)=20 at Session::sendRaw(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session=20 .cpp:423)=20 at Session::generateLogon(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\S=20 ession.cpp:540)=20 at Session::next(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session.cp=20 p:141)=20 at SocketConnection::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\=20 C++\SocketConnection.cpp:152)=20 at SocketInitiator::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C=20 ++\SocketInitiator.cpp:193)=20 at ConnectorWrapper::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\=20 C++\SocketConnector.cpp:106)=20 at SocketMonitor::block(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Soc=20 ketMonitor.cpp:171)=20 at SocketConnector::block(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\S=20 ocketConnector.cpp:150)=20 at SocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++=20 \SocketInitiator.cpp:99)=20 at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I=20 nitiator.cpp:226)=20 abnormal program termination=20 with regards=20 R Shamanth=20 -----Original Message----- From: =20 Shamanth=20 Sent: =20 Friday, June 11, 2004 2:42 PM To: =20 'qui...@li...' Subject: =20 RE: Application crashes, dependency information required... Hi=20 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??=20 0040611-09:08:16, FIX.4.2:ITL->testServer, event>=20 (Connecting to localhost on port 5001)=20 <20040611-09:08:16, FIX.4.2:ITL->testServer, event>=20 (Connection succeeded)=20 thread(1388):=20 at SocketInitiator::onInitialize(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\sr=20 c\C++\SocketInitiator.cpp:94)=20 at Initiator::start(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Initiat=20 or.cpp:176)=20 thread(2724):class JVMException: Could not find class = Lquickfix/MessageFactory;=20 at time_gmtime(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp:=20 296)=20 at Session::insertSendingTime(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C=20 ++\Session.cpp:110)=20 at Session::fill(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session.cp=20 p:127)=20 at Session::sendRaw(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session=20 .cpp:423)=20 at Session::generateLogon(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\S=20 ession.cpp:540)=20 at Session::next(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Session.cp=20 p:141)=20 at SocketConnection::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\=20 C++\SocketConnection.cpp:152)=20 at SocketInitiator::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C=20 ++\SocketInitiator.cpp:193)=20 at ConnectorWrapper::onTimeout(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\=20 C++\SocketConnector.cpp:106)=20 at SocketMonitor::block(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Soc=20 ketMonitor.cpp:171)=20 at SocketConnector::block(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\S=20 ocketConnector.cpp:150)=20 at SocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++=20 \SocketInitiator.cpp:99)=20 at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I=20 nitiator.cpp:226)=20 with regards=20 R Shamanth=20 -----Original Message----- From: =20 Shamanth=20 Sent: =20 Thursday, June 10, 2004 10:51 PM To: =20 'qui...@li...' Subject: =20 Application crashes, dependency information required... Hi=20 I have an application which will invoke quickfix engine and try and = connect to a server(Provider).=20 My application's class extends quickfix.MessageCracker and implements = quickfix.Application.=20 I have copied=20 quickfix_jni.dll=20 quickfix.lib=20 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):=20 at ThreadedSocketOracle9iAS (9.0.2.0.0) Containers for J2EE = initializedInitia=20 tor::onInitialize(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\ThreadedSoc=20 ketInitiator.cpp:95)=20 at Initiator::start(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Initiat=20 or.cpp:176)=20 thread(1332):class JVMException: Could not find class = Lquickfix/SessionID;=20 at socket_close(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp=20 :168)=20 at ThreadedSocketConnection::disconnect(D:\FIX = Protocol\QuickFixEngineSrc\quic=20 kfix\src\C++\ThreadedSocketConnection.cpp:106)=20 at Session::disconnect(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Sess=20 ion.cpp:490)=20 at ThreadedSocketConnection::readQueue(D:\FIX = Protocol\QuickFixEngineSrc\quick=20 fix\src\C++\ThreadedSocketConnection.cpp:159)=20 at ThreadedSocketConnection::queueThread(D:\FIX = Protocol\QuickFixEngineSrc\qui=20 ckfix\src\C++\ThreadedSocketConnection.cpp:241)=20 thread(2528):=20 at thread_join(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cpp:=20 342)=20 at ThreadedSocketInitiator::socketThread(D:\FIX = Protocol\QuickFixEngineSrc\qui=20 ckfix\src\C++\ThreadedSocketInitiator.cpp:188)=20 thread(2592):=20 at process_sleep(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cp=20 p:375)=20 at ThreadedSocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix=20 \src\C++\ThreadedSocketInitiator.cpp:100)=20 at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I=20 nitiator.cpp:226)=20 thread(2592):=20 at process_sleep(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\Utility.cp=20 p:375)=20 at ThreadedSocketInitiator::onStart(D:\FIX = Protocol\QuickFixEngineSrc\quickfix=20 \src\C++\ThreadedSocketInitiator.cpp:100)=20 at Initiator::startThread(D:\FIX = Protocol\QuickFixEngineSrc\quickfix\src\C++\I=20 nitiator.cpp:226)=20 abnormal program termination=20 Any idea why this is happening,=20 thanks and regards=20 R Shamanth=20 NOTICE=20 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. |