Access Log Valve - Query String

2010-10-12 Thread Leo Donahue - PLANDEVX
: I'd like to start logging the Query String - I think. The webapp is a JSF webapp, using Sun RI 1.2 of JSF. I'm not interested in logging the javax.faces.ViewState parameter, but if I use the query string option, will the ViewState parameter show up in the log? At this point, all I want

RE: Access Log Valve - Query String

2010-10-12 Thread Leo Donahue - PLANDEVX
-Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: Access Log Valve - Query String I am currently using the common pattern to log all requests using the Access Log Valve. Valve className=org.apache.catalina.valves.AccessLogValve

Re: SSL, mod_proxy_ajp and AJP connectors query

2010-07-23 Thread Brett Delle Grazie
To Christopher and Rainer, Thanks, that resolved the issue completely. Best Regards, Brett On Thu, 2010-07-22 at 17:35 -0400, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett, On 7/22/2010 1:31 PM, Brett Delle Grazie wrote: Tomcat 6.0.28 (binary

SSL, mod_proxy_ajp and AJP connectors query

2010-07-22 Thread Brett Delle Grazie
Hi, I'm using RHEL5.5 (Up-to-date) Apache httpd-2.2.3 (from RHEL) with mod_proxy/mod_proxy_ajp Tomcat 6.0.28 (binary distribution from apache). Tomcat native libs (1.1.20, compiled) I have a question regarding AJP connectors and SSL Our application is being SSL offloaded at the HTTPD server end

Re: SSL, mod_proxy_ajp and AJP connectors query

2010-07-22 Thread Rainer Jung
On 22.07.2010 19:31, Brett Delle Grazie wrote: Hi, I'm using RHEL5.5 (Up-to-date) Apache httpd-2.2.3 (from RHEL) with mod_proxy/mod_proxy_ajp Tomcat 6.0.28 (binary distribution from apache). Tomcat native libs (1.1.20, compiled) I have a question regarding AJP connectors and SSL Our

Re: SSL, mod_proxy_ajp and AJP connectors query

2010-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett, On 7/22/2010 1:31 PM, Brett Delle Grazie wrote: Tomcat 6.0.28 (binary distribution from apache). My question is, in the Tomcat server.xml, do I require _two_ AJP connectors as follows: (executor omitted for simplicity) !-- AJP

JMX query to modify attribute value

2010-03-08 Thread Cummins College
Hello, I have tried this JMX query to modify the connector properties of connector. http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443att=secureval=false When I again check the status of the connector with this query, http://localhost:8080/manager/jmxproxy/?qry=*:type

Re: JMX query to modify attribute value

2010-03-08 Thread Pid
On 08/03/2010 10:04, Cummins College wrote: Hello, I have tried this JMX query to modify the connector properties of connector. http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443att=secureval=false When I again check the status of the connector with this query

Re: JMX query to modify attribute value

2010-03-08 Thread Mark Thomas
On 08/03/2010 10:04, Cummins College wrote: Hello, I have tried this JMX query to modify the connector properties of connector. http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443att=secureval=false When I again check the status of the connector with this query

Re: Security Query.

2009-12-06 Thread Juha Laiho
R. S. Patil wrote: Thanks Chuk, In some discussion i heard that the WEB-INF contents can not be accessed from Internet at all. The servlet spec requires that the servlet container (Tomcat) prevent direct access to WEB-INF. How far this is true ? Completely, as far as Tomcat is concerned.

Re: Security Query.

2009-12-06 Thread R. S. Patil
Thanks Juha, Yes, context root will be served, as will be other folders under context root. WEB-INF and its subfolders are safe, from the container (Tomcat) point-of-view. Note however, that you as web application developer can break this safety mechanism: a servlet can be programmed to

Security Query.

2009-12-05 Thread R. S. Patil
Hello, I am a total newbie to web applications and tomcat, a student. In some discussion i heard that the WEB-INF contents can not be accessed from Internet at all. So one can keep secret information in that folder in plain text files How far this is true ? if not then where to put secret

RE: Security Query.

2009-12-05 Thread Caldarale, Charles R
From: R. S. Patil [mailto:kpr.rspa...@gmail.com] Subject: Security Query. In some discussion i heard that the WEB-INF contents can not be accessed from Internet at all. The servlet spec requires that the servlet container (Tomcat) prevent direct access to WEB-INF. How far this is true

Re: Security Query.

2009-12-05 Thread R. S. Patil
Thanks Chuk, In some discussion i heard that the WEB-INF contents can not be accessed from Internet at all. The servlet spec requires that the servlet container (Tomcat) prevent direct access to WEB-INF. How far this is true ? Completely, as far as Tomcat is concerned.  If you have an

Re: Query on Tomcat Server.xml

2009-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvanesh, On 9/7/2009 12:00 AM, Pattanashetti wrote: I wanted to create connector using tomcat Apis. Connector conn = new Connector(); conn.setPort(8070); service.addConnector(conn); This above code is working fine. I m able to access the

Re: Query on Tomcat Server.xml

2009-09-06 Thread Bhuvanesh Pattanashetti
Hello chris, Thanks for your suggestions, this is service injected spring dM(spring and OSGI combination). This is same service/ tag present in server.xml , injected by spingdM in object format(instance of ). SpringDm or Spring does not support connector for tomcat. I wanted to create connector

Re: Query on Tomcat Server.xml

2009-09-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvan, On 9/2/2009 1:44 AM, Bhuvanesh Pattanashetti wrote: Thanks for your suggestion, I wanted only some part of tomcat to be customized.So it would be risky and time consuming if i override the whole part. I have reached some extent. i m

query on tomcat connector

2009-09-02 Thread Bhuvanesh Pattanashetti
Hello, i wanted to create a https connector element at code level(not from server.xml). using http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/connector/Connector.html with protocol as Http11NioProtocol. I was not getting how to relate connector object and keystore file and

Re: query on tomcat connector

2009-09-02 Thread Bill Barker
Bhuvanesh Pattanashetti bhuva...@gmail.com wrote in message news:bce69da80909021136n22683ee8jeb4cf1ca927e2...@mail.gmail.com... Hello, i wanted to create a https connector element at code level(not from server.xml). using

Re: Query on Tomcat Server.xml

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvan, On 8/31/2009 11:46 PM, Bhuvanesh Pattanashetti wrote: Hi, Even i have similar problem.. I wanted to create the connector/ element. At the time of tomcat start up using Tomcat's existing bootstrap classes rather than loading them using

Re: Query on Tomcat Server.xml

2009-09-01 Thread Bhuvanesh Pattanashetti
Thanks for your suggestion, I wanted only some part of tomcat to be customized.So it would be risky and time consuming if i override the whole part. I have reached some extent. i m using spring-DM running on tomcat. Spring-DM is able to inject the Service/ object my business class. I wanted to

Query on Tomcat Server.xml

2009-08-31 Thread Tk, Pramod (NSN - IN/Bangalore)
Hello All, The below tag is used to for making use of keystore on snmartcard. It works fine Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true clientAuth=false sslProtocol=TLS protocols=TLSv1 algorithm=SunX509

RE: Query on Tomcat Server.xml

2009-08-31 Thread Caldarale, Charles R
From: Tk, Pramod (NSN - IN/Bangalore) [mailto:pramod...@nsn.com] Subject: Query on Tomcat Server.xml I presume this type of hardcoding in server.xml is security loop hole. Not really. If you don't put the password in server.xml, where are you going to put it? The server.xml file can have

Re: Query on Tomcat Server.xml

2009-08-31 Thread Mikolaj Rydzewski
Caldarale, Charles R wrote: Not really. If you don't put the password in server.xml, where are you going to put it? The server.xml file can have the same access constraints applied to it as any other location for the password. I think that OP wants Tomcat to read keystore during startup

Re: Query on Tomcat Server.xml

2009-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pramod, On 8/31/2009 7:19 AM, Tk, Pramod (NSN - IN/Bangalore) wrote: What I want to make is to remove keystorePass=X tag and give this keystore password when tomcat starts up. I think you'll have to write your own code that reads the

Re: Query on Tomcat Server.xml

2009-08-31 Thread Bhuvanesh Pattanashetti
Hi, Even i have similar problem.. I wanted to create the connector/ element. At the time of tomcat start up using Tomcat's existing bootstrap classes rather than loading them using sever.xml. I wanted to create a https connector. using Http11NioProtocol for the connector. Please let me know if

Re: caching query

2009-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 8/14/2009 1:43 PM, Jeffrey Janner wrote: Just a word of warning: your mileage might vary with SSL/APR. We deployed our app using tomcat 5.5 with the following valve implemented in the context: Valve

Re: caching query

2009-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/13/2009 6:39 PM, André Warnier wrote: vik111 wrote: Hi. I am developing a website where on the homepage there will be 50+ images displayed, hence performance of my app is imperative. I have read about browser caching and was

RE: caching query

2009-08-14 Thread Jeffrey Janner
: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, August 14, 2009 9:16 AM To: Tomcat Users List Subject: Re: caching query André, On 8/13/2009 6:39 PM, André Warnier wrote: vik111 wrote: Hi. I am developing a website where on the homepage there will be 50+ images displayed

Re: caching query

2009-08-13 Thread André Warnier
vik111 wrote: Hi. I am developing a website where on the homepage there will be 50+ images displayed, hence performance of my app is imperative. I have read about browser caching and was wondering is there any configuration required to enable this in tomcat 6? Also part of my app is form

Re: jsp:forward adds params to query-string

2009-07-09 Thread Yves Glodt
-param instead comes as query-string o=action1 Yes, this is what is specified in the Servlet spec.  A jsp:param adds the parameter to the query-string. Note that the post-request comes from an external URL. Does jsp:foward not preserve the original request? I would like to keep all POST

jsp:forward adds params to query-string

2009-07-07 Thread Yves Glodt
The problem I have is that the request comes as POST to the servlet, but without the o-parameter. The o-param instead comes as query-string o=action1 Note that the post-request comes from an external URL. Does jsp:foward not preserve the original request? I would like to keep all POST Best regards

Re: jsp:forward adds params to query-string

2009-07-07 Thread Bill Barker
; charset=UTF-8 pageEncoding=UTF-8% jsp:forward page=/FormProcessor jsp:param name=o value=action1 / /jsp:forward The problem I have is that the request comes as POST to the servlet, but without the o-parameter. The o-param instead comes as query-string o=action1 Yes, this is what

Re: Query timeout in dbcp

2009-06-02 Thread S Arvind
Hi Martin Chris, Thing i actually need is, if a query executed from web application then it shold not execute more then 22mins. If it execute more then that means query shold be cancelled from postgres and java should get exception on this event. Is it possible? Thanks, Arvind S * Many

Re: Query timeout in dbcp

2009-06-02 Thread Mark Thomas
S Arvind wrote: Hi Martin Chris, Thing i actually need is, if a query executed from web application then it shold not execute more then 22mins. If it execute more then that means query shold be cancelled from postgres and java should get exception on this event. Is it possible? If a) your

