QueueMetrics > QueueMetrics installation
Unable to complie class for JSP error when requesting call detail
QueueMetrics:
Just because we are at it, try changing:
--- Code: ---String color = String.format("%06x", lt.getI(r, colorCol));
--- End code ---
to
--- Code: ---String color = String.format("%06x", new Integer( lt.getI(r, colorCol) ) );
--- End code ---
We do not seem to be able to reproduce the issue here.... >:(
tonils:
Unfortunatly still fails
--- Code: ---An error occurred at line: 7 in the jsp file: /qm/./qm_recordtag_list_ajx_ds.jsp
Generated servlet error:
/srv/www/tomcat5/base/work/Catalina/localhost/QueueMetrics/org/apache/jsp/qm/popup_005fcall_jsp.java:340: cannot find symbol
symbol : method format(java.lang.String,java.lang.Integer)
location: class java.lang.String
String color = String.format("%06x", new Integer(lt.getI(r, colorCol)));
^
1 error
--- End code ---
--- Quote ---Generated servlet error:
Jun 11, 2012 9:50:27 AM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Javac exception
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:407)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
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:662)
--- End quote ---
QueueMetrics:
Try this while we are at it:
--- Code: --- String color = String.format("%06x", new Object[]{ new Integer(lt.getI(r, colorCol)) } );
--- End code ---
tonils:
That fixed it!
QueueMetrics:
Thanks - this looks like there is an issue with your Java compiler, as Java 5 should have inferred the change. Just to be on the safe side we are applying this change to the main QM app, but it's really weird.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version