Re: [OT] MySQL Connection settings

2023-04-21 Thread Kevin Huntly
in general. something all purpose to get started with On Fri, Apr 21, 2023, 14:17 Christopher Schultz < ch...@christopherschultz.net> wrote: > Kevin, > > On 4/21/23 09:35, Kevin Huntly wrote: > > I'm not a DBA nor do I pretend to be, so I'm asking what every

MySQL Connection settings

2023-04-21 Thread Kevin Huntly
Hi Everyone, I'm not a DBA nor do I pretend to be, so I'm asking what everyone's thoughts are on MySQL connection string settings? What are the best options to use, what options are absolutely required, etc? ________ Kevin Huntly Email: kmh

Re: ClassNotFound after upgrade to tomcat 10

2023-04-20 Thread Kevin Huntly
I chose option 1 and re-wrote everything. It was fun Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E

Re: OT: Tomcat and TLS

2023-04-20 Thread Kevin Huntly
This is what I have: Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0

Re: Cluster Manager not working

2023-04-19 Thread Kevin Huntly
thank you! On Wed, Apr 19, 2023, 13:29 Mark Thomas wrote: > On 19/04/2023 12:07, Kevin Huntly wrote: > > I'm guessing its not possible to have the cluster setup with a session > > database? > > Correct, for out of the box options. > > There are 3rd party sessio

Re: Cluster Manager not working

2023-04-19 Thread Kevin Huntly
I'm guessing its not possible to have the cluster setup with a session database? ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d

Re: Cluster Manager not working

2023-04-19 Thread Kevin Huntly
parse(SAXParserImpl.java:637) ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+

Cluster Manager not working

2023-04-18 Thread Kevin Huntly
is is it: ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E

Re: Tips on identifying the DB connection leaks leading to the "Pool empty" error

2023-04-17 Thread Kevin Huntly
eck for finally {} blocks and ensure you;re closing out ________ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Just another quick question... and it may not be able to be answered here... Is there a way to get Eclipse to stop bitching about missing "javax.servlet.*" dependencies? It's complaining on every JSP I have... ________ Kevin Hunt

Re: Tips on identifying the DB connection leaks leading to the "Pool empty" error

2023-04-17 Thread Kevin Huntly
my team saw this same thing in production - there was code that never closed the SQL connection after it was created... 150+ connections spike all at once, took out the pool. Not sure if that's your issue, but thought i'd mention it ____ Ke

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
Thank you, all set. I guess I wasn't googling the right things lol, either that or I'm getting a little too used to asking on the list =( ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 71

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
]) Unable to find taglib [c] for URI: [jakarta.tags.core] After updating the taglib imports on my jsp files Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
t was a mistake. ________ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X--

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
6.0.0 1.2.5 3.0.0 3.1.1 Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
${jsp-api.version} jar compile jakarta.servlet jakarta.servlet-api ${jakarta.servlet.version} jar provided I just want to use the jstl tag libraries =( Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Kevin Huntly
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1245) it's running on AlmaLinux and tomcat 10.1.7. If I do a grep for "TagLibraryValidator" I can find it in my app under WEB-INF/lib, so I'm not sure what's going on _____

Re: Clustering issue

2023-04-15 Thread Kevin Huntly
Hey Mark, I had cookie config in my Web app context. I didn't realize that would cause a problem, so I moved it into the global context and everything appears to be fine now. Thank you! On Sat, Apr 15, 2023, 04:40 Mark Thomas wrote: > On 14/04/2023 16:58, Kevin Huntly wrote: >

Re: Session loss with filter enabled

2023-04-14 Thread Kevin Huntly
Trying to make a PCI-DSS compliant installation. It looks like this filter does everything that Apache can do with config files, so I'll leave it out. ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424

Re: Clustering issue

2023-04-14 Thread Kevin Huntly
Hi Mark, My webapp context makes no mention of the Manager or any kind of session manager - it is only referenced in the global context.xml Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Re: Clustering issue

2023-04-14 Thread Kevin Huntly
within the engine but outside the host On Fri, Apr 14, 2023, 10:23 Mark Thomas wrote: > On 13/04/2023 23:28, Kevin Huntly wrote: > > Hi Chris, > > > > The configuration in the link I shared is what I used - copy/paste - I > want > > to see it working before

Multiple entries

2023-04-14 Thread Kevin Huntly
ualifying bean of type 'java.lang.String' available: expected single matching bean but found 2: isTestSystem,webURL Anyone have any ideas? ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -

Re: Clustering issue

