Re: IE & Firefox work fine, Mac, Google and Safari don't authenticate

2011-04-05 Thread Dick Eastlake
Here's an access log from a successful login using Firefox.  Note the post toj_security_check returns a 302 and the id of the authenticated user shows in the returned request for a page located in the secured portion of the site. 213.20.160.134 - - [05/Apr/2011:22:44:31 -0700] "GET /catalog/deale

Re: IE & Firefox work fine, Mac, Google and Safari don't authenticate

2011-04-05 Thread Dick Eastlake
Thanks, Andre.  I'll re-read the on-line documentation, and try the examples you will find in Google. I appreciate your help. From: André Warnier To: Tomcat Users List Sent: Tuesday, April 5, 2011 6:43 PM Subject: Re: IE & Firefox work fine, Mac, Google and Sa

Re: IE & Firefox work fine, Mac, Google and Safari don't authenticate

2011-04-05 Thread André Warnier
Hi. Since I doubt that many people here really feel like going through a bunch of lines of badly-formatted configuration, code and logs to figure out exactly what is wrong, I suggest that you search Google for "tomcat form based authentication example" and use one of the numerous ones there as

IE & Firefox work fine, Mac, Google and Safari don't authenticate

2011-04-05 Thread Dick Eastlake
Users can authenticate to the secured area of my Website using IE and Firefox; no problem.  However,Macs, Google and Safari browsers cannot log in. Macs, Google and Safari browsers go straight to the form-error-page "not_auth.html". Please help! I'm using a simple form-based authentication me

RE: tomcat and apache log entry correlation with mod_jk

2011-04-05 Thread Anthony J. Biacco
FYI, I have this tentatively working with mod_unique_id by doing: Apache config: RequestHeader set UNIQUE_ID %{UNIQUE_ID}e JkEnvVar UNIQUE_ID Tomcat accesslogvalve pattern: %{UNIQUE_ID}i I might use it like this, I might not. They might want a more telling id like apache_host:un

RE: Tomcat hardware requirments

2011-04-05 Thread Caldarale, Charles R
> From: bfackrell [mailto:bradly.h.fackr...@saic.com] > Subject: Re: Tomcat hardware requirments > the processor and RAM on the Tomcat server (where the > music and video will be stored) are not important. Again, that depends on your webapp; if it tries to load the whole movie into memory befor

RE: tomcat and apache log entry correlation with mod_jk

2011-04-05 Thread Anthony J. Biacco
Nothing yet, was in research and spitball mode, but am currently looking at mod_unique_id -Tony > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, April 05, 2011 1:08 PM > To: Tomcat Users List > Subject: Re: tomcat and apache log entr

Re: tomcat and apache log entry correlation with mod_jk

2011-04-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony, On 4/5/2011 2:21 PM, Anthony J. Biacco wrote: > I'm using apache 2.0.17, tomcat 6.0.28 (and soon tomcat 7) with mod_jk > 1.2.28 on CentOS 5.5 > I'd like to put a unique identifier in the tomcat request log and the > apache request log so that

Re: Tomcat hardware requirments

2011-04-05 Thread David Kerber
On 4/5/2011 2:27 PM, Caldarale, Charles R wrote: From: bfackrell [mailto:bradly.h.fackr...@saic.com] Subject: Re: Tomcat hardware requirments since I only have 512 MB of RAM will have to be Windows XP. Do yourself a favor and use Linux. - Chuck Or Windows 2000, if you can get a hold of a copy

Re: Tomcat hardware requirments

2011-04-05 Thread bfackrell
Filip Hanik - Dev Lists wrote: > > On 4/5/2011 10:46 AM, bfackrell wrote: >> What are the hardware requirements for Tomcat 7? I looked (Google and on >> the >> Apache website) >> >> I’m just finishing a college course that taught Java technologies that >> interact with Tomcat but I want to know

RE: Tomcat hardware requirments

2011-04-05 Thread Caldarale, Charles R
> From: bfackrell [mailto:bradly.h.fackr...@saic.com] > Subject: Re: Tomcat hardware requirments > since I only have 512 MB of RAM will have to be Windows XP. Do yourself a favor and use Linux. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is

tomcat and apache log entry correlation with mod_jk

2011-04-05 Thread Anthony J. Biacco
I'm using apache 2.0.17, tomcat 6.0.28 (and soon tomcat 7) with mod_jk 1.2.28 on CentOS 5.5 I'd like to put a unique identifier in the tomcat request log and the apache request log so that I can match up log entries between the two. Is there any way to do this with mod_jk, maybe with JkEnvVar? And

Re: Tomcat hardware requirments

2011-04-05 Thread bfackrell
bfackrell wrote: > > What are the hardware requirements for Tomcat 7? I looked (Google and on > the Apache website) > > I’m just finishing a college course that taught Java technologies that > interact with Tomcat but I want to know more so I’ve decided to try to > build my own Tomcat server f

Re: Tomcat hardware requirments

2011-04-05 Thread Filip Hanik - Dev Lists
On 4/5/2011 10:46 AM, bfackrell wrote: What are the hardware requirements for Tomcat 7? I looked (Google and on the Apache website) I’m just finishing a college course that taught Java technologies that interact with Tomcat but I want to know more so I’ve decided to try to build my own Tomcat s

Re: Tomcat hardware requirments

2011-04-05 Thread Juha Laiho
On 04/05/2011 07:46 PM, bfackrell wrote: What are the hardware requirements for Tomcat 7? I looked (Google and on the Apache website) I’m just finishing a college course that taught Java technologies that interact with Tomcat but I want to know more so I’ve decided to try to build my own Tomcat

Re: Tomcat hardware requirments

