Re: How to integrate alternative SSLContext?

2023-08-23 Thread John Jiang
sslImplementationName", AltJSSEImplementation.class.getName()); Best regards, John Jiang

Re: How to integrate alternative SSLContext?

2023-08-23 Thread John Jiang
Hi Mark, Thanks for your reply! On Thu, Aug 24, 2023 at 12:15 AM Mark Thomas wrote: > On 23/08/2023 00:44, John Jiang wrote: > > Hi, > > I'm using tomcat-embed-core 9.0.78 + OpenJDK 11.o.19. > > My project needs a custom javax.net.ssl.SSLContext implementation. > >

How to integrate alternative SSLContext?

2023-08-23 Thread John Jiang
, and then pass it to a custom Connector? In addition, I don't meet this problem with Jetty and Netty. Best regards, John Jiang

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

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)
is 8. You have set value of "100" for "maxActive" property, which is being ignored. Sincerely, John Dale, MS MIS DB2DOM.COM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comma

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)
. For production .. Raspbian flows through to ubuntu/debian with practically no issues except Pi has a problem with ipchainining and NAT. Start firing away to jcdw...@gmail.com with questions regarding MySQL. I'll do what I can. John On 3/18/23, Kevin Huntly wrote: > Hey Every

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)
Thanks Mark - are statics reloaded now, too? I touch web.xml and it's reloaded successfully hundreds of times. But I don't use war files so I can use git to version and transfer my builds ... maybe that's the reason? John On 3/18/23, Mark Thomas wrote: > On 17/03/2023 23:18, John D

Re: AW: Unable to start application

2023-03-18 Thread John Dale (DB2DOM)
, and doing diligent inspection of the logs after each change is a good idea to avoid compounding variables. John On 3/18/23, Kevin Huntly wrote: > 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 a

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)
. da da, CHING! :D So, did you figure it out? Sincerely, John On 3/17/23, Kevin Huntly wrote: > are you a db2 admin? I need one of those too hahaha - I became the db2 > admin at my job because I knew the most about it which isn't saying much > lol > > On Fri, Mar 17, 2023,

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)
on startup .. usually it will give you some more detailed information about startup errors. I have luck killing the tomcat java process, then deleting everything in the logs folder between test runs. Sincerely, John On 3/17/23, Kevin Huntly wrote: > There's no context.x

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: Tomcat 10.1.4 HTTP Status 404 and 500 Help

2023-01-11 Thread John Barrow
Mark, Thanks for your corrections. I have updated my internal "How to" guide that I created when I first used Tomcat to build my servlets and it appears that some of my deductions from that initial research and "getting it to work" were misguided. John On Wed, 11 Jan 202

Re: Tomcat 10.1.4 HTTP Status 404 and 500 Help

2023-01-10 Thread John Barrow
as a guide for your own servlets. John PS: Probably worth reviewing what file names you use (see your webapps.xml file) when making public requests so as not to inadvertently offend anyone. On Tue, 10 Jan 2023, 18:59 Anthony Dell'Anno, wrote: > Good afternoon, > > I'm trying to run

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)
Hi Mark; Thanks for taking a look. Below is more information. Sincerely, John Dale, MS MIS Spearfish, SD USA - Tomcat version: 10.0.27 (unzipped, chmod 770 on catalina.sh before cli: catalina.sh run) java version: openjdk version "9-internal" uname -m: i686 Ubuntu 18.0.4 F

Compatibility, 32 bit ..

2022-10-23 Thread John Dale (DB2DOM)
o what works best? DB2DOM Also, any heads up about missing libs or other nuances would also be appreciated (jax mods were most painful). Sincerely, John Dale, MS MIS Spearfish, SD USA - To unsubscribe, e-mail: users-un

RE: Unexpected messages in commons-daemon.log Tomcat 10.0.17

