Hi to the forum!
Im trying to install queuemetrics on a debian etch system.
Whatever i tried i could not get it to work.
Java , Tomcat 5 and Mysql 5 server are installed and working.
In jdbc test page i get the following error:
"Problem encountered:
The file WEB-INF/web.xml might be unreadable or the JDBC_URL may not be defined
Java Error:
Errore parsing XML in '/var/lib/tomcat5/webapps/queuemetrics/WEB-INF/web.xml'"
JDBC_URL is at its default value since it corresponds with what i have installed in MySQL.
This is the error im getting from themain queuemetrics site:
"Errore JDBC:java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'. - - ** BEGIN NESTED EXCEPTION ** - - java.security.AccessControlException - MESSAGE: access denied (java.net.SocketPermission localhost resolve) - - STACKTRACE: - - java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve) - at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) - at java.security.AccessController.checkPermission(AccessController.java:427) - at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) - at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031) - at java.net.InetAddress.getAllByName0(InetAddress.java:1117) - at java.net.InetAddress.getAllByName0(InetAddress.java:1098) - at java.net.InetAddress.getAllByName(InetAddress.java:1061) - at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:125) - at com.mysql.jdbc.MysqlIO.(MysqlIO.java:225) - at com.mysql.jdbc.Connection.createNewIO(Connection.java:1923) - at com.mysql.jdbc.Connection.(Connection.java:452) - at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411) - at java.sql.DriverManager.getConnection(DriverManager.java:525) - at java.sql.DriverManager.getConnection(DriverManager.java:193) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(Unknown Source) - at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(Unknown Source) - at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(Unknown Source) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) - at java.lang.reflect.Method.invoke(Method.java:585) - at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) - at java.security.AccessController.doPrivileged(Native Method) - at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) - at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272) - at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245) - at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:177) - at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156) - at java.security.AccessController.doPrivileged(Native Method) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152) - 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:595) - - - ** END NESTED EXCEPTION ** - - - Attempted reconnect 3 times. Giving up."
I have tried with all versions of mysql connectors but nothing worked.
Any help would be deeply appreciated.
Thanks