parrondo / trade-manager

Automatically exported from code.google.com/p/trade-manager
0 stars 2 forks source link

strategies dir not in config #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just installed it and tried running it.  It crashes, popping up the following 
message
The property "trade.strategy.default.dir" was not found in the property file 
"config.properties" // please check log

Apparently, it isn't able to see the I also get the following in the terminal:
log4j:ERROR Could not read configuration file from URL [file:config.properties].
java.io.FileNotFoundException: config.properties (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:137)

I tried mucking around with the last line of trademanager.sh to somehow try to 
make it use trade-manager/config/config.properties but to no avail.

(Using trade-manager-2.6.3 on Debian wheezy)

Original issue reported on code.google.com by che...@gmail.com on 17 Jul 2012 at 3:10

GoogleCodeExporter commented 9 years ago
Did you copy the config.properties from the /config dir to directory from where 
you installed the application (e.g. c:\TradeManager from 
c:\TradeManager\config), as the application looks in the dir where the app is 
run from for the config.properties. See install instructions. I did this so 
that your config.properties will never be over written when install newer 
versions of the app. Note also there is a java parm used on start up 
-Dlog4j.configuration=file:"config.properties"

Thanks
Simon

Original comment by simon.allen on 17 Jul 2012 at 11:00

GoogleCodeExporter commented 9 years ago
Thanks, that worked (should have read the installation instructions); however 
it seems to not be able to open the JDBC connection.  If I still can't get it 
to work I'll post again

Original comment by che...@gmail.com on 20 Jul 2012 at 12:53