2022-05-25 Thread Orendt, John
Hi I recently transitioned from Tomcat Version 10.0.14 to 10.0.17 on Windows 10, server 2016, and server 2019 Version 10.0.14 was good, Version 10.0.17 also has Unexpected messages in commons-daemon.log Is there a fix? John Orendt john.p.ore...@medtronic.com -Original Message- From

Re: Question about ssl

2022-03-31 Thread John Dale (DB2DOM)
ssocket; } I'm using the cert at https://db2dom.com It's still a tenth of a second to process the request with this "hand rolled" method, but it's several orders of magnitude slower, and I'm trying to figure out why (I'm obsessive with response times). Sincerely, John

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

Re: Configure Tomcat development using NetBeans IDE

2022-02-25 Thread John Barrow
as far as import goes, but I mention them just in case. John On Thu, 24 Feb 2022 at 15:13, John Barrow wrote: > > Mark, > > I have now got grep working (following a post from another member > indicating that built into git bash!) > > > ant download-test-compile > &g

Re: Configure Tomcat development using NetBeans IDE

2022-02-24 Thread John Barrow
oints resolved prior to the 5th. Thanks again for your continued patience and valuable insights. John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: is too quick to respond

2022-02-23 Thread John Barrow
calls it makes to do the reload. So far, I have had to imagine how the code is structured and so consider a solution based on that (possibly false hypothesis). Just to be clear from other questions, I have no intention in going anywhere near the 'rebuild' process - that is a black box as far

Re: Configure Tomcat development using NetBeans IDE

2022-02-23 Thread John Barrow
wser refresh). Of course, once you have been tempted by the serpent, it is so hard to have your candy taken away from you hence me spending a week attempting to install Tomcat and implement some protection for this scenario :) John On Wed, 23 Feb 2022 at 08:10, Greg Huber wrote: > > Th

Configure Tomcat development using NetBeans IDE

2022-02-22 Thread John Barrow
nse from my request about NetBeans, that this is not a favourite environment for Tomcat development. It may just have been a long time since anyone deployed the development framework into NetBeans and so my efforts might be wor

Re: is too quick to respond

2022-02-20 Thread John Barrow
abusing the meaning of the suffixes. Of course, only those files with those two suffixes (jar / war) would have the additional validation applied, the rest would simply be subject to the timeout for non activity having expired. John Neil,> I think it's a bad idea to design a solution based on the f

Re: is too quick to respond

2022-02-20 Thread John Barrow
lete" event to> occur and fire off.>>    thanks,>   jason>> - Original Message -> From: "chris" > To: "users" > Sent: Sunday, February 20, 2022 9:22:17 AM> Subject: Re: is too quick to respond>> John,>> On 2/20

RE: is too quick to respond

2022-02-20 Thread John Barrow
, the failed tests zip is also there in case it was stripped out for anyone else that might be interested. John *From: *Christopher Schultz *Sent: *20 February 2022 14:22 *To: *users@tomcat.apache.org *Subject: *Re: is too quick to respond John, On 2/20/22 05:50, John Barrow wrote: > N

RE: is too quick to respond

2022-02-20 Thread John Barrow
he reload. It is also a read-only query and so has no side-effects as it appears that users have a need to auto-reload after refreshing a larger .war file. Thoughts? Enjoy your evening. John From: Christopher Schultz Sent: 20 February 2022 14:22 To: users@tomcat.apache.org Subject: Re: is

Re: is too quick to respond

2022-02-20 Thread John Barrow
I should have mentioned, for anyone interested in this thread and in case not obvious from the source, but to see the sample source code in action, you need to add, modify, rename or delete files within the specified directory in a File Explorer. John On Sun, 20 Feb 2022 at 00:04, Neil Ag

Re: is too quick to respond

2022-02-19 Thread John Barrow
ires prior to the period of no activity then the 'reload' task (print the files in the directory) won't be triggered but as that would (guessing now) only be when Tomcat was shut down then it would be irrelevant anyway. Thanks John On Fri, 18 Feb 2022 at 17:03, Christopher Schultz wrote: > > John, &

