Re: log4j failed on tomcat9

2020-05-08 Thread AJ Chen
has error. The cause may be in tomcat or in log4j2, or even eclipse. Any idea? thanks, -aj On Fri, May 8, 2020 at 11:21 AM AJ Chen wrote: > Hi Mark, > I also use log4j2 in my web app. dev in eclipse, when adding the log4j2 > jars to tomcat 7,8, or 9 runtime, it has this problem, log4j2.xml

Re: log4j failed on tomcat9

2020-05-08 Thread AJ Chen
there is no double class loading. -aj On Thu, May 7, 2020 at 1:53 PM Mark Thomas wrote: > On 07/05/2020 21:40, AJ Chen wrote: > > I use eclipse to develop web app for tomcat, Web app has a dependent > > project and so the dependent project and all jars are added on the > >

Re: log4j failed on tomcat9

2020-05-08 Thread AJ Chen
net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > AJ, > > On 5/7/20 16:40, AJ Chen wrote: > > I use eclipse to develop web app for tomcat, Web app has a > > dependent project and so the dependent project and all jars are > > added on the classpath

Re: log4j failed on tomcat9

2020-05-08 Thread AJ Chen
scribió: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > AJ, > > > > On 5/7/20 16:40, AJ Chen wrote: > > > I use eclipse to develop web app for tomcat, Web app has a > > > dependent project and so the dependent project and all ja

log4j failed on tomcat9

2020-05-07 Thread AJ Chen
I use eclipse to develop web app for tomcat, Web app has a dependent project and so the dependent project and all jars are added on the classpath for tomcat runtime. Log4j works on tomcat 6. But after upgrate to tomcat 9, log4j failed to start with the following error. Anyone has seen similar

Re: Losing session between calls from mobile phone

2020-05-04 Thread AJ Chen
Chris and Peter, Yes, after using HTTPS in every url, session does not get loss any more. Thank you for spotting the cause. -aj On Sat, May 2, 2020 at 7:01 AM logo wrote: > AJ > > > Am 30.04.2020 um 22:22 schrieb AJ Chen : > > > > The session problem happens

Re: Losing session between calls from mobile phone

2020-04-30 Thread AJ Chen
t; AJ, > > On 4/29/20 13:46, AJ Chen wrote: > > On Wed, Apr 29, 2020 at 10:28 AM Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > > AJ, > > > > On 4/29/20 13:24, AJ Chen wrote: > >>>> Chris, When i use my latest iphon

Re: Losing session between calls from mobile phone

2020-04-29 Thread AJ Chen
server.xml is configured for HTTPS. -aj On Wed, Apr 29, 2020 at 10:28 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > AJ, > > On 4/29/20 13:24, AJ Chen wrote: > > Chris, When i use my latest i

Re: Losing session between calls from mobile phone

2020-04-29 Thread AJ Chen
(i.e. track session)? Can I save the previous SessionID and use it to get the session with this id explicitly? -aj On Wed, Apr 29, 2020 at 10:13 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > AJ, > > O

Re: Losing session between calls from mobile phone

2020-04-28 Thread AJ Chen
. Some of their phones experience this problem. -aj On Tue, Apr 28, 2020 at 12:08 PM André Warnier (tomcat/perl) wrote: > On 28.04.2020 18:28, AJ Chen wrote: > > Thanks. Martin and Mark. > > > > I can recreate the problem: I compare two different mobile phones. One > > p

Re: Losing session between calls from mobile phone

2020-04-28 Thread AJ Chen
tin Grigorov wrote: > > On Tue, Apr 28, 2020 at 9:11 AM AJ Chen wrote: > > > >> Anyway to fix it? thanks. -aj > >> > > > > First you need to investigate whether there is a proxy. > > Then what kind of proxy. > > Then where is its config

Re: Losing session between calls from mobile phone

2020-04-28 Thread AJ Chen
Anyway to fix it? thanks. -aj On Mon, Apr 27, 2020 at 10:54 PM Martin Grigorov wrote: > Hi, > > On Tue, Apr 28, 2020 at 2:23 AM AJ Chen wrote: > > > My web application using tomcat 6 can track user session (cookie by > > default) for mobile and PC users in dev enviro

Losing session between calls from mobile phone

2020-04-27 Thread AJ Chen
My web application using tomcat 6 can track user session (cookie by default) for mobile and PC users in dev environment. But when deployed on cloud server, it fails to track session for some mobile users. meaning, servlet always creates a new session upon user request. Any idea why this happens?