neo4j 1.0.0.beta.21-java → 1.0.0.beta.22-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/lib/neo4j.rb +6 -5
  2. data/lib/neo4j/database.rb +46 -11
  3. data/lib/neo4j/index/indexer_registry.rb +1 -2
  4. data/lib/neo4j/jars/{neo4j-index-1.2-1.2.M03.jar → neo4j-index-1.2-1.2.M04.jar} +0 -0
  5. data/lib/neo4j/jars/{neo4j-kernel-1.2-1.2.M03.jar → neo4j-kernel-1.2-1.2.M04.jar} +0 -0
  6. data/lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.M04.jar +0 -0
  7. data/lib/neo4j/mapping/class_methods/rule.rb +1 -1
  8. data/lib/neo4j/neo4j.rb +5 -1
  9. data/lib/neo4j/rails/railtie.rb +0 -1
  10. data/lib/neo4j/version.rb +1 -1
  11. data/lib/tmp/neo4j/index/lucene-store.db +0 -0
  12. data/lib/tmp/neo4j/lucene-fulltext/lucene-store.db +0 -0
  13. data/lib/tmp/neo4j/lucene/lucene-store.db +0 -0
  14. data/lib/tmp/neo4j/messages.log +134 -85
  15. data/lib/tmp/neo4j/neostore +0 -0
  16. data/lib/tmp/neo4j/neostore.nodestore.db +0 -0
  17. data/lib/tmp/neo4j/neostore.nodestore.db.id +0 -0
  18. data/lib/tmp/neo4j/neostore.propertystore.db +0 -0
  19. data/lib/tmp/neo4j/neostore.propertystore.db.id +0 -0
  20. data/lib/tmp/neo4j/neostore.propertystore.db.index.keys +0 -0
  21. data/lib/tmp/neo4j/neostore.propertystore.db.strings +0 -0
  22. data/lib/tmp/neo4j/neostore.propertystore.db.strings.id +0 -0
  23. data/lib/tmp/neo4j/neostore.relationshipstore.db +0 -0
  24. data/lib/tmp/neo4j/neostore.relationshipstore.db.id +0 -0
  25. data/lib/tmp/neo4j/neostore.relationshiptypestore.db +0 -0
  26. data/lib/tmp/neo4j/neostore.relationshiptypestore.db.id +0 -0
  27. data/lib/tmp/neo4j/neostore.relationshiptypestore.db.names +0 -0
  28. data/lib/tmp/neo4j/neostore.relationshiptypestore.db.names.id +0 -0
  29. data/lib/tmp/neo4j/tm_tx_log.1 +0 -0
  30. metadata +6 -6
  31. data/lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.M03.jar +0 -0
data/lib/neo4j.rb CHANGED
@@ -5,16 +5,19 @@ require 'forwardable'
5
5
  require 'time'
6
6
  require 'date'
7
7
 
8
- require 'neo4j/jars/neo4j-index-1.2-1.2.M03.jar'
9
- require 'neo4j/jars/neo4j-kernel-1.2-1.2.M03.jar'
10
- require 'neo4j/jars/neo4j-lucene-index-0.2-1.2.M03.jar'
8
+ require 'neo4j/jars/neo4j-index-1.2-1.2.M04.jar'
9
+ require 'neo4j/jars/neo4j-kernel-1.2-1.2.M04.jar'
10
+ require 'neo4j/jars/neo4j-lucene-index-0.2-1.2.M04.jar'
11
11
  require 'neo4j/jars/geronimo-jta_1.1_spec-1.1.1.jar'
12
12
  require 'neo4j/jars/lucene-core-3.0.2.jar'
13
+
13
14
  require 'neo4j/to_java'
14
15
  require 'neo4j/version'
15
16
  require 'neo4j/equal'
16
17
 
17
18
  require 'neo4j/event_handler'
19
+ require 'neo4j/type_converters'
20
+ require 'neo4j/config'
18
21
  require 'neo4j/database'
19
22
  require 'neo4j/neo4j'
20
23
 
@@ -31,8 +34,6 @@ require 'neo4j/node_relationship'
31
34
  require 'neo4j/load'
32
35
  require 'neo4j/relationship'
33
36
  require 'neo4j/node'
34
- require 'neo4j/config'
35
- require 'neo4j/type_converters'
36
37
  require 'neo4j/mapping/class_methods/init_node'
37
38
  require 'neo4j/mapping/class_methods/init_rel'
38
39
  require 'neo4j/mapping/class_methods/property'
