Author Topic: Error after upgrade to 12.10.1  (Read 10680 times)

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Error after upgrade to 12.10.1
« on: November 14, 2012, 07:05:09 »
A problem occurred in QueueMetrics.

The following error occurred in the Transaction handler:
"-- Inner Exception -- - Exception: java.lang.NoSuchMethodError - Error: - java.lang.String.isEmpty()Z - Stack trace: - java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z - at it.loway.app.queuemetrics.FA.isValidForSSARReporting(FA.java:1863) - at it.loway.app.queuemetrics.FA.getFullQueueList(FA.java:1850) - at it.loway.app.queuemetrics.autenticazione.caricaDatiIniziali.doRun(caricaDatiIniziali.java:69) - at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:279) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:571) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:390) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(LowayTransactionController.java:234) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - 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:151) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) - 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:595) - -- End Inner Exception -- - "
System time when the error occurred: 2012-11-14.00:58:30

any ideas ?

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #1 on: November 14, 2012, 07:07:42 »
java version "1.5.0_16"
tomcat 5.5
mysql-connector-java-5.1.22

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #2 on: November 14, 2012, 08:24:05 »
roll back to previous version throwing this error I AM COMPLETELY down right now.

A problem occurred in QueueMetrics.

The following error occurred in the Transaction handler:
"[JSP] java.lang.NoClassDefFoundError - -- Inner Exception -- Exception: java.lang.NoClassDefFoundError Error: org/slf4j/Logger Stack trace: java.lang.NoClassDefFoundError: org/slf4j/Logger at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:138) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314) 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:802) 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:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) 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:595) -- End Inner Exception -- "
System time when the error occurred: 2012-11-14.02:23:04

Please contact your system administrator with a printout of the error above to address the problem.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Error after upgrade to 12.10.1
« Reply #3 on: November 14, 2012, 16:59:27 »
Do you have a file called slf4j-*.jar in your WEB-INF/lib directory?
Looks like it's not finding it.

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #4 on: November 15, 2012, 22:09:40 »
JID3.jar
loway-tpf-202p.jar
mysql-connector-java-5.1.18-bin.jar
QueueMetrics-12.10.1.jar
redstone-xmlrpc-1.1.1.jar
slf4j-api-1.6.3.jar
slf4j-jdk14-1.6.3.jar
xerces.jar


jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #5 on: November 15, 2012, 22:45:28 »
I was able to successfully roll back my production setup with the old codebase and a database backup that i had taken before the upgrade.

I have set the new version up within a separate container and this is the error which I am seeing now. (same as original error, but nothing about slf4* (the slf4* trace came from me trying to run the old version with the 12.10.1 updated database.)




"-- Inner Exception -- - Exception: java.lang.NoSuchMethodError - Error: - java.lang.String.isEmpty()Z - Stack trace: - java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z - at it.loway.app.queuemetrics.FA.isValidForSSARReporting(FA.java:1863) - at it.loway.app.queuemetrics.FA.getFullQueueList(FA.java:1850) - at it.loway.app.queuemetrics.autenticazione.caricaDatiIniziali.doRun(caricaDatiIniziali.java:69) - at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:279) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:571) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:390) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(LowayTransactionController.java:234) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - 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:151) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) - 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:595) - -- End Inner Exception -- - "
System time when the error occurred: 2012-11-15.16:41:49

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Error after upgrade to 12.10.1
« Reply #6 on: November 19, 2012, 09:27:35 »
This looks like you have an old version of Java (likely 1.4) - You need at least Java 1.5 to run QM.

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #7 on: November 20, 2012, 02:04:29 »
in my 2nd post I listed my versions:
java version "1.5.0_16"
tomcat 5.5
mysql-connector-java-5.1.22

furthermore, I believe that ever version of QM that I have ever run required 1.5... so wouldn't the previous version have failed miserably with 1.4 as well? it has been running for a few years.

thanks

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Error after upgrade to 12.10.1
« Reply #8 on: November 20, 2012, 09:40:21 »
Try and update Java to 1.6 - that's where the missing method is from.

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #9 on: November 20, 2012, 11:01:52 »
I did that. it also failed. slightly different error. seems like we are grasping at straws here, which seems kind of silly for a product with a >$5,000 licensing fee associated with it. This is a production system and I don't have the ability to just randomly "try things" like java upgrades. I'm wondering if some type of corruption happened to the database during the upgrade process or something?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Error after upgrade to 12.10.1
« Reply #10 on: November 21, 2012, 08:59:52 »
The preferred way to get support on alive system is through our support portal - did you already opena  ticket?
BTW what is the error you're getting?

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #11 on: November 21, 2012, 09:31:03 »
I wasn't aware that there was one. can you provide a link please. Current error forthcoming.

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #12 on: November 21, 2012, 12:14:40 »
Here is the error currently being received.

A problem occurred in QueueMetrics.

The following error occurred in the Transaction handler:
"-- Inner Exception -- - Exception: java.lang.NoSuchMethodError - Error: - java.lang.String.isEmpty()Z - Stack trace: - java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z - at it.loway.app.queuemetrics.FA.isValidForSSARReporting(FA.java:1863) - at it.loway.app.queuemetrics.FA.getFullQueueList(FA.java:1850) - at it.loway.app.queuemetrics.autenticazione.caricaDatiIniziali.doRun(caricaDatiIniziali.java:69) - at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:279) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:571) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:390) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(LowayTransactionController.java:234) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - 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:151) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) - 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:595) - -- End Inner Exception -- - "
System time when the error occurred: 2012-11-21.06:12:39


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Error after upgrade to 12.10.1
« Reply #13 on: November 21, 2012, 14:58:56 »
This error still means QM is not running under Java 6.
as per the support options, you should have it in the email you received when you purchased your license - anyway worst case send an email to "support   a t   loway   d o t   ch"

jonstar

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
    • View Profile
Re: Error after upgrade to 12.10.1
« Reply #14 on: November 26, 2012, 23:46:09 »
correct. and the docs say nothing about java 6 and I cannot install java 6 on this system as it is live in a call center. when I had the System down for scheduled maintenance to perform this upgrade I did upgrade to java6 and received a different error.