Query timeout in dbcp

2009-06-01 Thread S Arvind
Is there any possibility to mention max time a query can execute from DBCP side? our DB is Postgres and Container is tomcat 6. i dont want to give the timeout in postgres but need to set in application side based on differnet needs? Is it possible? -Arvind S Many of lifes failure are people

Re: Query timeout in dbcp

2009-06-01 Thread S Arvind
Is there anyother way to specify the query execution time out while establishing connection with the help of DBCP in tomcat? -Arvind S On Tue, Jun 2, 2009 at 12:56 AM, S Arvind arvindw...@gmail.com wrote: Is there any possibility to mention max time a query can execute from DBCP side? our DB

RE: Query timeout in dbcp

2009-06-01 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: arvindw...@gmail.com Date: Tue, 2 Jun 2009 00:56:53 +0530 Subject: Query timeout in dbcp To: users@tomcat.apache.org Is there any possibility to mention max time a query can execute from DBCP

Re: Query timeout in dbcp

2009-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arvind, On 6/1/2009 3:26 PM, S Arvind wrote: Is there any possibility to mention max time a query can execute from DBCP side? What do you want to happen after the timeout? The connection execute* method throws an exception? That is going

Re: tomcat only query localhost database

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mihamina, Mihamina Rakotomandimby (R12y) wrote: catch(Exception e) { try { Class.forName(org.gjt.mm.mysql.Driver); } catch (ClassNotFoundException e1)

Re: tomcat only query localhost database

2009-02-04 Thread Gregor Schneider
On Wed, Feb 4, 2009 at 8:28 AM, Mihamina Rakotomandimby (R12y) miham...@lab.vectoris.fr wrote: So, my deduction is the Linux tomcat6 has a setting that avoid reading Catalina/localhost/webappName.xml can you specify the Linux-distribution / version? In case you are using package-distribution

Re: tomcat only query localhost database

2009-02-03 Thread Gregor Schneider
Sorry, but you're providing too few informations. - please post the file /etc/tomcat6/Catalina/localhost/webappName.xml (masquerade the user-id / password!) - please post the piece of code where the said webapp tries to create the database-connection. should looke similar to code

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection(jdbc:mysql://localhost/baseName, login, password); There, I see some hardcoded localhost. Might it be the nasty evil code? -- Chef de

RE: tomcat only query localhost database

2009-02-03 Thread Caldarale, Charles R
From: Mihamina Rakotomandimby (R12y) [mailto:miham...@lab.vectoris.fr] Subject: Re: tomcat only query localhost database /etc/tomcat6/Catalina/localhost/webappName.xml ?xml version=1.0 encoding=UTF-8? Context path=/norpassWeb reloadable=true docBase

Re: tomcat only query localhost database

2009-02-03 Thread Dave Pawson
2009/2/3 Caldarale, Charles R chuck.caldar...@unisys.com: From: Mihamina Rakotomandimby (R12y) [mailto:miham...@lab.vectoris.fr] Subject: Re: tomcat only query localhost database /etc/tomcat6/Catalina/localhost/webappName.xml ?xml version=1.0 encoding=UTF-8? Context path=/norpassWeb

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection(jdbc:mysql://localhost/baseName, login, password); There, I see some hardcoded localhost. Might it be

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection(jdbc:mysql://localhost/baseName, login, password); There, I see some hardcoded localhost. Might it be the nasty evil code? Nope, it's in a

RE: tomcat only query localhost database

2009-02-03 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: tomcat only query localhost database What are(or where can I find them) the rules on loading an app into localhost | webapps or ROOT? In the Tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/config/index.html Note that you

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Gregor Schneider wrote: Sorry, but you're providing too few informations. - please post the file /etc/tomcat6/Catalina/localhost/webappName.xml (masquerade the user-id / password!) ?xml version=1.0 encoding=UTF-8? Context path=/norpassWeb reloadable=true

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
After further investigations: If I install a tomcat6 windows binary, and edit the Catalina/localhost/webappName.xml file in order to use a different database host, it's OK: the Windows tomcat6 go and use the other database. So, my deduction is the Linux tomcat6 has a setting that avoid

tomcat only query localhost database

2009-02-02 Thread Mihamina Rakotomandimby
Hi, A developper gave me a .war webapp. When deploying it, it creates an xml file: /etc/tomcat6/Catalina/localhost/webappName.xml which is a copy of the one in /var/lib/tomcat6/webapps/webappName/META-INF/context.xml Then context.xml file contains the JDBC/MySQL host,login,pass where host is NOT

Re: tomcat only query localhost database

2009-02-02 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby wrote: Any help? I suspect there is a system-wide configuration that tells not to consider the webapp-specific configuration, but I dont find where... -- Chef de projet chez Vectoris http://www.google.com/search?q=mihamina+rakotomandimby

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-30 Thread Stefan Riegel
: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.) org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) org.apache.jasper.runtime.PageContextImpl.handlePageException

Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread Stefan Riegel
) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread David Smith
javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.) org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread Stefan Riegel
) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread David Smith
to get connection, DataSource invalid: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.) org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841

