Hello :-),
we want to install a new PBX. Because we have a mid size call-center(12 agents). now we want to figure out if queue metrics is the tool for us to make reports about the queues, but i faild on the installation.
I've done everythink in the UserManual for a Debian 5.0 (no rpm) system and I got the following error:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/web.xml
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:98)
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:77)
org.apache.jasper.compiler.JspConfig.init(JspConfig.java:198)
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:250)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:114)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
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:802)
java.lang.reflect.Method.invoke(libgcj.so.90)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(libgcj.so.90)
javax.security.auth.Subject.doAsPrivileged(libgcj.so.90)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
root cause
javax.xml.parsers.ParserConfigurationException: expand-entity-references
gnu.xml.dom.DomDocumentBuilderFactory.setParameter(libgcj.so.90)
gnu.xml.dom.DomDocumentBuilderFactory.newDocumentBuilder(libgcj.so.90)
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:93)
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:77)
org.apache.jasper.compiler.JspConfig.init(JspConfig.java:198)
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:250)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:114)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
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:802)
java.lang.reflect.Method.invoke(libgcj.so.90)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(libgcj.so.90)
javax.security.auth.Subject.doAsPrivileged(libgcj.so.90)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
This is the web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<!-- L O W A Y R E S E A R C H ' s Q U E U E M E T R I C S -->
<servlet>
<servlet-name>
LowayTransactionController
</servlet-name>
<servlet-class>
it.loway.tpf.transaction.servlets.LowayTransactionController
</servlet-class>
<init-param>
<param-name>LICENZA_ARCHITETTURA</param-name>
<param-value>5231317C-52324465-6D6F2D31-2E352E35-232D2351-75657565-4D657472-6963737C-56333132-38393235-37323030-3030307C</param-value>
</init-param>
<init-param>
<param-name>START_TRANSACTION</param-name>
<param-value>qm_start</param-value>
</init-param>
<init-param>
<param-name>JDBC_DRIVER</param-name>
<param-value>com.mysql.jdbc.Driver</param-value>
</init-param>
<init-param>
<param-name>JDBC_URL</param-name>
<param-value>jdbc:mysql://localhost/queuemetrics?autoReconnect=true&zeroDateTimeBehavior=convertToNull&jdbcCompliantTruncation=false&user=queuemetrics&password=goaway</param-value>
</init-param>
<init-param>
<param-name>SMTP_HOST</param-name>
<param-value>smtp.myhost</param-value>
</init-param>
<init-param>
<param-name>SMTP_AUTH</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>SMTP_USER</param-name>
<param-value>xxxx</param-value>
</init-param>
<init-param>
<param-name>SMTP_PASSWORD</param-name>
<param-value>xxxxx</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>LowayTransactionController</servlet-name>
<url-pattern>/tpf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LowayTransactionController</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/sys_errore.jsp</location>
</error-page>
</web-app>
I don't know whats wrong here.
Thanks,
Patrick