Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Strategies "hang" Demo JForex 2.13.38
 Post subject: Strategies "hang" Demo JForex 2.13.38 Post rating: 0   New post Posted: Wed 18 Jan, 2012, 17:28 
User avatar

User rating: 0
Joined: Wed 18 Jan, 2012, 16:54
Posts: 2
Location: United Kingdom, Exeter
The associated Java console appears to hang also, hence I attach a couple of screenshots, since copy/paste no longer works. The same thing happens whichever strategy I try (some have been running happily for years). The problem does not occur with a demo account using the API from within Eclipse (though I haven't upgraded to the latest API version yet), or on a live account, or when performing a backtest. To reproduce, attempt to run any strategy (that I have tried at least) locally. Screenshots are from Windows XP SP3, though the symptoms are identical on a Mac or on Windows Server 2003. onStart() never gets to write its completion message to the console. Once "hung", the only way out is to kill the relevant process. On Mac OS X jconsole still keeps working however, and doesn't reveal any deadlocked threads for example.

Attachment:
2012-01-18_1535_JForex.png [20.27 KiB]
Downloaded 410 times


Attachment:
2012-01-18_1533_jconsole.png [50.07 KiB]
Downloaded 405 times


Anyone any suggestions regarding what the problem might be?

Thanks,

Jim


 
 Post subject: Re: Strategies "hang" Demo JForex 2.13.38 Post rating: 0   New post Posted: Thu 19 Jan, 2012, 16:10 

User rating: 4
Joined: Mon 19 Sep, 2011, 09:55
Posts: 29
Location: Germany,
Recently updated Java (I see 6u29 in the console)?

I had very strange behaviour after I upgraded to Java 7. Now, downgraded to 6u26 and things run fine again.


 
 Post subject: Re: Strategies "hang" Demo JForex 2.13.38 Post rating: 0   New post Posted: Thu 19 Jan, 2012, 17:27 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please refer to:
viewtopic.php?f=65&t=43153&p=56783


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com