@@ -1,3 +1,6 @@
1
+ require 'drb'
2
+ require 'socket'
3
+
1
4
  module Neo4j
2
5
  class Database #:nodoc:
3
6
  attr_reader :graph, :lucene, :event_handler
@@ -6,30 +9,62 @@ module Neo4j
6
9
  @event_handler = EventHandler.new
7
10
  end
8
11
 
9
-
10
12
  def start
13
+ return if running?
14
+ @running = true
15
+
16
+ if self.class.locked?
17
+ start_readonly_graph_db
18
+ else
19
+ start_local_graph_db
20
+ end
21
+
22
+ at_exit { shutdown }
23
+ end
24
+
25
+ def start_readonly_graph_db
26
+ puts "Starting Neo4j in readonly mode since the #{Config[:storage_path]} is locked"
27
+ @graph = org.neo4j.kernel.EmbeddedReadOnlyGraphDatabase.new(Config[:storage_path])
28
+ end
29
+
30
+ def start_local_graph_db
11
31
  @graph = org.neo4j.kernel.EmbeddedGraphDatabase.new(Config[:storage_path])
12
- @lucene = @graph.index #org.neo4j.index.impl.lucene.LuceneIndexProvider.new
13
32
  @graph.register_transaction_event_handler(@event_handler)
14
- @running = true
33
+ @lucene = @graph.index #org.neo4j.index.impl.lucene.LuceneIndexProvider.new
15
34
  @event_handler.neo4j_started(self)
16
- at_exit { shutdown }
17
35
  end
18
36
 
37
+ def running?
38
+ @running
39
+ end
40
+
41
+ def read_only?
42
+ @graph.isReadOnly
43
+ end
44
+
45
+ def self.locked?
46
+ lock_file = File.join(::Neo4j::Config[:storage_path], 'neostore')
47
+ return false unless File.exist?(lock_file)
48
+ rfile = java.io.RandomAccessFile.new(lock_file, 'rw')
49
+ begin
50
+ lock = rfile.getChannel.tryLock
51
+ lock.release if lock
52
+ return lock == nil # we got the lock, so that means it is not locked.
53
+ rescue Exception => e
54
+ return false
55
+ end
56
+ end
57
+
19
58
  def shutdown
20
59
  if @running
21
- @graph.unregister_transaction_event_handler(@event_handler)
60
+ @graph.unregister_transaction_event_handler(@event_handler) unless read_only?
22
61
  @event_handler.neo4j_shutdown(self)
23
62
  @graph.shutdown
24
- @graph = nil
63
+ @graph = nil
25
64
  @lucene = nil
65
+ @running = false
26
66
  end
27
67
 
28
- @running = false
29
- end
30
-
31
- def running?
32
- @running
33
68
  end
34
69
 
35
70
  def begin_tx
@@ -62,7 +62,6 @@ module Neo4j
62
62
  end
63
63
  end
64
64
  end
65
- Neo4j.unstarted_db.event_handler.add(IndexerRegistry)
66
-
65
+ Neo4j.unstarted_db.event_handler.add(IndexerRegistry) unless Neo4j.read_only?
67
66
  end
68
67
  end
@@ -290,6 +290,6 @@ module Neo4j::Mapping
290
290
 
291
291
  end
292
292
 
293
- Neo4j.unstarted_db.event_handler.add(Rules)
293
+ Neo4j.unstarted_db.event_handler.add(Rules) unless Neo4j.read_only?
294
294
  end
295
295
  end
data/lib/neo4j/neo4j.rb CHANGED
@@ -30,7 +30,11 @@ module Neo4j
30
30
  @db ||= Database.new
31
31
  end
32
32
 
33
- # Returns a started db instance. Starts it if's not running.
33
+ def read_only?
34
+ @db && @db.graph && @db.graph.read_only?
35
+ end
36
+
37
+ # Returns a started db instance. Starts it's not running.
34
38
  def started_db
35
39
  db = default_db
36
40
  db.start unless db.running?
@@ -15,7 +15,6 @@ module Neo4j
15
15
  # register migrations in config/initializers
16
16
  initializer "neo4j.start", :after => :load_config_initializers do |app|
17
17
  Neo4j::Config.setup.merge!(app.config.neo4j.to_hash)
18
- Neo4j.start
19
18
  end
20
19
  end
21
20
  end
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "1.0.0.beta.21"
2
+ VERSION = "1.0.0.beta.22"
3
3
  end