Jsessionid as path embed or query parameter.

2008-08-29 Thread Vinuth Madinur
not. So, is there a way to manage jsessionid url rewrite to have something like below? As a path embed: http://domain/context/servlet/AEGH12SEWF33RFFSF?queryparam1=v1 Or as a query parameter: http://domain/context/servlet?jsessionid=AEGH12SEWF33RFFSFqueryparam1=v1 Is it possible to pass around

Re: Jsessionid as path embed or query parameter.

2008-08-29 Thread Mikolaj Rydzewski
Vinuth Madinur wrote: So, is there a way to manage jsessionid url rewrite to have something like below? As a path embed: http://domain/context/servlet/AEGH12SEWF33RFFSF?queryparam1=v1 Or as a query parameter: http://domain/context/servlet?jsessionid=AEGH12SEWF33RFFSFqueryparam1=v1

FW: CVE-2008-2370 Query

2008-08-27 Thread Mott, Frank (Dimension Data)
Please can someone advise me on my query below. Regards Frank Level 2 Support Engineer GASDO Team Dimension Data United Kingdom Dimension Data House Building 2, Waterfront Business Park Hampshire GU51 3QT +44 (0) 1252 779 370 Office +44 (0) 1252 779 010 Fax [EMAIL PROTECTED

Re: FW: CVE-2008-2370 Query

2008-08-27 Thread Mark Thomas
Mott, Frank (Dimension Data) wrote: Please can someone advise me on my query below. You need one of the following: - 5.5.27 (expected to be released shortly) - a local build with the relevant patch applied Mark Regards Frank Level 2 Support Engineer GASDO Team Dimension Data

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, Ken Bowen wrote: | All connections are /supposed/ to be closed when the interaction if | finished, but there still could be one slipping through. I find it useful in development to set the connection pool size to exactly 1 connection, and, of

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-22 Thread Ken Bowen
Nice technique ... thanks ... might help to zero in on it. On Jul 22, 2008, at 12:48 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, Ken Bowen wrote: | All connections are /supposed/ to be closed when the interaction if | finished, but there still could be

Re: [New Behavior - Maybe]Connections timing out even with validation query??

2008-07-17 Thread Ken Bowen
://www.lambdaprobe.org/) Also, change that value above, restart, and tail -f your mysql query log and tomcat logs together, so you can confirm validation queries are being sent, and see when they stop showing up in the log. HTH, -- Hassan Schroeder [EMAIL PROTECTED

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-16 Thread Ken Bowen
On Jul 15, 2008, at 10:23 AM, Hassan Schroeder wrote: On Tue, Jul 15, 2008 at 4:04 AM, Ken Bowen [EMAIL PROTECTED] wrote: The problem: With MySQL connect_timeout = 5, I'm getting timeout exceptions (below) even though I have a validation query set; Here's my app's META-INF/context-xml: Context

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-16 Thread David Smith
have a validation query set; Here's my app's META-INF/context-xml: Context path= debug=5 reloadable=true crossContext=true Resource name=jdbc/sb_data auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=xx password=xx

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-16 Thread Hassan Schroeder
; makes a connection leak *very* obvious. (http://www.lambdaprobe.org/) Also, change that value above, restart, and tail -f your mysql query log and tomcat logs together, so you can confirm validation queries are being sent, and see when they stop showing up in the log. HTH, -- Hassan Schroeder

Connections timing out even with validation query??

2008-07-15 Thread Ken Bowen
timeout exceptions (below) even though I have a validation query set; Here's my app's META-INF/context-xml: Context path= debug=5 reloadable=true crossContext=true Resource name=jdbc/sb_data auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1

Re: Connections timing out even with validation query??

2008-07-15 Thread David Smith
Looks like for some reason your mysql db is closing the connection in the middle of your query reads. This isn't normal behavior in a tomcat/mysql setup. Setting connect_timeout only impacts the initial handshake and validationQuery just tests the connection before you borrow it. I wouldn't

Re: Connections timing out even with validation query??

2008-07-15 Thread Ken Bowen
David...see below... On Jul 15, 2008, at 8:28 AM, David Smith wrote: Looks like for some reason your mysql db is closing the connection in the middle of your query reads. This isn't normal behavior in a tomcat/mysql setup. Setting connect_timeout only impacts the initial handshake

Re: Connections timing out even with validation query??

2008-07-15 Thread Hassan Schroeder
On Tue, Jul 15, 2008 at 4:04 AM, Ken Bowen [EMAIL PROTECTED] wrote: The problem: With MySQL connect_timeout = 5, I'm getting timeout exceptions (below) even though I have a validation query set; Here's my app's META-INF/context-xml: Context path= debug=5 reloadable=true crossContext=true

Re: Connections timing out even with validation query??

2008-07-15 Thread Ken Bowen
getting timeout exceptions (below) even though I have a validation query set; Here's my app's META-INF/context-xml: Context path= debug=5 reloadable=true crossContext=true Resource name=jdbc/sb_data auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1

Retriving polish characters from URL Query string in TOMCAT Server

2008-06-18 Thread Raghuveer
I had requirement of retrieving the login details like user_id, name from parent web application. At present I am retrieving by . request.getParameter(user_id) request.getParameter(name) Some times names can be in Polish language from parent web application. What changes i need

Re: Retriving polish characters from URL Query string in TOMCAT Server

2008-06-18 Thread Steve Ochani
Date sent: Wed, 18 Jun 2008 20:27:14 +0530 From: Raghuveer [EMAIL PROTECTED] Subject:Retriving polish characters from URL Query string in TOMCAT Server To: 'Tomcat Users List' users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org Send reply

Re: Retriving polish characters from URL Query string in TOMCAT Server

2008-06-18 Thread Mark Thomas
Raghuveer wrote: What changes i need to make in my JSP Struts web application in order to retrieve the polish characters In addition to any struts configuration, you'll need to set the URIEncoding on the connector. Mark

Re: Retriving polish characters from URL Query string in TOMCAT Server

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Ochani wrote: | From: Raghuveer [EMAIL PROTECTED] | | I had requirement of retrieving the login details like user_id, name | from parent web application. | | At present I am retrieving by . | | request.getParameter(user_id) | |

Re: Retriving polish characters from URL Query string in TOMCAT Server

2008-06-18 Thread Mark Thomas
Christopher Schultz wrote: Steve, Steve Ochani wrote: | From:Raghuveer [EMAIL PROTECTED] | | I had requirement of retrieving the login details like user_id, name | from parent web application. | | At present I am retrieving by . | | request.getParameter(user_id) | |

IE cuts URI - Query part off?

2008-06-02 Thread Marcel Ruff
Hi, this is a general URI: http://server.xmlBlaster.org:8008/myPath?key=value#myFragment I have now the problem that the Query part (key=value) is not arriving in tomcat. Tomcat 6 runs behind Apache 2.2.4. It works fine for most users but not for one with IE Version 6.0.29000 Sending http

Re: IE cuts URI - Query part off?

2008-06-02 Thread Len Popp
, this is a general URI: http://server.xmlBlaster.org:8008/myPath?key=value#myFragment I have now the problem that the Query part (key=value) is not arriving in tomcat. Tomcat 6 runs behind Apache 2.2.4. It works fine for most users but not for one with IE Version 6.0.29000 Sending http

Re: ServletContextListener Query

2008-03-31 Thread Len Popp
configuration stuff. INFO [http-8080-1] - Loading spring configuration stuff. -- View this message in context: http://www.nabble.com/ServletContextListener-Query-tp16368464p16377750.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: ServletContextListener Query

2008-03-31 Thread Sparecreative
on the server. If you don't want automatic reloading to happen at all, remove reloadable=true from the Context element. -- Len -- View this message in context: http://www.nabble.com/ServletContextListener-Query-tp16368464p16401690.html Sent from the Tomcat - User mailing list archive

Re: ServletContextListener Query

2008-03-30 Thread Martin Gainty
@tomcat.apache.org Sent: Saturday, March 29, 2008 9:30 PM Subject: Re: ServletContextListener Query The original formatting was all screwed up. My apologies. I'm seeing an issue when using a ServletContextListener on Tomcat 6.0.13. Tomcat is triggering the contextInitialized method at startup

Re: ServletContextListener Query

2008-03-30 Thread Sparecreative
] To: users@tomcat.apache.org Sent: Saturday, March 29, 2008 9:30 PM Subject: Re: ServletContextListener Query The original formatting was all screwed up. My apologies. I'm seeing an issue when using a ServletContextListener on Tomcat 6.0.13. Tomcat is triggering the contextInitialized method

ServletContextListener Query

2008-03-29 Thread Sparecreative
this message in context: http://www.nabble.com/ServletContextListener-Query-tp16368464p16368464.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: ServletContextListener Query

2008-03-29 Thread Sparecreative
-8080-1] - Loading spring configuration stuff. -- View this message in context: http://www.nabble.com/ServletContextListener-Query-tp16368464p16377750.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-06 Thread Antonio Santana
We figured out what the problem was. IIS was not allowing any requests to go through if the file extension was .jsp with a query string parameter. We basically had to add the .jsp extension to the IIS configuration as a recognized file extension that would pass to the jakarta isap_redirector

Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-03 Thread Rainer Jung
To check the log: At which time did you send which request, and what was the result (OK, or what kind of problem)? And please give us your config (worker configuration, platform and web server versions, ...) Regards, Rainer Antonio Santana wrote: The main unique thing we have with IIS

Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Antonio Santana
, it fails to read any query string parameters. Basically all the standard JSP works just fine through the ISAPI redirector, but when it goes through https://hostname/somefolder/filename.jsp?par_name=value, the query string gets truncated or something. We get a Page Cannot Be Displayed error (404

Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Rainer Jung
Please post your configuration. If the configuration is fine, set your redirector log level to debug, do one request with http and query parameter, one with https and query parameter and a third with https without query parameter and let us have a look at the redirector log file. Regards

Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Antonio Santana
a worker for name ajp13 On 8/2/07, Rainer Jung [EMAIL PROTECTED] wrote: Please post your configuration. If the configuration is fine, set your redirector log level to debug, do one request with http and query parameter, one with https and query parameter and a third with https without query

