Re: Unable to start application

2023-03-18 Thread Kevin Huntly
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 lookups were prefixed with "java:comp/env/" and things worked. Clearly, IBM's WebSphere does this for you, since that's

Re: Unable to start application

2023-03-18 Thread John Dale (DB2DOM)
Here's what I use for development: apache-tomcat-10.0.6 java --version openjdk 11.0.9.1 2020-11-04 OpenJDK Runtime Environment (build 11.0.9.1+1-post-Raspbian-1deb10u2) OpenJDK Server VM (build 11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode) I have tremendous success running this combination.

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 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+ s a

AW: SSL issue

2023-03-18 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Kevin, That's why I also suggest to use PEM format. You don’t have to deal with two passwords and the files can be open in a normal editor. Copy & paste also works easily in PEM format. Glad it works now. Greetings, Thomas > -Ursprüngliche Nachricht- > Von: Kevin Huntly >

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

Re: SSL issue

2023-03-18 Thread Kevin Huntly
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 it's working now. Thanks !

AW: SSL issue

2023-03-18 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, the relevant error is: Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. It seems there is something wrong with your keystore. Are both, private and public key in the p12 file? Can you check

SSL issue

2023-03-18 Thread Kevin Huntly
Hello Everyone, I'm having an issue with my SSL connector: 18-Mar-2023 14:12:46.996 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[org.apache.coyote.http11.Http11Nio2Protocol-8443]]

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
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 headaches anymore. if I can't get one app working I have no hope of getting others to work lol On Sat, Mar 18, 2023, 09:16 John Dale (DB2DOM) wrote: > Thanks Mark - are

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 Dale

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: 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: Tomcat 9.0.72 Firefox issue with 204 response (Empty Body)

2023-03-18 Thread Mark Thomas
That looks like a browser bug then. You'll need to raise that with Firefox. Also, the CSP doesn't look quite right. "...form-action 'self'; https:;..." should probably be: "...form-action 'self' https:;..." Mark On 17/03/2023 23:34, Bhavesh Mistry wrote: Hi Tomcat Team and Mark, I am

Re: AW: Unable to start application

2023-03-18 Thread Simon Matter
Hi, > On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote: >> Hello, >> >>> -Ursprüngliche Nachricht- >>> Von: Kevin Huntly >>> Gesendet: Samstag, 18. März 2023 11:10 >>> An: Tomcat Users List >>> Betreff: Re: Unable to start application >>> >>> Here are the logs - >>>

Re: AW: Unable to start application

2023-03-18 Thread Mark Thomas
On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Kevin Huntly Gesendet: Samstag, 18. März 2023 11:10 An: Tomcat Users List Betreff: Re: Unable to start application Here are the logs -

AW: Unable to start application

2023-03-18 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Kevin Huntly > Gesendet: Samstag, 18. März 2023 11:10 > An: Tomcat Users List > Betreff: Re: Unable to start application > > Here are the logs - > https://drive.google.com/file/d/1jBsNaW_bQJ4KcDSvucJ5QWo642He6bgb/view > ?usp=sharing > > The

Re: Unable to start application

2023-03-18 Thread Kevin Huntly
Here are the logs - https://drive.google.com/file/d/1jBsNaW_bQJ4KcDSvucJ5QWo642He6bgb/view?usp=sharing The JDBC driver is located under /opt/mysql/, and I added that path to catalina.properties under the common loader. I did try to move it into ${catalina.home}/lib, this did not change anything.

Re: Unable to start application

2023-03-18 Thread Mark Thomas
On 17/03/2023 23:18, John Dale (DB2DOM) wrote: ok - "mnet" should be "ment" From the logs excerpt I saw earlier in the thread, that needs fixing (although it was only a test element). I don't think it will break anything else but better to remove the noise from the logs. I figured I'd