Re: Client certificate gone after 1 minute timeout (SSL, APR)

2010-02-25 Thread Albert Tumanov
Are you keeping an SSL connection for a long time? Or, do you mean that if you wait for slightly longer than 1 minute after the last SSL request to make another one, the client certificate does not get delivered to Tomcat? The latter one :) 1) go to https://localhost:8443/ssltest, it will

Re: Tomcat loading dlls

2010-02-25 Thread Konstantin Kolinko
Please be careful with Nabble. You are resending your messages to the list [1] the third time in a row. Maybe there was some OK button that you were inadvertently pressing. Regarding Eclipse on Windows: 1. If you updated your PATH variable, any program that was started before the update will

Re: Regarding Connector in tomcat 6

2010-02-25 Thread André Warnier
Cummins College wrote: Hi, Actually we are designing a security layer over our web app. We want to give the user an option of choosing between http or https on login. Hence the need of changing from http to https or vice-versa at runtime. I have the impression that you are going about this in

Re: Client certificate gone after 1 minute timeout (SSL, APR)

2010-02-25 Thread Konstantin Kolinko
2010/2/25 Albert Tumanov altum...@gmail.com: There is a concept of SSL session (Resumed TLS handshake), I think that will not work anymore, because of CVE-2009-3555 See http://tomcat.apache.org/security-6.html Best regards, Konstantin Kolinko

Re: Regarding Connector in tomcat 6

2010-02-25 Thread Pid
On 25/02/2010 07:11, Cummins College wrote: Hi, Actually we are designing a security layer over our web app. We want to give the user an option of choosing between http or https on login. Why do you need to change the properties of the connector to do that? Hence the need of changing from

listing directory content outside tomcat root

2010-02-25 Thread Ivan Longhi
hi, I would like to list the content of a directory outside tomcat root without enabling the listings parameter in default servlet. conf/web.xml servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class

Re: listing directory content outside tomcat root

2010-02-25 Thread Tim Funk
Enable listings is sort of** a global setting. Since the default servlet is declared in conf/web.xml - its inherited in *every* webapp. So its config is also inherited. (Bummer) BUT - if you add a WEB-INF/web.xml to EVERY webapp with the default servlet settings - then you can remove the

Sending request to tomcat failed.....

2010-02-25 Thread Munirathinavel
Hi all... I've been performance testing for few days.While doing load testing with 50 users, I'm also trying to access the application through Browser but sometimes pages are not loading for long time.While seeing the logs I'm getting the following lines in mod_jk.log [Thu Feb 25

Apache 2.2 and TomCat 6.0 using SSL

2010-02-25 Thread sikorsky
I'm new to Apache 2.2 and TomCat 6.0. I thought I could use SSL on my Apache web server and not need to have SSL on my TomCat applications. Especially since they are both on the same server. I installed an Entrust Cert on my Apache webserver and it works fine with https. When I redirect to

ReplicationValve filter ...

2010-02-25 Thread Stephane Lorin
Hi, I’d just configure a tomcat’s cluster with two nodes. The version of Tomcat is 6.0.24 with JRE 6.0.15 on Ubuntu 9.10. Cluster’s part of my “Server.xml”: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=8 Manager

Re: Sending request to tomcat failed.....

2010-02-25 Thread André Warnier
Munirathinavel wrote: Hi all... I've been performance testing for few days.While doing load testing with 50 users, I'm also trying to access the application through Browser .. I think that you should get these 50 people off your shoulders, so that you can pay attention to the answers you

Re: Deploy war

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 12:55 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, Is there a tool available to deploy same war to multiple tomcat server ? Thanks, Kaushal Hi, can someone guide me about http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html ? I did downloaded TCD

Re: listing directory content outside tomcat root

2010-02-25 Thread Ivan Longhi
thanks!!! this should be the solution (and one more little question at the end of code): conf/web.xml servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param

Re: listing directory content outside tomcat root

2010-02-25 Thread Ivan Longhi
ops Parameter name=listings value=true / is useless On Thu, Feb 25, 2010 at 3:14 PM, Ivan Longhi ivan.lon...@gmail.com wrote:       Context path=/test docBase=/path_to_some_dir/           Parameter name=listings value=true /       /Context -- ciao, ivan

RE: listing directory content outside tomcat root

2010-02-25 Thread Caldarale, Charles R
From: Tim Funk [mailto:funk...@apache.org] Subject: Re: listing directory content outside tomcat root Since the default servlet is declared in conf/web.xml - its inherited in *every* webapp. So its config is also inherited. (Bummer) Not a bummer at all - it's a very good thing. BUT - if

RE: listing directory content outside tomcat root

2010-02-25 Thread Caldarale, Charles R
From: Ivan Longhi [mailto:ivan.lon...@gmail.com] Subject: Re: listing directory content outside tomcat root is servlet-classorg.apache.catalina.servlets.DefaultServlet /servlet-class the right solution? Yes. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

tomcat 6.0.18 - important amount of tcp traffic not related to http request

