Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Rob Sargent
> On Dec 30, 2021, at 4:33 PM, Eric Robinson wrote: > > Hi Rob, > >>> On Dec 30, 2021, at 4:03 PM, Eric Robinson >> wrote: >>> >>> Chris, >>> >>> If I want to ignore the vendor's recommendation and try connection >> pooling anyway, is that something I can enable with a config file setting,

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Hi Rob, > > On Dec 30, 2021, at 4:03 PM, Eric Robinson > wrote: > > > > Chris, > > > > If I want to ignore the vendor's recommendation and try connection > pooling anyway, is that something I can enable with a config file setting, or > do > they actually have to trigger it from within their

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Rob Sargent
> On Dec 30, 2021, at 4:03 PM, Eric Robinson wrote: > > Chris, > > If I want to ignore the vendor's recommendation and try connection pooling > anyway, is that something I can enable with a config file setting, or do they > actually have to trigger it from within their code? > Up thread,

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Chris, If I want to ignore the vendor's recommendation and try connection pooling anyway, is that something I can enable with a config file setting, or do they actually have to trigger it from within their code? > -Original Message- > From: Eric Robinson > Sent: Thursday, December

Re: javax.servlet vs jakarta.servlet?

2021-12-30 Thread Michael B Allen
On Thu, Dec 30, 2021 at 10:57 AM Christopher Schultz wrote: > > You mean like ServletContext.getRealPath? Honestly I'm not sure how I feel about getRealPath. On the one hand, I don't think it's reasonable to just pretend that applications only exist in the vacuum of space. There are many

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread José Cornado
https://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap6sec70.html Mentions “tcp and udp traffic” it seems across all processes On Thu, Dec 30, 2021 at 11:49 AM Eric Robinson wrote: > José, > > > -Original Message- > > From: José Cornado > > Sent: Thursday, December

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
> José, > > > -Original Message- > > From: José Cornado > > Sent: Thursday, December 30, 2021 12:00 PM > > To: Tomcat Users List > > Subject: Re: Do I Need Network NameSpaces to Solve This > > Tomcat+Connector/J Problem? > > > > But they do not get a corresponding database instance? > >

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
José, > -Original Message- > From: José Cornado > Sent: Thursday, December 30, 2021 12:00 PM > To: Tomcat Users List > Subject: Re: Do I Need Network NameSpaces to Solve This > Tomcat+Connector/J Problem? > > But they do not get a corresponding database instance? > They do. Each tomcat

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread José Cornado
But they do not get a corresponding database instance? On Thu, Dec 30, 2021 at 10:51 AM Eric Robinson wrote: > José, > > > Is this setup going to be open to the world or just a big organization? > A big > > organization would put a cap on the number of users. Then maybe they > > could divide

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Chris, > Not pooling connections will very likely negatively affect performance. > > When you say "they ... have an issue with connection pooling" do you mean > that they have a technical problem, or do you mean that there is some ill- > conceived policy against them? > > Oh, maybe they are

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Chris, > Stupid question: can your database (meaningfully) handle the number of > connections you are making to it? Let's say you have 5000 connections per > Tomcat instance to your database, and you want 500 Tomcat instances. > That means 250 database connections. If every single one of

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Stefan, > A third option could be to add something between database client and > server. Something on layer 4 like multiple HAProxy servers or simple NAT > gateways. Or more complex on layer 7 specfic products like ProxySQL or > MaxScale. They could even pool connections and reduce the load on

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
José, > Is this setup going to be open to the world or just a big organization? A big > organization would put a cap on the number of users. Then maybe they > could divide those between the tomcat instances thus the db server. > It's a SaaS solution, where each customer organization gets its own

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Mark, > > My question is, is there a better way? > > I can only think of variations on a theme. > > The ~64k limit assumes client IP, server IP and server port remain constant. > i.e. just client port is varying. > > That suggests there is a single IP for the database server and that it is >

RE: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Eric Robinson
Hi Simon, > I guess the database is not on the Tomcat host, otherwise you could connect > via unix domain socket to avoid the limitations of TCP port numbers. > > Otherwise I think you could run a db proxy where your Tomcat clients > connect locally via unix domain socket and the proxy relays

