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

RE: DB connection error -Tomcat 6 config

2010-02-25 Thread Karthik Nanjangude
Hi I hope this helps I have been using this from TC 5.0.18.0 ,5.0.20.0 , 5.0.24.0 And have never any issues with connection pool With Oracle 10GDB , JDK1.4 /1.5,ojdbc14.jar With regards karthik -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent:

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 shutdown

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

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),

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= -Dsun.net.client.defaultReadTim

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 a

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 /root/b

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 o

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 Mess

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 element not

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 ve

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 aft

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: 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 those

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 n

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 addi

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 d

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 fami

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 av

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: 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 > > >default > > org.apache.catalina.servlets.DefaultServlet > >

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: 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: 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 loadi

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 f

Re: Deploy war

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 7:14 PM, Kaushal Shriyan wrote: > On Thu, Feb 25, 2010 at 12:55 PM, Kaushal Shriyan > 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

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 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris, > > On 2/19/2010 11:08 AM, Chris Mannion wrote: >> Thank, genuinely, for the res

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 fri

Re: Deploy war

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 10:01 PM, Oliver Dauter wrote: > On Thu, Feb 25, 2010 at 13:27, Kaushal Shriyan > wrote: >> On Thu, Feb 25, 2010 at 4:33 PM, Lorenzo Salvadorini >> wrote: >>> 2010/2/25 Kaushal Shriyan >> >> I did downloaded >> http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/

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 confirm

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 Lori

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 traf

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 org.apache.catalina.servlets.DefaultServlet > the right solution? Yes. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

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 -

Re: listing directory content outside tomcat root

2010-02-25 Thread Ivan Longhi
ops is useless On Thu, Feb 25, 2010 at 3:14 PM, Ivan Longhi wrote: >       >           >       -- ciao, ivan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...

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 default org.apache.catalina.servlets.DefaultServlet listings false conf/server.xml .

Re: Deploy war

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 12:55 PM, Kaushal Shriyan 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 and extracted it.

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 ha

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”:

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 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 17:09:31

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 de

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 default org.apache.catalina.servlets.DefaultServlet listings false

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 ht

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

2010-02-25 Thread Konstantin Kolinko
2010/2/25 Albert Tumanov : > 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 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 a

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 st

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 w