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)
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)
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)
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)
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)
. 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)
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)
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: 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)
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)
/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 pi 4 (w00t!). > > Maybe y

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
n 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 pi 4 (w00t!). > > Maybe you are still just waiting around for that tiny CPU to

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

2021-05-28 Thread John Dale
/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 pi 4 (w00t!). > > Maybe you are still just waiting around for that tiny CPU to run a

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

2021-05-28 Thread John Dale
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 pi 4 (w00t!). > >

Problem posting to Tomcat ssl connector ..

2021-05-28 Thread John Dale
Page loads fine. Other pages load fine. SSL handshakes are working until .. An Ajax post with a base64 encoded image in the data. I debugged up to the request and it's fine. I debugged the server and it's not reaching my component. Tomcat is killing the connection for some reason. Thought

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 from backbutton.co.uk

Tomcat vs simple hand rolled standalone server ..

2021-01-05 Thread John Dale
Greetings Everyone; I'm writing for small devices with limited power. Last year I wrote a simple web server to receive GET requests to do a handful of commands over the network that included some sound card interfacing among other things. It got me thinking about Tomcat in terms of

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:

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: cookie configurations for Tomcat 7

2020-01-27 Thread John Dale
Over the years I found it more productive to manage my own headers for the most part. The key for us has been keeping the code clean and manageable. John On 1/27/20, Lazar Kirchev wrote: > Hello, > > In Tomcat >= 8 there is the CookieProcessor in which cookie configurations > could be made,

Re: Password encryption in Tomcat 8.5.35

2019-09-16 Thread John Dale
This is a kind of funny (sorry) "battle of the bulge" problem. Malicious systems administrators (we assume everyone is guilty and it drives this kind of issue) will find the password to your database, and, ignoring everything else on the machine they just exploited, will go and query your

Re: [ANN] Apache Tomcat 9.0.24 available

2019-08-19 Thread John Dale
Does this get included in the apt framework for ubuntu automatically? John On 8/19/19, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 9.0.24. > > Apache Tomcat 9 is an open source software implementation of the Java > Servlet, JavaServer

Re: Invalid HTTP Header - attack?

2019-08-01 Thread John Dale
9.0.16.0 - this is the version installed with apt-get tomcat9 on ubuntu 18.04 Thank you for your feedback. John On 8/1/19, Konstantin Kolinko wrote: > чт, 1 авг. 2019 г. в 22:11, John Dale : >> >> Great feedback. Thanks. >> >> I am the network department. :) &g

Re: Invalid HTTP Header - attack?

2019-08-01 Thread John Dale
mas: >> On 01/08/2019 19:08, John Dale wrote: >>> I'm getting this in my logs - is this an attack do you think? >> >> Unlikely to be an attack. Most likely a broken client. > > There is another scenario: > > Regular security scans on all corporate subnets from

Invalid HTTP Header - attack?

2019-08-01 Thread John Dale
I'm getting this in my logs - is this an attack do you think? How might I determine this? Could this be pushing bytes to the handler and causing a memory issue? Error parsing HTTP request header Aug 1 17:37:58 dom1 tomcat9[9793]: Note: further occurrences of HTTP request parsing errors will

Re: Question regarding tomcat random number seeding and startup times

2019-07-28 Thread John Dale
I changed securerandom.source=file:/dev/random in /jre/lib/security/java.security, changing this to urandom and it vastly improved things. My question is, what will this do? I don't really rely on the tomcat generated session affinity .. On 7/28/19, John Dale wrote: > Greetings; > >

Re: Question regarding tomcat random number seeding and startup times

