Re: Accessing Tomcat Sessions

2023-04-05 Thread Chew Kok Hoor
ch...@christopherschultz.net> wrote: > Mark and Chew Kok, > > On 4/3/23 12:47, Mark Thomas wrote: > > On 02/04/2023 13:44, Chew Kok Hoor wrote: > >> Hi, > >> > >> As part of a way to prevent concurrent login, and to re-assign a > >> session back

Accessing Tomcat Sessions

2023-04-02 Thread Chew Kok Hoor
Hi, As part of a way to prevent concurrent login, and to re-assign a session back to a request based on JWT token (for clients that cannot pass us cookies), we need to access to the 'findSession' and 'findSessions' in org.apache.catalina.Manager. Is it true the only way to get the

Context Name replacement variable for conf/context.xml

2022-10-01 Thread Chew Kok Hoor
Hi all, I would like to configure $CATALINA_BASE/conf/context.xml to set up a Manager but would like to add the context name as one of the parameters to the manager (keyPrefix). Is there a variable or a list of variables I can use for this purpose? As using environment or java defined

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-10-01 Thread Chew Kok Hoor
not associated or affiliated to them), and it seems to work for me so far. Thanks. Regards, Kok Hoor On Thu, 18 Aug 2022 at 14:34, Chew Kok Hoor wrote: > Hi Chris, > > Following are my setup. It seems to work but I am not sure if I did > things correctly: > > 1

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-18 Thread Chew Kok Hoor
need (and especially if you are > willing to do the research and contribute code) we'd be happy to > accomodate you. > > -chris > > On 8/14/22 03:52, Chew Kok Hoor wrote: > > Hi, > > > > I am trying to setup Tomcat clustering running in AKS, however

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Chew Kok Hoor
eadless Service > manifest, I.e. ClusterIP: none. > > Mfg > Thomas > > Am 14. August 2022 09:52:52 MESZ schrieb Chew Kok Hoor >: >> >> Hi, >> >> I am trying to setup Tomcat clustering running in AKS, however the >> standard settings don't seem to

Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Chew Kok Hoor
Hi, I am trying to setup Tomcat clustering running in AKS, however the standard settings don't seem to work. As per the documentation I have setup following Cluster configuration in server.xml inside my tag: But I received a 'Failed

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Chew Kok Hoor
Sure Chris, thanks for advice! Have a great day! Regards, Kok Hoor On Tue, Dec 28, 2021 at 8:23 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Kok Hoor, > > On 12/27/21 19:08, Chew Kok Hoor wrote: > > Thanks for prompt response. We have

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Chew Kok Hoor
have their own shortcomings. Just wondering if there are any workarounds at the moment for shared jar files. Thanks. Regards, Kok Hoor On Tue, Dec 28, 2021 at 8:05 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Kok Hoor, > > On 12/27/21 18:36, Chew Kok Hoo

ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Chew Kok Hoor
Hi, We're using the old javax.servlet namespace for compatibility reasons. Some of our jar files are re-used by different web-apps, therefore we placed them in the common classloader. Is it possible to convert them dynamically, just like how we do it for servlets in the per app