Re: Dynamic Configuration on TC startup

2021-02-23 Thread Martynas Jusevičius
I think this is where you need to wrap your apps into Docker images :) See this base image for example: https://hub.docker.com/r/atomgraph/letsencrypt-tomcat It configures server.xml by using an XSLT stylesheet and environmental parameters:

Dynamic Configuration on TC startup

2021-02-23 Thread Jerry Malcolm
The server solution I am developing is split across multiple Amazon Web Services EC2 instances.  They all use the same TC WAR images.  But each server handles a different portion of the functionality aaa.mydomain.com is called for one set of function, and bbb.mydomain.com is called for

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Rémy Maucherat
On Tue, Feb 23, 2021 at 4:47 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Ravi, > > On 2/23/21 10:19, Ravi Kumar wrote: > > Using this Interface , trying to obtain the object of type > > ServerSocketFactory in my application. > > Could you please point towards any other viable

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Christopher Schultz
Ravi, On 2/23/21 10:19, Ravi Kumar wrote: Using this Interface , trying to obtain the object of type ServerSocketFactory in my application. Could you please point towards any other viable alternative ? @Override public

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Ravi Kumar
Using this Interface , trying to obtain the object of type ServerSocketFactory in my application. Could you please point towards any other viable alternative ? @Override public ServerSocketFactory

Re: Subclassing RemoteCIDRFilter in an application

2021-02-23 Thread Christopher Schultz
All, On 2/23/21 10:08, Christopher Schultz wrote: Tomcat has both RemoteCIDRFilter and RemoteIPFilter: why re-invent the wheel? Looking at RemoteCIDRFilter (which is much more flexible than RemoteIPFilter), I can see these methods: Oops, I meant RemoteAddressFilter, here, of course -chris

Subclassing RemoteCIDRFilter in an application

2021-02-23 Thread Christopher Schultz
All, A bunch of clients at $work are suddenly asking if they can restrict their users to certain IP "addresses" when logging-in. Should be easy with a Filter or similar, right? Tomcat has both RemoteCIRDFilter and RemoteIPFilter: why re-invent the wheel? Looking at RemoteCIDRFilter (which

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Christopher Schultz
Ravi, Please don't email list members directly. I'm happy to offer paid support if you want to email me directly. On 2/23/21 05:11, Ravi Kumar wrote: We are upgrading the tomcat web server getting used in our web application. Currently we are using tomcat 7 and now migrating to TOMCAT

TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Ravi Kumar
Dear Tomcat Team, We are upgrading the tomcat web server getting used in our web application. Currently we are using tomcat 7 and now migrating to TOMCAT 9.0.43. We have an existing HTTPS based application created using tomcat 7. Now after migration and upgrading to tomcat 9, while starting this