...
Code Block |
---|
[compile] Compiling itm... run: [run] JVM Memory: min = 1g, max = 4g, stack = 20m [run] log4j.properties found in CLASSPATH: /gss_efgw_work/work/g2michal/cpt/development/isolated_kepler/kepler/itm/resources/log4j.properties [run] log4j:ERROR setFile(null,true) call failed. [run] java.io.FileNotFoundException: keplerLog4J.log (Permission denied) |
FIXED: I was able to overcome this issue (and at the same time changing work dir to different location) by implementing something like this inside file: kepler/build-area/src/org/kepler/build/Run.java
Code Block |
---|
Java java = new Java();
java.setDir(new java.io.File(System.getenv("KEPLER_WORK_DIR"))); |
Kepler is started in two phases. First one, responsible for collecting modules and starting another one (workflow execution). This process is maintained by Ant
. It is possible to overcome defaults and run the code in any directory (e.g. current one). At the moment, solution is little bit ugly (I am reading location - where Kepler is supposed to be started - from environment).
Running FC2K based actor inside Kepler
...