QueueMetrics > QueueMetrics installation
Java error after upgrading Queuemetrics to 1.7.1.13
(1/1)
sune:
Hi All,
I have just done a upgrade on our Queuemetrics that runs on our trixbox PBX (CentOS). I have upgraded to latest version 1.7.1.13 using yum (yum update queuemetrics). Upgrade went smooth and no errors were shown. After the upgrade I get the following error when opening Queuemetrics in a browser (http://pbx:8080/queuemetrics redirected to http://pbx:8080/queuemetrics/sys_errore.jsp)
A problem occurred in QueueMetrics.
The following error occurred in the Transaction handler:
"-- Inner Exception -- - Exception: java.lang.NoSuchMethodError - Error: - java.util.ResourceBundle.containsKey(Ljava/lang/String;)Z - Stack trace: - java.lang.NoSuchMethodError: java.util.ResourceBundle.containsKey(Ljava/lang/String;)Z - at it.loway.tpf.common.containers.LDecoder.loadBundleForLocale(LDecoder.java:328) - at it.loway.app.queuemetrics.autenticazione.start.initOggettiContesto(start.java:108) - at it.loway.app.queuemetrics.autenticazione.start.doRun(start.java:38) - at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:276) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:566) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:387) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(LowayTransactionController.java:231) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291) - at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) - at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) - at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) - at java.lang.Thread.run(Thread.java:595) - -- End Inner Exception -- - "
System time when the error occurred: 2011-11-29.14:42:33
I have also tried the DBTest page to see if there were any issues with DB but this also gives an error. (http://pbx:8080/queuemetrics/dbtest redirects to http://pbx:8080/queuemetrics/dbtest/dbtestWizard1.jsp when clicking the "Start database check" button.
A problem occurred in QueueMetrics.
The following error occurred in the Transaction handler:
"[JSP] javax.servlet.ServletException - -- Inner Exception -- Exception: javax.servlet.ServletException Error: java.lang.NoSuchMethodError: java.util.ResourceBundle.containsKey(Ljava/lang/String;)Z Stack trace: javax.servlet.ServletException: java.lang.NoSuchMethodError: java.util.ResourceBundle.containsKey(Ljava/lang/String;)Z at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794) at org.apache.jsp.dbtest.dbtestWizard1_jsp._jspService(dbtestWizard1_jsp.java:472) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NoSuchMethodError: java.util.ResourceBundle.containsKey(Ljava/lang/String;)Z at it.loway.tpf.common.containers.LDecoder.loadBundleForLocale(LDecoder.java:328) at it.loway.app.queuemetrics.autenticazione.start.initOggettiContesto(start.java:108) at org.apache.jsp.dbtest.dbtestWizard1_jsp._jspService(dbtestWizard1_jsp.java:121) ... 18 more -- End Inner Exception -- "
System time when the error occurred: 2011-11-29.15:04:26
I have searched the QueueMetrics FAQ and found something that matches the error. I have tried the solution
-Shut down Tomcat (check with the Unix command ps fax that no instances of java keep running after the required shutdown and - in case they do - kill them manuall with killall -9 java).
-Clean up the Tomcat class cache - delete the entire content of the directory work that is usually located within the main Tomcat directory
-Make sure that there is one and only one QueueMetrics webapp in the entire Tomcat system (look below the webapps directory and delete accordingly)
-Restart Tomcat
But it does not change anything. The errors are the same and files in work directory are recreated.
Any help is greatly appreciated. Thank you.
Regards,
Sune Larsen
sune:
Hi All,
Anyone that can help here please ?
Regards,
Sune
coolname:
backup your db and reinstall
tsolaaa:
Hey there,
We encountered a similar issue after upgrading to 1.7.1.13.
Diff your Web.XML file from the old version to the new version after the upgrade.
If you have a custom MYSQL password like we do, you will need to update the web.xml file to reflect that password.
--- Code: ---<param-value>jdbc:mysql://localhost/queuemetrics?sessionVariables=sql_mode=''&autoReconnect=true&zeroDateTimeBehavior=convertToNull&jdbcCompliantTruncation=false&user=queuemetrics&password=javadude</param-value>
--- End code ---
<---- javadude should be changed to reflect whatever your MYSQL password is.
Hope this helps!
QueueMetrics:
I think the issue is related to a method that is only available in Java6. So if you use RPM go for Java 6. We will use the baseline of Java 5 from the next version.
--- Quote from: sune on November 30, 2011, 14:53:29 ---I have just done a upgrade on our Queuemetrics that runs on our trixbox PBX (CentOS). I have upgraded to latest version 1.7.1.13 using yum (yum update queuemetrics). Upgrade went smooth and no errors were shown. After the upgrade I get the following error when opening Queuemetrics in a browser (http://pbx:8080/queuemetrics redirected to http://pbx:8080/queuemetrics/sys_errore.jsp)
--- End quote ---
Navigation
[0] Message Index
Go to full version