[ https://issues.apache.org/jira/browse/OOZIE-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769957#comment-16769957 ]
duan xiong commented on OOZIE-3413: ----------------------------------- Hi,[~asalamon74],/tmp/embedded-jetty-jsp file is oozie web UI Embedded Jetty with JSP support,can't delete,So this is not a bug. If you are worried that the file will be deleted by mistake, you can specify its directory by set configuration "oozie.jsp.tmp.dir". > Cannot start Oozie Web UI after deleting /tmp/embedded-jetty-jsp > ---------------------------------------------------------------- > > Key: OOZIE-3413 > URL: https://issues.apache.org/jira/browse/OOZIE-3413 > Project: Oozie > Issue Type: Bug > Reporter: Andras Salamon > Assignee: duan xiong > Priority: Major > > After the following steps: > # Restart oozie server using {{oozied.sh}} > # {{rm -rf /tmp/embedded-jetty-jsp}} > # Open the Oozie Web UI in a browser: {{[http://localhost:11000/oozie/]}} > Oozie Web UI does not start, it gives the following error message: > {noformat} > { > "errorMessage": "org.apache.jasper.JasperException: > java.lang.ClassNotFoundException: org.apache.jsp.index_jsp", > "httpStatusCode": 500 > }{noformat} > jetty.log contains the following error message: > {noformat} > 2018-12-28 10:16:19,630 WARN ServletHandler:624 - > org.apache.jasper.JasperException: java.lang.ClassNotFoundException: > org.apache.jsp.index_jsp > at > org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:176) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) > at > org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:112) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) > at org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:171) > at > org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:572) > at > org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:542) > at org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:176) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) > at > org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:86) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:199) > at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) > at > org.eclipse.jetty.servlet.DefaultServlet.sendWelcome(DefaultServlet.java:599) > at > org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:484) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) > at > org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:86) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > at org.eclipse.jetty.server.Server.handle(Server.java:534) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) > at > org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) > at > org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) > at > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) > at > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) > at > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.lang.ClassNotFoundException: org.apache.jsp.index_jsp > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131) > at > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:62) > at > org.apache.tomcat.SimpleInstanceManager.newInstance(SimpleInstanceManager.java:51) > at > org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:171) > ... 56 more{noformat} > Restarting the oozie server solves the problem. > If Oozie Web UI opened after a restart, deleting {{/tmp/embedded-jetty-jsp}} > later does not cause any problems. -- This message was sent by Atlassian JIRA (v7.6.3#76005)