Re: Database connection pooling ..

2023-04-11 Thread John Dale (DB2DOM)
Good info here. Commons IS very busy, aren't they. Lots of good tools in there .. John On 4/11/23, Christopher Schultz wrote: > Bruno, > > On 4/11/23 12:51, BRUNO MELLONI wrote: >> I used org.apache.commons.dbcp2.BasicDataSource as my default >> DataSource for over a decade in both Tomcat

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

2023-04-10 Thread John Dale (DB2DOM)
This might be one way to elevate compliance. If you can read the database password from the database, you win (some sort of) prizes. :D Search for Plain Ol' Java: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html JBoss used to compile the password into a runtime IOC pattern, but it

Database connection pooling ..

2023-04-09 Thread John Dale (DB2DOM)
Has anyone tried using the Tomcat 10 DBCP from a standalone java app? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Logging

2023-03-28 Thread John Dale (DB2DOM)
Good coding does customer service. I wanted to thank whoever put this in the logs. :) 28-Mar-2023 06:56:26.974 WARNING [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = model Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value

Re: service() failed with http error 502

2023-03-22 Thread John Dale (DB2DOM)
yes .. gotta get that port correct. It's been awhile since I've needed to run command line HTTP request. :) On 3/22/23, Kevin Huntly wrote: > 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 >

Re: Unable to start application

2023-03-21 Thread John Dale (DB2DOM)
>>> forum for such questions, hence the "off-topic" moniker. >>> >>> -chris >>> >>>> >>>> >>>> Kevin Huntly >>>> Email: kmhun...@gmail.com >>&g

Re: Unable to start application

2023-03-21 Thread John Dale (DB2DOM)
hris >> >> > >> > >> > Kevin Huntly >> > Email: kmhun...@gmail.com >> > Cell: 716/424-3311 >> > ____ >> > >> > -BEGIN GEEK

Re: Unable to start application

2023-03-18 Thread John Dale (DB2DOM)
e(+) h--- r+++ y+++* >> --END GEEK CODE BLOCK-- >> >> >> On Sat, Mar 18, 2023 at 1:40 PM Kevin Huntly wrote: >> >>> any other ideas guys? I want to migrate a bunch of really awful apps off >>> our primary application server so they don't cause us hea

Re: SSL issue

2023-03-18 Thread John Dale (DB2DOM)
Noted - excellent! On 3/18/23, Kevin Huntly wrote: > I was able to read the keystore with both openssl and keytool, but for some > reason the private key within the pkcs#12 file had a different password > than the keystone password. I ended up just rebuilding the cert and the > keystore, and

Re: SSL issue

2023-03-18 Thread John Dale (DB2DOM)
What kind of key are you using? I generate my certs with certbot. The result needs to be converted thusly to be used: openssl pkcs12 -export -out mykey-bundle.pfx -inkey myprivkey.pem -in cert.pem -certfile chain.pem -password pass:superdupersecretnoteventhealiensknow Is this a possible source

Re: Unable to start application

2023-03-18 Thread John Dale (DB2DOM)
t;> but one never knows. >> >> John >> >> On 3/17/23, Kevin Huntly wrote: >>> no I think it has something to do with it but I'm not sure. I'll try >>> taking >>> out the environment values and see what happens >>> >>

Re: AW: Unable to start application

2023-03-18 Thread John Dale (DB2DOM)
Still at it I see! :) Would you mind clearing and inspecting all logs very closely after reboot? Maybe it would also be useful to undeploy, capture logs, and diff them (never tried that, seemed like a good idea)? Sometimes it's a single word in the log file that triggers the solution, and

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
e what happens > > On Fri, Mar 17, 2023, 19:11 John Dale (DB2DOM) wrote: > >> In the log you sent below, I see a typo: >> Context/Environmnet >> >> Does that have something to do with it, or is this a typo in tomcat >> logging? >> >> >>

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
ter since you should be coded to the interfaces, but one never knows. John On 3/17/23, Kevin Huntly wrote: > no I think it has something to do with it but I'm not sure. I'll try taking > out the environment values and see what happens > > On Fri, Mar 17, 2023, 19:11 John Dale (DB2DOM)

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
In the log you sent below, I see a typo: Context/Environmnet Does that have something 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: > >>

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
Are you modifying a context.xml file in the conf folder? 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 > deployment descriptor >

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
___ > > 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++ > G++ e

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
: >> > 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 >> > >> > On Fri, Mar 17, 2023, 18:11 John Dale (DB2DOM) >> wrote: >> > >> >> Did I miss some

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
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. happy to add it if it needs to be there >> >> On Fri,

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
nd whatnot .. I tend to defer to spelling 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 > > On Fri, Mar 17, 2023, 18:11 Joh

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
I'm using tomcat 10.x - I have had good luck putting everything into server.xml as such .. Engine Host Parameter Resource Context 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

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
Where are you putting your Context file? Do you have a war file deployed into webapps/some.war? 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 > deployment descriptor >

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
Did I miss something? Isn't there supposed to be a "path" element in your context? 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 >

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
the server.xml and contex.xml file(s)? My gut is that there is a detail in your startup logs that will give us a critical clue. On 3/17/23, John Dale (DB2DOM) wrote: > Did you recursive file search "context.xml" in the tomcat root after > deployment? > > Maybe we can help narrow thing

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
w--- O- M-- V-- PS+ PE Y(+) > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ > G++ e(+) h--- r+++ y+++* > --END GEEK CODE BLOCK-- > > > On Fri, Mar 17, 2023 at 5:00 PM John Dale (DB2DOM) > wrote: > >> Dissect your deployment war, but also make sure you aren't de

