|
From: <ily...@bn...> - 2007-02-22 13:34:17
|
Oh boy, you're right. Thanks a million Ulrich!
Everything is working now. I'll heat up the Ctrl+C Ctrl+V.
Regards,
Ilyas
Internet
qui...@li...@lists.sourceforge.net -
02/22/2007 01:33 PM
Veuillez r=E9pondre =E0 qui...@li...
Envoy=E9 par : qui...@li...
Pour : quickfixj-users
cc :
Objet : Quickfixj-users Digest, Vol 9, Issue 6
Send Quickfixj-users mailing list submissions to
qui...@li...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/quickfixj-use=
rs
or, via email, send a message with subject or body 'help' to
qui...@li...
You can reach the person managing the list at
qui...@li...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Quickfixj-users digest..."
Today's Topics:
1. InvalidMessage exception (Alvin Wang)
2. Re: InvalidMessage exception (Shepheard, Toby (London))
3. Error when launching Banzai (ily...@bn...)
4. Re: Error when launching Banzai (Martin Ellis)
5. Re: Error when launching Banzai (Joerg Thoennes)
6. Re: Error when launching Banzai (Martin Ellis)
7. Re: Error when launching Banzai (Ulrich Staudinger)
8. Re: Error when launching Banzai (Martin Ellis)
----------------------------------------------------------------------
Message: 1
Date: Tue, 20 Feb 2007 13:12:59 -0500
From: Alvin Wang <AW...@FF...>
Subject: [Quickfixj-users] InvalidMessage exception
To: qui...@li...
Message-ID:
<OFE5CFCDE0.B969F5AC-ON85257288.0063F65A-85257288.006410
F8...@ff...>
Content-Type: text/plain; charset=3D"us-ascii"
Hi I got the following exception when calling a Message constructor. Co=
uld
anyone explain what does this mean? and how to fix it? thanks
Alvin
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
quickfix.InvalidMessage: Actual body length=3D452, Expected body length=
=3D518
at quickfix.Message.validate(Message.java:404)
at quickfix.Message.fromString(Message.java:395)
at quickfix.Message.<init>(Message.java:90)
***********************************************************************=
********
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and
confidential.
Disclosure to anyone other than the intended recipient is prohibited.
If you are not the intended recipient, please do not disseminate,
distribute or copy this communication, by e-mail or otherwise. Instead,=
please notify us immediately by return e-mail(including the original
message with your reply) and then delete and discard all copies of the
message. We have taken precautions to minimize the risk of transmittin=
g
software viruses but nevertheless advise you to carry out your own
virus checks on any attachment to this message. We accept
no liability for any loss or damage caused by software viruses.
***********************************************************************=
********
------------------------------
Message: 2
Date: Wed, 21 Feb 2007 13:07:35 -0000
From: "Shepheard, Toby \(London\)" <Tob...@ml...>
Subject: Re: [Quickfixj-users] InvalidMessage exception
To: <qui...@li...>
Message-ID:
<B23...@ml....c=
om>
Content-Type: text/plain; charset=3D"US-ASCII"
In general terms it's simply saying that your FIX message isn't
constructed properly.
I think this can happen when you don't build a group properly, for
example adding fields to the body directly rather than as part of a
group. Another possibility is that you have a RawData field without a
RawDataLength preceding it.
It would help to see the code that's building the message header and
body, including construction of any groups, if the above doesn't help
you fix the problem.
Regards,
Toby
-----Original Message-----
From: qui...@li...
[mailto:qui...@li...] On Behalf Of
Alvin Wang
Sent: 20 February 2007 18:13
To: qui...@li...
Subject: [Quickfixj-users] InvalidMessage exception
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Hi I got the following exception when calling a Message constructor.
Could
anyone explain what does this mean? and how to fix it? thanks
Alvin
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
quickfix.InvalidMessage: Actual body length=3D452, Expected body
length=3D518
at quickfix.Message.validate(Message.java:404)
at quickfix.Message.fromString(Message.java:395)
at quickfix.Message.<init>(Message.java:90)
***********************************************************************=
*
*******
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and
confidential.
Disclosure to anyone other than the intended recipient is prohibited.
If you are not the intended recipient, please do not disseminate,
distribute or copy this communication, by e-mail or otherwise. Instead,=
please notify us immediately by return e-mail(including the original
message with your reply) and then delete and discard all copies of the
message. We have taken precautions to minimize the risk of transmittin=
g
software viruses but nevertheless advise you to carry out your own
virus checks on any attachment to this message. We accept
no liability for any loss or damage caused by software viruses.
***********************************************************************=
*
*******
-----------------------------------------------------------------------=
-
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share=
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, ret=
ain
or redistribute it. Click here for important additional terms relating =
to
this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
------------------------------
Message: 3
Date: Thu, 22 Feb 2007 12:15:09 +0100
From: ily...@bn...
Subject: [Quickfixj-users] Error when launching Banzai
To: qui...@li...
Message-ID:
<OFE720A2FA.E04A906F-ONC125728A.003CBE50-C125728A.003DCC3B@bnpparibas.c=
om>
Content-Type: text/plain; charset=3D"us-ascii"
Hi all,
I've been using Banzai for quite some time now. I've made a few changes=
to
the interface and added a few capabilities. I've decided to use the las=
t
version of the quickfix.jar to solve some stability issues (I was using=
a
quickfix.jar version dated 07/12/2005) but as there seem to be quite a =
few
changes from the version I used, so I thought it would be better to sta=
rt
all over again with the last version.
I've just downloaded quickfixj and tried to start Banzai but I got this=
error:
<20070222-10:55:01, FIX.4.0:RIOE->BPEFRRORTEST, event> (Session
FIX.4.0:RIOE->BPEFRRORTEST schedule is daily, 00:01:00 UTC - 00:00:00 U=
TC)
<20070222-10:55:01, FIX.4.0:RIOE->BPEFRRORTEST, event> (Created session=
:
FIX.4.0:RIOE->BPEFRRORTEST)
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/mina/common/TransportType
at
quickfix.mina.initiator.AbstractSocketInitiator.getSocketAddresses(Abst=
ractSocketInitiator.java:150)
at
quickfix.mina.initiator.AbstractSocketInitiator.initiateSessions(Abstra=
ctSocketInitiator.java:81)
at quickfix.SocketInitiator.initialize(SocketInitiator.java:78)=
at quickfix.SocketInitiator.start(SocketInitiator.java:63)
at banzai.Banzai.logon(Banzai.java:84)
at banzai.Banzai.main(Banzai.java:116)
I haven't made any change to anything. Am I missing something?
Thanks,
Ilyas
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
------------------------------
Message: 4
Date: Thu, 22 Feb 2007 11:38:47 +0000
From: Martin Ellis <me...@sc...>
Subject: Re: [Quickfixj-users] Error when launching Banzai
To: qui...@li...
Message-ID: <45D...@sc...>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed
ily...@bn... wrote:
> I've just downloaded quickfixj and tried to start Banzai but I got th=
is
> error:
>
> <20070222-10:55:01, FIX.4.0:RIOE->BPEFRRORTEST, event> (Session
> FIX.4.0:RIOE->BPEFRRORTEST schedule is daily, 00:01:00 UTC - 00:00:00=
UTC)
> <20070222-10:55:01, FIX.4.0:RIOE->BPEFRRORTEST, event> (Created sessi=
on:
> FIX.4.0:RIOE->BPEFRRORTEST)
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/mina/common/TransportType
Hmm... NoClassDefFoundError for a class that does appear in the mina
jar. That's very similar to the error I had when I tried to run
QuickFIX/J in the Sun Application Server (different class though).
I never did figure out what was causing that.
Martin
------------------------------
Message: 5
Date: Thu, 22 Feb 2007 12:41:05 +0100
From: Joerg Thoennes <Joe...@ma...>
Subject: Re: [Quickfixj-users] Error when launching Banzai
To: qui...@li...
Message-ID: <45D...@ma...>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed
Hi Ilyas,
On 02/22/2007 12:15 PM, ily...@bn... wrote:
> I've been using Banzai for quite some time now. I've made a few chang=
es
to
> the interface and added a few capabilities. I've decided to use the l=
ast
> version of the quickfix.jar to solve some stability issues (I was usi=
ng a
> quickfix.jar version dated 07/12/2005) but as there seem to be quite =
a
few
> changes from the version I used, so I thought it would be better to s=
tart
> all over again with the last version.
>
> I've just downloaded quickfixj and tried to start Banzai but I got th=
is
> error:
>
> <20070222-10:55:01, FIX.4.0:RIOE->BPEFRRORTEST, event> (Session
> FIX.4.0:RIOE->BPEFRRORTEST schedule is daily, 00:01:00 UTC - 00:00:00=
UTC)
> <20070222-10:55:01, FIX.4.0:RIOE->BPEFRRORTEST, event> (Created sessi=
on:
> FIX.4.0:RIOE->BPEFRRORTEST)
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/mina/common/TransportType
> at
>
quickfix.mina.initiator.AbstractSocketInitiator.getSocketAddresses(Abst=
ractSocketInitiator.java:150)
> at
>
quickfix.mina.initiator.AbstractSocketInitiator.initiateSessions(Abstra=
ctSocketInitiator.java:81)
> at quickfix.SocketInitiator.initialize(SocketInitiator.java:7=
8)
> at quickfix.SocketInitiator.start(SocketInitiator.java:63)
> at banzai.Banzai.logon(Banzai.java:84)
> at banzai.Banzai.main(Banzai.java:116)
>
> I haven't made any change to anything. Am I missing something?
Yes, in the meantime QuickFIX/J is using the MINA libraries to provide
network connectivity. Most
probably you are missing the MINA jar in your class path. Please check =
the
utility jar files in the
lib directory of QuickFIX/J and include them in your class path.
Cheers, J?rg
--
Joerg Thoennes Tel.: +49 (0)241 44597-24
http://www.macd.com
Gesch?ftsf?hrer: Roger Macdonald Macdonald Associates GmbH
Amtsgericht Aachen, HRB 8151 Lothringer Str. 52, D-52070 Aachen
------------------------------
Message: 6
Date: Thu, 22 Feb 2007 11:45:17 +0000
From: Martin Ellis <me...@sc...>
Subject: Re: [Quickfixj-users] Error when launching Banzai
To: qui...@li...
Message-ID: <45D...@sc...>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed
Joerg Thoennes wrote:
> Yes, in the meantime QuickFIX/J is using the MINA libraries to provid=
e
network connectivity. Most
> probably you are missing the MINA jar in your class path. Please chec=
k
the utility jar files in the
> lib directory of QuickFIX/J and include them in your class path.
Oh, that's probably unrelated to the problem I had then... nevermind.
For the time I've been using it, QuickFIX/J has always required mina.
Martin
------------------------------
Message: 7
Date: Thu, 22 Feb 2007 13:13:04 +0100
From: Ulrich Staudinger <us...@ac...>
Subject: Re: [Quickfixj-users] Error when launching Banzai
To: qui...@li...
Message-ID: <45D...@ac...>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed
It's just the jar name of the start script.
The start script points to mina-0.9.3.jar, irrc, whereas the latest
QuickFix release contains in the lib folder mina-1.0.0.jar .
Sincerely yours,
Ulrich
Martin Ellis schrieb:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> Joerg Thoennes wrote:
>
>> Yes, in the meantime QuickFIX/J is using the MINA libraries to provi=
de
network connectivity. Most
>> probably you are missing the MINA jar in your class path. Please che=
ck
the utility jar files in the
>> lib directory of QuickFIX/J and include them in your class path.
>>
>
> Oh, that's probably unrelated to the problem I had then... nevermind.=
> For the time I've been using it, QuickFIX/J has always required mina.=
>
> Martin
>
> ---------------------------------------------------------------------=
----
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to sha=
re
your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI=
D=3DDEVDEV
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
------------------------------
Message: 8
Date: Thu, 22 Feb 2007 12:32:52 +0000
From: Martin Ellis <me...@sc...>
Subject: Re: [Quickfixj-users] Error when launching Banzai
To: qui...@li...
Message-ID: <45D...@sc...>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed
Ulrich Staudinger wrote:
> It's just the jar name of the start script.
> The start script points to mina-0.9.3.jar, irrc, whereas the latest
> QuickFix release contains in the lib folder mina-1.0.0.jar .
Er...? Was this addressed to me?
I was trying to run QuickFIX/J in an application server, so there was
no 'start script'. The quickfix and mina jars were included in a war
that was deployed to the app server.
No idea why it didn't work. The 'missing' class was actually included
in the mina jar in the deployed war, so the NoClassDefFound is a bit of=
a mystery to me.
Apparently it can be made to work with JBoss, but I couldn't figure it
out at all with Sun's app server.
Martin
------------------------------
-----------------------------------------------------------------------=
--
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share=
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
------------------------------
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
End of Quickfixj-users Digest, Vol 9, Issue 6
*********************************************
=
|