2011-04-05 Thread David kerber
On 4/5/2011 12:46 PM, bfackrell wrote: What are the hardware requirements for Tomcat 7? I looked (Google and on the Apache website) I’m just finishing a college course that taught Java technologies that interact with Tomcat but I want to know more so I’ve decided to try to build my own Tomcat

Tomcat hardware requirments

2011-04-05 Thread bfackrell
What are the hardware requirements for Tomcat 7? I looked (Google and on the Apache website) I’m just finishing a college course that taught Java technologies that interact with Tomcat but I want to know more so I’ve decided to try to build my own Tomcat server from scrap computer parts that I h

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Michael Jerger
Mark wrote: > On 05/04/2011 13:21, André Warnier wrote: > > I'll split my response in 2 parts, so that the right person(s) here have > > an easier time to interject their answers/suggestions : > > > > Part 1, for a tomcat expert : > > > > Michael Jerger wrote: > > ... > > > >> So I'm wondering w

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Michael Jerger
Andre wrote: > That is one of those areas where giving a precise answer is not easy, > because it depends on so many things.. > > You can run two separate Apache httpd instances of course, each with its > individual MaxClients setting. But then you will have to give them > separate listening port

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Mark Thomas
On 05/04/2011 13:21, André Warnier wrote: > I'll split my response in 2 parts, so that the right person(s) here have > an easier time to interject their answers/suggestions : > > Part 1, for a tomcat expert : > > Michael Jerger wrote: > ... >> >> So I'm wondering why tomcat needs all these thread

question for tomcat manager remote deployment

2011-04-05 Thread WEIQUAN YUAN
hi, I am just wondering if tomcat manager support remote deployment outside of webapps? I would like to use margo maven plugin to remote deploy application outside of webapps, but cargo delegate this mission to tomcat manager, so I I am just wondering if tomcat manager support remote deployment out

JDBC Pool Disconnections

2011-04-05 Thread הילה
Hey, I have lately (with your help) switched the pool that tomcat uses , from the basic pool to the JDBC pool, with these actions- 1. under tag in xml configuration [conf/catalina/localhost/Appname.xml] I specified the factory name, as you can see below- name="jdbc/com/vstechnology/appname scope

Re: How to limit tomcats thread consumption?

2011-04-05 Thread André Warnier
Part 2, Apache httpd matters.. Michael Jerger wrote: ... Sorry for beeing not precise enough. I was talking about apache VirtualHosts. I've two sites enabled www and dev. So I've to set Maxclients to the total of both maximums concurrent requests - righ? While writing this - I tend to two sepe

Session sharing between context

2011-04-05 Thread Sergio
Hi, Running with Java5, Tomcat5.5.33, Hibernate, MyFaces+tomahawk on Debian/Windows. We have an environment where there will be several instance of the same webapp running on tomcat (sharing libraries when possible), each connecting to different database. My idea is to have a webapp dedicate

Re: How to limit tomcats thread consumption?

2011-04-05 Thread André Warnier
I'll split my response in 2 parts, so that the right person(s) here have an easier time to interject their answers/suggestions : Part 1, for a tomcat expert : Michael Jerger wrote: ... So I'm wondering why tomcat needs all these threads and whether I can limit these threads ... (on my system

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Peter Crowther
On 4 April 2011 18:29, André Warnier wrote: > Michael Jerger wrote: > >> last days I leased a virtual host at 1und1 (a german hoster). >> Unfortunately 1und1 found a new, creative way to limit the joy of using >> their VPH - they limit the number of operating-system processes to 256 >> processes

Re: reverse proxy with SSO using CAS.

2011-04-05 Thread Mark Thomas
On 04/04/2011 22:28, Jorge Infante Osorio wrote: > Hi Mark. > > -Mensaje original- > De: Mark Thomas [mailto:ma...@apache.org] > Enviado el: viernes, 25 de marzo de 2011 12:57 > Para: Tomcat Users List > Asunto: Re: reverse proxy with SSO using CAS. > > On 25/03/2011 16:35, Jorge Infante

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Michael Jerger
Hi Andre, thanx very much for the detailed answer ... > > Maxclinets is defined for two v-hosts - prod with 40 and dev with 3 so > > your right, I can save 7 processes here :-) > > I am not sure, but you may have the wrong understanding of v-hosts. Are you > talking about Apache VirtualHosts, or

Re: Tomcat calling into itself

2011-04-05 Thread André Warnier
Pid wrote: On 4/5/11 7:56 AM, Michael McCutcheon wrote: Hello, I have a java webapp that is going to make calls to Solr. Both the webapp and Solr will be on the same server. OK. Note it's a good idea to tell us what exact OS, Java, Tomcat versions you're running. I have heard that it is

Re: Tomcat calling into itself

2011-04-05 Thread Pid
On 4/5/11 7:56 AM, Michael McCutcheon wrote: > Hello, > > I have a java webapp that is going to make calls to Solr. Both the > webapp and Solr will be on the same server. OK. Note it's a good idea to tell us what exact OS, Java, Tomcat versions you're running. > I have heard that it is not re

Re: How to limit tomcats thread consumption?

2011-04-05 Thread André Warnier
Michael Jerger wrote: Hi, a) are you sure ? Since, commercially speaking, I can't imagine what benefit they would get from this (as opposed to e.g. limiting the amount of RAM or disk space), I tend to have a doubt. unfortunately I am ... and yes, I agree - this option is absolutely mindless

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Michael Jerger
Hi, > a) are you sure ? Since, commercially speaking, I can't imagine what > benefit they would get from this (as opposed to e.g. limiting the amount > of RAM or disk space), I tend to have a doubt. unfortunately I am ... and yes, I agree - this option is absolutely mindless ... > Also, I am no