Author Topic: Upgraded to QM 1.6.3.0  (Read 5156 times)

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Upgraded to QM 1.6.3.0
« on: December 24, 2010, 08:35:53 »
Morning

I have upgraded our demo installation from QM 1.6.2.0 to 1.6.3.0

Partway down the report page I get

Service level agreement
java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;

-- Inner Exception --
Exception: java.lang.NoSuchMethodError
Error:
java.lang.Integer.valueOf(I)Ljava/lang/Integer;Stack trace:
java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
   at it.loway.app.queuemetrics.asterisk.logs.logCodeLib.generaIntervalliSLA(logCodeLib.java:198)
   at it.loway.app.queuemetrics.caricamento.DataObjects.CallOkDO.computeServiceLevelAgreement(CallOkDO.java:212)
   at it.loway.app.queuemetrics.caricamento.DataObjects.CallOkDO.dispatch(CallOkDO.java:60)
   at org.apache.jsp.qm.results_005fp_005fanswered_jsp._jspService(results_005fp_005fanswered_jsp.java:932)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
   at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:534)
-- End Inner Exception --


Looking forward to the fix...

Have a great Christmas!

Tony

torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: Upgraded to QM 1.6.3.0
« Reply #1 on: December 30, 2010, 19:46:36 »
I have posted some errors and bugs in the news sections and also sent support e-mails but haven't heard from QueueMetrics stuff. I guess they take both extend the Christmas holidays into the New Years holidays?! as I haven't heard a single response from them.

marcos

  • Loway
  • Full Member
  • *
  • Posts: 138
  • Karma: 3
    • View Profile
Re: Upgraded to QM 1.6.3.0
« Reply #2 on: January 03, 2011, 10:30:40 »
Hello Tony.

Sometime happens that tomcat does not understand that jsp pages were changed and lets the cache not synchonized with the new code.
I dont know if this is the case but I suggest you to start with a clean fresh cache following this FAQ:

http://www.queuemetrics.com/faq.jsp#faq-076-error_after_upgrade

then post back here the result.

Thank you and regards.

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Re: Upgraded to QM 1.6.3.0
« Reply #3 on: January 12, 2011, 12:33:39 »
I did that (I do it as part of a QueueMetrics upgrade). On our SLES 10 installation it is
Code: [Select]
rctomcat5 stop
cd /srv/www/tomcat5/base/work
rm -r Catalina
rctomcat5 start

I still have the problem  :(

  • SLES (SuSE Linux Enterprise Server) 10 SP1
  • tomcat5-5.0.30-27.9
  • java-1_4_2-sun-1.4.2.13-0.2
  • java-1_4_2-sun-devel-1.4.2.13-0.2

Tony

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Upgraded to QM 1.6.3.0
« Reply #4 on: January 13, 2011, 10:57:30 »
Can you upgrade to Java 1.5?

Anyway the method Integer.valueOf() was already present in java 1.4.2.... see e.g. http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html
« Last Edit: January 13, 2011, 10:59:30 by QueueMetrics »

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Re: Upgraded to QM 1.6.3.0
« Reply #5 on: January 14, 2011, 12:55:24 »
Unfortunately upgrading Java on SLES would be quite a job....

Tony

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Upgraded to QM 1.6.3.0
« Reply #6 on: January 18, 2011, 15:52:17 »
You could install the Java RPM that comes with QM..... SUSE uses RPMs, correct?

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Re: Upgraded to QM 1.6.3.0
« Reply #7 on: February 07, 2011, 13:53:00 »
Errr, I suppose so. Where is the Java RPM that comes with QM?

Actually, this send me down the proverbial rabbit hole. SLES uses YaST and we generally install software there.

removing java-devel removes tomcat5
removing java removed jakarata-commons-modeler and mx4j

They explicitly depend on "java-1_4_2-sun", so now I have to manually install tomcat, etc...

If there are problems, I can no longer fall back to Novell for O/S support...

Tony
« Last Edit: February 07, 2011, 13:58:32 by tonils »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Upgraded to QM 1.6.3.0
« Reply #8 on: February 08, 2011, 10:15:22 »
No do not disinstall anything - QM has its own dependencies only.

You'll find everything here: http://yum.loway.ch/RPMS/noarch/

I am not sure how, but you can surely add the complete repository instead of package by package.....