Hi,
> [root@mtthdoped51 ~]# $CATALINA_HOME/bin/startup.sh
>
> Using CATALINA_BASE: /opt/tomcat/latest
>
> Using CATALINA_HOME: /opt/tomcat/latest
>
> Using CATALINA_TMPDIR: /opt/tomcat/latest/temp
>
> Using JRE_HOME:
> /usr/lib/jvm/java-11-openjdk-11.0.24.0.8-2.el9.x86_64
>
> Using CLASSPATH:
It’s Redhat 9.4 /opt/tomcat . I’m trying to login via web interface .
SD
From: Stephanie Panah
Sent: Saturday, September 21, 2024 5:14:50 AM
To: Tomcat Users List
Subject: Re: Tomcat doesn't allow me to login
hi Shekhar, I do not know if you encountered the same
hi Shekhar, I do not know if you encountered the same issue that I did.
however, I had issues. The secret (if we have the same issue) is to "go
into" the apache tomcat directory.
just open into c:\program files\apache tomcat\ (whatever it is called)
just go into the folder. then try to log in. good
[root@mtthdoped51 ~]# $CATALINA_HOME/bin/startup.sh
Using CATALINA_BASE: /opt/tomcat/latest
Using CATALINA_HOME: /opt/tomcat/latest
Using CATALINA_TMPDIR: /opt/tomcat/latest/temp
Using JRE_HOME:/usr/lib/jvm/java-11-openjdk-11.0.24.0.8-2.el9.x86_64
Using CLASSPATH:
/opt/tomca
Lance,
On 9/20/24 09:23, Campbell, Lance wrote:
I was wrong. I did confirm what code was causing the issue. In my servlet at
the top I did this:
cookie[index].setMaxAge(0);
resp.addCookie(cookie[index]);
Then at the bottom of the code I did:
resp.sendRedirect(".");
When I commented out
I was wrong. I did confirm what code was causing the issue. In my servlet at
the top I did this:
cookie[index].setMaxAge(0);
resp.addCookie(cookie[index]);
Then at the bottom of the code I did:
resp.sendRedirect(".");
When I commented out the code relating to the cookies it then worked. I