[ANN] Apache Tomcat Connectors 1.2.39 released

2014-03-11 Thread Mladen Turk
The Apache Tomcat Project is proud to announce the release of version 1.2.39 of Apache Tomcat Connectors. This version fixes few bugs found in previous releases and adds some new features like IPV6 support. Full details of these changes and new features, are available in the Apache Tomcat Connect

AW: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Clemens Wyss DEV
>VelocityViewServlet or VelocityLayoutServlet? None of these in use I give my "szenario" another try ;) [HTTP REQUEST 1] enters [HTTP REQUEST 1] starts writing to the response.writer -> at a "certain buffer limit" the response is commited [HTTP REQUEST 2] enters, gets "the same" (i.e. the recycl

RE: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-03-11 Thread Isaac Gonzalez
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, March 07, 2014 8:18 AM To: Tomcat Users List Subject: Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 3/

Tomcat 8.0

2014-03-11 Thread Gallegos, Alfonso
Does anyone have an idea when the first stable version of tomcat 8 will be released? Thanks. Visit us on the Web at mesirowfinancial.com This communication may contain privileged and/or confidential information. It is intended solely for the use of the addressee. If you are not the intended re

RE: The Service Component

2014-03-11 Thread Jeffrey Janner
> -Original Message- > From: Leo Donahue [mailto:donahu...@gmail.com] > Sent: Monday, March 10, 2014 4:21 PM > To: Tomcat Users List > Subject: Re: The Service Component > > On Mon, Mar 10, 2014 at 7:26 AM, Jeffrey Janner > > wrote: > > > > -Original Message- > > > From: Leo Dona

Re: Passing additional parameters using j_security_check (Form based authentication)

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neeraj, On 3/8/14, 2:06 AM, Neeraj Sinha wrote: > Chris, > > On 7 March 2014 21:43, Christopher Schultz > wrote: > > Neeraj, > > On 3/6/14, 4:34 AM, Neeraj Sinha wrote: I have a jsp application and my tomcat version is 7.0.34. Authenti

Re: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 3/11/14, 11:23 AM, Clemens Wyss DEV wrote: > First of all: thanks for the quick replies! I appreciate very > much. > >> It would help if you told us which Tomcat version you were >> using. > Tomcat 7.0.52, i.e. latest greatest > >> (Th

Re: [Tomcat 6] Maximum webapps in one instance

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phillipe, On 3/11/14, 11:03 AM, philippe rouxel wrote: > I use Tomcat in a RestFull application with cxf and spring. It > works fine. > > Actually, this application is deploy in a single web app. > > My client ask if I can slip all the services (n

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread André Warnier
Lmhelp1 wrote: ... > The other thing is : do you have the code of that webapp and could you change it ? Yes, I can. > And why do the files have to be owned by user1/group1 ? Is it because some other process must be able to read/write them ? The other process is me :) The webapp stores

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Lmhelp1
Thank you for your answers. > It sounds like you have installed Tomcat 6, using the standard Ubuntu/Debian tomcat package (apt-get etc..). Yes indeed. > That package is the one that specifies the user/group under which this Tomcat is running (in reality it is the java JVM which is running,

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread André Warnier
Lmhelp1 wrote: -- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a "Tomcat v6.0" webapp on a "Debian 7.2 Wheezy" OS. In particular, this webapp creates some files on the filesystem. The files created

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 3/11/14, 12:31 PM, Lmhelp1 wrote: > -- Files created by a Tomcat webapp and owner, owner group, > permissions for this file -- > > Hello and thank you for reading my post. > > I am running a "Tomcat v6.0" webapp on a "Debian 7.2 Wheezy" OS

Re: Tomcat 7 Session Persistence disable not working as expected

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/11/14, 8:46 AM, Konstantin Kolinko wrote: > 2014-03-10 10:58 GMT+04:00 Akash Jain : >> Christopher, >> >> I have changed in server.xml. Below is the server.xml part - >> >> > sessionCookieDomain="myapp.mydomain.com" sessionCookieP

Re: AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Mark Thomas
On 11/03/2014 15:23, Clemens Wyss DEV wrote: > First of all: thanks for the quick replies! I appreciate very much. > >> It would help if you told us which Tomcat version you were using. > Tomcat 7.0.52, i.e. latest greatest OK. That rules out all the known issues that might cause this. >> (The r

Re: [Tomcat 6] Maximum webapps in one instance

2014-03-11 Thread André Warnier
philippe rouxel wrote: Hi, I use Tomcat in a RestFull application with cxf and spring. It works fine. Actually, this application is deploy in a single web app. My client ask if I can slip all the services (nearly 100) : he want a webapp for each service. So how many webapps can Tomcat suppor

Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Lmhelp1
-- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a "Tomcat v6.0" webapp on a "Debian 7.2 Wheezy" OS. In particular, this webapp creates some files on the filesystem. The files created have: - "tomcat

AW: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Clemens Wyss DEV
First of all: thanks for the quick replies! I appreciate very much. > It would help if you told us which Tomcat version you were using. Tomcat 7.0.52, i.e. latest greatest >(The reuse can be disabled via a system property, see RECYCLE_FACADES. I >usually do so, for better security) Would I need

[Tomcat 6] Maximum webapps in one instance

2014-03-11 Thread philippe rouxel
Hi, I use Tomcat in a RestFull application with cxf and spring. It works fine. Actually, this application is deploy in a single web app. My client ask if I can slip all the services (nearly 100) : he want a webapp for each service. So how many webapps can Tomcat support ? Regards, Philippe

Re: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Mark Thomas
On 11/03/2014 14:16, Clemens Wyss DEV wrote: > Hi all, > we are still facing this issue here > https://issues.apache.org/bugzilla/show_bug.cgi > as Mark Thomas points out > https://issues.apache.org/bugzilla/show_bug.cgi?id=51872#c16 > the bug is "fixed". > > Trying to find out "what we are doing

Re: request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Konstantin Kolinko
2014-03-11 18:16 GMT+04:00 Clemens Wyss DEV : > Hi all, > we are still facing this issue here > https://issues.apache.org/bugzilla/show_bug.cgi > as Mark Thomas points out > https://issues.apache.org/bugzilla/show_bug.cgi?id=51872#c16 > the bug is "fixed". > Tomcat version = ? > Trying to find ou

request.getRemoteAddr() sometimes returning IP address from the previous request

2014-03-11 Thread Clemens Wyss DEV
Hi all, we are still facing this issue here https://issues.apache.org/bugzilla/show_bug.cgi as Mark Thomas points out https://issues.apache.org/bugzilla/show_bug.cgi?id=51872#c16 the bug is "fixed". Trying to find out "what we are doing wrong" I have the following questions: 1) as soon as a respo

Re: Tomcat and Spring Framework

2014-03-11 Thread Mark H. Wood
On Mon, Mar 10, 2014 at 09:32:05PM -0400, Rossen Stoyanchev wrote: > On Mon, Mar 10, 2014 at 3:58 PM, Mark H. Wood wrote: > > > It's probably worth asking what "full-fledged enterprise applications" > > means. I'm not aware of any specification with that title. > > Indeed there is no such speci

Re: CorsFilter denying some same-origin requests.

2014-03-11 Thread Richard Hart
Having re-read the specs I can see that trying to match origins by resolving to IP addresses is not a good idea. However, that still leaves us with a problem because Chrome sends an Origin header for some same-origin requests. The CorsFilter denies these requests if the origin is not in cors.allow

Re: Tomcat 7 Session Persistence disable not working as expected

2014-03-11 Thread Konstantin Kolinko
2014-03-10 10:58 GMT+04:00 Akash Jain : > Christopher, > > I have changed in server.xml. Below is the server.xml part - > > docBase="ROOT" > sessionCookieName="mycookie" > sessionCookieDomain="myapp.mydomain