Re: is too quick to respond

2022-02-19 Thread John Barrow
: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.242 sec I have attached the 5 txt files as listed above for review (if needed). The first one may still be a timing issue, but I am not in a position to judge! John On Fri, 18 Feb 2022 at 18:16, Mark Thomas wrote: > > > On 18/0

Re: is too quick to respond

2022-02-19 Thread John Barrow
public static void main(String[] args) throws Exception { indicating that perhaps Tomcat has been built using Maven! John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mai

RE: is too quick to respond

2022-02-18 Thread John Barrow
to re-run the Tomcat tests and see if I can get a list of the failures in a suitable format. John Directory / File structure for created HelloWorldAnt project C:\Development\Work\HelloWorldAnt\build C:\Development\Work\HelloWorldAnt\build.xml C:\Development\Work\HelloWorldAnt\manifest.mf C:\Develo

Re: is too quick to respond

2022-02-18 Thread John Barrow
:01, John Barrow wrote:>> Do you have a list of the tests which fail? Do you know how to get that list?> > Yes, although I am on Windows, not UNIX and so I don't have access to> grep. I did a simple search within logs for 'FAILED' and it came up> with about 20 or so. The list o

Re: is too quick to respond

2022-02-18 Thread John Barrow
to run them within Netbeans tells me that the packages don't exist. Is there anyone else in the group that is successfully developing Tomcat using Netbeans? On Fri, 18 Feb 2022 at 17:03, Christopher Schultz wrote: > > John, > > On 2/18/22 10:50, John Barrow wrote: > &

RE: is too quick to respond

2022-02-18 Thread John Barrow
ing to keep shutting down Tomcat after each compile! John From: Mark Thomas Sent: 17 February 2022 21:47 To: users@tomcat.apache.org Subject: Re: is too quick to respond On 17/02/2022 19:50, Christopher Schultz wrote: > This kind of thing could happen due to a number of differen

is too quick to respond

2022-02-17 Thread John Barrow
] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s) Thanks in advance and here’s hoping to not have to have to keep Stopping & Starting Tomcat for every development change. John - To unsubscribe, e-mail: u

RE: AW: Tomcat 9 cannot start on windows 10 as service

2022-02-09 Thread Orendt, John
Hi I used service.bat with Tomcat 9 & 10. Works well when run as admin John Orendt john.p.ore...@medtronic.com -Original Message- From: Thomas Hoffmann (Speed4Trade GmbH) Sent: Wednesday, February 9, 2022 12:58 PM To: Tomcat Users List ; W Subject: AW: AW: Tomcat 9 cannot s

RE: Tomcat 9 Encrpytion of JDBC

2022-01-20 Thread Orendt, John
types. Internet Banking does exist. John Orendt john.p.ore...@medtronic.com -Original Message- From: Christopher Schultz Sent: Tuesday, January 18, 2022 11:32 AM To: users@tomcat.apache.org Subject: Re: Tomcat 9 Encrpytion of JDBC John, On 1/18/22 08:37, Orendt, John wrote: > Secr

RE: Tomcat 9 Encrpytion of JDBC

2022-01-18 Thread Orendt, John
Hi All Secrets are more secure with the use of a Trusted Platform Module (TPM) and / or a Hardware Security Module (HSM). Secrets need to be protected both at rest and in transit. John Orendt john.p.ore...@medtronic.com -Original Message- From: Alan F Sent: Friday, January 14, 2022

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: 500 instances of tomcat on the same server

2021-06-28 Thread John Larsen
No need to be discouraged. Docker is just a set of tools. You can still use docker to create images, but you dont need docker to use those images in a container. K8s is using industry standard containerd. https://kubernetes.io/blog/2020/12/02/dont-panic-kubernetes-and-docker/ John Larsen

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 > wit

Re: Problem posting to Tomcat ssl connector ..

