Coder Social home page Coder Social logo

neo4j-admin's People

Contributors

andreasronge avatar cfitz avatar maxdemarzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

neo4j-admin's Issues

java.lang.NoSuchFieldError: remote_shell_enabled

With jruby 1.7.2:

=> Booting WEBrick
=> Rails 3.2.15 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Starting local Neo4j using db /home/mak/git/neo4jtest/db/neo4j-development using Java::OrgNeo4jKernel::EmbeddedGraphDatabase
Nov 15, 2013 9:56:28 AM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [80] threads available
Nov 15, 2013 9:56:28 AM org.mortbay.log.Slf4jLog info
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Nov 15, 2013 9:56:28 AM org.neo4j.server.logging.Logger log
INFO: Using database at /home/mak/git/neo4jtest/db/neo4j-development
Exiting
LoadError: load error: /home/mak/git/neo4jtest/config/environment -- java.lang.NoSuchFieldError: remote_shell_enabled
        require at org/jruby/RubyKernel.java:1027
     parse_file at /home/mak/git/neo4jtest/config.ru:3
  instance_eval at org/jruby/RubyBasicObject.java:1691
     initialize at /home/mak/.rvm/gems/jruby-1.7.2/gems/rack-1.4.5/lib/rack/builder.rb:51
     parse_file at /home/mak/git/neo4jtest/config.ru:0
           eval at org/jruby/RubyKernel.java:1066
     parse_file at /home/mak/.rvm/gems/jruby-1.7.2/gems/rack-1.4.5/lib/rack/builder.rb:40
            app at /home/mak/.rvm/gems/jruby-1.7.2/gems/rack-1.4.5/lib/rack/server.rb:200
            app at /home/mak/.rvm/gems/jruby-1.7.2/gems/railties-3.2.15/lib/rails/commands/server.rb:46
    wrapped_app at /home/mak/.rvm/gems/jruby-1.7.2/gems/rack-1.4.5/lib/rack/server.rb:304
          start at /home/mak/.rvm/gems/jruby-1.7.2/gems/rack-1.4.5/lib/rack/server.rb:254
          start at /home/mak/.rvm/gems/jruby-1.7.2/gems/railties-3.2.15/lib/rails/commands/server.rb:70
         (root) at /home/mak/.rvm/gems/jruby-1.7.2/gems/railties-3.2.15/lib/rails/commands.rb:55
            tap at org/jruby/RubyKernel.java:1754
         (root) at /home/mak/.rvm/gems/jruby-1.7.2/gems/railties-3.2.15/lib/rails/commands.rb:50
        require at org/jruby/RubyKernel.java:1027
         (root) at script/rails:6
Neo4j has been shutdown using storage_path: /home/mak/git/neo4jtest/db/neo4j-development

Error starting server: NoSuchMethodError: org.neo4j.kernel.Config.getGraphDbModule()Lorg/neo4j/kernel/impl/core/GraphDbModule

Setting up on an app with rails 3.2.2 and neo4jrb 2.0.0 alpha. What's this mean?

On running rails s:

Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [80] threads available
2012-03-31 11:47:35.112:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Using database at /Users/peter/Rails/zendestiny/db/neo4j-development
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
WARNING: No database tuning properties set in the property file, using defaults. Please specify the performance properties file with org.neo4j.server.db.tuning.properties in the server properties file [null].
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Mounted discovery module at [/]
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Loaded server plugin "CypherPlugin"
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Loaded server plugin "GremlinPlugin"
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Mounted REST API at [/db/data]
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Mounted management API at [/db/manage]
Exiting
NativeException: java.lang.NoSuchMethodError: org.neo4j.kernel.Config.getGraphDbModule()Lorg/neo4j/kernel/impl/core/GraphDbModule;
        Neo4jAdmin at /Users/peter/.rvm/gems/jruby-1.6.7/gems/neo4j-admin-0.0.2-java/lib/neo4j-admin/railtie.rb:8
              call at org/jruby/RubyProc.java:258
      execute_hook at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/lazy_load_hooks.rb:34
    run_load_hooks at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/lazy_load_hooks.rb:43
              each at org/jruby/RubyArray.java:1615
    run_load_hooks at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/lazy_load_hooks.rb:42
          Finisher at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/application/finisher.rb:59
     instance_exec at org/jruby/RubyBasicObject.java:1757
               run at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/initializable.rb:30
  run_initializers at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/initializable.rb:55
              each at org/jruby/RubyArray.java:1615
  run_initializers at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/initializable.rb:54
       initialize! at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/application.rb:136
          __send__ at org/jruby/RubyBasicObject.java:1698
              send at org/jruby/RubyKernel.java:2097
    method_missing at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/railtie/configurable.rb:30
            (root) at /Users/peter/Rails/zendestiny/config/environment.rb:5
           require at org/jruby/RubyKernel.java:1042
           require at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251
   load_dependency at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236
           require at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251
        parse_file at /Users/peter/Rails/zendestiny/config/environment.rb:4
     instance_eval at org/jruby/RubyBasicObject.java:1730
        initialize at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/builder.rb:51
        parse_file at /Users/peter/Rails/zendestiny/config.ru:1
              eval at org/jruby/RubyKernel.java:1088
        parse_file at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/builder.rb:40
               app at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/server.rb:200
               app at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands/server.rb:46
       wrapped_app at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/server.rb:301
             start at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/server.rb:252
             start at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands/server.rb:70
            (root) at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands.rb:55
               tap at org/jruby/RubyKernel.java:1787
            (root) at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands.rb:50
           require at org/jruby/RubyKernel.java:1042
            (root) at script/rails:6

