Author Topic: problems updating from 1.6.0.1 to 1.6.3.0  (Read 6313 times)

Scott B

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
problems updating from 1.6.0.1 to 1.6.3.0
« on: March 18, 2011, 19:59:57 »
Hi, just tried updating from 1.6.0.1 to 1.6.3.0. I followed the directions, copied the files over, replaced the web.xml and configuration.properties from my old version, copied the mysql connector and restarted tomcat (and apache for that matter.) Also I ran the dbtest updater and it all came up green lights. Some pages are working, the logo switched to "your logo here" but pages like Show License Information, or if you click to pause or unpause yourself it throws:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 34 in the jsp file: /includes/00_page_header_context.jsp.inc
The method initOggettiContesto(HttpSession, ServletContext) in the type start is not applicable for the arguments (HttpSession, ServletContext, String)
31:     // 1. Ottiene gli oggetti impliciti
32:     //    Se non esistono, li va a creare
33:
34:     start.initOggettiContesto( session, application, request.getHeader("Accept-Language") );
35:     LContext oC = (LContext) session.getAttribute( K.SESSION_CONTESTO );
36:     LDecoder oDec = (LDecoder) session.getAttribute( K.SESSION_DECODER );
37:     LUser oU = (LUser) session.getAttribute( K.SESSION_USER );


Stacktrace:
   org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
   org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
   org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:319)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.

Scott B

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #1 on: March 18, 2011, 20:36:16 »
Interestingly enough, its still showing my version as 1.6.0.1 if I mouseover the Queuemetrics logo.

Scott B

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #2 on: March 18, 2011, 21:43:54 »
So THEN what I do, is I delete my entire webapp directory, drop the 1.6.3.0 back in there, copy the configuration.properties and web.xml, restart tomcat, and now it immediately recognizes that I need to update the database, but then when I click start this happens:


"[JSP] javax.servlet.ServletException - -- Inner Exception -- Exception: javax.servlet.ServletException Error: it.loway.app.queuemetrics.autenticazione.start.initOggettiContesto(Ljavax/servlet/http/HttpSession;Ljavax/servlet/ServletContext;)VStack trace: javax.servlet.ServletException: it.loway.app.queuemetrics.autenticazione.start.initOggettiContesto(Ljavax/servlet/http/HttpSession;Ljavax/servlet/ServletContext;)V at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) at org.apache.jsp.dbtest.dbtestWizard1_jsp._jspService(dbtestWizard1_jsp.java:408) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) -- End Inner Exception -- "
System time when the error occurred: 2011-03-18.13:42:20

Scott B

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #3 on: March 18, 2011, 23:22:11 »
Now, after replacing my backup, which has fixed any issues in the past I have run across when updating, I get the following error:

java.lang.NoClassDefFoundError: it/loway/app/queuemetrics/autenticazione/ExpWarning

-- Inner Exception --
Exception: java.lang.NoClassDefFoundError
Error:
it/loway/app/queuemetrics/autenticazione/ExpWarningStack trace:
java.lang.NoClassDefFoundError: it/loway/app/queuemetrics/autenticazione/ExpWarning
   at org.apache.jsp.frontPage_jsp._jspService(frontPage_jsp.java:659)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: it.loway.app.queuemetrics.autenticazione.ExpWarning
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
   at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:125)
   at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
   ... 21 more
-- End Inner Exception --

Scott B

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #4 on: March 19, 2011, 03:02:07 »
Ok, I just get the above posted error on the frontPage.jsp. Once I am logged in, if I surf directly to live_agent.jsp or realtime_view.jsp they seem to work fine. Some of my agents even after logging in are unable to retain functionality on live_agent.jsp.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #5 on: March 21, 2011, 09:02:00 »
It looks like there is a misalignment between the JSP pages and the backend classes. This is rare, and usually solved by deleting tomcat's compilation directory - see here: http://queuemetrics.com/faq.jsp#faq-076-error_after_upgrade

 

Scott B

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #6 on: March 22, 2011, 11:48:52 »
It looks like there is a misalignment between the JSP pages and the backend classes. This is rare, and usually solved by deleting tomcat's compilation directory - see here: http://queuemetrics.com/faq.jsp#faq-076-error_after_upgrade

Good call, I actually figured this out myself eventually poking around your faqs. Thank you for your response  :)

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: problems updating from 1.6.0.1 to 1.6.3.0
« Reply #7 on: March 22, 2011, 14:46:04 »
 :D