Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

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

java.security.AccessControlException: access denied ("java.io.FilePermission" "process.log.10" "read")
 Post subject: java.security.AccessControlException: access denied ("java.io.FilePermission" "process.log.10" "read") Post rating: 0   New post Posted: Wed 16 Mar, 2016, 16:55 
User avatar

User rating: 0
Joined: Mon 19 Mar, 2012, 17:15
Posts: 10
Hi Team,
Most recently, over the last two weeks, I've started getting this error from running my strategy on the remote server.

Strategy is going to be stopped - due to caught exception from strategy.
java.security.AccessControlException: access denied ("java.io.FilePermission" "process.log.10" "read") @ jforex.OneWinOnlyVStrategy.onTick(OneWinOnlyVStrategy.java:615)


Line 615 is :if (shortOrder2.getProfitLossInUSD() >= (riskValue + totalCommissions + Math.abs(totalProfitLoss) + 2.0)){

This happens randomly at different similar code in my strategy. I know its not my machine because this is running on the remote server.

Is there a workaround for this? I've been using the platform for a couple of years now and this has only started recently with no code changes on my part.

Any assistance will be helpful.

Thanks


 
 Post subject: Re: java.security.AccessControlException: access denied ("java.io.FilePermission" "process.log.10" "read") Post rating: 0   New post Posted: Thu 31 Mar, 2016, 14:39 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Greetings,


Could you provide listing of your strategy?


Thank you


 

Jump to:  

  © 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