2023-04-13 Thread Kevin Huntly
Hi Chris, The configuration in the link I shared is what I used - copy/paste - I want to see it working before I break it =) Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN

Session loss with filter enabled

2023-04-13 Thread Kevin Huntly
is it required if the front-end webserver already handles hsts? ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E

Re: Redirect appends port number?

2023-04-13 Thread Kevin Huntly
I am, and I dont think it's the filter. Beyond that, the whole thing is broken now and I don't know why, so let's just forget I said anything ________ Kevin Huntly Email: kmhun...@gmail.com Cel

Re: Java Heap Space Error

2023-04-13 Thread Kevin Huntly
Also, is it possible for you to post the heapdump (if one was generated?) Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL

Redirect appends port number?

2023-04-12 Thread Kevin Huntly
sure how it's doing this, since there are no calls to getPort or anything like that. If you need to see the code let me know and I'll shoot over the github repo ____ Kevin Huntly Email: kmhun..

Clustering issue

2023-04-12 Thread Kevin Huntly
what I've done wrong ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V

Context usage

2023-04-10 Thread Kevin Huntly
sure what I'm doing wrong. I'm sure it's a Spring issue but I don't know for sure. ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version:

Re: just wondering.. encryption in context.xml?

2023-04-08 Thread Kevin Huntly
okay that's fair On Sat, Apr 8, 2023, 14:31 Thomas Hoffmann (Speed4Trade GmbH) wrote: > Hello, > > > -Ursprüngliche Nachricht----- > > Von: Kevin Huntly > > Gesendet: Samstag, 8. April 2023 19:40 > > An: users@tomcat.apache.org > > Betreff: j

just wondering.. encryption in context.xml?

2023-04-08 Thread Kevin Huntly
is there currently a method for encrypting or otherwise obfuscating passwords (like for MySQL) in the context.mxl Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK

Re: tomcat shared classloader

2023-04-06 Thread Kevin Huntly
totally my fault sorry it was permissions On Thu, Apr 6, 2023, 16:42 Christopher Schultz wrote: > Kevin, > > On 4/6/23 16:26, Kevin Huntly wrote: > > I've placed a utility jar in ${catalina.home}/shared/app for use across > all > > my webapps. However, I'm get

tomcat shared classloader

2023-04-06 Thread Kevin Huntly
Hello, I've placed a utility jar in ${catalina.home}/shared/app for use across all my webapps. However, I'm getting ClassNotFound exceptions when trying to use the shared stuff. Any ideas? ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 71

Re: Apache Tomcat 10.0.26 Shortcut issue in our environment - Need Help

2023-04-05 Thread Kevin Huntly
Hi Sriharikumar, It looks like the images were stripped from the email... When you have a chance, can you run the following on the Tomcat executable: Open Powershell Navigate to the Tomcat installation directory Run the following: - Get-Acl tomcat.exe On Wed, Apr 5, 2023, 07:04 P M, SRIHARIKUM

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 Cel

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+

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: 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 BLOCK

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

Re: DBAs?

2023-04-02 Thread Kevin Huntly
thats not helpful =) are you dba? Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w

DBAs?

2023-04-02 Thread Kevin Huntly
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 ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424

Logging

2023-04-02 Thread Kevin Huntly
different file? ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ P

Re: Fail Timcat if any of the contexts fails?

2023-03-29 Thread Kevin Huntly
oh, I should mention there is the failCtxIfServletFail ( something like that, I can't remember for sure and it's 4am) but that will only fail the one application with the servlet init failure. I have this set in my global context xml On Wed, Mar 29, 2023, 04:11 Kevin Huntly wrote: >

Re: Fail Timcat if any of the contexts fails?

2023-03-29 Thread Kevin Huntly
So, I don't think there is - and I'm not sure of any servlet container that does this... what would be the case for it? On Wed, Mar 29, 2023, 04:04 Thomas Meyer wrote: > Hi, > > Is it possible to shutdown/fail the Tomcat process if any of the deployed > context does fail? > > Mfg > Thomas

Re: Requirements to support HTTPS

2023-03-25 Thread Kevin Huntly
idk I went overboard and made my own CA and signed some certs lol On Sat, Mar 25, 2023, 13:54 Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 3/25/23 10:16, Blake McBride wrote: > > I wanted to confirm my suspicions regarding packages needed in tomcat to > > support HTT

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Kevin Huntly
di.TypeMismatchNamingException: Object of type [class jakarta.mail.Session] available at JNDI location [java:comp/env/mail/MailSession] is not assignable to [jakarta.mail.Session] ____ Kevin Huntly Email: kmhun..

javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Kevin Huntly
led. I know the exception is coming from Spring, but it is definitely related to the JNDI configuration for my mailsession. The base context.xml is largely unchanged, with the exception of this addition: Anyone have any ideas? ________ Kevin Huntly

Re: service() failed with http error 502

2023-03-22 Thread Kevin Huntly
Just wondering, are you able to telnet from your webserver into the Tomcat server over the appropriate port? e.g. 8443 or whatnot - whatever is configured in Tomcat's server.xml ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424

Re: Unable to start application

2023-03-20 Thread Kevin Huntly
> Kevin, > > On 3/18/23 19:04, Kevin Huntly wrote: > > I can't use tomcat 10 because of the switch to jakarta for the servlet > > container - I'd have to rewrite a lot of code. That being said, I got it > > fixed: > > > > All JDBC and JNDI lookup

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
his for you, since that's primarily what I develop against... ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
Hey Everyone, Is this possibly happening because I'm using JDK19 and not 8 or 9? ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
Hey John - if you're out there can you email me direct? I have a MySQL admin question if you have the time and the inclination ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -

Re: SSL issue

2023-03-18 Thread Kevin Huntly
hanks ! ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++

SSL issue

2023-03-18 Thread Kevin Huntly
onfig: So, what am I doing wrong here? ____ Kevin Huntly Email: kmhun...@gmail.com -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
located? It needs to be in ${CATALINA_BASE}/lib > > and not part of the WAR. > > > > Can we see the full logs from a clean start-up please? > > > > Mark > > > > > >> > >> Lastly, maybe to help debug a future issue, did you compile your

Re: AW: Unable to start application

2023-03-18 Thread Kevin Huntly
morning all, you are correct, i forgot to chmod 644 the jar when I copied it - I did that, restarted, no change, I turned off selinux and restarted, no change. Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
. Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
g to do with it, or is this a typo in tomcat > logging? > > > > > On 3/17/23, Kevin Huntly wrote: > > yes, under Catalina/localhost > > > > On Fri, Mar 17, 2023, 19:07 John Dale (DB2DOM) > wrote: > > > >> Are you modifying a context.xml file i

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
yes, under Catalina/localhost On Fri, Mar 17, 2023, 19:07 John Dale (DB2DOM) wrote: > Are you modifying a context.xml file in the conf folder? > > On 3/17/23, Kevin Huntly wrote: > > Also of note: > > > > 17-Mar-2

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
t; path="" > > would work for localhost:8080 > > path="mypath" > > would work for localhost:8080/mypath > > Obviously, replacing "mypath" with your path. > > > > On 3/17/23, Kevin Huntly wrote: > > thank you i really appreciate that

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
mpting to deploy the app based off the context - which is good, but bad that it's not reading the resources. so not really sure what to do. on an unrelated note... I'm running this MySQL server right... lol ____ Kevin Huntly Email: kmhun..

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
pelling this stuff > out directly when I can. > > Sincerely, > > John > > > On 3/17/23, Kevin Huntly wrote: > > I assumed the context is driven by the xml name - at least that's what > I've > > read. happy to add it if it needs to be there > >

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
also, to answer your other question - the app is installed as an exploded war under ${catalina.home}/installed apps as specified in the docbase On Fri, Mar 17, 2023, 18:12 Kevin Huntly wrote: > I assumed the context is driven by the xml name - at least that's what > I've read.

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
ext? > > I'm seeing session cookie path, but not path. > > > > On 3/17/23, Kevin Huntly wrote: > > Also of note: > > > > 17-Mar-2023 17:25:42.113 INFO [main] > > org.apache.catalina.startup.HostConfig.deployDescriptor Deploying > > deplo

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
] org.apache.tomcat.util.digester.Digester.endElement No rules found matching [Context/Environmnet] Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
Here's my santized server.xml and context.xml server.xml -> https://pastebin.com/Bj6Wh0qU context.xml -> https://pastebin.com/Z3dBf3eK

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
There's no context.xml in the WAR ____ Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K

Re: Unable to start application

2023-03-17 Thread Kevin Huntly
No, and for as much as I'm sure that would work I would rather have it in the context where it belongs. Additionally, it's not reading my JDBC resource references either, nor te MailSession I configured in the root context.xml. ____ Kevin Hu

Unable to start application

2023-03-17 Thread Kevin Huntly
Hello, I am unable to start my application on Tomcat 9.0.73 with JDK19 on RHEL 8.7. It appears to be ignoring everything in my context.xml, for example: Code: try { Context initContext = new InitialContext(); environment = (String) initContext.lookup("environment"); } catch (final NamingE