2010-02-25 Thread Benoit VILLAUMIE
Hi, I have noticed on our network an important bandwith consumption that seems related to tomcat instances. I am currently using multiple tomcat 6.0.18 instances (on linux plateform with jvm 1.6), some of theses instances belonging to a same cluster. So, I was thinking first that this

Re: ReplicationValve filter ...

2010-02-25 Thread Filip Hanik - Dev Lists
The idea behind the ReplicationValve filter is to save time and do not check for session changes for certain URL's. However, it takes about the same time to check if the session has changed as to go through the filter, so you can leaveit empty best Filip On 02/25/2010 06:43 AM, Stephane

Re: NioConnector limits and comet requests

2010-02-25 Thread Filip Hanik - Dev Lists
On 02/23/2010 10:09 PM, James Roper wrote: Hi, I'm trying to understand how the Tomcat 6.0 NIO connector handles the various limit attributes in the configuration, particularly in regards to comet requests. I've had a look at the source code, and I think I understand, but I'd like to

Re: Deploy war

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 10:01 PM, Oliver Dauter odau...@gmail.com wrote: On Thu, Feb 25, 2010 at 13:27, Kaushal Shriyan kaushalshri...@gmail.com wrote: On Thu, Feb 25, 2010 at 4:33 PM, Lorenzo Salvadorini lorenzo.salvador...@softecspa.it wrote: 2010/2/25 Kaushal Shriyan

Re: Apache 2.2 and TomCat 6.0 using SSL

2010-02-25 Thread Cyrille Le Clerc
Hello, We tried to detail precisely on a blog post named Tomcat, SSL, communications sécurisées et X-Forwarded-Proto (1) different solutions to handle SSL with Tomcat including decrypting https on the Apache layer. It is written in french but there are many schemas and it is google translate

Re: Deploy war

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 7:14 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: On Thu, Feb 25, 2010 at 12:55 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, Is there a tool available to deploy same war to multiple tomcat server ? Thanks, Kaushal Hi, can someone guide me

Re: Apache 2.2 and TomCat 6.0 using SSL

2010-02-25 Thread Pid
On 25/02/2010 15:56, sikorsky wrote: I'm new to Apache 2.2 and TomCat 6.0. I thought I could use SSL on my Apache web server and not need to have SSL on my TomCat applications. Especially since they are both on the same server. I installed an Entrust Cert on my Apache webserver and it works

Re: What governs a URL connection timeout?

2010-02-25 Thread Chris Mannion
Thanks Chris, Very helpful advice. I can't help but feel a little out of my depth with this one :-\ On 19 February 2010 16:46, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 2/19/2010 11:08 AM, Chris Mannion wrote: Thank,

Re: Sending request to tomcat failed.....

2010-02-25 Thread André Warnier
Pid wrote: Maybe you're not seeing any of the answers we're posting? In which case.. :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Sending request to tomcat failed.....

2010-02-25 Thread Pid
Maybe you're not seeing any of the answers we're posting? p On 25/02/2010 13:04, Munirathinavel wrote: Hi all... I've been performance testing for few days.While doing load testing with 50 users, I'm also trying to access the application through Browser but sometimes pages are not

Re: Regarding Connector in tomcat 6

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/25/2010 2:11 AM, Cummins College wrote: Actually we are designing a security layer over our web app. We want to give the user an option of choosing between http or https on login. Hence the need of changing from http

Re: NioConnector limits and comet requests

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 2/25/2010 12:47 AM, James Roper wrote: Is there anyone on this list with a detailed knowledge of the NIO Connector? In spite of his terse reply, Filip is, I believe, quite familiar with that code. Would you consider writing a patch and

Re: listing directory content outside tomcat root

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 2/25/2010 9:14 AM, Ivan Longhi wrote: this should be the solution (and one more little question at the end of code): conf/web.xml servlet servlet-namedefault/servlet-name

Re: Apache 2.2 and Tomcat 6.0 using SSL

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/25/2010 10:56 AM, sikorsky wrote: I'm new to Apache 2.2 and TomCat 6.0. I thought I could use SSL on my Apache web server and not need to have SSL on my Tomcat applications. You can. Especially since they are

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
Sorry for the delay - supplying both my META-INF/context.xml and webapps/WEB-INF/web.xml contents. Should be noted: for the factory type in the params below, I tried both factory=org.apache.commons.dbcp.BasicDataSourceFactory and factory=org.apache.dbcp.BasicDataSourceFactory, each to no

Re: NioConnector limits and comet requests

2010-02-25 Thread Filip Hanik - Dev Lists
On 02/25/2010 01:26 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 2/25/2010 12:47 AM, James Roper wrote: Is there anyone on this list with a detailed knowledge of the NIO Connector? In spite of his terse reply, Filip is, I believe, quite

Re: NioConnector limits and comet requests

