4 Replies Latest reply on Dec 24, 2016 6:20 AM by bashkim

    What is this and what happened?

    bashkim

      I ran version 3.8.2 server since around when it was released and until the last month when I upgraded to 4.0.2 using JRE 1.8.111.

      Initially everything with the new version seemed to be fine until today when we had to reboot the server.

      After the reboot the users could not connect to the server and I could no longer log into the admin UI. It was throwing this error:

       

      HTTP ERROR 500

       

      Problem accessing /setup/index.jsp. Reason:

       

          Server Error

       

      Caused by:

       

      java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletCon text;)Ljavax/servlet/jsp/JspApplicationContext;

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspInit(index_jsp.java:61)

          at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:79)

          at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)

          at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:472)

          at org.eclipse.jetty.servlet.ServletHolder.ensureInstance(ServletHolder.java:767)

          at org.eclipse.jetty.servlet.ServletHolder.prepare(ServletHolder.java:752)

          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:577)

          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:215)

          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:110)

          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

          at org.eclipse.jetty.server.Server.handle(Server.java:499)

          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

          at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )

          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

          at java.lang.Thread.run(Unknown Source)

       

      Powered by Jetty://

       

      I then uninstalled the server and Java and reinstalled everything. The server would then throw this error:

       

      HTTP ERROR 500

       

      Problem accessing /setup/index.jsp. Reason:

       

          Server Error

       

      Caused by:

       

      javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/String ;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runtime/Prot ectedFunctionMapper;)Ljava/lang/Object;

          at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl .java:858)

          at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j ava:791)

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspService(index_jsp.java:348)

          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1669)

          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:53)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:80)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:162)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:215)

          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:110)

          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

          at org.eclipse.jetty.server.Server.handle(Server.java:499)

          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

          at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )

          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

          at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.NoSuchMethodError: org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/String ;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runtime/Prot ectedFunctionMapper;)Ljava/lang/Object;

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspx_meth_fmt_005fparam_005f1( index_jsp.java:880)

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspx_meth_fmt_005fmessage_005f 23(index_jsp.java:850)

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspService(index_jsp.java:298)

          ... 34 more

       

      Caused by:

       

      java.lang.NoSuchMethodError: org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/String ;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runtime/Prot ectedFunctionMapper;)Ljava/lang/Object;

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspx_meth_fmt_005fparam_005f1( index_jsp.java:880)

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspx_meth_fmt_005fmessage_005f 23(index_jsp.java:850)

          at org.jivesoftware.openfire.admin.setup.index_jsp._jspService(index_jsp.java:298)

          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1669)

          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:53)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:80)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:162)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1652)

          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 3)

          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:11 27)

          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185 )

          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:106 1)

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:215)

          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:110)

          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

          at org.eclipse.jetty.server.Server.handle(Server.java:499)

          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

          at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635 )

          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

          at java.lang.Thread.run(Unknown Source)

       

      Powered by Jetty://

        • Re: What is this and what happened?
          Daryl Herzmann

          usually, these types of errors come from having an unclean install of Openfire... some components / libraries  / plugins left over from previous installs.  Make sure that the lib/ folder shows files approximately from the same install date

          • Re: What is this and what happened?
            bashkim

            Blew away the whole openfire folder again and reverted to the old version. It works almost 90% but the available plugins screen throws an error:

             

            Exception:

             

            java.lang.NullPointerException

                at java.lang.String.compareTo(Unknown Source)

                at org.jivesoftware.openfire.update.UpdateManager.getNotInstalledPlugins(UpdateMan ager.java:340)

                at org.jivesoftware.openfire.admin.available_002dplugins_jsp._jspService(available _002dplugins_jsp.java:85)

                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1359)

                at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

                at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

                at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

                at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:50)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

                at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

                at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)

                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)

                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)

                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 7)

                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:94 1)

                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)

                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186 )

                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875 )

                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

                at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:250)

                at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:149)

                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

                at org.eclipse.jetty.server.Server.handle(Server.java:349)

                at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)

                at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:919)

                at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)

                at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)

                at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51 )

                at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.jav a:586)

                at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java :44)

                at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598 )

                at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)

                at java.lang.Thread.run(Unknown Source)

            • Re: What is this and what happened?
              bashkim

              Bump.

               

              Is it a concern to the developers that the method calls

               

               

              Prot ectedFunctionMapper

              UpdateMan ager

              have an extra space that probably should not be there?