RE: Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Jason Tan
Hi Koustav, I was testing out the online thread dump analysers previously and found https://fastthread.io/ and https://jstack.review/#tda_1_dump. I am not sure how safe their data policy are, but I didn't spot any sensitive data in my thread dump. Note: one of them hid part of the result as it

AW: Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Naha, Koustav > Gesendet: Montag, 3. April 2023 21:58 > An: users@tomcat.apache.org > Betreff: Need to know about analyzing of thread dump and heap dump > > Hi all, > > Good day. > > Can someone suggest me some good tools to analyze heap dump

Re: Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Kevin Huntly
i use ibm's support assistant with their plugins. works pretty well, and I believe there's a standalone version... i cant find them at the moment, but I know they're out there. Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Naha, Koustav
Hi all, Good day. Can someone suggest me some good tools to analyze heap dump and thread dumps which we can use in real time production environment. Also, GUI based tools will be a good one to use. Please pour in your 2 cents. Thanks and Regards, Koustav Naha DXC Technology Company -- This

Re: Accessing Tomcat Sessions

2023-04-03 Thread Mark Thomas
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 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.

Re: Logging

2023-04-03 Thread Kevin Huntly
ok, can you tell me what your thoughts are? I'm always interested in new things Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/3/23 12:10, Kevin Huntly wrote: idk why i add the typeset, but I do everywhere just out of habit. i was trained that way many many moons ago. Is there anything else in my setenv that needs work? That mostly depends upon your environment. The only thing that stuck out to me was

Re: Logging

2023-04-03 Thread Kevin Huntly
idk why i add the typeset, but I do everywhere just out of habit. i was trained that way many many moons ago. Is there anything else in my setenv that needs work? Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/3/23 10:07, Kevin Huntly wrote: I'm launching with startup.sh and I have a setenv: https://pastebin.com/PKRgz2y1 > > typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8 -Djava.awt.headless=true"; You don't want this. You want: typeset CATALINA_OPTS="-Xms4096m

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/3/23 10:07, Kevin Huntly wrote: I'm launching with startup.sh and I have a setenv: bin/startup.sh calls bin/catalina.sh. Have a look at the top few pages of catalina.sh to see what environment variables can be used to customize stuff like log file names.

Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-04-03 Thread Christopher Schultz
Kesavan, On 4/3/23 10:53, Kesavan, Suresh Prabhu (Fed) wrote: Thanks, can you tell me how to enable all security in tomcat Catalina.policy. Just turn off the security manager if you are going to allow all privilieges. Having it enabled without any enforcement means you get zero security

RE: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-04-03 Thread Kesavan, Suresh Prabhu (Fed)
Hi Mark, Thanks, can you tell me how to enable all security in tomcat Catalina.policy. Thanks, Suresh Kesavan OISM/ASD National Institute of Standards and Technology Office:- 301-975-6973 -Original Message- From: Mark Thomas Sent: Wednesday, March 29, 2023 8:37 PM To:

Re: DBAs?

2023-04-03 Thread Kevin Huntly
I tried there no one answered LOL I ended up figuring out my issue though. Maybe not the best way, but it works Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE

Re: Logging

2023-04-03 Thread Kevin Huntly
I'm launching with startup.sh and I have a setenv: https://pastebin.com/PKRgz2y1 Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a

Re: DBAs?

2023-04-03 Thread Christopher Schultz
Kevin, On 4/2/23 16:39, Kevin Huntly wrote: Are there any DBAs in here? If so, are you aware of a MySQL user mailing list? I'm having an issue with some stored procedures and need some help dba.stackexchange.com is fairly decent in my experience. -chris

Re: Logging

2023-04-03 Thread Christopher Schultz
Kevin, On 4/2/23 09:08, Kevin Huntly wrote: Couple questions: 1. Is there a way to change the default "stdout" to a different name? e.g. SystemOut.log (and by extension, can syserr be printed to something SystemErr.log?) How are you launching Tomcat? 2. When verbose:gc is turned on it logs