Re: Apache mod_jk SetEnvIf negative look ahead not working

2009-06-22 Thread André Warnier
as2 wrote: Hi, I am trying to add a rule .. Try this : # First, all URLs that start with /app/ and end in either .jsp, .htm # or .html are forwarded to Tomcat LocationMatch ^/app/.+\.(jsp|html?)$ SetHandler jakarta-servlet /LocationMatch # But, we don't want that if it's inside of

Context.xml not updating dataSource

2009-06-22 Thread Francis Judge
I am using Tomcat 6.0.18 and am using jTDS to connect to SQL Server 2005. The application is working fine in development (I'm using Netbeans 6.5) and I build the WAR from the IDE at the moment. When I deploy the WAR to the test server I update the context.xml to point the database connection

Re: APR Native library on tomcat 6

2009-06-22 Thread lmk
thanks a lot Brian; it works now, without using --prefix. Brian Millett wrote: On Fri, 2009-06-19 at 02:05 -0700, lmk wrote: --prefix=/usr/tomcat/apache-tomcat-6.0.18 I'd look where you told it to go. -- Brian Millett - [ Sinclair (re: The Line), The Gathering] The sky was

Re: Context.xml not updating dataSource

2009-06-22 Thread Mark Thomas
Francis Judge wrote: I am using Tomcat 6.0.18 and am using jTDS to connect to SQL Server 2005. The application is working fine in development (I'm using Netbeans 6.5) and I build the WAR from the IDE at the moment. When I deploy the WAR to the test server How do you deploy your WAR? Is

Context.xml not updating dataSource

2009-06-22 Thread Francis Judge
I am using Tomcat 6.0.18 on Windows Vista (dev) and Server 2003 R2 (test) and am using jTDS to connect to SQL Server 2005. The application is working fine in development (I'm using Netbeans 6.5) and I build the WAR from the IDE at the moment. When I deploy the WAR to the test server I update

[SSL Tomcat5.5] Tomcat doesn't see alias in my keystore

2009-06-22 Thread William Vernines
Hello, This my server.xml : Code : Connector port=8443 maxHttpHeaderSize=8192 keystoreFile=/var/lib/tomcat5.5/.keystore keystorePass= keyAlias=tomcat maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false

Re: Context.xml not updating dataSource

2009-06-22 Thread Francis Judge
I'm editing the context.xml in the application's MET-INF directory. The following is what it contains: Resource name=*DB/TMS* auth=*Container* type=*javax.sql.DataSource* username=* password=* driverClassName=*net.sourceforge.jtds.jdbcx.JtdsDataSource*

Re: How to get thread dump on Tomcat 6 (windows)

2009-06-22 Thread Michael Ludwig
Caldarale, Charles R schrieb am 19.05.2009 um 08:37:23 (-0500): From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: How to get thread dump on Tomcat 6 (windows) A late reply to this: Thread-Dump on Windows: If I'm not mistaken, the key-combination CtrlBreak should do

Re: Context.xml not updating dataSource

2009-06-22 Thread Mark Thomas
Francis Judge wrote: I'm editing the context.xml in the application's MET-INF directory. The following is what it contains: Resource name=*DB/TMS* auth=*Container* type=*javax.sql.DataSource* username=* password=* driverClassName=*net.sourceforge.jtds.jdbcx.JtdsDataSource*

Re: [SSL Tomcat5.5] Tomcat doesn't see alias in my keystore

2009-06-22 Thread Mark Thomas
William Vernines wrote: Votre Keystore contient 2 entrée(s) root, 17 juin 2009, trustedCertEntry, Empreinte du certificat (MD5) : tomcat, 17 juin 2009, trustedCertEntry, Empreinte du certificat (MD5) : You can see that tomcat alias exists... However

Re: Context.xml not updating dataSource

2009-06-22 Thread Francis Judge
Brilliant, I didn't see this in any of the documentation that read. Thanks for the help Francis Mark Thomas wrote: Francis Judge wrote: I'm editing the context.xml in the application's MET-INF directory. The following is what it contains: Resource name=*DB/TMS* auth=*Container*

Re: Context.xml not updating dataSource

2009-06-22 Thread Rainer Frey
On Monday 22 June 2009 12:02:49 Mark Thomas wrote: You are editing the wrong file. When a web application is first deployed, any META-INF/context.xml is copied to CATALINA_BASE/conf/enginename/hostname (usually CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg for a war

Re: Context.xml not updating dataSource

2009-06-22 Thread Mark Thomas
Rainer Frey wrote: On Monday 22 June 2009 12:02:49 Mark Thomas wrote: You are editing the wrong file. When a web application is first deployed, any META-INF/context.xml is copied to CATALINA_BASE/conf/enginename/hostname (usually CATALINA_BASE/conf/Catalina/localhost) and renamed to

Re: Pointers on diagnosing session and thread hangs

2009-06-22 Thread Pete Helgren
I posted just the part of the code that was relevant. The initialization and retrieval of the configuration options is not shown here. The pooling mechanism was the focus of the post and that is why I posted just that code. Pete Martin Gainty wrote: where is _isIBMi declaration?.. how is

Re: Context.xml not updating dataSource

2009-06-22 Thread Rainer Frey
On Monday 22 June 2009 13:53:47 Mark Thomas wrote: Rainer Frey wrote: On Monday 22 June 2009 12:02:49 Mark Thomas wrote: You are editing the wrong file. When a web application is first deployed, any META-INF/context.xml is copied to CATALINA_BASE/conf/enginename/hostname (usually

Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
hi every one, Iam new to Log4j... How to create log files in tomcat logs folder using Apache Log4j FileAppender class? This is what i was doing new FileAppender(layout,todayslog,true); but the log files are created under tomcat bin folder...how t change this? Also let me know

RE: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread Caldarale, Charles R
From: abhishek reddy [mailto:abhishek.c1...@gmail.com] Subject: Regarding log4J creating logs in tomcat logs folder using FileAppender but the log files are created under tomcat bin folder Because you're using a relative path, which should be avoided, since you have no control over it.

RE: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Regarding log4J creating logs in tomcat logs folder using FileAppender but the log files are created under tomcat bin folder Because you're using a relative path, which should be avoided, since you have no

Re: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
thanks for the reply. How to retrieve the tomcat base path? I have tried this way System.getProperty(tomcat.base);the value is comming as null On Mon, Jun 22, 2009 at 6:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: abhishek reddy

Re: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
i think it is catalina.base On Mon, Jun 22, 2009 at 6:41 PM, abhishek reddy abhishek.c1...@gmail.comwrote: thanks for the reply. How to retrieve the tomcat base path? I have tried this way System.getProperty(tomcat.base);the value is comming as null On Mon, Jun 22, 2009

Re: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
Now it is working..thanks for the reply On Mon, Jun 22, 2009 at 6:45 PM, abhishek reddy abhishek.c1...@gmail.comwrote: i think it is catalina.base On Mon, Jun 22, 2009 at 6:41 PM, abhishek reddy abhishek.c1...@gmail.comwrote: thanks for the reply. How to retrieve the tomcat

RE: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread Caldarale, Charles R
From: abhishek reddy [mailto:abhishek.c1...@gmail.com] Subject: Re: Regarding log4J creating logs in tomcat logs folder using FileAppender i think it is catalina.base Yes, sorry for the earlier misdirect. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Apache Load Balancer - truncating responses?

2009-06-22 Thread Dmitri O.Kondratiev
On Mon, Jun 22, 2009 at 1:14 AM, André Warnier a...@ice-sa.com wrote: Dmitri O.Kondratiev wrote: Hello! I have the following problem: When using apache load balancer with Tomcat, *sometimes* responses get truncated , resulting in incomplete HTML of *wrong* encoding. My application that

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
Hello, My usecase may have not been clear enough : The internal over http connector : secure = true, scheme = http doesn't behave has I would like for stateful requests because Tomcat generates a secure JSESSIONID cookie even if the configured scheme is http rather than https. Due to this

Re: [SSL Tomcat5.5] Tomcat doesn't see alias in my keystore

2009-06-22 Thread William Vernines
Thanks a lot Mark ! Mark Thomas a écrit : William Vernines wrote: Votre Keystore contient 2 entrée(s) root, 17 juin 2009, trustedCertEntry, Empreinte du certificat (MD5) : tomcat, 17 juin 2009, trustedCertEntry, Empreinte du certificat (MD5) : You can

How to enable debug log level?

2009-06-22 Thread Oliver Block
Hello everybody, I discovered those logging instruction in the tomcat sources: if (log.isDebugEnabled()) log.debug( Not subject to any constraint); how can I set up my tomcat to return true to log.isDebugEnables() ? Best Regards, Oliver Block

Tomcat-Rails, a pet project to run jruby on rails applications within an embedded tomcat

2009-06-22 Thread David Calavera
Hi, I'm working on a little project to use tomcat as server for rails applications without generate a war file. I'm using an embedded tomcat and jruby-rack to wrap requests. I don't know if this could be useful for anyone, currently it's based on my needs, but you can find more info in the

Re: Tomcat-Rails, a pet project to run jruby on rails applications within an embedded tomcat

2009-06-22 Thread Mark Thomas
David Calavera wrote: Hi, I'm working on a little project to use tomcat as server for rails applications without generate a war file. I'm using an embedded tomcat and jruby-rack to wrap requests. I don't know if this could be useful for anyone, currently it's based on my needs, but you

RE: Tomcat-Rails, a pet project to run jruby on rails applications within an embedded tomcat

2009-06-22 Thread Martin Gainty
Hi David- can you use CGIServlet to accomplish the ror? thanks, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir

Re: Form-based authentication

2009-06-22 Thread Oliver Block
Am Sonntag, 21. Juni 2009 01:34:29 schrieb Caldarale, Charles R: [...] you hard-code the single role name in the LoginModule, using whatever value you have in web.xml (currently User). You must have a role class that implements Principal and Serializable (in addition to the Principal class

Re: Apache Load Balancer - truncating responses?

2009-06-22 Thread André Warnier
Hi Dmitri. No need to copy me personally. I am subscribed to the forum, so I get these messages anyway. A very quick look at the files you posted shows the following thing that I personally find strange : In the log.txt, I see that the first browser request is a POST. The response to that

Re: Tomcat-Rails, a pet project to run jruby on rails applications within an embedded tomcat

2009-06-22 Thread David Calavera
On Mon, Jun 22, 2009 at 4:50 PM, Mark Thomas ma...@apache.org wrote: David Calavera wrote: Hi, I'm working on a little project to use tomcat as server for rails applications without generate a war file. I'm using an embedded tomcat and jruby-rack to wrap requests. I don't know if

jaas.config / JAASRealms

2009-06-22 Thread Oliver Block
Hello, on the development pc I've put the jaas.config file to my home directory. As I am running tomcat from netbeans, that's no problem. I've modified jdk/jre/lib/security/java.security to find the jaas.config. Is it compatible with the jaas design to keep web applicaton specific jaas.config

RE: How to enable debug log level?

2009-06-22 Thread Caldarale, Charles R
From: Oliver Block [mailto:li...@oliver-block.eu] Subject: How to enable debug log level? how can I set up my tomcat to return true to log.isDebugEnables() ? Tomcat's internal logging is controlled by conf/logging.properties; tweak that to your heart's content. You will need some knowledge

Re: Tomcat-Rails, a pet project to run jruby on rails applications within an embedded tomcat

2009-06-22 Thread David Calavera
On Mon, Jun 22, 2009 at 4:52 PM, Martin Gainty mgai...@hotmail.com wrote: Hi David- can you use CGIServlet to accomplish the ror? rails doesn't work pretty well with cgi, they are using rack, that's an implementation of python's wsgi in ruby. thanks, Martin

RE: jaas.config / JAASRealms

2009-06-22 Thread Caldarale, Charles R
From: Oliver Block [mailto:li...@oliver-block.eu] Subject: jaas.config / JAASRealms I've modified jdk/jre/lib/security/java.security to find the jaas.config. Not a good idea, since that affects every Java execution on that system. Better to specify the location via the

Slient full uninstall for Tomcat 6.0.16

2009-06-22 Thread Mark Wolff
I am trying to upgrade from 6.0.16 to 6.0.20 with an automated script. So, my thought is to uninstall, then re-install. (If there is a cleaner way, I would love any advice you may have.) I use Uninstall.exe /S to remove the old version, but many directories/files are left behind.

Re: APR Native library on tomcat 6

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, On 6/19/2009 9:59 AM, lmk wrote: I complied apr sources, I dont used binnaries. If you compiled apr, you're not done: you actually need libtcnative-1.so as well as apr. The APR connector is a little misleading in its naming because it's

Re: problem with tomcat-native 1.1.14 and tomcat 6

2009-06-22 Thread Jay M
I am trying to compile the tomcat-native-1.1.14 from Ubuntu, am getting the message :/usr/local/tomcat/bin/tomcat-native-1.1.14-src/jni/native$ sudo ./configure --with-apr=/usr/local/apr --with-ssl=/usr --with-java-home=/usr/lib/jvm/java-6-sun/ [sudo] password for vijay: checking build system

Re: Tomcat window appears briefly, does not startup - Windows XP

2009-06-22 Thread Josh Gooding
Don't know if this was already answered, but make sure you have your logging set for debug logging. I know by default, it is not set to that. That may help get you something in the logs. - Josh 2009/6/16 Martin Gainty mgai...@hotmail.com Tim- what do the logs say? Martin Gainty

How To Obtain a Thread Dump

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, This question comes up enough, I've created a FAQ entry for it: http://wiki.apache.org/tomcat/HowTo#head-a3243c1d640297a9f2aa9446cbed434efbd4d1d9 Now we have an F-er M to RT. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9

Re: Just a few questions on my Tomcat Configuration

2009-06-22 Thread Josh Gooding
Once again (sigh) . I just got out of my management meeting, they want to know if it can be done the other way, with all companies sharing the core code. I'm not exactly sure on how I'd even begin to do this. While I made a good point that A - it's more secure, and B - it is the better way

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cyrille, On 6/21/2009 6:52 AM, Cyrille Le Clerc wrote: I am interested in using the secure attribute of Tomcat connectors for non https/ssl requests. However, the ssl only JSESSIONID cookie mechanism currently relies on request.secure == true

Re: Reading POSTed data

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/19/2009 4:10 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Reading POSTed data The servlet spec is very clear about when the request is consumed to fulfill a

Re: Reading POSTed data

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/20/2009 7:59 AM, André Warnier wrote: Or as multipart/form-data... Now this raises an additional nitpicking question : It has been mentioned before, that Tomcat provides no standard mechanism to read POST parameters that have been

Re: Tomcat window appears briefly, does not startup - Windows XP

2009-06-22 Thread Mark Thomas
Josh Gooding wrote: Don't know if this was already answered, but make sure you have your logging set for debug logging. I know by default, it is not set to that. That may help get you something in the logs. That is a really bad idea. If you turn on debug logging for everything, Tomcat will

Re: problem with tomcat-native 1.1.14 and tomcat 6

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 6/22/2009 3:14 PM, Jay M wrote: I am trying to compile the tomcat-native-1.1.14 from Ubuntu, am getting the message Any reason to use tomcat-native-1.1.14 instead of tomcat-native-1.1.16? When starting the Server i am getting the Log

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
Thanks for your response Christopher, Could we imagine an evolution of Tomcat to generate secure session cookies if request.scheme == https rather than on request.secure == true ? I would be very pleased to propose a patch. Do you have a reason to set request.secure=false while

Trouble calling a secure Web Service requiring client certificate

2009-06-22 Thread frank.bowar
I've got a TOMCAT application that pulls data from a Web Service and just recently the Web Service was hardened to require client certificates. I debugged all my certificate issues and got my Java class that talks to the Web Service working just fine as a stand-alone app. However, I'm having

Re: Just a few questions on my Tomcat Configuration

2009-06-22 Thread Pid
(Late arrival, skimmed the thread, apologies if I'm off the mark). Given the assumption of different data per user/client/company, is the app identical for each company, bar aesthetic changes like images? If so, with minor tweaks to your HTML, a servlet Filter which processes the

Re: Apache Load Balancer - truncating responses?

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/22/2009 10:58 AM, André Warnier wrote: In the log.txt, I see that the first browser request is a POST. The response to that is a 302 moved, with a new location. OK so far. But then, when the browser re-issues the request to the new

Re: Trouble calling a secure Web Service requiring client certificate

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, On 6/22/2009 3:53 PM, frank.bowar wrote: I've got a TOMCAT application that pulls data from a Web Service and just recently the Web Service was hardened to require client certificates. I debugged all my certificate issues and got my Java

Re: Just a few questions on my Tomcat Configuration

2009-06-22 Thread Josh Gooding
This is where my inexperience in tomcat will shine through. Scrapped all xxx.test.com sub-d's and went with test.com/[company id] as the way to go. It prevented me from having to edit the server.xml file and restart tomcat each and everytime that a company is added / subtracted. You are

Apache HTTPS doesn't work - redirects back to HTTP

2009-06-22 Thread BJ Selman
I have tried to follow the myriad of procedures outlined on this, but I am just not seasoned enough. I have created a self-signed certificate on a test server (2k8std-a) with a CN of 2k8std-a. Should the CN be 172.17.2.238 since that is what my host name is named ? Whenever I browse to

dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
Hi, I appologize in advance for the cross-post, but I'm really not sure if this is a problem with the dbcp code or my configuration. I ran into the most troublesome deadlock over the weekend on my server, and cannot figure out how/or why this deadlock occured. Via jconsole, I was able to get

RE: Just a few questions on my Tomcat Configuration

2009-06-22 Thread Caldarale, Charles R
From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: Just a few questions on my Tomcat Configuration Servlet filters though aren't they defined in the server.xml file? No, filters are an aspect of the servlet spec, and are declared in web.xml (valves are Tomcat-specific and

RE: Trouble calling a secure Web Service requiring client certificate

2009-06-22 Thread frank.bowar
Hi Chris - Can you post the relevant parts of your code? I used WSDL2Java to create stubs for the Web Service I am connecting to. Here is my code that wraps around the generated stubs: try { writer = new BufferedWriter(new FileWriter(outFile)); loc = new

apache-tomcat-jdbc-1.0.4 Multiple Resources

2009-06-22 Thread rogerhb
Using the 1.0.4 version of the tomcat jdbc pool, I defined two resources. It seems that the there is interaction between the two resource defined within the jdbc pool. Upon initialization the following item is logged: Jun 22, 2009 1:26:50 PM org.apache.tomcat.jdbc.pool.ConnectionPool init

Re: Just a few questions on my Tomcat Configuration

2009-06-22 Thread Pid
Josh Gooding wrote: This is where my inexperience in tomcat will shine through. Scrapped all xxx.test.com sub-d's and went with test.com/[company id] as the way to go. It prevented me from having to edit the server.xml file and restart tomcat each and everytime that a company is added /

RE: dbcp pool evictor deadlock?

2009-06-22 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool evictor deadlock? I ran into the most troublesome deadlock over the weekend on my server Always start by telling us what version of Tomcat (and therefore which commons-dbcp) you're using. It's likely

Re: dbcp pool evictor deadlock?

2009-06-22 Thread Mark Thomas
Caldarale, Charles R wrote: From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool evictor deadlock? I ran into the most troublesome deadlock over the weekend on my server Always start by telling us what version of Tomcat (and therefore which commons-dbcp) you're

Re: Apache HTTPS doesn't work - redirects back to HTTP

2009-06-22 Thread Pid
BJ Selman wrote: Looks like my attachments are getting stripped, so... It's also in pretty, but largely invisible HTML colours too. This all looks like Apache HTTPD config, are you sure you're asking questions on the right mailing list? p *_Httpd.conf-_* ServerRoot /Apache2.2 Listen

RE: dbcp pool evictor deadlock?

2009-06-22 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool evictor deadlock? THREAD 1: Name: Timer-1 State: BLOCKED on org.apache.tomcat.dbcp.dbcp.poolableconnect...@1e667871 owned by: scheduling.QuartzInternal_Worker-0 Total blocked: 1 Total waited: 15,342 Stack

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cyrille, On 6/22/2009 3:50 PM, Cyrille Le Clerc wrote: My need is the opposite : I want to have request.secure=true but request.scheme=http. What is the requirement that scheme=http? You can actually use a (non-secure) HTTP connector and still set

Re: apache-tomcat-jdbc-1.0.4 Multiple Resources

2009-06-22 Thread Filip Hanik - Dev Lists
most likely because you mispeled initialSize Filip rogerhb wrote: Using the 1.0.4 version of the tomcat jdbc pool, I defined two resources. It seems that the there is interaction between the two resource defined within the jdbc pool. Upon initialization the following item is logged: Jun 22,

Re: dbcp pool evictor deadlock?

2009-06-22 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c172294795f...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool evictor deadlock? THREAD 1: Name: Timer-1 State: BLOCKED

Re: dbcp pool evictor deadlock?

2009-06-22 Thread Mark Thomas
Eric B. wrote: Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c172294795f...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool evictor deadlock? THREAD 1: Name: Timer-1 State:

RE: Apache HTTPS doesn't work - redirects back to HTTP

2009-06-22 Thread Martin Gainty
//your $APACHE_HOME/conf/httpd.conf must redirect all port 80 Traffic to https RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] //of course you will need mod_ssl to be installed and configured (documentation available at) http://www.modssl.org hth

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
Thanks very much for the time you spend on my problem Christopher. I use two connectors : one with secure=true and scheme=http ; another with secured=true, scheme=https. What is the requirement that scheme=http? You can actually use a (non-secure) HTTP connector and still set scheme=https. Do

RE: dbcp pool evictor deadlock?

2009-06-22 Thread Caldarale, Charles R
From: ma...@apache.org Subject: RE: dbcp pool evictor deadlock? Like a number of classes, PoolableConnection extends AbandonedTrace so this isn't entirely unexpected. I really shouldn't be looking at code with a splitting headache... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Mark Thomas
Cyrille Le Clerc wrote: Thanks very much for the time you spend on my problem Christopher. I use two connectors : one with secure=true and scheme=http ; another with secured=true, scheme=https. What is the requirement that scheme=http? You can actually use a (non-secure) HTTP connector

Re: apache-tomcat-jdbc-1.0.4 Multiple Resources

2009-06-22 Thread rogerhb
Yes that was it, the message threw me off a bit since when I read to mean that the initialSize that I setup was larger, instead of the initialSize set by the default (which is 10) was larger. Thanks, Roger Filip Hanik - Dev Lists wrote: most likely because you mispeled initialSize

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
Thank you for the clarification Mark. Depending on where the session is created, you might be able to use a filter to wrap your response and modify the secure attribute of any cookies as they are added to the response. I am sorry to bother you but I don't see how I could wrap the class

RE: Just a few questions on my Tomcat Configuration

2009-06-22 Thread George Sexton
This is where my inexperience in tomcat will shine through. Scrapped all xxx.test.com sub-d's and went with test.com/[company id] as the way to go. It prevented me from having to edit the server.xml file and restart tomcat each and everytime that a company is added / subtracted. You are

How does one control what the path is on the JSESSIONID cookie?

2009-06-22 Thread John Caron
Tomcat 6.0.18 automatically adds the session cookie like: Set-Cookie: JSESSIONID=6D839FF3B960947CC6FD41B98CD02E0D; Path=/thredds How can I change the path part of the cookie? thanks... - To unsubscribe, e-mail:

Re: problem with tomcat-native 1.1.14 and tomcat 6

2009-06-22 Thread Jay M
Hi Chris, I have done all those configuration in my server.xml and it given below, Do you have any idea about highlighted message showing up given in previous post while trying to install tomcat-native-1.1.14. Connector port=80 connectionTimeout=2

RE: problem with tomcat-native 1.1.14 and tomcat 6

2009-06-22 Thread Caldarale, Charles R
From: Jay M [mailto:vija...@eossys.com] Subject: Re: problem with tomcat-native 1.1.14 and tomcat 6 Do you have any idea about highlighted message showing up given in previous post while trying to install tomcat-native-1.1.14. Not sure what you highlighted in a plain text message, but I did