|
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.
/temp/.cache |
realdope
|
Post subject: /temp/.cache |
Post rating: 0
|
Posted: Sat 25 Feb, 2012, 22:21
|
|
User rating: -
|
Hi,
I'm running the JForex client via the JForex API on a remote Ubuntu platform and I do not have access to /temp. Is there a way to specify an alternative directory to replace /temp/.cache?
Below is the exception I'm getting:
com.dukascopy.charts.data.datacache.DataCacheException: Cannot create cache directory [/temp/.cache]. File.exists() - [false] File.mkdirs() - [false] from com/dukascopy/charts/data/datacache/LocalCacheManager.java:106:in `' from com/dukascopy/charts/data/datacache/FeedDataProvider.java:158:in `' from com/dukascopy/charts/data/datacache/FeedDataProvider.java:204:in `createFeedDataProvider' from com/dukascopy/charts/data/datacache/FeedDataProvider.java:193:in `createFeedDataProvider' from com/dukascopy/api/impl/connect/DCClientImpl.java:229:in `connect' from com/dukascopy/api/impl/connect/DCClientImpl.java:203:in `connect' from
Thanks!
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-3568 /temp/.cache |
Post rating: 0
|
Posted: Tue 28 Feb, 2012, 10:51
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
If it a Standalone API, use IClient.setCacheDirectory(path) If it JForex, go to Tools->Preferences->Advanced-> and change local cache path.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|