- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
当我使用Tomcat 7部署时一切正常。http://localhost:7474/browser可以成功显示(还有webadmin)。使用Neo4j 2.1.7
但是当更改为将我的应用程序部署到 Jetty 8 中(实际上是在 solr 的 Jetty 8.1.10 中)时,除了访问/browser 和/webadmin 之外,一切正常(我的 Web 应用程序可以正确地从嵌入式 Neo4j 数据库获取数据)。
显示以下错误:
HTTP ERROR 500
Problem accessing /browser/. Reason:
Server Error
Caused by:
java.lang.NullPointerException
at org.eclipse.jetty.servlet.DefaultServlet.sendData(DefaultServlet.java:861)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:513)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:582)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:261)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:101)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:566)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:564)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:445)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Thread.java:722)
顺便说一下,我解压了 neo4j-browser-2.1.7.jar 和 neo4j-server-2.1.7-static-web.jar,当我启动 jetty 时,我看到了一条消息,显示一切似乎都正常:
2015-05-29 11:22:18 WARN ContextHandler:1302 - o.e.j.s.ServletContextHandler@9ed9f8{/,null,null} contextPath ends with /
2015-05-29 11:22:18 WARN ContextHandler:1308 - Empty contextPath
2015-05-29 11:22:18 INFO Server:284 - jetty-8.1.10.v20130312
2015-05-29 11:22:18 INFO ContextHandler:734 - Started o.e.j.s.h.MovedContextHandler@167791b{/,null,AVAILABLE}
2015-05-29 11:22:18 INFO ContextHandler:734 - Started o.e.j.w.WebAppContext@323ee8{/webadmin,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/webadmin-html/,AVAILABLE}
5 29, 2015 11:22:18 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version Jersey: 1.9 09/02/2011 11:17 AM
2015-05-29 11:22:19 INFO ContextHandler:734 - Started o.e.j.s.ServletContextHandler@e478d0{/db/manage,null,AVAILABLE}
5 29, 2015 11:22:19 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version Jersey: 1.9 09/02/2011 11:17 AM
2015-05-29 11:22:19 INFO ContextHandler:734 - Started o.e.j.s.ServletContextHandler@1e2c341{/db/data,null,AVAILABLE}
2015-05-29 11:22:19 INFO ContextHandler:734 - Started o.e.j.w.WebAppContext@1e099db{/browser,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/browser/,AVAILABLE}
5 29, 2015 11:22:19 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version Jersey: 1.9 09/02/2011 11:17 AM
2015-05-29 11:22:19 INFO ContextHandler:734 - Started o.e.j.s.ServletContextHandler@9ed9f8{/,null,AVAILABLE}
2015-05-29 11:22:19 INFO ServerConnector:265 - Started ServerConnector@14aa09f{HTTP/1.1}{127.0.0.1:7474}
13920 [main] INFO org.springframework.web.servlet.DispatcherServlet ? FrameworkServlet dispatcher: initialization completed in 8316 ms
更新在纯jetty 8.1中测试但同样失败。
访问/浏览器时的完整调试日志:
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Queued change org.eclipse.jetty.io.SelectorManager$ManagedSelector$Accept@d552ab
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Selector loop woken up from select, 0/0 selected
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Running change org.eclipse.jetty.io.SelectorManager$ManagedSelector$Accept@d552ab
2015-05-29 13:58:28 DEBUG AbstractEndPoint:64 - onOpen SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{null}{io=0,kio=0,kro=0}
2015-05-29 13:58:28 DEBUG IdleTimeout:64 - SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{null}{io=0,kio=0,kro=0} idle timeout check, elapsed: 8 ms, remaining: 29992 ms
2015-05-29 13:58:28 DEBUG HttpConnection:64 - New HTTP Connection HttpConnection@1f9fdda{IDLE},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}
2015-05-29 13:58:28 DEBUG AbstractConnection:64 - onOpen HttpConnection@1f9fdda{IDLE},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}
2015-05-29 13:58:28 DEBUG AbstractConnection:64 - fillInterested HttpConnection@1f9fdda{IDLE},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}
2015-05-29 13:58:28 DEBUG SelectChannelEndPoint:64 - Local interests updated 0 -> 1 for SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}}{io=1,kio=0,kro=0}
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Created SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}}{io=1,kio=0,kro=0}
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Running change org.eclipse.jetty.io.SelectChannelEndPoint$1@1892bd6
2015-05-29 13:58:28 DEBUG SelectChannelEndPoint:64 - Key interests updated 0 -> 1
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Selector loop waiting on select
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Selector loop woken up from select, 1/1 selected
2015-05-29 13:58:28 DEBUG SelectChannelEndPoint:64 - Key interests updated 1 -> 0
2015-05-29 13:58:28 DEBUG SelectChannelEndPoint:64 - Local interests updated 1 -> 0 for SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}}{io=0,kio=0,kro=1}
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Running change org.eclipse.jetty.io.SelectChannelEndPoint$1@1892bd6
2015-05-29 13:58:28 DEBUG QueuedThreadPool:64 - qtp2906178{STARTED,4<=5<=40,i=1,q=0} dispatched AC.ExReadCB@1f9fdda
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Selector loop waiting on select
2015-05-29 13:58:28 DEBUG HttpConnection:64 - HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0} onFillable org.eclipse.jetty.server.HttpChannelState@4456b0@IDLE,initial
2015-05-29 13:58:28 DEBUG ChannelEndPoint:64 - filled 410 SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0}}{io=0,kio=0,kro=1}
2015-05-29 13:58:28 DEBUG HttpConnection:64 - HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of 0} filled 410
2015-05-29 13:58:28 DEBUG HttpParser:64 - START --> SPACE1
2015-05-29 13:58:28 DEBUG HttpParser:64 - SPACE1 --> URI
2015-05-29 13:58:28 DEBUG HttpParser:64 - URI --> SPACE2
2015-05-29 13:58:28 DEBUG HttpParser:64 - SPACE2 --> REQUEST_VERSION
2015-05-29 13:58:28 DEBUG HttpParser:64 - REQUEST_VERSION --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_VALUE --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_VALUE --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_VALUE --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_VALUE --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> HEADER_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_VALUE --> HEADER_IN_VALUE
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER_IN_VALUE --> HEADER
2015-05-29 13:58:28 DEBUG HttpParser:64 - HEADER --> END
2015-05-29 13:58:28 DEBUG HttpConnection:64 - org.eclipse.jetty.server.HttpConnection$Input@1dd69ad{HttpChannelOverHttp@cdf0a6{r=1,a=IDLE,uri=-},HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=END,0 of 0}} shutdown
2015-05-29 13:58:28 DEBUG HttpChannel:64 - HttpChannelOverHttp@cdf0a6{r=1,a=IDLE,uri=-} handle enter
2015-05-29 13:58:28 DEBUG Server:64 - REQUEST /browser/ on HttpChannelOverHttp@cdf0a6{r=1,a=DISPATCHED,uri=/browser/}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - scope null||/browser/ @ o.e.j.s.h.MovedContextHandler@12f0484{/,null,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - context=||/browser/ @ o.e.j.s.h.MovedContextHandler@12f0484{/,null,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - scope null||/browser/ @ o.e.j.w.WebAppContext@1c6488a{/webadmin,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/webadmin-html/,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - scope null||/browser/ @ o.e.j.s.ServletContextHandler@19bdf5f{/db/manage,null,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - scope null||/browser/ @ o.e.j.s.ServletContextHandler@1fbc0b4{/db/data,null,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - scope null||/browser/ @ o.e.j.w.WebAppContext@1ab04cf{/browser,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/browser/,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - context=/browser||/ @ o.e.j.w.WebAppContext@1ab04cf{/browser,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/browser/,AVAILABLE}
2015-05-29 13:58:28 DEBUG session:64 - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@1b95566
2015-05-29 13:58:28 DEBUG session:64 - session=null
2015-05-29 13:58:28 DEBUG ServletHandler:64 - servlet /browser|/|null -> default@5c13d641==org.eclipse.jetty.servlet.DefaultServlet,0,true
2015-05-29 13:58:28 DEBUG ServletHandler:64 - chain=null
2015-05-29 13:58:28 DEBUG ContextHandler:64 - scope /browser||/browser/index.html @ o.e.j.w.WebAppContext@1ab04cf{/browser,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/browser/,AVAILABLE}
2015-05-29 13:58:28 DEBUG ContextHandler:64 - context=/browser||/index.html @ o.e.j.w.WebAppContext@1ab04cf{/browser,file:/C:/superbase/core/relation-webapp/webapp/WEB-INF/classes/browser/,AVAILABLE}
2015-05-29 13:58:28 DEBUG session:64 - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@1b95566
2015-05-29 13:58:28 DEBUG session:64 - session=null
2015-05-29 13:58:28 DEBUG ServletHandler:64 - servlet /browser|/index.html|null -> default@5c13d641==org.eclipse.jetty.servlet.DefaultServlet,0,true
2015-05-29 13:58:28 DEBUG ServletHandler:64 - chain=null
2015-05-29 13:58:28 WARN ServletHandler:557 - /browser/
java.lang.NullPointerException
at org.eclipse.jetty.servlet.DefaultServlet.sendData(DefaultServlet.java:861)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:513)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:582)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:261)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:101)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:566)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:564)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:445)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Thread.java:722)
2015-05-29 13:58:28 DEBUG ServletHandler:64 - (GET /browser/)@12981946 org.eclipse.jetty.server.Request@c616ba
2015-05-29 13:58:28 DEBUG HttpConnection:64 - org.eclipse.jetty.server.HttpConnection$CommitCallback@193a9f0 generate: NEED_HEADER (null,[p=0,l=3344,c=4096,r=3344],true)@START
2015-05-29 13:58:28 DEBUG HttpConnection:64 - org.eclipse.jetty.server.HttpConnection$CommitCallback@193a9f0 generate: FLUSH ([p=0,l=179,c=20480,r=179],[p=0,l=3344,c=4096,r=3344],true)@COMPLETING
2015-05-29 13:58:28 DEBUG WriteFlusher:64 - write: WriteFlusher@18e2e18{IDLE} [HeapByteBuffer@17cad6c[p=0,l=179,c=20480,r=179]={<<<HTTP/1.1 500 Serv....v20130312)||||>>>?????????????????...???????????????},HeapByteBuffer@5d8f3d[p=0,l=3344,c=4096,r=3344]={<<<<html>|<head>|<me.../body>|</html>|>>>?????????????????...???????????????}]
2015-05-29 13:58:28 DEBUG WriteFlusher:64 - update WriteFlusher@18e2e18{WRITING}:IDLE-->WRITING
2015-05-29 13:58:28 DEBUG ChannelEndPoint:64 - flushed 3523 SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{WRITING},it=30000}{HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=COMPLETING},p=HttpParser{s=END,0 of 0}}{io=0,kio=0,kro=1}
2015-05-29 13:58:28 DEBUG WriteFlusher:64 - flushed true
2015-05-29 13:58:28 DEBUG WriteFlusher:64 - update WriteFlusher@18e2e18{IDLE}:WRITING-->IDLE
2015-05-29 13:58:28 DEBUG HttpConnection:64 - org.eclipse.jetty.server.HttpConnection$CommitCallback@193a9f0 generate: DONE ([p=179,l=179,c=20480,r=0],[p=3344,l=3344,c=4096,r=0],true)@END
2015-05-29 13:58:28 DEBUG Server:64 - RESPONSE /browser/ 500 handled=true
2015-05-29 13:58:28 DEBUG HttpParser:64 - reset HttpParser{s=END,0 of 0}
2015-05-29 13:58:28 DEBUG HttpParser:64 - END --> START
2015-05-29 13:58:28 DEBUG HttpChannel:64 - HttpChannelOverHttp@cdf0a6{r=1,a=IDLE,uri=-} handle exit, result COMPLETE
2015-05-29 13:58:28 DEBUG ChannelEndPoint:64 - filled 0 SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=0,kro=1}
2015-05-29 13:58:28 DEBUG ChannelEndPoint:64 - filled 0 SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=0,kro=1}
2015-05-29 13:58:28 DEBUG HttpConnection:64 - HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1} filled 0
2015-05-29 13:58:28 DEBUG AbstractConnection:64 - fillInterested HttpConnection@1f9fdda{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}
2015-05-29 13:58:28 DEBUG SelectChannelEndPoint:64 - Local interests updated 0 -> 1 for SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=0,kro=1}
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Queued change org.eclipse.jetty.io.SelectChannelEndPoint$1@1892bd6
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Selector loop woken up from select, 0/1 selected
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Running change org.eclipse.jetty.io.SelectChannelEndPoint$1@1892bd6
2015-05-29 13:58:28 DEBUG SelectChannelEndPoint:64 - Key interests updated 0 -> 1
2015-05-29 13:58:28 DEBUG SelectorManager:64 - Selector loop waiting on select
2015-05-29 13:58:58 DEBUG IdleTimeout:64 - SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1} idle timeout check, elapsed: 29836 ms, remaining: 164 ms
2015-05-29 13:58:58 DEBUG IdleTimeout:64 - SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1} idle timeout check, elapsed: 30002 ms, remaining: -2 ms
2015-05-29 13:58:58 DEBUG IdleTimeout:64 - SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{true,AC.ExReadCB@1f9fdda},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1} idle timeout expired
2015-05-29 13:58:58 DEBUG AbstractConnection:64 - HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1} onFillInterestedFailed java.util.concurrent.TimeoutException: Idle timeout expired: 30002/30000 ms
2015-05-29 13:58:58 DEBUG ChannelEndPoint:64 - oshut SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=false,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=1,kio=1,kro=1}
2015-05-29 13:58:58 DEBUG WriteFlusher:64 - failed: WriteFlusher@18e2e18{IDLE} java.util.concurrent.TimeoutException: Idle timeout expired: 30002/30000 ms
2015-05-29 13:59:06 DEBUG SelectorManager:64 - Selector loop woken up from select, 1/1 selected
2015-05-29 13:59:06 DEBUG SelectChannelEndPoint:64 - Key interests updated 1 -> 0
2015-05-29 13:59:06 DEBUG SelectChannelEndPoint:64 - Local interests updated 1 -> 0 for SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=true,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=0,kro=1}
2015-05-29 13:59:06 DEBUG SelectorManager:64 - Running change org.eclipse.jetty.io.SelectChannelEndPoint$1@1892bd6
2015-05-29 13:59:06 DEBUG SelectorManager:64 - Selector loop waiting on select
2015-05-29 13:59:28 DEBUG IdleTimeout:64 - SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=true,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=0,kro=1} idle timeout check, elapsed: 30002 ms, remaining: -2 ms
2015-05-29 13:59:28 DEBUG IdleTimeout:64 - SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=true,is=false,os=true,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=0,kro=1} idle timeout expired
2015-05-29 13:59:28 DEBUG WriteFlusher:64 - failed: WriteFlusher@18e2e18{IDLE} java.util.concurrent.TimeoutException: Idle timeout expired: 30002/30000 ms
2015-05-29 13:59:28 DEBUG ChannelEndPoint:64 - close SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=false,is=false,os=true,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=0,kro=1}
2015-05-29 13:59:28 DEBUG SelectorManager:64 - Destroyed SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=false,is=true,os=true,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=-1,kro=-1}
2015-05-29 13:59:28 DEBUG AbstractConnection:64 - onClose HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}
2015-05-29 13:59:28 DEBUG AbstractEndPoint:64 - onClose SelectChannelEndPoint@7328af{/127.0.0.1:12167<r-l>/127.0.0.1:7474,o=false,is=true,os=true,fi=FillInterest@73ff8b{false,null},wf=WriteFlusher@18e2e18{IDLE},it=30000}{HttpConnection@1f9fdda{INTERESTED},g=HttpGenerator{s=START},p=HttpParser{s=START,0 of -1}}{io=0,kio=-1,kro=-1}
最佳答案
Neo4j 的服务器组件内部使用 Jetty 9.0.5。由于您想通过 WrappingNeoServerBootstrapper 在 Jetty8 内运行 Neo4j,因此您的类路径上很可能同时拥有 jetty 8 和 jetty 9 jar。
在这种情况下,类加载顺序不确定,这可能是您所看到问题的根本原因。要么对您的容器使用 Jetty 9.0.5,要么使用干净的类加载器分离,以允许 Jetty 8 和 9 彼此友好地共存。
关于java - 使用 Jetty 8 时无法访问 Neo4j Web 界面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30521133/
在C语言中,当有变量(假设都是int)i小于j时,我们可以用等式 i^=j^=i^=j 交换两个变量的值。例如,令int i = 3,j = 5;在计算 i^=j^=i^=j 之后,我有 i = 5,
我为以下问题编写了以下代码: 给定一个由 N 个正整数组成的序列 A,编写一个程序来查找满足 i > A[j]A[i](A[i] 的 A[j] 次方 > A[j] 的 A[i] 次方)。 我的代码通过
这个表达式是从左到右解析的吗?我试图解释解析的结果,但最后的结果是错误的。 int j=10, k=10; j+=j-=j*=j; //j=j+(j-=j*=j)=j+(j-j*j) k+=k*=
给定一个整数数组 A ,我试图找出在给定位置 j ,A[j] 从每个 i=0 到 i=j 在 A 中出现了多少次。我设计了一个如下所示的解决方案 map CF[400005]; for(int i=0
你能帮我算法吗: 给定 2 个相同大小的数组 a[]和 b[]具有大于或等于 1 的整数。 查找不相等的索引 i和 j ( i != j ) 使得值 -max(a[i]*b[i] + a[i] * b
每次用J的M.副词,性能显着下降。因为我怀疑艾弗森和许比我聪明得多,我一定是做错了什么。 考虑 Collatz conjecture .这里似乎有各种各样的内存机会,但不管我放在哪里M. ,性能太差了
假设一个包含各种类型的盒装矩阵: matrix =: ('abc';'defgh';23),:('foo';'bar';45) matrix +---+-----+--+|abc|defgh|23|+
是否有可能对于两个正整数 i 和 j,(-i)/j 不等于 -(i/j)?我不知道这是否可能......我认为这将是关于位的东西,或者 char 类型的溢出或其他东西,但我找不到它。有什么想法吗? 最
假设两个不同大小的数组: N0 =: i. 50 N1 =: i. 500 应该有一种方法可以获得唯一的对,只需将两者结合起来即可。我发现的“最简单”是: ]$R =: |:,"2 |: (,.N0)
我是 J 的新用户,我只是想知道 J 包中是否实现了三次样条插值方法? 最佳答案 我自己不熟悉,但是我确实安装了所有的包,所以 $ rg -l -i spline /usr/share/j/9.02
在 Q/kdb 中,您可以使用 ': 轻松修改动词,它代表每个优先级。它会将动词应用于一个元素及其之前的邻居。例如 =': 检查值对是否相等。在 J 中,您可以轻松折叠 /\ 但它是累积的,是否有成对
嗨,我有一个 4x4 双矩阵 A 1+2i 2-1i -3-2i -1+4i 3-1i -3+2i 1-3i -1-3i 4+3i 3+5i 1-2i -1-4i
刚刚发现 J 语言,我输入: 1+^o.*0j1 I expected the answer to be 0 ,但我得到了 0j1.22465e_16。虽然这非常接近于 0,但我想知道为什么 J 应该
这个问题在这里已经有了答案: With arrays, why is it the case that a[5] == 5[a]? (20 个答案) 关闭 3 年前。 我正在阅读“C++ 编程语言”
当第一行是 1, 1/2 , 1/3 ....这是支持该问题的图像。 是否存在比朴素的 O(n^2) 方法更有效的方法? 我在研究伯努利数时遇到了这个问题,然后在研究“Akiyama-Tanigawa
我写了一段Java代码,它在无限循环中运行。 下面是代码: public class TestProgram { public static void main(String[] args){
for (int i = n; i > 0; i /= 2) { for (int j = 0; j 0; i /= 2) 的第一个循环结果 O(log N) . 第二个循环for (int
如问题中所述,需要找到数组中 (i,j) 对的总数,使得 (1) **ia[j]** 其中 i 和 j 是数组的索引。没有空间限制。 我的问题是 1) Is there any approach w
for l in range(1,len(S)-1): for i in range(1,len(S)-l): j=i+l for X in N:
第二个for循环的复杂度是多少?会是n-i吗?根据我的理解,第一个 for 循环将执行 n 次,但第二个 for 循环中的索引设置为 i。 //where n is the number elemen
我是一名优秀的程序员,十分优秀!