QueueMetrics > QueueMetrics installation

problem installing in ROOT context

(1/2) > >>

vindex:

Hi,

When I try to install QM in tomcat55's ROOT context I get a blank page
with this URL:

http://my.server.name:8080/qm_start.do

When using QM with a normal path (http://my.server.name:8080/queuemetrics/)
it works fine.

How can I make QM the default tomcat app?

Thanks,

QueueMetrics:
What it is usually best to do, is to add a redirection page, so that when the user enters h ttp://queuemetrics.server.com they are redirected to h ttp://queuemetrics.server.com:8080/queuemetrics

QM does not let you bookmark its internal pages. so you can have nothing but a link for the home page.

gb_delti:
Hi,

how would I create a redirect when the server is reachable through two urls, one for internal, one for external use? Is there any way to do a redirect that uses the uorrent server name? Can you please give an example or pointers to documentation? I am not familar at all with tomcat configuration.

QueueMetrics:

--- Quote from: gb_delti on March 22, 2010, 17:53:32 ---Hi,

how would I create a redirect when the server is reachable through two urls, one for internal, one for external use? Is there any way to do a redirect that uses the uorrent server name? Can you please give an example or pointers to documentation? I am not familar at all with tomcat configuration.

--- End quote ---

I am not sure for Tomcat, but if you use a front-end based on Apache, it's trivial to do that with mod_rewrite.

gb_delti:
Ok, back to the original question: I have also tried to install QueueMetrics in the root context and I don't want to redirect to a subdirectory. I also get the blank page qm_start.do

Here is the output in catalina.out (with removed license and jdbc Parameters):

--- Code: ---Init della servlet - $Id: K.java,v 1.62 2009/10/13 16:05:52 lenz-mobile Exp $
 Parm:  SMTP_AUTH = true
 Parm:  SMTP_HOST = smtp.myhost
 Parm:  START_TRANSACTION = qm_start
 Parm:  SMTP_PASSWORD = xxxxx
 Parm:  SMTP_USER = xxxx
 Parm:  JDBC_DRIVER = com.mysql.jdbc.Driver
Data Scad [2012-12-15]: Sat Dec 15 00:00:00 CET 2012
Data scad:Sat Dec 15 00:00:00 CET 2012 - Scaduto: 0
Servlet A01 - Step X3
Servlet A01 - Step X4 - 314
Path assoluto verbi:  /srv/www/tomcat55/base/webapps/ROOT/WEB-INF/LVerbs
Sottosistema SMTP: Host[smtp.myhost] Auth[true] User[xxxx] Pass[xxxxx]
Transazione di avvio: qm_start
Codifica di input: UTF-8
'java.lang.StringIndexOutOfBoundsException' - Eccezione di forward
java.lang.StringIndexOutOfBoundsException
        at java.lang.String.substring(String.java:1092)
        at it.loway.tpf.U.getWebApp(U.java:154)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.risolviDestinazione(LowayTransactionController.java:805)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:596)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:360)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(LowayTransactionController.java:205)
        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:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:736)

--- End code ---

I'm using Tomcat 5.5

Navigation

[0] Message Index

[#] Next page

Go to full version