query on Embedded Tomcat

2007-04-30 Thread robingandhi21
Hi all, I am trying to execute some servlets in the embedded tomcat. But some of the servlets which have a function getParameter(the function the the value of parameter from query string) are not getting executed properly while the same servelts when executed in standalone Tomacat are getting

query

2007-03-23 Thread kedar samvatsar
Hi Everybody, I have installed Tomcat 5.0.28 over windows 2003 server standard edition SP2. When i go to services.msc. Then Press start button .The Tomcat as a service starts. Then if i press the stop button it takes a long time and finally gives a message the service did not responded in a

Apache module to accept encrypted query string.

2007-01-30 Thread Shekar Tippur
Hi Folks, I was wondering if there is any module in Apache that will accept an encrypted query string. I appreciate any inputs.Thanks, Shekar

RE: Apache module to accept encrypted query string.

2007-01-30 Thread Jason Pyeron
Explain encrpyted query string please? And why are you not using post w/ ssl? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Sr. Consultant

JConsole query

2006-09-15 Thread Darren Kukulka
HI There, Just a quick question regarding the JConsole tool we use to monitor Tomcat5 instances - 2 to be precise. We've noticed that within the Memory display window the breakdown of Heap usage shows three areas and their utilisation. The descriptions of each space differs between the

Re: JConsole query

2006-09-15 Thread Jess Holle
Darren Kukulka wrote: HI There, Just a quick question regarding the JConsole tool we use to monitor Tomcat5 instances - 2 to be precise. We've noticed that within the Memory display window the breakdown of Heap usage shows three areas and their utilisation. The descriptions of each space

RE: JConsole query

2006-09-15 Thread Darren Kukulka
Thanks Jess. We suspected this was the case so we'll consolidate to server JVM. -Original Message- From: Jess Holle [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 13:47 To: Tomcat Users List Subject: Re: JConsole query Darren Kukulka wrote: HI There, Just a quick question

Query regarding tomcat cluster

2006-08-03 Thread Vinod Devarajan
Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more instance and followed the steps in the website below. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html I am basically installing both instances on same machine. I was able to start both the instances. The

Query regarding tomcat cluster

2006-08-03 Thread Vinod Devarajan
Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more instance and followed the steps in the website below. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html I am basically installing both instances on same machine. I was able to start both the instances. The

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
that link contains all the necessary steps, when installing on the same machine, you must avoid port conflicts, the two instances aren't allowed to share ports like 8080,8009,4001 etc Filip Vinod Devarajan wrote: Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more

<    1   2   3   4   >