2019-07-28 Thread John Dale
/27/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 7/27/19 19:49, John Dale wrote: >> Greetings Everyone; >> >> A quick update to the folks who I have interacted with on the list >> (you know who you a

Re: Question regarding tomcat random number seeding and startup times

2019-07-28 Thread John Dale
Greetings; On 7/27/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 7/27/19 19:49, John Dale wrote: >> Greetings Everyone; >> >> A quick update to the folks who I have interacted with on the list >

Question regarding tomcat random number seeding and startup times

2019-07-27 Thread John Dale
ise encryption quality? I would like to push back my Java 11 upgrade until I have a good longer term strategy for jax and activation libraries. Thoughts? Glad to have made it through the upgrade .. it really wasn't very painful at all. Sincerely, John Dale DB2

Re: Upgrading .. finally

2019-07-17 Thread John Dale
Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 7/16/19 22:07, John Dale wrote: >> Greetings; >> >> I'm upgrading to Tomcat 9 and (I guess) openjdk 11. >> >> Should I consider openjdk 8 instead? > > Where are yo

Upgrading .. finally

2019-07-16 Thread John Dale
Greetings; I'm upgrading to Tomcat 9 and (I guess) openjdk 11. Should I consider openjdk 8 instead? John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Question regarding SmartOS

2019-06-25 Thread John Dale
Greetings; How is Tomcat 8.x/9.x with SmartOS? John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Does Tomcat server printout System.out.print infor?

2019-05-12 Thread John Dale
It is pretty normal. If you don't want to deal with the systems administration of your server, you can lease a tomcat instance and deploy your war file. A host will typically help you with some of the configuration and management, and notify you if you have deployed some naughty code that is

Re: Jmx example for adding or removing users?

2019-05-09 Thread John Dale
You're missing database driven roles based user authentication and authorization. :) I commend you, sir, for attempting the tomcat default user management save button! On 5/9/19, Alex O'Ree wrote: > Well less than perfect. Tomcat out of the box is setup with the users xml > file. What's

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-08 Thread John Dale
This was in the spirit of one of my suggestions and probably how I would approach the problem to save them/me having to create a Tomcat request harness .. encapsulate the service in a static method and call that (cohesive). Have a super day, John On 5/8/19, Christopher Schultz wrote: >

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
fka > messages similar to http in that they would consist of headers and a body. > The body would be json. > > > On Mon, May 6, 2019 at 6:13 PM John Dale wrote: > >> You could try debugging the tomcat code and find out how, right after >> it parses the TCP request, it i

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
} > > @Override > protected void doGet(HttpServletRequest req, HttpServletResponse resp) > throws ServletException, IOException { > // do stuff like use em > resp.setStatus(200); > resp.getWriter().write("Hello World"); &g

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
ave code running in a Tomcat App server which is not > managed by Tomcat and is not initiated by anything within Tomcat. That code > now wants to call a servlet hosted in that very same JVM. Any way to do > that without going out and back in on TCP? > > > On Mon, May 6

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
> my own server socket listener on port 1 running in the Tomcat JVM and > got some request in some propriatary protocol called X. Now I want to call > a Tomcat servlet in the current JVM with some info I got over X without > going out on TCP and back in > > On Mon, May 6,

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
by Tomcat and is not initiated by anything within Tomcat. That code > now wants to call a servlet hosted in that very same JVM. Any way to do > that without going out and back in on TCP? > > > On Mon, May 6, 2019 at 5:14 PM John Dale wrote: > >> Sockets are an imp

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
he current JVM with some info I got over X without > going out on TCP and back in > > On Mon, May 6, 2019 at 4:40 PM John Dale wrote: > >> If you're wanting to forward control to another servlet deployed in >> the same context: >> https://www.javatpoint.com/requestdis

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-05-06 Thread John Dale
t response (or > similar) back. I have this working by calling into localhost but ideally > want to skip the trombone out and back in. > > Have you got any basic code examples? > > Paul > > On Tue, Apr 30, 2019 at 5:27 PM John Dale wrote: > >> Another thought .. you can

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-04-30 Thread John Dale
Another thought .. you can do some request dispatching, but without knowing more about the tools you're using, I can't say for sure if this is the direction you'll want to go. On 4/29/19, Paul Carter-Brown wrote: > Hi > > I'm trying to design a Kafka consumer and producer that will run inside

Re: Initiating httpservletrequest from inside Tomcat / TomEE

2019-04-30 Thread John Dale
This is one of my favorite things. You'll need to retransmit headers, but by and large it's doable. Management of contexts can be tricky. Don't forget that the target service will have a difference context (database connection context has bitten me in the past on this type of task). I do my

Re: unable to serve static files with embedded Tomcat

2019-04-19 Thread John Dale
Tomcat doesn't seem to timeout one its own unless my DBCP is being abused in the code. I'm thinking firewall .. also, double-check your port configuration(s) in server.xml (or context.xml if that's the route you're going). On 4/19/19, Garret Wilson wrote: > Embedding Tomcat 9 (with OpenJDK 11

Re: Wildcard certificates

2019-04-18 Thread John Dale
Here is a mostly manual process for integration of certbot with tomcat 7.x.x. This presupposes you have certbot installed and working (I'm using Debian): -- // generate the certificates ./certbot-auto certonly

Re: Wildcard certificates

2019-04-17 Thread John Dale
Exactly .. this is part of the solution. I am having tomcat behave smartly in response to the certificate validation, and I have a nice path to develop some cool tools, similar to HTTPD, around certbot (I love that this is a free service, but I do have some concerns over centralized CSA, so I do

Re: Wildcard certificates

2019-04-17 Thread John Dale
On 4/17/19, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 4/17/19 10:42, John Dale wrote: >> My understanding is that the folks at SUN really put their backs >> into it from the beginning: >> https://stackove

Re: Wildcard certificates

2019-04-17 Thread John Dale
as done something truly amazing, maybe adding more > tools to what MUST be a secure toolchain isn't a great move. > > - -chris > >> On Wed, Apr 17, 2019 at 9:18 AM John Dale >> wrote: >> >>> I have a really nice process that works great with certbot. >&g

Re: Wildcard certificates

2019-04-17 Thread John Dale
rsonal > feeling. Maybe things have shifted in a different direction over the > year. I do agree that something like that would be helpful to other tomcat > admins. Would you consider putting it into github ? > > Thanks, > J > > On Wed, Apr 17, 2019 at 9:18 AM John Dale

Re: Wildcard certificates

2019-04-17 Thread John Dale
I have a really nice process that works great with certbot. Single command to renew all of my certs and I'm finished. I get some piece of mind having a Java process guarding the front door. Seems to be more impervious to overflows. What am I missing? I think what I have might be easily

Re: Build Dependencies

2019-04-15 Thread John Dale
;> John, >> >> On Sun, Apr 14, 2019 at 6:50 AM John Dale >> wrote: >> >>> Hi Mark; >>> >>> Do you have an artifact depicting the dependencies in Tomcat? >>> I'd like to start building, debugging, and helping-out, but I >>> just li

Re: [ANN] Apache Tomcat 8.5.40 available

2019-04-14 Thread John Dale
Hi Mark; Do you have an artifact depicting the dependencies in Tomcat? I'd like to start building, debugging, and helping-out, but I just like using Ant and using manual methods for dependencies at compile time. Do I have a chance? Sincerely, John Dale, MS MIS DB2DOM.COM Spearfish, SD On 4

Re: connectionInitSqls

2019-04-12 Thread John Dale
Are you using the "*" (splat/star/asterisk) characters below to highlight the configuration entry for our benefit? Are you sure you're putting the connectionInitSqls on the correct Resource element below (noticed you had two)? Try verifying the JNDI lookup in your code with the configuration

Re: Session Persistence Problems

2019-04-11 Thread John Dale
This is a great information. I'd like to stray a little off topic if that's okay .. still in the same ballpark. I like to invent new doodads in software and see if I can do it better. Over the years, like many, I built-up a library of things that worked best for me over the years. One of those

Re: Session Persistence Problems

2019-04-11 Thread John Dale
I'm looking forward to hearing from the dev folks on this. I suspect it has something to do with the context configuration. A long time ago, I started doing my own session management, but then I don't mind building out the pieces I needed for clustering. In fact, I decided to store session

Re: Using WebSockets with a Tapestry WebApp running on Tomcat

2019-04-08 Thread John Dale
IoC - *shudders* Can't this be used to "inject" mass surveillance into J2E apps? It was curiously missing in the bullet items down the home page of tapestry. :p So, you're expecting to inject dependencies into components instantiated on a websocket? By "the rest of the application" below, are

Re: Sending post from ajax to servlet

2019-04-07 Thread John Dale
Debug pause made your request/db connection/other timeout? On 4/5/19, alejandro.var...@kymsolutions.com wrote: > I have a problem, not always, it happens randomly. Sometimes I send some > data, ~200KB , using jquery ajax, but when I received the request it came > null, but before I debugged in

  1   2   >