neo4j_server 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +5 -0
  3. data/Rakefile +4 -0
  4. data/bin/neo4j_server +53 -0
  5. data/lib/neo4j_server/java.rb +8 -0
  6. data/lib/neo4j_server/server.rb +96 -0
  7. data/lib/neo4j_server/tasks.rb +18 -0
  8. data/lib/neo4j_server/version.rb +3 -0
  9. data/neo4j/CHANGES.txt +618 -0
  10. data/neo4j/LICENSE.txt +695 -0
  11. data/neo4j/LICENSES.txt +2614 -0
  12. data/neo4j/NOTICE.txt +220 -0
  13. data/neo4j/README.txt +62 -0
  14. data/neo4j/UPGRADE.txt +167 -0
  15. data/neo4j/conf/README.txt +16 -0
  16. data/neo4j/conf/logging.properties +73 -0
  17. data/neo4j/conf/neo4j-http-logging.xml +37 -0
  18. data/neo4j/conf/neo4j-server.properties +85 -0
  19. data/neo4j/conf/neo4j-wrapper.conf +38 -0
  20. data/neo4j/conf/neo4j.properties +30 -0
  21. data/neo4j/conf/windows-wrapper-logging.properties +73 -0
  22. data/neo4j/lib/README.txt +16 -0
  23. data/neo4j/lib/geronimo-jta_1.1_spec-1.1.1.jar +0 -0
  24. data/neo4j/lib/lucene-core-3.5.0.jar +0 -0
  25. data/neo4j/lib/neo4j-cypher-1.8.1.jar +0 -0
  26. data/neo4j/lib/neo4j-graph-algo-1.8.1.jar +0 -0
  27. data/neo4j/lib/neo4j-graph-matching-1.8.1.jar +0 -0
  28. data/neo4j/lib/neo4j-jmx-1.8.1.jar +0 -0
  29. data/neo4j/lib/neo4j-kernel-1.8.1.jar +0 -0
  30. data/neo4j/lib/neo4j-lucene-index-1.8.1.jar +0 -0
  31. data/neo4j/lib/neo4j-shell-1.8.1.jar +0 -0
  32. data/neo4j/lib/neo4j-udc-1.8.1.jar +0 -0
  33. data/neo4j/lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar +0 -0
  34. data/neo4j/lib/scala-library-2.9.1-1.jar +0 -0
  35. data/neo4j/lib/server-api-1.8.1.jar +0 -0
  36. data/neo4j/plugins/README.txt +13 -0
  37. data/neo4j/system/README.txt +9 -0
  38. data/neo4j/system/lib/README.txt +7 -0
  39. data/neo4j/system/lib/antlr-2.7.7.jar +0 -0
  40. data/neo4j/system/lib/asm-3.1.jar +0 -0
  41. data/neo4j/system/lib/asm-analysis-3.2.jar +0 -0
  42. data/neo4j/system/lib/asm-commons-3.2.jar +0 -0
  43. data/neo4j/system/lib/asm-tree-3.2.jar +0 -0
  44. data/neo4j/system/lib/asm-util-3.2.jar +0 -0
  45. data/neo4j/system/lib/bcprov-jdk16-140.jar +0 -0
  46. data/neo4j/system/lib/blueprints-core-1.2.jar +0 -0
  47. data/neo4j/system/lib/blueprints-neo4j-graph-1.2.jar +0 -0
  48. data/neo4j/system/lib/commons-beanutils-1.8.0.jar +0 -0
  49. data/neo4j/system/lib/commons-beanutils-core-1.8.0.jar +0 -0
  50. data/neo4j/system/lib/commons-collections-3.2.1.jar +0 -0
  51. data/neo4j/system/lib/commons-configuration-1.6.jar +0 -0
  52. data/neo4j/system/lib/commons-digester-1.8.1.jar +0 -0
  53. data/neo4j/system/lib/commons-io-1.4.jar +0 -0
  54. data/neo4j/system/lib/commons-lang-2.4.jar +0 -0
  55. data/neo4j/system/lib/commons-logging-1.1.1.jar +0 -0
  56. data/neo4j/system/lib/concurrentlinkedhashmap-lru-1.3.1.jar +0 -0
  57. data/neo4j/system/lib/gremlin-groovy-1.5.jar +0 -0
  58. data/neo4j/system/lib/gremlin-java-1.5.jar +0 -0
  59. data/neo4j/system/lib/groovy-1.8.5.jar +0 -0
  60. data/neo4j/system/lib/jackson-core-asl-1.9.7.jar +0 -0
  61. data/neo4j/system/lib/jackson-jaxrs-1.9.7.jar +0 -0
  62. data/neo4j/system/lib/jackson-mapper-asl-1.9.7.jar +0 -0
  63. data/neo4j/system/lib/janino-2.5.10.jar +0 -0
  64. data/neo4j/system/lib/jansi-1.5.jar +0 -0
  65. data/neo4j/system/lib/jcl-over-slf4j-1.6.1.jar +0 -0
  66. data/neo4j/system/lib/jersey-core-1.9.jar +0 -0
  67. data/neo4j/system/lib/jersey-multipart-1.9.jar +0 -0
  68. data/neo4j/system/lib/jersey-server-1.9.jar +0 -0
  69. data/neo4j/system/lib/jettison-1.3.jar +0 -0
  70. data/neo4j/system/lib/jetty-6.1.25.jar +0 -0
  71. data/neo4j/system/lib/jetty-util-6.1.25.jar +0 -0
  72. data/neo4j/system/lib/jsr311-api-1.1.2.r612.jar +0 -0
  73. data/neo4j/system/lib/logback-access-0.9.30.jar +0 -0
  74. data/neo4j/system/lib/logback-classic-0.9.30.jar +0 -0
  75. data/neo4j/system/lib/logback-core-0.9.30.jar +0 -0
  76. data/neo4j/system/lib/mimepull-1.6.jar +0 -0
  77. data/neo4j/system/lib/neo4j-cypher-plugin-1.8.1.jar +0 -0
  78. data/neo4j/system/lib/neo4j-gremlin-plugin-1.8.1.jar +0 -0
  79. data/neo4j/system/lib/neo4j-server-1.8.1-static-web.jar +0 -0
  80. data/neo4j/system/lib/neo4j-server-1.8.1.jar +0 -0
  81. data/neo4j/system/lib/pipes-1.0.jar +0 -0
  82. data/neo4j/system/lib/rrd4j-2.0.7.jar +0 -0
  83. data/neo4j/system/lib/servlet-api-2.5-20081211.jar +0 -0
  84. data/neo4j/system/lib/slf4j-api-1.6.2.jar +0 -0
  85. data/neo4j/system/lib/stax-api-1.0.1.jar +0 -0
  86. data/neo4j_server.gemspec +32 -0
  87. metadata +138 -0