Re: [OT] log4net.dll CVE too ?

2021-12-30 Thread Christopher Schultz
Phillipe, Note that this is a mailing list for Apache Tomcat which is a Java Web Servlet Container (among a few other things). This mailing list has nothing to do with logging, .NET, or logging in .NET. That said... On 12/30/21 11:23, Philippe Couas wrote: log4net.dll seems too havre

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Christopher Schultz
Eric, On 12/29/21 19:23, Eric Robinson wrote: -Original Message- From: Mark Eggers Sent: Wednesday, December 29, 2021 6:18 PM To: users@tomcat.apache.org Subject: Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem? Eric: On 12/29/2021 1:04 PM, Eric Robinson

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Christopher Schultz
Eric, On 12/29/21 16:04, Eric Robinson wrote: We want to run a large number of tomcat instances on the same server without virtualization or containerization. Each instance is executed from its own folder tree and listens on its own unique TCP port. Each instance will run code that connects

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Stefan Mayr
Am 30.12.2021 um 12:24 schrieb Mark Thomas: On 29/12/2021 21:04, Eric Robinson wrote: My question is, is there a better way? I can only think of variations on a theme. The ~64k limit assumes client IP, server IP and server port remain constant. i.e. just client port is varying. That

log4net.dll CVE too ?

2021-12-30 Thread Philippe Couas
Hi   log4net.dll seems too havre problem, where could i found last version for windows 10 ?   Regards Phil

Re: issue with Form based authentication

2021-12-30 Thread Christopher Schultz
Mark, Rajendra, On 12/30/21 06:13, Mark Thomas wrote: This is an application design issue, not a Tomcat issue. FORM auth is not intended / designed to work in the following scenario: - user is not authenticated - multiple, concurrent requests are made for resources requiring   authentication

Re: javax.servlet vs jakarta.servlet?

2021-12-30 Thread Christopher Schultz
Michael, On 12/29/21 14:54, Michael B Allen wrote: On Wed, Dec 29, 2021 at 2:07 PM Mark Thomas wrote: One of the advantages of moving to Eclipse is that everyone involved in the spec, not just the spec lead, has an equal say in what goes into the spec. That sounds like design by committee

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread José Cornado
Is this setup going to be open to the world or just a big organization? A big organization would put a cap on the number of users. Then maybe they could divide those between the tomcat instances thus the db server. On Thu, Dec 30, 2021 at 4:24 AM Mark Thomas wrote: > On 29/12/2021 21:04, Eric

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Mark Thomas
On 29/12/2021 21:04, Eric Robinson wrote: My question is, is there a better way? I can only think of variations on a theme. The ~64k limit assumes client IP, server IP and server port remain constant. i.e. just client port is varying. That suggests there is a single IP for the database

Re: issue with Form based authentication

2021-12-30 Thread Mark Thomas
This is an application design issue, not a Tomcat issue. FORM auth is not intended / designed to work in the following scenario: - user is not authenticated - multiple, concurrent requests are made for resources requiring authentication You need to design the application in such a way that

RE: issue with Form based authentication

2021-12-30 Thread Rathore, Rajendra
Link for image where it will shows the details https://docs.google.com/document/d/1Ziojwm6rPvyuJ6rpJR1tu0e5xTfnawrHeLz3QvL28XA/edit?usp=sharing Thanks and Regards, Rajendra Rathore 9922701491 From: Rathore, Rajendra Sent: Thursday, December 30, 2021 4:25 PM To: users@tomcat.apache.org Subject:

issue with Form based authentication

2021-12-30 Thread Rathore, Rajendra
Hi Team, We are facing some weird issue with tomcat Form based authentication, I will try to explain the scenario as below: issue is reproducible in specific conditions, when browser cache is disabled, and cleared out before session timeout. In this conditions after session timeout when user

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Simon Matter
Hi, > We want to run a large number of tomcat instances on the same server > without virtualization or containerization. Each instance is executed from > its own folder tree and listens on its own unique TCP port. Each instance > will run code that connects to a backend database server to send