2021-06-06 Thread John Dale (DB2DOM)
including Java versions. So, now I'm all caught up. This year I would like to integrate major release versions of Tomcat into my build so I can debug Tomcat source and help-out more with bugs. Sincerely, John On 6/1/21, Mark H. Wood wrote: > On Fri, May 28, 2021 at 01:32:47PM -0600, John D

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

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

2021-05-29 Thread John Dale (DB2DOM)
we've got it all figured out. The only browser that would POST a 500k packet was FireFox, which leans me to believe there was maybe a chunking issue or some other platform-specific compatibility issue (like HTTP 2 vs 1.2 vs 1.1). Thanks for the help, John! /snark Sincerely, John DB2DOM On 5/28

Re: Pi Based Java Work

2021-05-28 Thread John Dale
as a nice proof of concept. I built this all myself without some super genius middle manager poking me in the back all the time. Go figure. Sincerely, John On 5/28/21, Rob Sargent wrote: > > > On 5/28/21 6:21 PM, John Dale wrote: >> Tried sending another email .. doesn'

Pi Based Java Work

2021-05-28 Thread John Dale
on? Hit me back. John On 5/28/21, Christopher Schultz wrote: > John, > > On 5/28/21 15:32, John Dale wrote: >> I debugged the server and it's not reaching my component. >> > > > > >> Request post is around 300K. >> >> Tomcat 9 on a raspberry

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
ran apt-get install tomcat9 and it upgraded these packages: libtomcat9-java tomcat9 tomcat9-common Still did not resolve the issue, however. Looking for a guide to manually upgrade a package installed with apt-get. Suggestions? On 5/28/21, Christopher Schultz wrote: > John, > > O

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
The thick plottens. When I do apt-cache show tomcat9: Package: tomcat9 Version: 9.0.31-1~deb10u4 ... S .. simple and good way to upgrade this via apt-get? Or will I have to manually be overwriting stuff (yuck). John On 5/28/21, Christopher Schultz wrote: > John, > > On 5/28

Re: [OT] Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
definitely related to the post size .. smaller images work, larger images do not work, but the larger images are only 500k, so it's not a maxpostsize issue. I'm running apache-tomcat-9.0.41, so this shouldn't apply: https://stackoverflow.com/questions/63050276/tomcat-9-long-https-request John

Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
it might be maxSavePostSize .. bumped that up in the SSL connector. No dice. Request post is around 300K. What's going on!? Tomcat 9 on a raspberry pi 4 (w00t!). Everything is working fantastically save this one item. Sincerely, John

Tomcat 10 and import org.apache.commons.fileupload.FileItem problem

2021-05-14 Thread Orendt, John
. It is indirectly referenced from required .class files Using import jakarta.servlet.http.HttpServletRequest also does not work. I may be on the wrong path. Is there a newer version of jakartaee-migration-0.2.0-shaded.jar available? Your insights are appreciated. John Orendt john.p.ore...@medtronic.com

Tomcat, maybe Apache on Widows 10

2021-04-09 Thread Orendt, John
the environmental variables To Tomcat For configuring TLS on Tomcat 9 or 10, a working example would be useful. Will standalone Tomcat validate certs up the chain of trust and actually refuse the connection if a client cert has been revoked? Please advise. John Orendt john.p.ore...@medtronic.com

Re: Apology: Sorry ponytail guy

2021-03-30 Thread John Dale
John from DB2DOM.COM also wishes to apologize on their behalf. Really sincere and super apologetic regards from South Dakota, John On 3/29/21, Som Lima wrote: > Hi, > > You suggested using GIT I thought you were suggesting putting my code on > github. > > > Zahid

Re: Question about TLS/SSL setup and SSLHostConfig or not

2021-03-02 Thread John Larsen
I usually let the apache webserver or nginx handle the SSL while proxying to the tomcat. To use tomcat's built in server you'll need to import the SSL certificate into the keystore via your jdk. John Larsen On Tue, Mar 2, 2021 at 3:06 PM Alex wrote: > Hi. > > I try to make a &quo

Tomcat vs simple hand rolled standalone server ..