Binary file
Binary file
@@ -1,85 +1,134 @@
1
- Mon Nov 22 21:33:31 CET 2010: Creating new db @ tmp/neo4j/neostore
2
- Mon Nov 22 21:33:31 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
3
- Mon Nov 22 21:33:31 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
4
- Mon Nov 22 21:33:31 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
5
- Mon Nov 22 21:33:32 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
6
- Mon Nov 22 21:33:32 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
7
- Mon Nov 22 21:33:32 CET 2010: TM new log: tm_tx_log.1
8
- Mon Nov 22 21:33:32 CET 2010: --- CONFIGURATION START ---
9
- Mon Nov 22 21:33:32 CET 2010: Physical mem: 4017MB, Heap size: 483MB
10
- Mon Nov 22 21:33:32 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M03
11
- Mon Nov 22 21:33:32 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
12
- Mon Nov 22 21:33:32 CET 2010: VM Name: Java HotSpot(TM) Client VM
13
- Mon Nov 22 21:33:32 CET 2010: VM Vendor: Sun Microsystems Inc.
14
- Mon Nov 22 21:33:32 CET 2010: VM Version: 17.1-b03
15
- Mon Nov 22 21:33:32 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
16
- Mon Nov 22 21:33:32 CET 2010: Class Path: :
17
- Mon Nov 22 21:33:32 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
18
- Mon Nov 22 21:33:32 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
19
- Mon Nov 22 21:33:32 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
20
- Mon Nov 22 21:33:32 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
21
- Mon Nov 22 21:33:32 CET 2010:
22
- Mon Nov 22 21:33:32 CET 2010: create=true
23
- Mon Nov 22 21:33:32 CET 2010: dir=tmp/neo4j/lucene-fulltext
24
- Mon Nov 22 21:33:32 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
25
- Mon Nov 22 21:33:32 CET 2010: neo_store=tmp/neo4j/neostore
26
- Mon Nov 22 21:33:32 CET 2010: neostore.nodestore.db.mapped_memory=20M
27
- Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
28
- Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
29
- Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
30
- Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.mapped_memory=90M
31
- Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
32
- Mon Nov 22 21:33:32 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
33
- Mon Nov 22 21:33:32 CET 2010: rebuild_idgenerators_fast=true
34
- Mon Nov 22 21:33:32 CET 2010: store_dir=tmp/neo4j
35
- Mon Nov 22 21:33:32 CET 2010: --- CONFIGURATION END ---
36
- Mon Nov 22 21:33:32 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
37
- Mon Nov 22 22:41:58 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
38
- Mon Nov 22 22:41:58 CET 2010: NeoStore closed
39
- Mon Nov 22 22:41:58 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
40
- Mon Nov 22 22:41:58 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
41
- Mon Nov 22 22:41:58 CET 2010: NeoStore closed
42
- Mon Nov 22 22:41:58 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
43
- Mon Nov 22 22:41:58 CET 2010: TM shutting down
44
- Wed Nov 24 14:18:31 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
45
- Wed Nov 24 14:18:31 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
46
- Wed Nov 24 14:18:31 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
47
- Wed Nov 24 14:18:31 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
48
- Wed Nov 24 14:18:31 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
49
- Wed Nov 24 14:18:31 CET 2010: TM opening log: tmp/neo4j/tm_tx_log.1
50
- Wed Nov 24 14:18:31 CET 2010: --- CONFIGURATION START ---
51
- Wed Nov 24 14:18:31 CET 2010: Physical mem: 4017MB, Heap size: 483MB
52
- Wed Nov 24 14:18:31 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M03
53
- Wed Nov 24 14:18:31 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
54
- Wed Nov 24 14:18:31 CET 2010: VM Name: Java HotSpot(TM) Client VM
55
- Wed Nov 24 14:18:31 CET 2010: VM Vendor: Sun Microsystems Inc.
56
- Wed Nov 24 14:18:31 CET 2010: VM Version: 17.1-b03
57
- Wed Nov 24 14:18:31 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
58
- Wed Nov 24 14:18:31 CET 2010: Class Path: :
59
- Wed Nov 24 14:18:31 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
60
- Wed Nov 24 14:18:31 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
61
- Wed Nov 24 14:18:31 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
62
- Wed Nov 24 14:18:31 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
63
- Wed Nov 24 14:18:31 CET 2010:
64
- Wed Nov 24 14:18:31 CET 2010: create=true
65
- Wed Nov 24 14:18:31 CET 2010: dir=tmp/neo4j/lucene-fulltext
66
- Wed Nov 24 14:18:31 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
67
- Wed Nov 24 14:18:31 CET 2010: neo_store=tmp/neo4j/neostore
68
- Wed Nov 24 14:18:31 CET 2010: neostore.nodestore.db.mapped_memory=20M
69
- Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
70
- Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
71
- Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
72
- Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.mapped_memory=90M
73
- Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
74
- Wed Nov 24 14:18:31 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
75
- Wed Nov 24 14:18:31 CET 2010: rebuild_idgenerators_fast=true
76
- Wed Nov 24 14:18:31 CET 2010: store_dir=tmp/neo4j
77
- Wed Nov 24 14:18:31 CET 2010: --- CONFIGURATION END ---
78
- Wed Nov 24 14:18:31 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
79
- Wed Nov 24 14:49:39 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
80
- Wed Nov 24 14:49:39 CET 2010: NeoStore closed
81
- Wed Nov 24 14:49:39 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
82
- Wed Nov 24 14:49:39 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
83
- Wed Nov 24 14:49:39 CET 2010: NeoStore closed
84
- Wed Nov 24 14:49:39 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
85
- Wed Nov 24 14:49:39 CET 2010: TM shutting down
1
+ Thu Nov 25 13:54:56 CET 2010: Creating new db @ tmp/neo4j/neostore
2
+ Thu Nov 25 13:54:57 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
3
+ Thu Nov 25 13:54:57 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
4
+ Thu Nov 25 13:54:57 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
5
+ Thu Nov 25 13:54:57 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
6
+ Thu Nov 25 13:54:57 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
7
+ Thu Nov 25 13:54:57 CET 2010: TM new log: tm_tx_log.1
8
+ Thu Nov 25 13:54:57 CET 2010: --- CONFIGURATION START ---
9
+ Thu Nov 25 13:54:57 CET 2010: Physical mem: 4017MB, Heap size: 483MB
10
+ Thu Nov 25 13:54:57 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M04
11
+ Thu Nov 25 13:54:57 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
12
+ Thu Nov 25 13:54:57 CET 2010: VM Name: Java HotSpot(TM) Client VM
13
+ Thu Nov 25 13:54:57 CET 2010: VM Vendor: Sun Microsystems Inc.
14
+ Thu Nov 25 13:54:57 CET 2010: VM Version: 17.1-b03
15
+ Thu Nov 25 13:54:57 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
16
+ Thu Nov 25 13:54:57 CET 2010: Class Path: :
17
+ Thu Nov 25 13:54:57 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
18
+ Thu Nov 25 13:54:57 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
19
+ Thu Nov 25 13:54:57 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
20
+ Thu Nov 25 13:54:57 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
21
+ Thu Nov 25 13:54:57 CET 2010:
22
+ Thu Nov 25 13:54:57 CET 2010: create=true
23
+ Thu Nov 25 13:54:57 CET 2010: dir=tmp/neo4j/lucene-fulltext
24
+ Thu Nov 25 13:54:57 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
25
+ Thu Nov 25 13:54:57 CET 2010: neo_store=tmp/neo4j/neostore
26
+ Thu Nov 25 13:54:57 CET 2010: neostore.nodestore.db.mapped_memory=20M
27
+ Thu Nov 25 13:54:57 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
28
+ Thu Nov 25 13:54:57 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
29
+ Thu Nov 25 13:54:57 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
30
+ Thu Nov 25 13:54:57 CET 2010: neostore.propertystore.db.mapped_memory=90M
31
+ Thu Nov 25 13:54:57 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
32
+ Thu Nov 25 13:54:57 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
33
+ Thu Nov 25 13:54:57 CET 2010: rebuild_idgenerators_fast=true
34
+ Thu Nov 25 13:54:57 CET 2010: store_dir=tmp/neo4j
35
+ Thu Nov 25 13:54:57 CET 2010: --- CONFIGURATION END ---
36
+ Thu Nov 25 13:54:57 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
37
+ Thu Nov 25 14:02:17 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
38
+ Thu Nov 25 14:02:17 CET 2010: NeoStore closed
39
+ Thu Nov 25 14:02:17 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
40
+ Thu Nov 25 14:02:17 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
41
+ Thu Nov 25 14:02:17 CET 2010: NeoStore closed
42
+ Thu Nov 25 14:02:17 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
43
+ Thu Nov 25 14:02:17 CET 2010: TM shutting down
44
+ Thu Nov 25 14:36:51 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
45
+ Thu Nov 25 14:36:51 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
46
+ Thu Nov 25 14:36:51 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
47
+ Thu Nov 25 14:36:51 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
48
+ Thu Nov 25 14:36:51 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
49
+ Thu Nov 25 14:36:51 CET 2010: TM opening log: tmp/neo4j/tm_tx_log.1
50
+ Thu Nov 25 14:36:51 CET 2010: --- CONFIGURATION START ---
51
+ Thu Nov 25 14:36:51 CET 2010: Physical mem: 4017MB, Heap size: 483MB
52
+ Thu Nov 25 14:36:51 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M04
53
+ Thu Nov 25 14:36:51 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
54
+ Thu Nov 25 14:36:51 CET 2010: VM Name: Java HotSpot(TM) Client VM
55
+ Thu Nov 25 14:36:51 CET 2010: VM Vendor: Sun Microsystems Inc.
56
+ Thu Nov 25 14:36:51 CET 2010: VM Version: 17.1-b03
57
+ Thu Nov 25 14:36:51 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
58
+ Thu Nov 25 14:36:51 CET 2010: Class Path: :
59
+ Thu Nov 25 14:36:51 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
60
+ Thu Nov 25 14:36:51 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
61
+ Thu Nov 25 14:36:51 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
62
+ Thu Nov 25 14:36:51 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
63
+ Thu Nov 25 14:36:51 CET 2010:
64
+ Thu Nov 25 14:36:51 CET 2010: create=true
65
+ Thu Nov 25 14:36:51 CET 2010: dir=tmp/neo4j/lucene-fulltext
66
+ Thu Nov 25 14:36:51 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
67
+ Thu Nov 25 14:36:51 CET 2010: neo_store=tmp/neo4j/neostore
68
+ Thu Nov 25 14:36:51 CET 2010: neostore.nodestore.db.mapped_memory=20M
69
+ Thu Nov 25 14:36:51 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
70
+ Thu Nov 25 14:36:51 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
71
+ Thu Nov 25 14:36:51 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
72
+ Thu Nov 25 14:36:51 CET 2010: neostore.propertystore.db.mapped_memory=90M
73
+ Thu Nov 25 14:36:51 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
74
+ Thu Nov 25 14:36:51 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
75
+ Thu Nov 25 14:36:51 CET 2010: rebuild_idgenerators_fast=true
76
+ Thu Nov 25 14:36:51 CET 2010: store_dir=tmp/neo4j
77
+ Thu Nov 25 14:36:51 CET 2010: --- CONFIGURATION END ---
78
+ Thu Nov 25 14:36:51 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
79
+ Thu Nov 25 14:37:10 CET 2010: Non clean shutdown detected on log [tmp/neo4j/lucene/lucene.log.1]. Recovery started ...
80
+ Thu Nov 25 14:37:10 CET 2010: [tmp/neo4j/lucene/lucene.log.1] logVersion=0 with committed tx=1
81
+ Thu Nov 25 14:37:10 CET 2010: [tmp/neo4j/lucene/lucene.log.1] entries found=0 lastEntryPos=16
82
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[tmp/neo4j/lucene/lucene.log] sorting 0 xids
83
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[tmp/neo4j/lucene/lucene.log] checkRecoveryComplete 0 xids
84
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[tmp/neo4j/lucene/lucene.log] recovery completed.
85
+ Thu Nov 25 14:37:10 CET 2010: Non clean shutdown detected on log [tmp/neo4j/lucene-fulltext/lucene.log.1]. Recovery started ...
86
+ Thu Nov 25 14:37:10 CET 2010: [tmp/neo4j/lucene-fulltext/lucene.log.1] logVersion=0 with committed tx=1
87
+ Thu Nov 25 14:37:10 CET 2010: [tmp/neo4j/lucene-fulltext/lucene.log.1] entries found=0 lastEntryPos=16
88
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[tmp/neo4j/lucene-fulltext/lucene.log] sorting 0 xids
89
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[tmp/neo4j/lucene-fulltext/lucene.log] checkRecoveryComplete 0 xids
90
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[tmp/neo4j/lucene-fulltext/lucene.log] recovery completed.
91
+ Thu Nov 25 14:37:10 CET 2010: Non clean shutdown detected on log [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1]. Recovery started ...
92
+ Thu Nov 25 14:37:10 CET 2010: [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] logVersion=0 with committed tx=1
93
+ Thu Nov 25 14:37:10 CET 2010: [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] entries found=0 lastEntryPos=16
94
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log] sorting 0 xids
95
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log] checkRecoveryComplete 0 xids
96
+ Thu Nov 25 14:37:10 CET 2010: XaResourceManager[/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log] recovery completed.
97
+ Thu Nov 25 14:37:10 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
98
+ Thu Nov 25 14:37:10 CET 2010: --- CONFIGURATION START ---
99
+ Thu Nov 25 14:37:10 CET 2010: Physical mem: 4017MB, Heap size: 483MB
100
+ Thu Nov 25 14:37:10 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M04
101
+ Thu Nov 25 14:37:10 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
102
+ Thu Nov 25 14:37:10 CET 2010: VM Name: Java HotSpot(TM) Client VM
103
+ Thu Nov 25 14:37:10 CET 2010: VM Vendor: Sun Microsystems Inc.
104
+ Thu Nov 25 14:37:10 CET 2010: VM Version: 17.1-b03
105
+ Thu Nov 25 14:37:10 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
106
+ Thu Nov 25 14:37:10 CET 2010: Class Path: :
107
+ Thu Nov 25 14:37:10 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
108
+ Thu Nov 25 14:37:10 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
109
+ Thu Nov 25 14:37:10 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
110
+ Thu Nov 25 14:37:10 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
111
+ Thu Nov 25 14:37:10 CET 2010:
112
+ Thu Nov 25 14:37:10 CET 2010: create=true
113
+ Thu Nov 25 14:37:10 CET 2010: dir=tmp/neo4j/lucene-fulltext
114
+ Thu Nov 25 14:37:10 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
115
+ Thu Nov 25 14:37:10 CET 2010: neo_store=tmp/neo4j/neostore
116
+ Thu Nov 25 14:37:10 CET 2010: neostore.nodestore.db.mapped_memory=20M
117
+ Thu Nov 25 14:37:10 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
118
+ Thu Nov 25 14:37:10 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
119
+ Thu Nov 25 14:37:10 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
120
+ Thu Nov 25 14:37:10 CET 2010: neostore.propertystore.db.mapped_memory=90M
121
+ Thu Nov 25 14:37:10 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
122
+ Thu Nov 25 14:37:10 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
123
+ Thu Nov 25 14:37:10 CET 2010: read_only=true
124
+ Thu Nov 25 14:37:10 CET 2010: rebuild_idgenerators_fast=true
125
+ Thu Nov 25 14:37:10 CET 2010: store_dir=tmp/neo4j
126
+ Thu Nov 25 14:37:10 CET 2010: --- CONFIGURATION END ---
127
+ Thu Nov 25 14:37:10 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
128
+ Thu Nov 25 14:38:03 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
129
+ Thu Nov 25 14:38:03 CET 2010: NeoStore closed
130
+ Thu Nov 25 14:38:03 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
131
+ Thu Nov 25 14:38:03 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
132
+ Thu Nov 25 14:38:03 CET 2010: NeoStore closed
133
+ Thu Nov 25 14:38:03 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
134
+ Thu Nov 25 14:38:03 CET 2010: TM shutting down
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 0
8
8
  - 0