@@ -0,0 +1,16 @@
1
+ Neo4j Configuration
2
+ =======================================
3
+
4
+ Neo4j configuration files.
5
+
6
+ * neo4j-server.properties -- runtime operational settings
7
+ * neo4j.properties -- database configuration
8
+ * neo4j-wrapper.conf -- environment and launch settings for Neo4j Server
9
+ * loggging.properties -- java.util.logging settings for Neo4j Server
10
+ * windows-wrapper-logging.properties -- java.util.logging settings for the windows service wrapper
11
+
12
+ References
13
+ ----------
14
+
15
+ * [Neo4j Server Usage](/doc/neo4j-server.txt)
16
+ * [Java Logging Overview](http://download.oracle.com/javase/6/docs/technotes/guides/logging/overview.html)
@@ -0,0 +1,73 @@
1
+ # Properties file which configures the operation of the JDK
2
+ # logging facility.
3
+
4
+ # The system will look for this config file, first using
5
+ # a System property specified at startup:
6
+ #
7
+ # >java -Djava.util.logging.config.file=myLoggingConfigFilePath
8
+ #
9
+ # If this property is not specified, then the config file is
10
+ # retrieved from its default location at:
11
+ #
12
+ # JDK_HOME/jre/lib/logging.properties
13
+
14
+ # Global logging properties.
15
+ # ------------------------------------------
16
+ # The set of handlers to be loaded upon startup.
17
+ # Comma-separated list of class names.
18
+ # (? LogManager docs say no comma here, but JDK example has comma.)
19
+ handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
20
+
21
+ # Default global logging level.
22
+ # Loggers and Handlers may override this level
23
+ # SEVERE, INFO, FINE, FINEST
24
+ .level=INFO
25
+
26
+ # Loggers
27
+ # ------------------------------------------
28
+ # Loggers are usually attached to packages.
29
+ # Here, the level for each package is specified.
30
+ # The global level is used by default, so levels
31
+ # specified here simply act as an override.
32
+ org.neo4j.server.level=INFO
33
+
34
+ # Handlers
35
+ # -----------------------------------------
36
+
37
+ # --- ConsoleHandler ---
38
+ # Override of global logging level
39
+ java.util.logging.ConsoleHandler.level=INFO
40
+ java.util.logging.ConsoleHandler.formatter=org.neo4j.server.logging.SimpleConsoleFormatter
41
+ java.util.logging.ConsoleHandler.filter=org.neo4j.server.logging.NeoLogFilter
42
+
43
+ # --- FileHandler ---
44
+ # Override of global logging level
45
+ java.util.logging.FileHandler.level=ALL
46
+
47
+ # Naming style for the output file:
48
+ # (The output file is placed in the directory
49
+ # defined by the "user.home" System property.)
50
+ # "/" the local pathname separator
51
+ # "%t" the system temporary directory
52
+ # "%h" the value of the "user.home" system property
53
+ # "%g" the generation number to distinguish rotated logs
54
+ # "%u" a unique number to resolve conflicts
55
+ # "%%" translates to a single percent sign "%"
56
+ java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log
57
+
58
+ # Specifies whether the FileHandler should append onto any existing files (defaults to false).
59
+ java.util.logging.FileHandler.append=true
60
+
61
+ # Limiting size of output file in bytes (10M):
62
+ java.util.logging.FileHandler.limit=10000000
63
+
64
+ # Number of output files to cycle through, by appending an
65
+ # integer to the base file name:
66
+ java.util.logging.FileHandler.count=10
67
+
68
+ # The name of the character set encoding to use (defaults to the default platform encoding).
69
+ #java.util.logging.FileHandler.encoding=
70
+
71
+ # Style of output (Simple or XML):
72
+ java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
73
+
@@ -0,0 +1,37 @@
1
+ <!--
2
+
3
+ Copyright (c) 2002-2012 "Neo Technology,"
4
+ Network Engine for Objects in Lund AB [http://neotechnology.com]
5
+
6
+ This file is part of Neo4j.
7
+
8
+ Neo4j is free software: you can redistribute it and/or modify
9
+ it under the terms of the GNU Affero General Public License as
10
+ published by the Free Software Foundation, either version 3 of the
11
+ License, or (at your option) any later version.
12
+
13
+ This program is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ GNU Affero General Public License for more details.
17
+
18
+ You should have received a copy of the GNU Affero General Public License
19
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+
21
+ -->
22
+ <configuration>
23
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
24
+ <file>data/log/http.log</file>
25
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
26
+ <fileNamePattern>data/log/http.%d{yyyy-MM-dd_HH}.log</fileNamePattern>
27
+ <maxHistory>30</maxHistory>
28
+ </rollingPolicy>
29
+
30
+ <encoder>
31
+ <!-- Note the deliberate misspelling of "referer" in accordance with RFC1616 -->
32
+ <pattern>%h %l %user [%t{dd/MMM/yyyy:HH:mm:ss Z}] "%r" %s %b "%i{Referer}" "%i{User-Agent}"</pattern>
33
+ </encoder>
34
+ </appender>
35
+
36
+ <appender-ref ref="FILE"/>
37
+ </configuration>
@@ -0,0 +1,85 @@
1
+ ################################################################
2
+ # Neo4j configuration
3
+ #
4
+ ################################################################
5
+
6
+ #***************************************************************
7
+ # Server configuration
8
+ #***************************************************************
9
+
10
+ # location of the database directory
11
+ org.neo4j.server.database.location=data/graph.db
12
+
13
+ # let the webserver only listen on the specified IP. Default
14
+ # is localhost (only accept local connections). Uncomment to allow
15
+ # any connection. Please see the security section in the neo4j
16
+ # manual before modifying this.
17
+ #org.neo4j.server.webserver.address=0.0.0.0
18
+
19
+ #
20
+ # HTTP Connector
21
+ #
22
+
23
+ # http port (for all data, administrative, and UI access)
24
+ org.neo4j.server.webserver.port=7474
25
+
26
+ #
27
+ # HTTPS Connector
28
+ #
29
+
30
+ # Turn https-support on/off
31
+ org.neo4j.server.webserver.https.enabled=true
32
+
33
+ # https port (for all data, administrative, and UI access)
34
+ org.neo4j.server.webserver.https.port=7473
35
+
36
+ # Certificate location (auto generated if the file does not exist)
37
+ org.neo4j.server.webserver.https.cert.location=conf/ssl/snakeoil.cert
38
+
39
+ # Private key location (auto generated if the file does not exist)
40
+ org.neo4j.server.webserver.https.key.location=conf/ssl/snakeoil.key
41
+
42
+ # Internally generated keystore (don't try to put your own
43
+ # keystore there, it will get deleted when the server starts)
44
+ org.neo4j.server.webserver.https.keystore.location=data/keystore
45
+
46
+ #*****************************************************************
47
+ # Administration client configuration
48
+ #*****************************************************************
49
+
50
+ # location of the servers round-robin database directory. possible values:
51
+ # - absolute path like /var/rrd
52
+ # - path relative to the server working directory like data/rrd
53
+ # - commented out, will default to the database data directory.
54
+ org.neo4j.server.webadmin.rrdb.location=data/rrd
55
+
56
+ # REST endpoint for the data API
57
+ # Note the / in the end is mandatory
58
+ org.neo4j.server.webadmin.data.uri=/db/data/
59
+
60
+ # REST endpoint of the administration API (used by Webadmin)
61
+ org.neo4j.server.webadmin.management.uri=/db/manage/
62
+
63
+ # Low-level graph engine tuning file
64
+ org.neo4j.server.db.tuning.properties=conf/neo4j.properties
65
+
66
+
67
+ # Comma separated list of JAX-RS packages containing JAX-RS resources, one package name for each mountpoint.
68
+ # The listed package names will be loaded under the mountpoints specified. Uncomment this line
69
+ # to mount the org.neo4j.examples.server.unmanaged.HelloWorldResource.java from neo4j-examples
70
+ # under /examples/unmanaged, resulting in a final URL of
71
+ # http://localhost:7474/examples/unmanaged/helloworld/{nodeId}
72
+ #org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged
73
+
74
+
75
+ #*****************************************************************
76
+ # HTTP logging configuration
77
+ #*****************************************************************
78
+
79
+ # HTTP logging is disabled. HTTP logging can be enabled by setting this property to 'true'.
80
+ org.neo4j.server.http.log.enabled=false
81
+
82
+ # Logging policy file that governs how HTTP log output is presented and archived.
83
+ # Note: changing the rollover and retention policy is sensible, but changing the
84
+ # output format is less so, since it is configured to use the ubiquitous common log format
85
+ org.neo4j.server.http.log.config=conf/neo4j-http-logging.xml
@@ -0,0 +1,38 @@
1
+ #********************************************************************
2
+ # JVM Parameters
3
+ #********************************************************************
4
+
5
+ wrapper.java.additional.1=-Dorg.neo4j.server.properties=conf/neo4j-server.properties
6
+ wrapper.java.additional.2=-Djava.util.logging.config.file=conf/logging.properties
7
+ wrapper.java.additional.3=-Dfile.encoding=UTF-8
8
+
9
+ # Uncomment the following line to enable garbage collection logging
10
+ #wrapper.java.additional.4=-Xloggc:data/log/neo4j-gc.log
11
+
12
+ # Initial Java Heap Size (in MB)
13
+ #wrapper.java.initmemory=16
14
+
15
+ # Maximum Java Heap Size (in MB)
16
+ #wrapper.java.maxmemory=64
17
+
18
+ #********************************************************************
19
+ # Wrapper settings
20
+ #********************************************************************
21
+ # Override default pidfile and lockfile
22
+ #wrapper.pidfile=../data/neo4j-server.pid
23
+ #wrapper.lockfile=../data/neo4j-server.lck
24
+
25
+ #********************************************************************
26
+ # Wrapper Windows NT/2000/XP Service Properties
27
+ #********************************************************************
28
+ # WARNING - Do not modify any of these properties when an application
29
+ # using this configuration file has been installed as a service.
30
+ # Please uninstall the service before modifying this section. The
31
+ # service can then be reinstalled.
32
+
33
+ # Name of the service
34
+ wrapper.name=neo4j
35
+
36
+ # User account to be used for linux installs. Will default to current
37
+ # user if not set.
38
+ wrapper.user=
@@ -0,0 +1,30 @@
1
+ # Default values for the low-level graph engine
2
+ #neostore.nodestore.db.mapped_memory=25M
3
+ #neostore.relationshipstore.db.mapped_memory=50M
4
+ #neostore.propertystore.db.mapped_memory=90M
5
+ #neostore.propertystore.db.strings.mapped_memory=130M
6
+ #neostore.propertystore.db.arrays.mapped_memory=130M
7
+
8
+ # Enable this to be able to upgrade a store from 1.4 -> 1.5 or 1.4 -> 1.6
9
+ #allow_store_upgrade=true
10
+
11
+ # Enable this to specify a parser other than the default one. 1.5, 1.6, 1.7 are available
12
+ #cypher_parser_version=1.6
13
+
14
+ # Keep logical logs, helps debugging but uses more disk space, enabled for legacy reasons
15
+ keep_logical_logs=true
16
+
17
+ # Autoindexing
18
+
19
+ # Enable auto-indexing for nodes, default is false
20
+ #node_auto_indexing=true
21
+
22
+ # The node property keys to be auto-indexed, if enabled
23
+ #node_keys_indexable=name,age
24
+
25
+ # Enable auto-indexing for relationships, default is false
26
+ #relationship_auto_indexing=true
27
+
28
+ # The relationship property keys to be auto-indexed, if enabled
29
+ #relationship_keys_indexable=name,age
30
+
@@ -0,0 +1,73 @@
1
+ # Properties file which configures the operation of the JDK
2
+ # logging facility.
3
+
4
+ # The system will look for this config file, first using
5
+ # a System property specified at startup:
6
+ #
7
+ # >java -Djava.util.logging.config.file=myLoggingConfigFilePath
8
+ #
9
+ # If this property is not specified, then the config file is
10
+ # retrieved from its default location at:
11
+ #
12
+ # JDK_HOME/jre/lib/logging.properties
13
+
14
+ # Global logging properties.
15
+ # ------------------------------------------
16
+ # The set of handlers to be loaded upon startup.
17
+ # Comma-separated list of class names.
18
+ # (? LogManager docs say no comma here, but JDK example has comma.)
19
+ handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
20
+
21
+ # Default global logging level.
22
+ # Loggers and Handlers may override this level
23
+ # SERVERE, INFO, FINE, FINEST
24
+ .level=INFO
25
+
26
+ # Loggers
27
+ # ------------------------------------------
28
+ # Loggers are usually attached to packages.
29
+ # Here, the level for each package is specified.
30
+ # The global level is used by default, so levels
31
+ # specified here simply act as an override.
32
+ org.neo4j.server.level=INFO
33
+
34
+ # Handlers
35
+ # -----------------------------------------
36
+
37
+ # --- ConsoleHandler ---
38
+ # Override of global logging level
39
+ java.util.logging.ConsoleHandler.level=INFO
40
+ java.util.logging.ConsoleHandler.formatter=org.neo4j.server.logging.SimpleConsoleFormatter
41
+ java.util.logging.ConsoleHandler.filter=org.neo4j.server.logging.NeoLogFilter
42
+
43
+ # --- FileHandler ---
44
+ # Override of global logging level
45
+ java.util.logging.FileHandler.level=ALL
46
+
47
+ # Naming style for the output file:
48
+ # (The output file is placed in the directory
49
+ # defined by the "user.home" System property.)
50
+ # "/" the local pathname separator
51
+ # "%t" the system temporary directory
52
+ # "%h" the value of the "user.home" system property
53
+ # "%g" the generation number to distinguish rotated logs
54
+ # "%u" a unique number to resolve conflicts
55
+ # "%%" translates to a single percent sign "%"
56
+ java.util.logging.FileHandler.pattern=data/log/windows-wrapper.%u.%g.log
57
+
58
+ # Specifies whether the FileHandler should append onto any existing files (defaults to false).
59
+ java.util.logging.FileHandler.append=true
60
+
61
+ # Limiting size of output file in bytes (10M):
62
+ java.util.logging.FileHandler.limit=10000000
63
+
64
+ # Number of output files to cycle through, by appending an
65
+ # integer to the base file name:
66
+ java.util.logging.FileHandler.count=10
67
+
68
+ # The name of the character set encoding to use (defaults to the default platform encoding).
69
+ #java.util.logging.FileHandler.encoding=
70
+
71
+ # Style of output (Simple or XML):
72
+ java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
73
+
@@ -0,0 +1,16 @@
1
+ Neo4j Libraries
2
+ =======================================
3
+
4
+ Neo4j core java libraries. These can be used for embedded development,
5
+ but are also required for operation of the server.
6
+
7
+ Copy them, link them, or include them on the class path, but do **not**
8
+ delete them, because that will make the server sad.
9
+
10
+ For more information, see the [component documentation](/doc/components.txt)
11
+
12
+ References
13
+ ----------
14
+
15
+ * [component documentation](/doc/components.txt) -- local documentation
16
+ * [Neo4j Components](http://components.neo4j.org) -- comprehensive online docs
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,13 @@
1
+ Neo4j Plugins
2
+ =======================================
3
+
4
+ Plugins are like server-side scripts that can add functions for
5
+ retrieving nodes, relationships, paths or properties.
6
+
7
+ When packaged as a jar, just drop the plugin into this directory
8
+ before starting up the server.
9
+
10
+ References
11
+ ----------
12
+
13
+ * [Neo4j Examples](http://components.neo4j.org/neo4j-examples/) -- online docs
@@ -0,0 +1,9 @@
1
+ Neo4j System
2
+ =======================================
3
+
4
+ The system directory contains runtime libraries and resources
5
+ required by Neo4j.
6
+
7
+ These are not the droids you're looking for.
8
+
9
+
@@ -0,0 +1,7 @@
1
+ Neo4j System Libraries
2
+ =======================================
3
+
4
+ Nobody really knows what these things are for, but if anything
5
+ happens to them the server will be sad.
6
+
7
+