Re: Unable to start application

2023-03-17 Thread John Dale (DB2DOM)
Dissect your deployment war, but also make sure you aren't defining a context element in server.xml. Lastly, if memory serves, Tomcat also allows context overrides in expanded war files. I eventually just started managing server.xml metadata (context etc) to avoid conflicts and simplify. "Hope

Re: AW: AW: Having trouble with Tomcat crashes. Interesting memory numbers in Manager

2023-02-10 Thread John Dale (DB2DOM)
I've tried profilers in the past, but I've never had much luck since you need a super computer to run them. Human intelligence rules .. read the code carefully, review it, step it with a debugger, and look for memory leak patterns. Mine have mostly been static and non static collections and

Re: Compatibility, 32 bit ..

2022-11-03 Thread John Dale (DB2DOM)
Is Tomcat's HTTP/S processing libraries modular and portable? On 11/3/22, Mark Thomas wrote: > On 02/11/2022 18:51, Christopher Schultz wrote: >> John, >> >> On 11/2/22 14:32, John Dale (DB2DOM) wrote: >>> On 11/2/22, Christopher Schultz wrote: >>>> J

Re: Compatibility, 32 bit ..

2022-11-03 Thread John Dale (DB2DOM)
management and MVC handler deployment/logic? What are some good object databases (are there any) that work well with Tomcat? On 11/3/22, Mark Thomas wrote: > On 02/11/2022 18:51, Christopher Schultz wrote: >> John, >> >> On 11/2/22 14:32, John Dale (DB2DOM) wrote: >>> O

Re: Compatibility, 32 bit ..

2022-11-02 Thread John Dale (DB2DOM)
On 11/2/22, Christopher Schultz wrote: > John, > > On 11/2/22 12:44, John Dale (DB2DOM) wrote: >> I'd like to continue to invest in Raspberry Pi, but also try to put >> together a functional 32bit build of my software for those poor old >> neglected closeted towers (rea

Re: [OT] Compatibility, 32 bit ..

2022-11-02 Thread John Dale (DB2DOM)
On 11/2/22, Christopher Schultz wrote: > John, > > On 11/2/22 12:41, John Dale (DB2DOM) wrote: > > > > [snip] > > >> I love some of the newer hardware, too, but even Raspberry Pi is not >> yet 64 bit, is it? > > It depends on which one. The Wikipedi

Re: [OT] Compatibility, 32 bit ..

2022-11-02 Thread John Dale (DB2DOM)
Excellent! My confusion was due to the slow-coming 64 bit OS release. Thanks for clearing that up. I'm using the 64 bit version on most of my devices. John On 11/2/22, Felix Schumacher wrote: > > Am 02.11.22 um 17:41 schrieb John Dale (DB2DOM): >> Chris enters the room, gaze

Re: Compatibility, 32 bit ..

2022-11-02 Thread John Dale (DB2DOM)
! Sincerely, John On 11/2/22, Christopher Schultz wrote: > John, > > On 10/28/22 10:46, John Dale (DB2DOM) wrote: >> I see .. Mark and/or Christopher - this means that no Tomcat 10, right? > > https://tomcat.apache.org/whichversion.html > > Tomcat 10.0, yes. > To

Re: [OT] Compatibility, 32 bit ..

2022-11-02 Thread John Dale (DB2DOM)
know about, these machines will speed-up considerably. :) https://en.wikipedia.org/wiki/Clipper_chip On 11/2/22, Christopher Schultz wrote: > John, > > On 10/27/22 11:03, John Dale (DB2DOM) wrote: >> Does anyone know of a report detailing how much of this older

Re: Compatibility, 32 bit ..

2022-10-28 Thread John Dale (DB2DOM)
I see .. Mark and/or Christopher - this means that no Tomcat 10, right? On 10/28/22, Konstantin Kolinko wrote: > чт, 27 окт. 2022 г. в 18:02, John Dale (DB2DOM) : >> >> I had the same thought when I saw it. Here is java -version output >> complete: >> >> openjd

Re: [OT] Compatibility, 32 bit ..

2022-10-27 Thread John Dale (DB2DOM)
Does anyone know of a report detailing how much of this older hardware is still out there and floating around? Big picture: It's a lot of computer power in the event manufacturing hits a hiccup, I wouldn't want to be caught flat-footed until it could be re-established. I like to build distilled