9
9
  - beta
10
- - 21
11
- version: 1.0.0.beta.21
10
+ - 22
11
+ version: 1.0.0.beta.22
12
12
  platform: java
13
13
  authors:
14
14
  - Andreas Ronge
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-24 00:00:00 +01:00
19
+ date: 2010-11-25 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -144,11 +144,11 @@ files:
144
144
  - lib/neo4j/rails/mapping/property.rb
145
145
  - lib/neo4j/rails/validations/uniqueness.rb
146
146
  - lib/neo4j/rails/validations/non_nil.rb
147
+ - lib/neo4j/jars/neo4j-index-1.2-1.2.M04.jar
148
+ - lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.M04.jar
147
149
  - lib/neo4j/jars/geronimo-jta_1.1_spec-1.1.1.jar
148
150
  - lib/neo4j/jars/lucene-core-3.0.2.jar
149
- - lib/neo4j/jars/neo4j-index-1.2-1.2.M03.jar
150
- - lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.M03.jar
151
- - lib/neo4j/jars/neo4j-kernel-1.2-1.2.M03.jar
151
+ - lib/neo4j/jars/neo4j-kernel-1.2-1.2.M04.jar
152
152
  - lib/neo4j/mapping/decl_relationship_dsl.rb
153
153
  - lib/neo4j/mapping/node_mixin.rb
154
154
  - lib/neo4j/mapping/has_n.rb