failed to start neo server on part 7474

i'm using jruby 1.7 rc2; neo4j-community 1.8.RC1; neo4j-admin 0.2.0
i followed the guide but got this when starting the server. the app works fine, but the webadmin cannot start.

Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 11: jar:file:E:\jruby-1.7.0.RC2\lib\ruby\gems\shared\gems\neo4j-admin-0.2.0-java\lib\neo4j-admin\jars\neo4j-server-1.8.RC1-static-web.jar!/webadmin-html
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parse(URI.java:3019)
at java.net.URI.(URI.java:578)
at java.net.URL.toURI(URL.java:918)
at org.neo4j.server.web.Jetty6WebServer.loadStaticContent(Jetty6WebServer.java:429)

java.lang.NoSuchFieldError: udc_source

I'm just getting started with Neo4j, so forgive me if I'm doing something stupid.

I'm using JRuby 1.7 RC1 (but this also happened with 1.6.8) and the stock neo4j and neo4j-admin gems from Rubygems.

I've added the railtie to config/application.rb and I get this:

Starting local Neo4j using db /Users/jalada/Development/super-sun-graph/db/neo4j-development using Java::OrgNeo4jKernel::EmbeddedGraphDatabase
Sep 27, 2012 9:42:24 AM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [40] threads available
Sep 27, 2012 9:42:24 AM org.mortbay.log.Slf4jLog info
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Sep 27, 2012 9:42:24 AM org.neo4j.server.logging.Logger log
INFO: Using database at /Users/jalada/Development/super-sun-graph/db/neo4j-development
LoadError: load error: /Users/jalada/Development/super-sun-graph/config/environment -- java.lang.NoSuchFieldError: udc_source
               require at org/jruby/RubyKernel.java:1019
  require_environment! at /Users/jalada/.rvm/gems/jruby-1.7.0.RC1/gems/railties-3.2.8/lib/rails/application.rb:103
                (root) at /Users/jalada/.rvm/gems/jruby-1.7.0.RC1/gems/railties-3.2.8/lib/rails/commands.rb:40
               require at org/jruby/RubyKernel.java:1019
                (root) at script/rails:6

Internal Server Error when run on TorqueBox

I have tried different versions of gems, as well as pulling from git. All configurations seem to result in the same error:

18:14:50,461 SEVERE com.sun.jersey.server.impl.application.WebApplicationImpl The RuntimeException could not be mapped to a response, re-throwing to the HTTP container: java.lang.NullPointerException

Full log message: http://pastie.org/pastes/4829082/text

Gemfile: http://pastie.org/pastes/4829091/text

Neo4j itself seems to work fine. The application does actually start, I can sign-up and login without issue. Torquebox seems to be working as expected, the JBoss console and everything looks OK. As far as I can tell, the issue is scoped to neo4j-admin.

Thoughts?

load error: jruby-openssl for JRuby 1.7.3

When starting the rails server using Jruby 1.7.3:

LoadError: load error: jruby-openssl -- java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z
  require at org/jruby/RubyKernel.java:1027
  require at /Library/Frameworks/JRuby.framework/Gems/1.9/gems/bundler-1.3.5/lib/bundler/runtime.rb:72
     each at org/jruby/RubyArray.java:1613
  require at /Library/Frameworks/JRuby.framework/Gems/1.9/gems/bundler-1.3.5/lib/bundler/runtime.rb:70
     each at org/jruby/RubyArray.java:1613
  require at /Library/Frameworks/JRuby.framework/Gems/1.9/gems/bundler-1.3.5/lib/bundler/runtime.rb:59
  require at /Library/Frameworks/JRuby.framework/Gems/1.9/gems/bundler-1.3.5/lib/bundler.rb:132
   (root) at /Users/smthmarketable/Documents/Code/NBConcept/Projects/Messenger/config/application.rb:14
  require at org/jruby/RubyKernel.java:1027
   (root) at /Library/Frameworks/JRuby.framework/Gems/1.9/gems/railties-3.2.13/lib/rails/commands.rb:1
      tap at org/jruby/RubyKernel.java:1771
   (root) at /Library/Frameworks/JRuby.framework/Gems/1.9/gems/railties-3.2.13/lib/rails/commands.rb:53
  require at org/jruby/RubyKernel.java:1027
   (root) at script/rails:6

Run server as a Rack app

Not sure if that's possible at all, but it would be greatly beneficial as we could just secure the admin part from the application itself.

view mode

Webadmin works just fine when I want a list of nodes or to see all relationships of a specific node but when I press the view mode I just get a grey screen instead of my graph as if I have no data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.