我使用的是Orientdb和rexster。
我有一个相当大的脚本文件,其中包含顶点和边缘upsert。当我尝试运行我的脚本时: rexster-console.sh -rh localhost -rp 8984 -e / tmp / script
我收到以下错误:
org.glassfish.grizzly.filterchain.DefaultFilterChain execute
WARNING: Exception during FilterChain execution
java.lang.IllegalStateException: Queue full
at java.util.AbstractQueue.add(AbstractQueue.java:98)
at com.tinkerpop.rexster.client.RexProClientConnection$1.handleRead(RexProClientConnection.java:70)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
at java.lang.Thread.run(Thread.java:745)
当我再次运行脚本时,我得到了这个:
An error occurred while processing the script for language [groovy]. All transactions across all graphs in the session have been concluded with failure: java.util.concurrent.ExecutionException: java.lang.ClassFormatError: Invalid method Code length 698951 in class file Script12
closing session with Rexster [localhost:8984]--> done
有人知道如何解决这个问题吗?
感谢。
答案 0 :(得分:0)
有人发布了一个问题并修复了与此错误有关的问题:
https://github.com/tinkerpop/rexster/issues/374
修复程序已实施,但尚未正式发布。我想知道你的问题是否在2.7.0-SNAPSHOT中得到了解决。 2.7.0应该与2.5.0图形实现兼容,所以我希望它可以升级。因此,你可以从master构建控制台,或者更多地通过sonatype用this one替换rexster-protocol-2.y.z.jar。我先从手术改变开始然后如果不起作用,尝试直接从源代码构建。