Actually it is not the firewall. I had the same problem. I turned off the firewall and still it produced this problem. So I downloaded and installed Dimension 4 from www.thinkingman.com I found that several NTP servers just block me from accessing them. SO I keep trying other servers until I find one that works, and use D4 to sync my clock, rather than using the NTP code in the software. I think an external time clock sync is better anyway.
You will recall that we had this problem previously and you mentioned you fixed the code, which I did not check. There is a recursive problem where the code is throwing the exception and then trying to report the exception and then throws it again because it can not get the time, etc ... repetitively. I just used D4 to find a NTP server which worked for me, and then used that in the JBookTrader configuration. I think it might have to do with the Windows setup and the combination of which NTP servers allow access to them based on IP geolocation, but that is just a guess from myself. On Jul 14, 9:08 am, nonlinear5 <[email protected]> wrote: > It looks like your firewall is blocking the NTP traffic. > > On Jul 13, 9:27 pm, Da <[email protected]> wrote: > > > Dear members, > > Can anyone asnwer me a question? I tried to set trade mode on an > > example strategy and I have been running a simulated TWS. But my > > eclipse shows console with many repeated messages > > > at com.jbooktrader.platform.util.NTPClock.<init>(NTPClock.java: > > 80) > > at com.jbooktrader.platform.util.NTPClock.getInstance(NTPClock.java: > > 26) > > at > > com.jbooktrader.platform.report.EventReport.getDate(EventReport.java: > > 72) > > at > > com.jbooktrader.platform.report.EventReport.report(EventReport.java: > > 45) > > at > > com.jbooktrader.platform.report.EventReport.report(EventReport.java: > > 66) > > ...... > > > I can't figure out where the problem is after trying many times > > to install the project again and again. Please help. > > > Best, > > Da -- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