Re: Compatibility, 32 bit ..

2022-10-27 Thread John Dale (DB2DOM)
hristopher Schultz wrote: > John, > > On 10/24/22 12:00, John Dale (DB2DOM) wrote: >> Hi Mark; >> Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before >> cli: catalina.sh run) >> java version: openjdk version "9-internal" > > This looks f

Re: Compatibility, 32 bit ..

2022-10-24 Thread John Dale (DB2DOM)
Mark and Chris - do you guys have a favorite flavor of Linux that has yielded good results? Anyone else? John On 10/24/22, Mark Thomas wrote: > On 24/10/2022 19:38, John Dale (DB2DOM) wrote: >> Would Tomcat 10 work with Java 8? > > No. Tomcat 10.1.x requires a minimum of Java

Re: Compatibility, 32 bit ..

2022-10-24 Thread John Dale (DB2DOM)
Thank you. Would you agree with me that this should be an ubuntu bug report? I installed using apt-get. John On 10/24/22, Mark Thomas wrote: > On 24/10/2022 19:38, John Dale (DB2DOM) wrote: >> Would Tomcat 10 work with Java 8? > > No. Tomcat 10.1.x requires a minimum of Java

Re: Compatibility, 32 bit ..

2022-10-24 Thread John Dale (DB2DOM)
Would Tomcat 10 work with Java 8? Thinking I might downgrade the JDK. On 10/24/22, Mark Thomas wrote: > > > On 24/10/2022 17:00, John Dale (DB2DOM) wrote: >> Hi Mark; >> >> Thanks for taking a look. >> >> Below is more information. >> >> Sinc

Re: Compatibility, 32 bit ..

2022-10-24 Thread John Dale (DB2DOM)
(java.base@9-internal/Method.java:531) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) On 10/24/22, Mark Thomas wrote: > On 24/10/2022 02:01, John Dale (DB2DOM) wrote: &

Compatibility, 32 bit ..

2022-10-23 Thread John Dale (DB2DOM)
Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and bringing up a MySQL->DB2DOM->Tomcat stack. Unfortunately, Tomcat doesn't want to start with openjdk 9 that is packaged with 32 bit ubuntu. Can someone give me a pointer to what

Re: Question about ssl

2022-03-31 Thread John Dale (DB2DOM)
On 3/28/22, Christopher Schultz wrote: > John, > > On 3/26/22 22:29, John Dale (DB2DOM) wrote: >> Can you help me understand why Tomcat's SSL handling is so much faster >> than hand rolling it on a regular socket? > > I think you'll need to define some terms. > > For exa

Question about ssl

2022-03-26 Thread John Dale (DB2DOM)
Greetings; Can you help me understand why Tomcat's SSL handling is so much faster than hand rolling it on a regular socket? Sincerely, John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Question about directory listing sorting ..

2021-07-01 Thread John Dale (DB2DOM)
Doesn't seem to work for me on 9.0.41 (it's an older development box). I found these interesting: ow with patch v3: 1. "s=NA" name=asc 2. "s=ND" name=dsc 3. "s=SA" size=asc 4. "s=SD" size=dsc 5. "s=MA" modify=asc 6. "s=MD" modify=dsc >From here:

Re: Archive or package install

2021-06-18 Thread John Dale (DB2DOM)
Because of the way the installation is dissected and distributed, I found it easier to install from a download and use my own service file. Having the installation in one place also allows me to run concurrent instances of Tomcat having different versions, and/or to save old versions for future

Re: [ANN] Apache Tomcat 10.0.7 available

2021-06-17 Thread John Dale (DB2DOM)
Awesome! John On 6/17/21, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 10.0.7. > > This release is targeted at Jakarta EE 9. > > Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 > without changes. Java EE

Re: Problem posting to Tomcat ssl connector ..

2021-06-06 Thread John Dale (DB2DOM)
Just to note - this was fixed in the latest release of Tomcat and I'm humming along again .. But it would be good to track down what is happening to help folks who can't just upgrade like me. Side note - you'll recall that in the last year or so I've been on an upgrade tear from 7.x to present

Re: Pi Based Java Work

2021-06-06 Thread John Dale (DB2DOM)
The limit query was repeating data at the borders of my pages. I whittled it down to a specific case and it was definitely not sorting properly. Very strange behavior! John On 6/1/21, Christopher Schultz wrote: > John, > > On 5/28/21 20:21, John Dale wrote: >> MariaDB has a sorting/limit

Solved my Problem posting base64 image to Tomcat ssl connector on raspberry pi with JQuery and Ajax ..

2021-05-29 Thread John Dale (DB2DOM)
I upgraded DB2DOM to 9.0.41 manually, updated systemd and consolidated all the files that were distributed by apt-get. Once apps were back up and running, still no luck. Upgraded DB2DOM to 9.0.46, same result. Upgraded to 10.0.6, globally searched and replaced javax.websocket and javax.servlet