2021-01-05 Thread John Dale
/overflow/security protections. What is tomcat 9x doing if anything for this? Are buffer overflow protections something provided by the JVM/FW/OS alone? What other information does tomcat have beyond declarative security in web archive metadata? Thanks, John

Re: Recognizing Certificate Updates

2020-12-26 Thread John Larsen
This is why we set up SSL through the web server instead of tomcat. Apache webserver -> SSL -> Mod_jk <-> Tomcat John Larsen On Sat, Dec 26, 2020 at 10:43 AM Jerry Malcolm wrote: > We have a production environment where we rarely reboot Tomcat. > LetsEncrypt auto-update

Re: Something I still don't quite understand, Re: Let's Encrypt with Tomcat behind httpd

2020-08-25 Thread John Dale
I had to write some custom code to look for the lets encrypt headers then respond appropriately for verification. It wasn't too bad, although I don't like having that entity-specific code in there so I've isolated and commented it. On 8/25/20, Christopher Schultz wrote: > -BEGIN PGP SIGNED

Question regarding servlet lifecycle and connection pooling ..

2020-07-25 Thread John Dale
Greetings; We've wrapped my connection pool interface in a Factory. Can you confirm how the current request's thread is used by JDBC connection pooling to MySQL? Sincerely, John - To unsubscribe, e-mail: users-unsubscr

Re: Vulnerability flagged in Nessus Scan

2020-06-03 Thread John Palmer
As the concern is that an erro page will show the tomcat version/patch info AND a stacktrace,\ I found the easier/better? solution to be adding . showReport="false" showServerInfo="false" to the Error Report Valve section at the bottom of server.xml (and addin or or uncommenting that valve

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-12 Thread John Larsen
Should be chmod 644 and also I wouldnt recommend running tomcat as root. John Larsen On Tue, May 12, 2020 at 9:28 AM Patrick Baldwin wrote: > I've gotten passed an odd (to me, anyway) issue with one of our clients > CentOS systems. > > When our webapp starts running, tomcat

Re: Strange behavior when deploying new war

2020-04-23 Thread John Larsen
Turns out the developer was deleting the app dir along with war and restarting. John On Thu, Apr 23, 2020 at 1:19 PM John Larsen wrote: > Ah doing ROOT.war is my pet peeve. I find this bad practice. Its nice to > have ROOT especially when the developer insists theres something

Re: Strange behavior when deploying new war

2020-04-23 Thread John Larsen
ot;" - not sure that would solve the problem - i mean logically it doesnt make sense, but I will give it a try. John Larsen On Thu, Apr 23, 2020 at 1:15 PM Mark Thomas wrote: > On 23/04/2020 20:10, John Larsen wrote: > > Ok so my next question is how to handle this better? The goal

Re: Strange behavior when deploying new war

2020-04-23 Thread John Larsen
Ok so my next question is how to handle this better? The goal here is so that one does not have to enter /webappName/ on the end of the domain. We use the context to tell Tomcat which webapp to load instead of ROOT. John Larsen On Thu, Apr 23, 2020 at 12:47 PM Christopher Schultz <

Strange behavior when deploying new war

2020-04-23 Thread John Larsen
to comment out the above context, start tomcat so the war will deploy, uncomment and then restart tomcat again. John Larsen

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread John Dale
I always appreciate your depth of knowledge, Chris. "hand-wavy device supporting NIO for Java" Could you write us a quick paragraph expanding on this idea? I'm happy to follow a pointer to a well written article (something up to your standards). On 3/31/20, Christopher Schultz wrote: >

RE: OpenSSL config for Tomcat 7

2020-03-03 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Thank you " You want SSLCertificateChainFile for the intermediate and root CA certs" was the issue. The intermediate and root certs are now being pulled in. -John -Original Message- From: Mark Thomas Sent: Tuesday, March 3, 2020 2:01 AM To: users@tomcat.apache.org S

  1   2   3   4   5   6   7   8   9   10   >