Skip to content

Commit

Permalink
Reconfigured the logging. Fixed FileException (at ObjectFileStorage.r…
Browse files Browse the repository at this point in the history
…ead): Impossibly large object
  • Loading branch information
KMax committed Jun 30, 2014
1 parent 1e888f4 commit 4382fe7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
34 changes: 34 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@
<groupId>org.apache.jena</groupId>
<artifactId>jena-tdb</artifactId>
<version>0.9.3</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.sleepycat</groupId>
Expand All @@ -27,6 +41,16 @@
<groupId>com.espertech</groupId>
<artifactId>esper</artifactId>
<version>4.2.0</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand All @@ -40,5 +64,15 @@
<version>1.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>1.7.7</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.7</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion src/main/java/org/deri/cqels/engine/ExecContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public ExecContext(String path, boolean cleanDataset) {
//combine cache and disk-based dictionary
this.dictionary = new NodeTableNative(IndexBuilder.mem().newIndex(FileSet.mem(),
SystemTDB.nodeRecordFactory),
FileFactory.createObjectFileMem(path));
FileFactory.createObjectFileDisk(path + "/dict"));
setEngine(new CQELSEngine(this));
createCache(path + "/cache");
if (cleanDataset) {
Expand Down
9 changes: 0 additions & 9 deletions src/main/resources/log4j.properties

This file was deleted.

0 comments on commit 4382fe7

Please sign in to comment.