You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(13) |
Jun
(21) |
Jul
(14) |
Aug
(29) |
Sep
(39) |
Oct
(47) |
Nov
(70) |
Dec
(27) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(43) |
Feb
(50) |
Mar
(90) |
Apr
(96) |
May
(84) |
Jun
(40) |
Jul
(58) |
Aug
(55) |
Sep
(55) |
Oct
(52) |
Nov
(38) |
Dec
(75) |
| 2008 |
Jan
(49) |
Feb
(72) |
Mar
(49) |
Apr
(55) |
May
(21) |
Jun
(31) |
Jul
(47) |
Aug
(59) |
Sep
(59) |
Oct
(77) |
Nov
(51) |
Dec
(54) |
| 2009 |
Jan
(52) |
Feb
(57) |
Mar
(17) |
Apr
(27) |
May
(44) |
Jun
(46) |
Jul
(69) |
Aug
(38) |
Sep
(39) |
Oct
(45) |
Nov
(38) |
Dec
(37) |
| 2010 |
Jan
(49) |
Feb
(35) |
Mar
(21) |
Apr
(33) |
May
(52) |
Jun
(28) |
Jul
(39) |
Aug
(34) |
Sep
(21) |
Oct
(82) |
Nov
(36) |
Dec
(20) |
| 2011 |
Jan
(28) |
Feb
(64) |
Mar
(93) |
Apr
(75) |
May
(151) |
Jun
(77) |
Jul
(35) |
Aug
(53) |
Sep
(56) |
Oct
(36) |
Nov
(94) |
Dec
(59) |
| 2012 |
Jan
(105) |
Feb
(43) |
Mar
(68) |
Apr
(91) |
May
(45) |
Jun
(18) |
Jul
(103) |
Aug
(77) |
Sep
(45) |
Oct
(59) |
Nov
(58) |
Dec
(43) |
| 2013 |
Jan
(48) |
Feb
(65) |
Mar
(63) |
Apr
(22) |
May
(41) |
Jun
(60) |
Jul
(43) |
Aug
(17) |
Sep
(20) |
Oct
(20) |
Nov
(42) |
Dec
(43) |
| 2014 |
Jan
(54) |
Feb
(34) |
Mar
(34) |
Apr
(20) |
May
(31) |
Jun
(39) |
Jul
(66) |
Aug
(22) |
Sep
(52) |
Oct
(22) |
Nov
(67) |
Dec
(70) |
| 2015 |
Jan
(18) |
Feb
(5) |
Mar
(40) |
Apr
(32) |
May
(62) |
Jun
(28) |
Jul
(86) |
Aug
(44) |
Sep
(61) |
Oct
(65) |
Nov
(8) |
Dec
(19) |
| 2016 |
Jan
(50) |
Feb
(22) |
Mar
(38) |
Apr
(55) |
May
(30) |
Jun
(42) |
Jul
(11) |
Aug
(9) |
Sep
(4) |
Oct
(51) |
Nov
(38) |
Dec
(31) |
| 2017 |
Jan
(40) |
Feb
(40) |
Mar
(23) |
Apr
(35) |
May
(121) |
Jun
(55) |
Jul
(37) |
Aug
(16) |
Sep
(27) |
Oct
(109) |
Nov
(67) |
Dec
(23) |
| 2018 |
Jan
(52) |
Feb
(6) |
Mar
(23) |
Apr
(28) |
May
(32) |
Jun
(20) |
Jul
(20) |
Aug
(22) |
Sep
(8) |
Oct
(33) |
Nov
(32) |
Dec
(13) |
| 2019 |
Jan
(16) |
Feb
(29) |
Mar
(17) |
Apr
(16) |
May
(1) |
Jun
(2) |
Jul
(25) |
Aug
(50) |
Sep
(17) |
Oct
(29) |
Nov
(16) |
Dec
(7) |
| 2020 |
Jan
|
Feb
|
Mar
(29) |
Apr
(64) |
May
(25) |
Jun
(49) |
Jul
(15) |
Aug
(10) |
Sep
(37) |
Oct
(20) |
Nov
(19) |
Dec
(9) |
| 2021 |
Jan
(33) |
Feb
(10) |
Mar
(67) |
Apr
(40) |
May
(70) |
Jun
(33) |
Jul
(14) |
Aug
(10) |
Sep
|
Oct
(7) |
Nov
(6) |
Dec
(16) |
| 2022 |
Jan
(27) |
Feb
(2) |
Mar
(5) |
Apr
(3) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(6) |
Oct
(2) |
Nov
|
Dec
(10) |
| 2023 |
Jan
(1) |
Feb
(2) |
Mar
(21) |
Apr
(3) |
May
(15) |
Jun
(3) |
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
(1) |
| 2024 |
Jan
(7) |
Feb
(2) |
Mar
(8) |
Apr
(11) |
May
(6) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2025 |
Jan
(10) |
Feb
(4) |
Mar
(9) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Alvin W. <AW...@FF...> - 2006-11-16 20:50:43
|
pls see my comments below. thanks.
Oren Miller
<oren@quickfixeng
ine.org> To
Sent by: qui...@li....n
quickfixj-users-b et
ou...@li... cc
ceforge.net
Subject
Re: [Quickfixj-users] repeating
11/09/2006 07:21 group problem
PM
Please respond to
quickfixj-users@l
ists.sourceforge.
net
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
> I believe QFJ is only dependent on generated field definitions. Do you
> manually maintain the C++/Fields.h file? Is that where the C++ Session
> gets it's field definitions rather than the generated field
> definitions?
Yes, the messages are decoupled, the fields are not. It's not really
been much of a problem though since when using non typesafe methods
the messages don't care what the field is as long as the number and
type are correct. I guess it is conceivable future versions of fix
could change the names or types of the core session fields, but I
don't think it's very likely. Theoretically this could be decoupled
as well, though if any of those fields are missing you don't really
have a FIX session anymore. Perhaps that would be a legitimate thing
to do if you plan on using another transport as made possible by FIX
5.0.
> I can't speak for Alvin, but I've been in several situations where
> I've needed to map domain objects to multiple versions of FIX
> and vice versa.
Oh yeah, me too. In those situations there's a choice about whether
to use compile time type safety or use dynamic logic. Using type
safety requires some more coding, but you have the benefits of the
compiler letting you know when something is wrong. Dynamic code
doesn't give you that, but it allows you to create more compact code
by allowing you to share. I'm not really sure how you can get both
those benefits at the same time. Classic case of dynamic vs compile
time type safety.
> My impression was that Alvin didn't want to give up all type safety,
> but wanted a message representation with more abstractions for common
> aspects of the currently generated message classes. Personally, I
> would just use the message objects directly as you've suggested.
Yeah, I think so to, I'm just not sure how that would be
accomplished. Perhaps an example would be helpful. The problem is
of course that messages change pretty significantly between versions
sometimes. Fields get added, removed, their type changes, groups are
added, groups are modified etc. etc.
Yes. This is what I meant. Personally, I like to gain flexibility and
reusability at the cost of some compile time safety, because as I said
sooner or later how easy users can maintain cross-version code base will
become a problem/concern. So it will either be a QF(J) maintainability
issue or client code maintainability issue. We may get rid of version in
package structure. and specify version number in constructor and use
(internal) validation method to guarantee the integrity and consistency
with the FIX spec. So there will still be an NewOrderSingle class but not
bound to version. (We can even put a NewOrder abstract class on the top to
increase reusability).
Out of topic. BTW, it will be very nice to have a
Message.getInstance(String strMessage) method to convert a string msg to
corresponding message object like NewOrderSingle (not just the plain
message object)
Just my 2 cents. I have not got chance to think through everything yet. and
i agree/understand this will easy to say that to do.
Alvin
Groups are actually a case where you can take advantage of some
sharing. If groups have not significantly changed between versions,
their is no reason you cannot call addGroup on a FIX.4.2 messages or
a FIX.4.4 message with the same generated group object. Making
components into objects might be helpful in this regard as well.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
*******************************************************************************
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 transmitting
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.
*******************************************************************************
|
|
From: Alvin W. <AW...@FF...> - 2006-11-16 20:20:29
|
Steve, i think i know where my problem is. I should use Message's own
constructor. (Wonder why I did not)
Sorry for the confusion.
=
Alvin Wang/FFTW =
=
11/16/2006 02:43 =
To
PM qui...@li...=
e.n
et =
=
cc
qui...@li...=
e.n
et, =
qui...@li...=
urc
eforge.net =
Subj=
ect
Re: [Quickfixj-users] =
quickfix.Message.toString() =
NullPointerException(Document li=
nk:
Alvin Wang) =
=
=
=
=
=
=
Hi Steve,
Sorry for bothering so many times on this. I dig a little more. My code=
created Message object like below:
public static Message getMesage(String msg) throws Exception
{
Message message =3D new Message();
StringTokenizer tokenizer =3D new StringTokenizer(msg, "\001");=
while (tokenizer.hasMoreElements())
{
String str =3D tokenizer.nextToken();
int loc =3D str.indexOf('=3D');
message.setString(Integer.parseInt(str.substring(0, loc)),
str.substring(loc + 1));
}
return message;
}
And later, it did a toString on the message object. So the bottom line =
is
that the code did something like:
getMessage(msg).toString() and caused the exeption.
Maybe you can also advise a better way to construct a Message object ba=
sed
on a message String.
thanks
=
steve@technoetic. =
com =
Sent by: =
To
quickfixj-users-b qui...@li...=
e.n
ou...@li... et =
ceforge.net =
cc
=
Subj=
ect
11/16/2006 02:30 Re: [Quickfixj-users] =
PM quickfix.Message.toString() =
NullPointerException =
=
Please respond to =
quickfixj-users@l =
ists.sourceforge. =
net =
=
=
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Hi Alvin,
I was able to successfully parse and format the message.
Steve
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> I think it is because I changed the couterparty compid to be AAAAAAA =
for
> privacy reason.
> I will send you the original msg privately. Could you try to parse it=
to
> be
> a ExeutionReport object and do a toString()?
>
> thanks
>
>
>
>
>
>
> steve@technoetic.
> com
> Sent by:
To
> quickfixj-users-b
qui...@li....n
> ou...@li... et
> ceforge.net
cc
>
>
Subject
> 11/16/2006 12:07 Re: [Quickfixj-users]
> PM quickfix.Message.toString()
> NullPointerException
>
> Please respond to
> quickfixj-users@l
> ists.sourceforge.
> net
>
>
>
>
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> I can't parse that message. The error I see is...
>
> quickfix.InvalidMessage: Actual body length=3D576, Expected body leng=
th=3D578
>
> If I set the length to the correct length and adjust the checksum
> accordingly, the message parses and formats without error.
>
> Steve
>
>
>> 8=3DFIX.4.4=019=3D578=0135=3D8=0149=3DAAAAAAA=0156=3DFFTWFIX=0134=3D=
12=0152=3D20061115-15:52:57.357=01
>> 347=3DUTF-8=0137=3DNONREF=01198=3DTWPTB0000061467=0111=3DF4714=01453=
=3D3=01448=3DFischer
>> Francis
>> Trees
>> &
>> Wat...@FF...=01447=3DC=01452=3D1=
1=01448=3DDLRWUS31=01447=3DB=01452=3D1=01
>> 17=3DTWPTB00000614671=0132=3D59730000.000000=0131=3D4.9070=01669=3D9=
9.291211110=01150=3DF=0139=3D2=01
> 54=3D1=01
>> 64=3D20061120=0155=3D[N/A]=0148=3D912795YN5=0122=3D1=01460=3D6=01167=
=3DTBILL=01541=3D20070111=01
225=3D20061012=01
>> 873=3D20060713=01107=3DB
>> 01/11/2007=0115=3DUSD=0138=3D59730000.000000=01423=3D4=016=3D99.2912=
11110=01
>> 381=3D59306640.40=01118=3D59306640.40=01151=3D0=0114=3D59730000.0000=
00=0130=3DTRWB=0175=3D20061115=01
>> 60=3D20061115-15:52:56=016616=3D20061115-15:51:03=0110=3D104=01
>>
>>
>>
>>
>>
>> Alvin Wang/FFTW
>>
>> 11/14/2006 08:01
> To
>> AM "quickfixj-users"
>>
> <qui...@li....
>> net>,
>>
> <qui...@li....
>> net>
>>
> cc
>>
>>
> Subject
>> Re: [Quickfixj-users]
>> quickfix.Message.toString()
>> NullPointerException
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> No. I did not compose a message. I use toString on a received messag=
e
>>
>>
>>
>>
>>
>> ----- Original Message -----
>> From: "Steve Bate" [st...@te...]
>> Sent: 11/14/2006 07:45 AM
>> To: <qui...@li...>
>> Subject: Re: [Quickfixj-users] quickfix.Message.toString()
>> NullPointerException
>>
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>> If you set a field value to null, that would cause this exception.
>>
>> Steve
>>
>>> -----Original Message-----
>>> From: qui...@li... [mailto:quickfi=
xj-
>>> use...@li...] On Behalf Of Alvin Wang
>>> Sent: Monday, November 13, 2006 10:18 AM
>>> To: qui...@li...
>>> Cc: qui...@li...; quickfixj-users-
>>> bo...@li...
>>> Subject: [Quickfixj-users] quickfix.Message.toString()
>>> NullPointerException
>>>
>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>>> QuickFIX/J Support: http://www.quickfixj.org/support/
>>> Hi,
>>>
>>> I got the following exception when I tried to run a toString() meth=
od
>>> on
>> a
>>> FIX44 Execution Report message.
>>> Could you take a look? thanks
>>>
>>> Alvin
>>>
>>> java.lang.NullPointerException
>>>
>>> at quickfix.FieldMap.calculateString(FieldMap.java:457)
>>>
>>> at quickfix.Message$Header.calculateString(Message.java:323)
>>>
>>> at quickfix.Message.toString(Message.java:132)
>>>
>>>
>>>
>>>
>>>
>>
>
***********************************************************************=
***
>>> *****
>>> 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 prohibite=
d.
>>> If you are not the intended recipient, please do not disseminate,
>>> distribute or copy this communication, by e-mail or otherwise. Inst=
ead,
>>> please notify us immediately by return e-mail(including the origina=
l
>>> message with your reply) and then delete and discard all copies of =
the
>>> message. We have taken precautions to minimize the risk of
>>> transmitting
>>> 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.
>>>
>>
>
***********************************************************************=
***
>>> *****
>>>
>>>
>>>
>>>
> ---------------------------------------------------------------------=
----
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your =
job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>>>
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>>> _______________________________________________
>>> Quickfixj-users mailing list
>>> Qui...@li...
>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>>
>>
>>
>>
-----------------------------------------------------------------------=
--
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your j=
ob
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&=
dat=3D121642
>> _______________________________________________
>> Quickfixj-users mailing list
>> Qui...@li...
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>>
>>
>>
>>
-----------------------------------------------------------------------=
--
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to sh=
are
>> your
>> opinions on IT & business topics through brief surveys - and earn ca=
sh
>>
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
>>
>
>
>
> ---------------------------------------------------------------------=
----
> 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 cas=
h
> 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
>
>
>
> ---------------------------------------------------------------------=
----
> 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 cas=
h
> 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
>
-----------------------------------------------------------------------=
--
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
=
|
|
From: Alvin W. <AW...@FF...> - 2006-11-16 19:43:22
|
Hi Steve,
Sorry for bothering so many times on this. I dig a little more. My code=
created Message object like below:
public static Message getMesage(String msg) throws Exception
{
Message message =3D new Message();
StringTokenizer tokenizer =3D new StringTokenizer(msg, "\001");=
while (tokenizer.hasMoreElements())
{
String str =3D tokenizer.nextToken();
int loc =3D str.indexOf('=3D');
message.setString(Integer.parseInt(str.substring(0, loc)),
str.substring(loc + 1));
}
return message;
}
And later, it did a toString on the message object. So the bottom line =
is
that the code did something like:
getMessage(msg).toString() and caused the exeption.
Maybe you can also advise a better way to construct a Message object ba=
sed
on a message String.
thanks
=
steve@technoetic. =
com =
Sent by: =
To
quickfixj-users-b qui...@li...=
e.n
ou...@li... et =
ceforge.net =
cc
=
Subj=
ect
11/16/2006 02:30 Re: [Quickfixj-users] =
PM quickfix.Message.toString() =
NullPointerException =
=
Please respond to =
quickfixj-users@l =
ists.sourceforge. =
net =
=
=
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Hi Alvin,
I was able to successfully parse and format the message.
Steve
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> I think it is because I changed the couterparty compid to be AAAAAAA =
for
> privacy reason.
> I will send you the original msg privately. Could you try to parse it=
to
> be
> a ExeutionReport object and do a toString()?
>
> thanks
>
>
>
>
>
>
> steve@technoetic.
> com
> Sent by:
To
> quickfixj-users-b
qui...@li....n
> ou...@li... et
> ceforge.net
cc
>
>
Subject
> 11/16/2006 12:07 Re: [Quickfixj-users]
> PM quickfix.Message.toString()
> NullPointerException
>
> Please respond to
> quickfixj-users@l
> ists.sourceforge.
> net
>
>
>
>
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> I can't parse that message. The error I see is...
>
> quickfix.InvalidMessage: Actual body length=3D576, Expected body leng=
th=3D578
>
> If I set the length to the correct length and adjust the checksum
> accordingly, the message parses and formats without error.
>
> Steve
>
>
>> 8=3DFIX.4.4=019=3D578=0135=3D8=0149=3DAAAAAAA=0156=3DFFTWFIX=0134=3D=
12=0152=3D20061115-15:52:57.357=01
>> 347=3DUTF-8=0137=3DNONREF=01198=3DTWPTB0000061467=0111=3DF4714=01453=
=3D3=01448=3DFischer
>> Francis
>> Trees
>> &
>> Wat...@FF...=01447=3DC=01452=3D1=
1=01448=3DDLRWUS31=01447=3DB=01452=3D1=01
>> 17=3DTWPTB00000614671=0132=3D59730000.000000=0131=3D4.9070=01669=3D9=
9.291211110=01150=3DF=0139=3D2=01
> 54=3D1=01
>> 64=3D20061120=0155=3D[N/A]=0148=3D912795YN5=0122=3D1=01460=3D6=01167=
=3DTBILL=01541=3D20070111=01
225=3D20061012=01
>> 873=3D20060713=01107=3DB
>> 01/11/2007=0115=3DUSD=0138=3D59730000.000000=01423=3D4=016=3D99.2912=
11110=01
>> 381=3D59306640.40=01118=3D59306640.40=01151=3D0=0114=3D59730000.0000=
00=0130=3DTRWB=0175=3D20061115=01
>> 60=3D20061115-15:52:56=016616=3D20061115-15:51:03=0110=3D104=01
>>
>>
>>
>>
>>
>> Alvin Wang/FFTW
>>
>> 11/14/2006 08:01
> To
>> AM "quickfixj-users"
>>
> <qui...@li....
>> net>,
>>
> <qui...@li....
>> net>
>>
> cc
>>
>>
> Subject
>> Re: [Quickfixj-users]
>> quickfix.Message.toString()
>> NullPointerException
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> No. I did not compose a message. I use toString on a received messag=
e
>>
>>
>>
>>
>>
>> ----- Original Message -----
>> From: "Steve Bate" [st...@te...]
>> Sent: 11/14/2006 07:45 AM
>> To: <qui...@li...>
>> Subject: Re: [Quickfixj-users] quickfix.Message.toString()
>> NullPointerException
>>
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>> If you set a field value to null, that would cause this exception.
>>
>> Steve
>>
>>> -----Original Message-----
>>> From: qui...@li... [mailto:quickfi=
xj-
>>> use...@li...] On Behalf Of Alvin Wang
>>> Sent: Monday, November 13, 2006 10:18 AM
>>> To: qui...@li...
>>> Cc: qui...@li...; quickfixj-users-
>>> bo...@li...
>>> Subject: [Quickfixj-users] quickfix.Message.toString()
>>> NullPointerException
>>>
>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>>> QuickFIX/J Support: http://www.quickfixj.org/support/
>>> Hi,
>>>
>>> I got the following exception when I tried to run a toString() meth=
od
>>> on
>> a
>>> FIX44 Execution Report message.
>>> Could you take a look? thanks
>>>
>>> Alvin
>>>
>>> java.lang.NullPointerException
>>>
>>> at quickfix.FieldMap.calculateString(FieldMap.java:457)
>>>
>>> at quickfix.Message$Header.calculateString(Message.java:323)
>>>
>>> at quickfix.Message.toString(Message.java:132)
>>>
>>>
>>>
>>>
>>>
>>
>
***********************************************************************=
***
>>> *****
>>> 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 prohibite=
d.
>>> If you are not the intended recipient, please do not disseminate,
>>> distribute or copy this communication, by e-mail or otherwise. Inst=
ead,
>>> please notify us immediately by return e-mail(including the origina=
l
>>> message with your reply) and then delete and discard all copies of =
the
>>> message. We have taken precautions to minimize the risk of
>>> transmitting
>>> 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.
>>>
>>
>
***********************************************************************=
***
>>> *****
>>>
>>>
>>>
>>>
> ---------------------------------------------------------------------=
----
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your =
job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>>>
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>>> _______________________________________________
>>> Quickfixj-users mailing list
>>> Qui...@li...
>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>>
>>
>>
>>
-----------------------------------------------------------------------=
--
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your j=
ob
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&=
dat=3D121642
>> _______________________________________________
>> Quickfixj-users mailing list
>> Qui...@li...
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>>
>>
>>
>>
-----------------------------------------------------------------------=
--
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to sh=
are
>> your
>> opinions on IT & business topics through brief surveys - and earn ca=
sh
>>
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
>>
>
>
>
> ---------------------------------------------------------------------=
----
> 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 cas=
h
> 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
>
>
>
> ---------------------------------------------------------------------=
----
> 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 cas=
h
> 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
>
-----------------------------------------------------------------------=
--
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
=
|
|
From: <st...@te...> - 2006-11-16 19:30:49
|
Hi Alvin, I was able to successfully parse and format the message. Steve > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > I think it is because I changed the couterparty compid to be AAAAAAA for > privacy reason. > I will send you the original msg privately. Could you try to parse it to > be > a ExeutionReport object and do a toString()? > > thanks > > > > > > > steve@technoetic. > com > Sent by: To > quickfixj-users-b qui...@li....n > ou...@li... et > ceforge.net cc > > Subject > 11/16/2006 12:07 Re: [Quickfixj-users] > PM quickfix.Message.toString() > NullPointerException > > Please respond to > quickfixj-users@l > ists.sourceforge. > net > > > > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > I can't parse that message. The error I see is... > > quickfix.InvalidMessage: Actual body length=576, Expected body length=578 > > If I set the length to the correct length and adjust the checksum > accordingly, the message parses and formats without error. > > Steve > > >> 8=FIX.4.49=57835=849=AAAAAAA56=FFTWFIX34=1252=20061115-15:52:57.357 >> 347=UTF-837=NONREF198=TWPTB000006146711=F4714453=3448=Fischer >> Francis >> Trees >> & >> Watts447=C452=3448...@FF...447=C452=11448=DLRWUS31447=B452=1 >> 17=TWPTB0000061467132=59730000.00000031=4.9070669=99.291211110150=F39=2 > 54=1 >> 64=2006112055=[N/A]48=912795YN522=1460=6167=TBILL541=20070111225=20061012 >> 873=20060713107=B >> 01/11/200715=USD38=59730000.000000423=46=99.291211110 >> 381=59306640.40118=59306640.40151=014=59730000.00000030=TRWB75=20061115 >> 60=20061115-15:52:566616=20061115-15:51:0310=104 >> >> >> >> >> >> Alvin Wang/FFTW >> >> 11/14/2006 08:01 > To >> AM "quickfixj-users" >> > <qui...@li.... >> net>, >> > <qui...@li.... >> net> >> > cc >> >> > Subject >> Re: [Quickfixj-users] >> quickfix.Message.toString() >> NullPointerException >> >> >> >> >> >> >> >> >> >> No. I did not compose a message. I use toString on a received message >> >> >> >> >> >> ----- Original Message ----- >> From: "Steve Bate" [st...@te...] >> Sent: 11/14/2006 07:45 AM >> To: <qui...@li...> >> Subject: Re: [Quickfixj-users] quickfix.Message.toString() >> NullPointerException >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> If you set a field value to null, that would cause this exception. >> >> Steve >> >>> -----Original Message----- >>> From: qui...@li... [mailto:quickfixj- >>> use...@li...] On Behalf Of Alvin Wang >>> Sent: Monday, November 13, 2006 10:18 AM >>> To: qui...@li... >>> Cc: qui...@li...; quickfixj-users- >>> bo...@li... >>> Subject: [Quickfixj-users] quickfix.Message.toString() >>> NullPointerException >>> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> Hi, >>> >>> I got the following exception when I tried to run a toString() method >>> on >> a >>> FIX44 Execution Report message. >>> Could you take a look? thanks >>> >>> Alvin >>> >>> java.lang.NullPointerException >>> >>> at quickfix.FieldMap.calculateString(FieldMap.java:457) >>> >>> at quickfix.Message$Header.calculateString(Message.java:323) >>> >>> at quickfix.Message.toString(Message.java:132) >>> >>> >>> >>> >>> >> > ************************************************************************** >>> ***** >>> 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 >>> transmitting >>> 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. >>> >> > ************************************************************************** >>> ***** >>> >>> >>> >>> > ------------------------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your job >>> easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> >> >> ------------------------------------------------------------------------- >> 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=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Alvin W. <AW...@FF...> - 2006-11-16 17:14:10
|
I think it is because I changed the couterparty compid to be AAAAAAA fo=
r
privacy reason.
I will send you the original msg privately. Could you try to parse it t=
o be
a ExeutionReport object and do a toString()?
thanks
=
steve@technoetic. =
com =
Sent by: =
To
quickfixj-users-b qui...@li...=
e.n
ou...@li... et =
ceforge.net =
cc
=
Subj=
ect
11/16/2006 12:07 Re: [Quickfixj-users] =
PM quickfix.Message.toString() =
NullPointerException =
=
Please respond to =
quickfixj-users@l =
ists.sourceforge. =
net =
=
=
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
I can't parse that message. The error I see is...
quickfix.InvalidMessage: Actual body length=3D576, Expected body length=
=3D578
If I set the length to the correct length and adjust the checksum
accordingly, the message parses and formats without error.
Steve
> 8=3DFIX.4.4=019=3D578=0135=3D8=0149=3DAAAAAAA=0156=3DFFTWFIX=0134=3D1=
2=0152=3D20061115-15:52:57.357=01
> 347=3DUTF-8=0137=3DNONREF=01198=3DTWPTB0000061467=0111=3DF4714=01453=3D=
3=01448=3DFischer Francis
> Trees
> &
> Wat...@FF...=01447=3DC=01452=3D11=
=01448=3DDLRWUS31=01447=3DB=01452=3D1=01
> 17=3DTWPTB00000614671=0132=3D59730000.000000=0131=3D4.9070=01669=3D99=
.291211110=01150=3DF=0139=3D2=01
54=3D1=01
> 64=3D20061120=0155=3D[N/A]=0148=3D912795YN5=0122=3D1=01460=3D6=01167=3D=
TBILL=01541=3D20070111=01225=3D20061012=01
> 873=3D20060713=01107=3DB
> 01/11/2007=0115=3DUSD=0138=3D59730000.000000=01423=3D4=016=3D99.29121=
1110=01
> 381=3D59306640.40=01118=3D59306640.40=01151=3D0=0114=3D59730000.00000=
0=0130=3DTRWB=0175=3D20061115=01
> 60=3D20061115-15:52:56=016616=3D20061115-15:51:03=0110=3D104=01
>
>
>
>
>
> Alvin Wang/FFTW
>
> 11/14/2006 08:01
To
> AM "quickfixj-users"
>
<qui...@li....
> net>,
>
<qui...@li....
> net>
>
cc
>
>
Subject
> Re: [Quickfixj-users]
> quickfix.Message.toString()
> NullPointerException
>
>
>
>
>
>
>
>
>
> No. I did not compose a message. I use toString on a received message=
>
>
>
>
>
> ----- Original Message -----
> From: "Steve Bate" [st...@te...]
> Sent: 11/14/2006 07:45 AM
> To: <qui...@li...>
> Subject: Re: [Quickfixj-users] quickfix.Message.toString()
> NullPointerException
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> If you set a field value to null, that would cause this exception.
>
> Steve
>
>> -----Original Message-----
>> From: qui...@li... [mailto:quickfix=
j-
>> use...@li...] On Behalf Of Alvin Wang
>> Sent: Monday, November 13, 2006 10:18 AM
>> To: qui...@li...
>> Cc: qui...@li...; quickfixj-users-
>> bo...@li...
>> Subject: [Quickfixj-users] quickfix.Message.toString()
>> NullPointerException
>>
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>> Hi,
>>
>> I got the following exception when I tried to run a toString() metho=
d on
> a
>> FIX44 Execution Report message.
>> Could you take a look? thanks
>>
>> Alvin
>>
>> java.lang.NullPointerException
>>
>> at quickfix.FieldMap.calculateString(FieldMap.java:457)
>>
>> at quickfix.Message$Header.calculateString(Message.java:323)
>>
>> at quickfix.Message.toString(Message.java:132)
>>
>>
>>
>>
>>
>
***********************************************************************=
***
>> *****
>> 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. Inste=
ad,
>> please notify us immediately by return e-mail(including the original=
>> message with your reply) and then delete and discard all copies of t=
he
>> message. We have taken precautions to minimize the risk of transmit=
ting
>> 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.
>>
>
***********************************************************************=
***
>> *****
>>
>>
>>
>>
-----------------------------------------------------------------------=
--
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your j=
ob
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&=
dat=3D121642
>> _______________________________________________
>> Quickfixj-users mailing list
>> Qui...@li...
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>
>
> ---------------------------------------------------------------------=
----
> Using Tomcat but need to do more? Need to support web services, secur=
ity?
> Get stuff done quickly with pre-integrated technology to make your jo=
b
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&d=
at=3D121642
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>
>
> ---------------------------------------------------------------------=
----
> 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 cas=
h
> 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
>
-----------------------------------------------------------------------=
--
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
=
|
|
From: <st...@te...> - 2006-11-16 17:07:12
|
I can't parse that message. The error I see is... quickfix.InvalidMessage: Actual body length=576, Expected body length=578 If I set the length to the correct length and adjust the checksum accordingly, the message parses and formats without error. Steve > 8=FIX.4.49=57835=849=AAAAAAA56=FFTWFIX34=1252=20061115-15:52:57.357 > 347=UTF-837=NONREF198=TWPTB000006146711=F4714453=3448=Fischer Francis > Trees > & > Watts447=C452=3448...@FF...447=C452=11448=DLRWUS31447=B452=1 > 17=TWPTB0000061467132=59730000.00000031=4.9070669=99.291211110150=F39=254=1 > 64=2006112055=[N/A]48=912795YN522=1460=6167=TBILL541=20070111225=20061012 > 873=20060713107=B > 01/11/200715=USD38=59730000.000000423=46=99.291211110 > 381=59306640.40118=59306640.40151=014=59730000.00000030=TRWB75=20061115 > 60=20061115-15:52:566616=20061115-15:51:0310=104 > > > > > > Alvin Wang/FFTW > > 11/14/2006 08:01 To > AM "quickfixj-users" > <qui...@li.... > net>, > <qui...@li.... > net> > cc > > Subject > Re: [Quickfixj-users] > quickfix.Message.toString() > NullPointerException > > > > > > > > > > No. I did not compose a message. I use toString on a received message > > > > > > ----- Original Message ----- > From: "Steve Bate" [st...@te...] > Sent: 11/14/2006 07:45 AM > To: <qui...@li...> > Subject: Re: [Quickfixj-users] quickfix.Message.toString() > NullPointerException > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > If you set a field value to null, that would cause this exception. > > Steve > >> -----Original Message----- >> From: qui...@li... [mailto:quickfixj- >> use...@li...] On Behalf Of Alvin Wang >> Sent: Monday, November 13, 2006 10:18 AM >> To: qui...@li... >> Cc: qui...@li...; quickfixj-users- >> bo...@li... >> Subject: [Quickfixj-users] quickfix.Message.toString() >> NullPointerException >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> Hi, >> >> I got the following exception when I tried to run a toString() method on > a >> FIX44 Execution Report message. >> Could you take a look? thanks >> >> Alvin >> >> java.lang.NullPointerException >> >> at quickfix.FieldMap.calculateString(FieldMap.java:457) >> >> at quickfix.Message$Header.calculateString(Message.java:323) >> >> at quickfix.Message.toString(Message.java:132) >> >> >> >> >> > ************************************************************************** >> ***** >> 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 transmitting >> 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. >> > ************************************************************************** >> ***** >> >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: <st...@te...> - 2006-11-16 16:57:37
|
No, as you've seen, the default SystemTimeSource is set up automatically and is implemented as a call to System.currentTimeMillis(); The slight indirection is there to facilitate automated unit testing. > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I've been looking at the SystemTime and SystemTimeSource. Do I need to > expressly set a system time source when starting up the engine or does it > default to the local system clock? > > I ask because it seems that a call to SystemTime is causing problems in my > setup. > > Peter > > London > > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: <st...@te...> - 2006-11-16 16:56:44
|
No, as you've seen, the default SystemTimeSource is set up automatically and is implemented as a call to System.currentTimeMillis(); The slight indirection is there to facilitate automated unit testing. > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I've been looking at the SystemTime and SystemTimeSource. Do I need to > expressly set a system time source when starting up the engine or does it > default to the local system clock? > > I ask because it seems that a call to SystemTime is causing problems in my > setup. > > Peter > > London > > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Peter W. <pw...@bl...> - 2006-11-16 16:49:25
|
Hi, I've been looking at the SystemTime and SystemTimeSource. Do I need to expressly set a system time source when starting up the engine or does it default to the local system clock? I ask because it seems that a call to SystemTime is causing problems in my setup. Peter London |
|
From: Alvin W. <AW...@FF...> - 2006-11-16 16:34:29
|
This is an example. This problem is a show stopper. Please help. Thanks=
.
8=3DFIX.4.4=019=3D578=0135=3D8=0149=3DAAAAAAA=0156=3DFFTWFIX=0134=3D12=01=
52=3D20061115-15:52:57.357=01
347=3DUTF-8=0137=3DNONREF=01198=3DTWPTB0000061467=0111=3DF4714=01453=3D=
3=01448=3DFischer Francis Trees
& Wat...@FF...=01447=3DC=01452=3D11=
=01448=3DDLRWUS31=01447=3DB=01452=3D1=01
17=3DTWPTB00000614671=0132=3D59730000.000000=0131=3D4.9070=01669=3D99.2=
91211110=01150=3DF=0139=3D2=0154=3D1=01
64=3D20061120=0155=3D[N/A]=0148=3D912795YN5=0122=3D1=01460=3D6=01167=3D=
TBILL=01541=3D20070111=01225=3D20061012=01
873=3D20060713=01107=3DB 01/11/2007=0115=3DUSD=0138=3D59730000.000000=01=
423=3D4=016=3D99.291211110=01
381=3D59306640.40=01118=3D59306640.40=01151=3D0=0114=3D59730000.000000=01=
30=3DTRWB=0175=3D20061115=01
60=3D20061115-15:52:56=016616=3D20061115-15:51:03=0110=3D104=01
=
Alvin Wang/FFTW =
=
11/14/2006 08:01 =
To
AM "quickfixj-users" =
<qui...@li...=
ge.
net>, =
<qui...@li...=
ge.
net> =
=
cc
=
Subj=
ect
Re: [Quickfixj-users] =
quickfix.Message.toString() =
NullPointerException =
=
=
=
=
=
=
No. I did not compose a message. I use toString on a received message
----- Original Message -----
From: "Steve Bate" [st...@te...]
Sent: 11/14/2006 07:45 AM
To: <qui...@li...>
Subject: Re: [Quickfixj-users] quickfix.Message.toString()
NullPointerException
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
If you set a field value to null, that would cause this exception.
Steve
> -----Original Message-----
> From: qui...@li... [mailto:quickfixj=
-
> use...@li...] On Behalf Of Alvin Wang
> Sent: Monday, November 13, 2006 10:18 AM
> To: qui...@li...
> Cc: qui...@li...; quickfixj-users-
> bo...@li...
> Subject: [Quickfixj-users] quickfix.Message.toString()
> NullPointerException
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> Hi,
>
> I got the following exception when I tried to run a toString() method=
on
a
> FIX44 Execution Report message.
> Could you take a look? thanks
>
> Alvin
>
> java.lang.NullPointerException
>
> at quickfix.FieldMap.calculateString(FieldMap.java:457)
>
> at quickfix.Message$Header.calculateString(Message.java:323)
>
> at quickfix.Message.toString(Message.java:132)
>
>
>
>
>
***********************************************************************=
***
> *****
> 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. Instea=
d,
> please notify us immediately by return e-mail(including the original
> message with your reply) and then delete and discard all copies of th=
e
> message. We have taken precautions to minimize the risk of transmitt=
ing
> 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.
>
***********************************************************************=
***
> *****
>
>
>
> ---------------------------------------------------------------------=
----
> Using Tomcat but need to do more? Need to support web services, secur=
ity?
> Get stuff done quickly with pre-integrated technology to make your jo=
b
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&d=
at=3D121642
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
-----------------------------------------------------------------------=
--
Using Tomcat but need to do more? Need to support web services, securit=
y?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron=
imo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
=
|
|
From: Alvin W. <AW...@FF...> - 2006-11-14 19:16:51
|
Many thanks for all the helps. This discussion has been very constructive.
Oren Miller
<oren@quickfixeng
ine.org> To
Sent by: qui...@li....n
quickfixj-users-b et
ou...@li... cc
ceforge.net
Subject
Re: [Quickfixj-users] repeating
11/10/2006 02:26 group problem
PM
Please respond to
quickfixj-users@l
ists.sourceforge.
net
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
I updated the JNI api to match this behavior.
--oren
On Nov 10, 2006, at 12:50 PM, st...@te... wrote:
> That's correct. No zero is needed in QFJ, although I don't think it
> causes a problem to include it.
>
> Steve
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
*******************************************************************************
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 transmitting
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.
*******************************************************************************
|
|
From: <AW...@FF...> - 2006-11-14 13:08:10
|
BTW, can QFJ understand the conetents in quickfix database tables saved by = QF? What about the other way around? I heard that QFJ is not compatible wit= h QF in the FileStore And it will also be nice if message_log has direction Thanks ----- Original Message ----- From: "Steve Bate" [st...@te...] Sent: 11/14/2006 07:50 AM To: <qui...@li...> Subject: Re: [Quickfixj-users] messages and messages_log table QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Yes, QF also uses the messages_log table. I'll accept patches with unit tests if you'd like to extend the JdbcLog to optionally save the direction and timestamp. The default behavior should be the same as QF however. Steve > -----Original Message----- > From: Alvin Wang [mailto:AW...@FF...] > Sent: Monday, November 13, 2006 11:29 AM > To: qui...@li...; st...@te... > Subject: Re: messages and messages_log table >=20 > I realized that in QF, there are incoming_log and outgoing_log table. But > in QF/J there is message_log table instead. Any particular reason for this > change? This complicates the migration from QF to QF/J since we want to > maintain/keep the old data. >=20 > Or does the latest version of QF also changed to use message_log table? >=20 > Thanks. >=20 >=20 > BTW, it is nicer to add time and direction in message table which can make > people life easier, I think. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users ***********= ******************************************************************** This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and=20 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 transmitting 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. ***************************************************************************= **** |
|
From: <AW...@FF...> - 2006-11-14 13:04:13
|
Oren, could you tell me since which version QF started using message_log ta= ble? Can you manually merge those 2 log tables into message_log? ----- Original Message ----- From: "Steve Bate" [st...@te...] Sent: 11/14/2006 07:50 AM To: <qui...@li...> Subject: Re: [Quickfixj-users] messages and messages_log table QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Yes, QF also uses the messages_log table. I'll accept patches with unit tests if you'd like to extend the JdbcLog to optionally save the direction and timestamp. The default behavior should be the same as QF however. Steve > -----Original Message----- > From: Alvin Wang [mailto:AW...@FF...] > Sent: Monday, November 13, 2006 11:29 AM > To: qui...@li...; st...@te... > Subject: Re: messages and messages_log table >=20 > I realized that in QF, there are incoming_log and outgoing_log table. But > in QF/J there is message_log table instead. Any particular reason for this > change? This complicates the migration from QF to QF/J since we want to > maintain/keep the old data. >=20 > Or does the latest version of QF also changed to use message_log table? >=20 > Thanks. >=20 >=20 > BTW, it is nicer to add time and direction in message table which can make > people life easier, I think. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users ***********= ******************************************************************** This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and=20 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 transmitting 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. ***************************************************************************= **** |
|
From: <AW...@FF...> - 2006-11-14 13:01:44
|
No. I did not compose a message. I use toString on a received message ----- Original Message ----- From: "Steve Bate" [st...@te...] Sent: 11/14/2006 07:45 AM To: <qui...@li...> Subject: Re: [Quickfixj-users] quickfix.Message.toString() NullPointerExcepti= on QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ If you set a field value to null, that would cause this exception. Steve > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of Alvin Wang > Sent: Monday, November 13, 2006 10:18 AM > To: qui...@li... > Cc: qui...@li...; quickfixj-users- > bo...@li... > Subject: [Quickfixj-users] quickfix.Message.toString() > NullPointerException > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I got the following exception when I tried to run a toString() method on a > FIX44 Execution Report message. > Could you take a look? thanks > > Alvin > > java.lang.NullPointerException > > at quickfix.FieldMap.calculateString(FieldMap.java:457) > > at quickfix.Message$Header.calculateString(Message.java:323) > > at quickfix.Message.toString(Message.java:132) > > > > > ************************************************************************** > ***** > 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 transmitting > 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. > ************************************************************************** > ***** > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121= 642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: Steve B. <st...@te...> - 2006-11-14 12:51:08
|
Yes, QF also uses the messages_log table. I'll accept patches with unit tests if you'd like to extend the JdbcLog to optionally save the direction and timestamp. The default behavior should be the same as QF however. Steve > -----Original Message----- > From: Alvin Wang [mailto:AW...@FF...] > Sent: Monday, November 13, 2006 11:29 AM > To: qui...@li...; st...@te... > Subject: Re: messages and messages_log table > > I realized that in QF, there are incoming_log and outgoing_log table. But > in QF/J there is message_log table instead. Any particular reason for this > change? This complicates the migration from QF to QF/J since we want to > maintain/keep the old data. > > Or does the latest version of QF also changed to use message_log table? > > Thanks. > > > BTW, it is nicer to add time and direction in message table which can make > people life easier, I think. |
|
From: Steve B. <st...@te...> - 2006-11-14 12:45:24
|
If you set a field value to null, that would cause this exception. Steve > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of Alvin Wang > Sent: Monday, November 13, 2006 10:18 AM > To: qui...@li... > Cc: qui...@li...; quickfixj-users- > bo...@li... > Subject: [Quickfixj-users] quickfix.Message.toString() > NullPointerException > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I got the following exception when I tried to run a toString() method on a > FIX44 Execution Report message. > Could you take a look? thanks > > Alvin > > java.lang.NullPointerException > > at quickfix.FieldMap.calculateString(FieldMap.java:457) > > at quickfix.Message$Header.calculateString(Message.java:323) > > at quickfix.Message.toString(Message.java:132) > > > > > ************************************************************************** > ***** > 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 transmitting > 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. > ************************************************************************** > ***** > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: Yazad G. <yaz...@ho...> - 2006-11-14 04:52:34
|
Hi Alvin, I am not very good at this and I have started working on quickfix recently. I used to get a similar error when I was creating a custom message. I was not creating the header then. So I did the following: - I create a message object => Message message = new quickfix.Message(); - then i create header and trailer objects => Message.Header header = message.getHeader(); //Similarly for trailer - I set the required fields of message => message.setField(........ - Then set all the required fields for header and then the footer => header.setField(.... - Only then can you use message.toString() I hope this helps you. Do let me know. Regards, Yazad. ----- Original Message ----- From: "Alvin Wang" <AW...@FF...> To: <qui...@li...> Cc: <qui...@li...>; <qui...@li...> Sent: Monday, November 13, 2006 8:47 PM Subject: [Quickfixj-users] quickfix.Message.toString() NullPointerException > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, > > I got the following exception when I tried to run a toString() method on a > FIX44 Execution Report message. > Could you take a look? thanks > > Alvin > > java.lang.NullPointerException > > at quickfix.FieldMap.calculateString(FieldMap.java:457) > > at quickfix.Message$Header.calculateString(Message.java:323) > > at quickfix.Message.toString(Message.java:132) > > > > > ******************************************************************************* > 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 transmitting > 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. > ******************************************************************************* > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Alvin W. <AW...@FF...> - 2006-11-13 16:29:16
|
I realized that in QF, there are incoming_log and outgoing_log table. But
in QF/J there is message_log table instead. Any particular reason for this
change? This complicates the migration from QF to QF/J since we want to
maintain/keep the old data.
Or does the latest version of QF also changed to use message_log table?
Thanks.
BTW, it is nicer to add time and direction in message table which can make
people life easier, I think.
Alvin Wang/FFTW
10/25/2006 10:29 To
AM qui...@li....n
et, st...@te...
cc
Subject
messages and messages_log table
(Document link: Alvin Wang)
Hi,
where is the difference between messages and messages_log table? It seems
messages table only record the outgoing msgs. Why do we need 2 tables?
Also in messages_log table, how to easily tell if a message is outgoing or
incoming message?
Thanks,
Alvin
*******************************************************************************
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 transmitting
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.
*******************************************************************************
|
|
From: Alvin W. <AW...@FF...> - 2006-11-13 15:17:55
|
Hi,
I got the following exception when I tried to run a toString() method on a
FIX44 Execution Report message.
Could you take a look? thanks
Alvin
java.lang.NullPointerException
at quickfix.FieldMap.calculateString(FieldMap.java:457)
at quickfix.Message$Header.calculateString(Message.java:323)
at quickfix.Message.toString(Message.java:132)
*******************************************************************************
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 transmitting
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.
*******************************************************************************
|
|
From: Steve B. <st...@te...> - 2006-11-12 15:08:36
|
Hi Peter, Can you be more specific about the failed return from SystemTime.getDate()? If the time source is set correctly (which it is, by default) this is ultimately just a call to System.currentTimeMillis(). Is there a stack trace? I know you didn't like my suggestion to reproduce this behavior with Banzai and the Executor, but if you could reproduce it in that context I'd be able to investigate the problem in more depth by running it myself. If it really is an acceptor problem, then any client should be able to trigger it. Steve _____ From: qui...@li... [mailto:qui...@li...] On Behalf Of Peter Warder Sent: Sunday, November 12, 2006 9:54 AM To: qui...@li... Subject: [Quickfixj-users] One More Time I still can't get my QFJ acceptor to stay running! I have an associate in Munich who is also trying to set up a QFJ acceptor and is getting exactly the same problem as we are in London. I have already forwarded a detailed composite of message and event logs to the mail list. No response to that. However, I have now trawled through the source code and think I can see where the problem is arising (but not why). I've looked through Session.java and the behaviour we see is consistent with when a reset() is called. The reset() appears to be triggered by a false return from checkSessionTime(). This, in turn, looks like a failed return from SystemTime.getDate. Does this help anyone point us to the problem? Also, when our acceptor fires up, it creates a .seqnum file which is zero length and obviously empty. This never seems to be initialised although the incoming logon has its sequence number in it. (Perhaps, this is because the reset() forces a logout and disconnect - so we never get started.) Should we set up a default start up .seqnum file with zeroes/ones in it? If yes, where do we find the file format? Please try to get us going on this one guys. Peter Warder London |
|
From: Peter W. <pw...@bl...> - 2006-11-12 14:54:06
|
I still can't get my QFJ acceptor to stay running! I have an associate = in Munich who is also trying to set up a QFJ acceptor and is getting = exactly the same problem as we are in London. I have already forwarded a detailed composite of message and event logs = to the mail list. No response to that.=20 However, I have now trawled through the source code and think I can see where the problem is arising (but not why). =20 I've looked through Session.java and the behaviour we see is consistent = with when a reset() is called. The reset() appears to be triggered by a false return from checkSessionTime(). This, in turn, looks like a failed return from SystemTime.getDate. =20 Does this help anyone point us to the problem? =20 Also, when our acceptor fires up, it creates a .seqnum file which is = zero length and obviously empty. This never seems to be initialised although = the incoming logon has its sequence number in it. (Perhaps, this is because = the reset() forces a logout and disconnect - so we never get started.) Should we set up a default start up .seqnum file with zeroes/ones in it? = If yes, where do we find the file format? =20 Please try to get us going on this one guys. =20 Peter Warder London =20 =20 |
|
From: Oren M. <or...@qu...> - 2006-11-10 19:32:56
|
I updated the JNI api to match this behavior. --oren On Nov 10, 2006, at 12:50 PM, st...@te... wrote: > That's correct. No zero is needed in QFJ, although I don't think it > causes a problem to include it. > > Steve |
|
From: <st...@te...> - 2006-11-10 18:50:25
|
> The 0 is there because the C++ method uses the ... argument which > needs a signal to determine when the last value has been reached. 0 > is used for this purpose. We should be able to update the jni > library to make this implicit in the future so you don't need to > specify the 0 itself. The trailing 0 also shouldn't cause problems > in QuickFIX/J, let me know if I'm wrong about that Steve. That's correct. No zero is needed in QFJ, although I don't think it causes a problem to include it. Steve |
|
From: Oren M. <or...@qu...> - 2006-11-10 16:19:06
|
Alvin, try this instead...
new Group(field, delim, new int[] { delim, 0 })
The 0 is there because the C++ method uses the ... argument which
needs a signal to determine when the last value has been reached. 0
is used for this purpose. We should be able to update the jni
library to make this implicit in the future so you don't need to
specify the 0 itself. The trailing 0 also shouldn't cause problems
in QuickFIX/J, let me know if I'm wrong about that Steve.
--oren
On Nov 10, 2006, at 8:52 AM, Alvin Wang wrote:
> I tried to use "new Group(field, delim, new int[] { delim })" that you
> recommended, in QF's Java wrapper, I got an crash as below:
>
> =================================================================
> An unexpected exception has been detected in native code outside
> the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005)
> occurred at
> PC=0x75BF1DA
> Function=[Unknown.]
> Library=C:\dev\quickfix\lib\quickfix_jni.dll
>
> NOTE: We are unable to locate the function name symbol for the error
> just occurred. Please refer to release documentation for
> possible
> reason and solutions.
>
>
> Current Java thread:
> at quickfix.Group.create(Native Method)
> at quickfix.Group.<init>(Unknown Source)
> ......
>
> Dynamic libraries:
> 0x00400000 - 0x00407000 C:\JBuilderX\jdk1.4\bin\javaw.exe
> 0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
> 0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
> 0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
> 0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
> 0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
> 0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
> 0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
> 0x76390000 - 0x763AD000 C:\WINDOWS\system32\IMM32.DLL
> 0x629C0000 - 0x629C9000 C:\WINDOWS\system32\LPK.DLL
> 0x74D90000 - 0x74DFB000 C:\WINDOWS\system32\USP10.dll
> 0x08000000 - 0x08136000 C:\JBuilderX\jdk1.4\jre\bin\client
> \jvm.dll
> 0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
> 0x10000000 - 0x10007000 C:\JBuilderX\jdk1.4\jre\bin\hpi.dll
> 0x00940000 - 0x0094E000 C:\JBuilderX\jdk1.4\jre\bin\verify.dll
> 0x00950000 - 0x00968000 C:\JBuilderX\jdk1.4\jre\bin\java.dll
> 0x00970000 - 0x0097D000 C:\JBuilderX\jdk1.4\jre\bin\zip.dll
> 0x02C60000 - 0x02C7C000 C:\JBuilderX\jdk1.4\jre\bin\jdwp.dll
> 0x06C80000 - 0x06C85000 C:\JBuilderX\jdk1.4\jre\bin
> \dt_socket.dll
> 0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\ws2_32.dll
> 0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
> 0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
> 0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
> 0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
> 0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
> 0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
> 0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
> 0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
> 0x07520000 - 0x07664000 C:\dev\quickfix\lib\quickfix_jni.dll
> 0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
> 0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
> 0x76080000 - 0x760E5000 C:\WINDOWS\system32\MSVCP60.dll
> 0x07670000 - 0x07778000 C:\dev\quickfix\lib\LIBMYSQL.dll
> 0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
> 0x76FD0000 - 0x7704F000 C:\WINDOWS\system32\CLBCATQ.DLL
> 0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
> 0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
> 0x07AA0000 - 0x07AAF000 C:\JBuilderX\jdk1.4\jre\bin\net.dll
> 0x07AB0000 - 0x07AB8000 C:\JBuilderX\jdk1.4\jre\bin\nio.dll
> 0x07FE0000 - 0x07FE5000 C:\JBuilderX\jdk1.4\jre\bin\rmi.dll
> 0x77B40000 - 0x77B62000 C:\WINDOWS\system32\Apphelp.dll
> 0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
> 0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
> 0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
>
> Heap at VM Abort:
> Heap
> def new generation total 576K, used 124K [0x10010000, 0x100b0000,
> 0x104f0000)
> eden space 512K, 22% used [0x10010000, 0x1002cfd0, 0x10090000)
> from space 64K, 12% used [0x100a0000, 0x100a20d0, 0x100b0000)
> to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
> tenured generation total 2028K, used 1350K [0x104f0000, 0x106eb000,
> 0x14010000)
> the space 2028K, 66% used [0x104f0000, 0x10641aa0, 0x10641c00,
> 0x106eb000)
> compacting perm gen total 12288K, used 12134K [0x14010000,
> 0x14c10000,
> 0x18010000)
> the space 12288K, 98% used [0x14010000, 0x14be9aa0, 0x14be9c00,
> 0x14c10000)
>
> Local Time = Fri Nov 10 09:45:37 2006
> Elapsed Time = 571
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
> #
> # An error report file has been saved as hs_err_pid4488.log.
> # Please refer to the file for further information.
> #
>
>
>
>
>
> "Steve Bate"
> <steve@technoetic
> .com>
> To
> Sent by: <quickfixj-
> us...@li....
> quickfixj-users-b net>
>
> ou...@li... cc
> ceforge.net
>
> Subject
> Re: [Quickfixj-users] repeating
> 11/07/2006 08:28 group problem
> PM
>
>
> Please respond to
> quickfixj-users@l
> ists.sourceforge.
> net
>
>
>
>
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>> The reason I do not want to use NewOrderSingle.NoPartyIDs is that my
> order
>> object can be either a NewOrderSingle or NewOrderMultileg. Not
>> sure if I
>> can add a NewOrderSingle.NoPartyIDs object to a NewOrderMultileg
>> object?
>> Could you clarify? Just wonder why there is not an abstract class
>> sitting
>> on the top like GeneralOrder which can enclose some common fields or
>> classes like NoPartyIDs?
>
> The messages correspond directly to the FIX specification.
>
> You don't necessarily need a new build. Have you tried using the
> Group(int field, int delim, int[] order) constructor in 1.0.4?
> The only change I made was to make Group(field, delim) call
> Group(field, delim, new int[] { delim }). Better yet, you'll
> be safer if you include all the tags in the integer array in
> the correct order. However, like Oren said, many FIX engines
> will not enforce the order of the non-delimeter tags.
>
> Steve
>
>
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>
>
>
>
> **********************************************************************
> *********
> 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
> transmitting
> 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.
> **********************************************************************
> *********
>
>
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
|
|
From: <st...@te...> - 2006-11-10 15:12:12
|
Alvin,
The goal of QF API compatibility with QFJ is that code written for the QF
JNI wrapper can run in QFJ, but there is no guarantee in the other
direction. It will generally not work to compile code with QFJ and then
try to use the QF native libraries to run it. Similarly, the QFJ source
will usually not even compile with the QF Java library (if you have used
any extensions to QF). Again, the compatibility is only maintained from QF
to QFJ.
Any suggestions I make for Java API usage are strictly for QFJ unless I
specifically that it should work with QF too. Even then, you should
recompile the code with the QF libraries before running it with the QF
native libraries in case there are other issues.
Steve
> I tried to use "new Group(field, delim, new int[] { delim })" that you
> recommended, in QF's Java wrapper, I got an crash as below:
|