2010-02-25 Thread Filip Hanik - Dev Lists
svn co http://svn.apache.org/repos/asf/tomcat/trunk On 02/25/2010 01:48 PM, Filip Hanik - Dev Lists wrote: On 02/25/2010 01:26 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 2/25/2010 12:47 AM, James Roper wrote: Is there anyone on this list with a

Re: Sending request to tomcat failed.....

2010-02-25 Thread Pid
On 25/02/2010 19:49, André Warnier wrote: Pid wrote: Maybe you're not seeing any of the answers we're posting? In which case.. :-) [cue tumbleweed] p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: DB connection error -Tomcat 6 config

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/25/2010 3:45 PM, Propes, Barry L wrote: Should be noted: for the factory type in the params below, I tried both factory=org.apache.commons.dbcp.BasicDataSourceFactory and factory=org.apache.dbcp.BasicDataSourceFactory, each to no

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
Also, After reconfiguring, I seem to be getting this error too, now. For which a cursory search on Google seems to reveal many cases of this happening with various DB drivers, as well as different versions of Tomcat, from most recent to the 5x series. But no real solution found yet within

Re: [OT] jvm exits without trace

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, On 2/24/2010 8:31 AM, Taylan Develioglu wrote: We have also had failures with hotspot error files (hs_err) present, and the cause specified was indeed SIGSEGV indicating a page fault. But I don't know if the two are related. Just to be

Re: jvm exits without trace

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylann, On 2/24/2010 8:31 AM, Taylan Develioglu wrote: Most memory is commited to tomcat, where a 24G machine would have 18G allocated to heap, 128M to permgen and some unspecified amount would get used by jni for apr. About 4G remains free after

Re: DB connection error -Tomcat 6 config

2010-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/25/2010 4:26 PM, Propes, Barry L wrote: After reconfiguring, I seem to be getting this error too, now. For which a cursory search on Google seems to reveal many cases of this happening with various DB drivers, as well as different

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config javax.servlet.ServletException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' That's symptomatic of the Resource element

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
I'll totally remove factory. It was necessary in my 4.1 build. I'll also tweak the other ms time settings, and the WhileIdle - to borrow, like you suggest and see if that works better, of if at all. I'll also try removing the resource-ref and see what occurs. Thanks, Chris. -Original

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
I wondered about that, too, Chuck, because I'm not referencing that anywhere! I recall a couple of years ago you emphatically stating (to which I wholly agree) about the sun driver being total junk, but for the life of me can't determine how that's trying to be referenced! I might have a very

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Propes, Barry L
Ok, Chris -- good news and bad news for me, I suppose. I made a sole reference to the driver source in a standalone JSP, which could hit it, so we know the driver is good and valid. It's just that it's being refused in the DBCP setting within the context.xml file in the META-INF fldr, as well

Re: [OT] Sending request to tomcat failed.....

2010-02-25 Thread André Warnier
Pid wrote: On 25/02/2010 19:49, André Warnier wrote: Pid wrote: Maybe you're not seeing any of the answers we're posting? In which case.. :-) [cue tumbleweed] In the same vein, I got an email message yesterday (from one of our watchdog scripts), which was : quote Subject: Cron

Re: What governs a URL connection timeout?

2010-02-25 Thread Stephan van Loendersloot
On 25-02-10 18:37, Chris Mannion wrote: Very helpful advice. I can't help but feel a little out of my depth with this one :-\ Hi Chris, You may want to check if your JVM is started with one of the following options: -Dsun.net.client.defaultConnectTimeout=value in milliseconds

Re: [OT] Sending request to tomcat failed.....

2010-02-25 Thread Pid
On 25/02/2010 22:00, André Warnier wrote: Pid wrote: On 25/02/2010 19:49, André Warnier wrote: Pid wrote: Maybe you're not seeing any of the answers we're posting? In which case.. :-) [cue tumbleweed] In the same vein, I got an email message yesterday (from one of our watchdog scripts),

Tomcat SSO JSESSIONIDSSO value can't be reset by browser

2010-02-25 Thread Xiaojun Deng
Hello, I use the Tomcat SSO function, and I found that when I restart my tomcat or the session timeout, I refresh the page, the cookie JSESSIONIDSSO keep the old value, so I can't login my application. And the web application's JSESSIONID works well, they can reset the cookie value. Is there

Java programm to Shutdwon the tomcat server

2010-02-25 Thread dBenjamin
Thanks for helping developers… Can you please help me I am facing problem to shutdown the tomcat server in windows platform (xp, vista, windows7). if you click CTRL+ C in the tomcat console window, server getting shutdown. Like that is any specific command to send through java program to

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Karthik Nanjangude
Hi I hope this helps ?xml version=1.0 encoding=UTF-8? Context workDir=work/Catalina/localhost/appwar Resource name=jdbc/OrclDB auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory user=ABCD password=WXYZ

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Felix Schumacher
Hi, have you checked, that no context file for your webapp exists in conf/Catalina/localhost? The file would be named like your webapp but ending with .xml. So if your webapp is called foo. The file would be conf/Catalina/localhost/foo.xml. Another thing with filenames. You called your context