- 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/
我正在编写一个具有以下签名的 Java 方法。 void Logger(Method method, Object[] args); 如果一个方法(例如 ABC() )调用此方法 Logger,它应该
我是 Java 新手。 我的问题是我的 Java 程序找不到我试图用作的图像文件一个 JButton。 (目前这段代码什么也没做,因为我只是得到了想要的外观第一的)。这是我的主课 代码: packag
好的,今天我在接受采访,我已经编写 Java 代码多年了。采访中说“Java 垃圾收集是一个棘手的问题,我有几个 friend 一直在努力弄清楚。你在这方面做得怎么样?”。她是想骗我吗?还是我的一生都
我的 friend 给了我一个谜语让我解开。它是这样的: There are 100 people. Each one of them, in his turn, does the following
如果我将使用 Java 5 代码的应用程序编译成字节码,生成的 .class 文件是否能够在 Java 1.4 下运行? 如果后者可以工作并且我正在尝试在我的 Java 1.4 应用程序中使用 Jav
有关于why Java doesn't support unsigned types的问题以及一些关于处理无符号类型的问题。我做了一些搜索,似乎 Scala 也不支持无符号数据类型。限制是Java和S
我只是想知道在一个 java 版本中生成的字节码是否可以在其他 java 版本上运行 最佳答案 通常,字节码无需修改即可在 较新 版本的 Java 上运行。它不会在旧版本上运行,除非您使用特殊参数 (
我有一个关于在命令提示符下执行 java 程序的基本问题。 在某些机器上我们需要指定 -cp 。 (类路径)同时执行java程序 (test为java文件名与.class文件存在于同一目录下) jav
我已经阅读 StackOverflow 有一段时间了,现在我才鼓起勇气提出问题。我今年 20 岁,目前在我的家乡(罗马尼亚克卢日-纳波卡)就读 IT 大学。足以介绍:D。 基本上,我有一家提供簿记应用
我有 public JSONObject parseXML(String xml) { JSONObject jsonObject = XML.toJSONObject(xml); r
我已经在 Java 中实现了带有动态类型的简单解释语言。不幸的是我遇到了以下问题。测试时如下代码: def main() { def ks = Map[[1, 2]].keySet()
一直提示输入 1 到 10 的数字 - 结果应将 st、rd、th 和 nd 添加到数字中。编写一个程序,提示用户输入 1 到 10 之间的任意整数,然后以序数形式显示该整数并附加后缀。 public
我有这个 DownloadFile.java 并按预期下载该文件: import java.io.*; import java.net.URL; public class DownloadFile {
我想在 GUI 上添加延迟。我放置了 2 个 for 循环,然后重新绘制了一个标签,但这 2 个 for 循环一个接一个地执行,并且标签被重新绘制到最后一个。 我能做什么? for(int i=0;
我正在对对象 Student 的列表项进行一些测试,但是我更喜欢在 java 类对象中创建硬编码列表,然后从那里提取数据,而不是连接到数据库并在结果集中选择记录。然而,自从我这样做以来已经很长时间了,
我知道对象创建分为三个部分: 声明 实例化 初始化 classA{} classB extends classA{} classA obj = new classB(1,1); 实例化 它必须使用
我有兴趣使用 GPRS 构建车辆跟踪系统。但是,我有一些问题要问以前做过此操作的人: GPRS 是最好的技术吗?人们意识到任何问题吗? 我计划使用 Java/Java EE - 有更好的技术吗? 如果
我可以通过递归方法反转数组,例如:数组={1,2,3,4,5} 数组结果={5,4,3,2,1}但我的结果是相同的数组,我不知道为什么,请帮助我。 public class Recursion { p
有这样的标准方式吗? 包括 Java源代码-测试代码- Ant 或 Maven联合单元持续集成(可能是巡航控制)ClearCase 版本控制工具部署到应用服务器 最后我希望有一个自动构建和集成环境。
我什至不知道这是否可能,我非常怀疑它是否可能,但如果可以,您能告诉我怎么做吗?我只是想知道如何从打印机打印一些文本。 有什么想法吗? 最佳答案 这里有更简单的事情。 import javax.swin
我是一名优秀的程序员,十分优秀!