RE: problem in starting tomcat

2018-06-26 Thread Prateek
Here I am hs_err_pid file Sent from Mail for Windows 10 From: Coty Sutherland Sent: Tuesday, June 26, 2018 10:22 PM To: Tomcat Users List Subject: Re: problem in starting tomcat On Tue, Jun 26, 2018 at 12:27 PM, Prateek Yadav wrote: > Thanks for reply > I already tested it for more than one

Re: Production Tomcat 8.5.5 suddenly started to give ClassNotFoundError

2018-06-26 Thread Mladen Adamović
It turned out this problem was caused by a class constructor which started to give RuntimeException (it has some calculations based on DB data). That somehow caused ClassNotFoundException. I've solved the cause and had to reinstall tomcat (as after deleting "work" directory tomcat did not work

RE: Alias name does not identify a key entry

2018-06-26 Thread Cybulski, Adam M
Ok, I worked it out. I had to extract all the intermediate certificates from the root/intermediate certificate, and import them separately. Thanks for all your help, I have it up and running now! -Original Message- From: Cybulski, Adam M Sent: Tuesday, June 26, 2018 2:25 PM To:

RE: Alias name does not identify a key entry

2018-06-26 Thread Cybulski, Adam M
I got the same error, C:\Windows\system32>keytool -certreq -keyalg RSA -alias tomcat -file c:\tomcat8\ tomcatreq.csr -keystore c:\Tomcat8\meg.keystore Enter keystore password: C:\Windows\system32>keytool -import -alias root -keystore c:\Tomcat8\meg.keystor e -trustcacerts -file

Re: Any one using Tomcat Server Side Include (SSI) support?

2018-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/26/18 1:48 PM, Mark Thomas wrote: > Hi, > > I'm currently working on an old bug to improve the SSI support in > Tomcat [1]. Note that the original bug dates back to 2010. > > I'm going to fix [1] if I can. SSI support is part of the

RE: Alias name does not identify a key entry

2018-06-26 Thread Cybulski, Adam M
>Did you re-create your private key? I hope you kept a backup otherwise you >might have to get your CA >to re-sign the certificate from scratch. >If they try to charge you again just say "my key has been compromised and I'd >like a replacement". They >should do it for free. I did recreate it,

Re: Alias name does not identify a key entry

2018-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adam, On 6/26/18 1:32 PM, Cybulski, Adam M wrote: > Hi Chris, Thanks for the help, > >>> keytool -import -alias meg -keystore c:\Tomcat8\meg.keystore >>> -file "C:\Tomcat8\meg_library_albany_edu_cert.cer" >> That last step should have been to

Any one using Tomcat Server Side Include (SSI) support?

2018-06-26 Thread Mark Thomas
Hi, I'm currently working on an old bug to improve the SSI support in Tomcat [1]. Note that the original bug dates back to 2010. I'm going to fix [1] if I can. SSI support is part of the current release and the functionality is missing. However, I got to wondering just how many folks are

Re: Alias name does not identify a key entry

2018-06-26 Thread Mark Thomas
On 26/06/18 18:32, Cybulski, Adam M wrote: > Can you aim me at a guide to this? The steps I've been following are just > from whatever I've found online. Most of the articles seem pretty dated. http://tomcat.apache.org/presentations.html Look for the TLS generation presentation from the 2016

RE: Alias name does not identify a key entry

2018-06-26 Thread Cybulski, Adam M
Hi Chris, Thanks for the help, >> keytool -import -alias meg -keystore c:\Tomcat8\meg.keystore -file >> "C:\Tomcat8\meg_library_albany_edu_cert.cer" >That last step should have been to import using the same alias as the first >step. That will update the self-signed >certificate with the

Re: problem in starting tomcat

2018-06-26 Thread Coty Sutherland
On Tue, Jun 26, 2018 at 12:27 PM, Prateek Yadav wrote: > Thanks for reply > I already tested it for more than one machine so hardware problem can not > be a case. > What happens if you don't specify that OnError call? Can you attach a fuller stack trace if not the entire hs_err_pid log (make

Re: problem in starting tomcat

2018-06-26 Thread Igal Sapir
Prateek, On 6/26/2018 9:27 AM, Prateek Yadav wrote: Thanks for reply I already tested it for more than one machine so hardware problem can not be a case. On 6/25/2018 8:20 PM, Prateek wrote: My configuration: OS:REDHAT 7.5 (64 bit) Tomcat: 8.5.31 Jdk- jdk-11(Early-Access) When I am trying

Re: problem in starting tomcat

2018-06-26 Thread Prateek Yadav
Thanks for reply I already tested it for more than one machine so hardware problem can not be a case. On Tue, Jun 26, 2018, 9:40 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Prateek, > > On 6/25/18 11:20 PM, Prateek wrote:

Re: Programmatically unlocking an account?

2018-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex, On 6/25/18 8:49 PM, Alex O'Ree wrote: > Actually I figured it out. It is possible via the mx bean. I'd like > to request that the method isLocked be changed to public in a > future version. In spite of my affinity for JMX, I completely

Re: Alias name does not identify a key entry

2018-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adam, On 6/26/18 11:03 AM, Cybulski, Adam M wrote: > > Hello, I'm using Tomcat 8.5.4, on a server 2008R2 machine, and I'm > unable to start the SSL connector. > > My connector syntax is as follows: > > connectionTimeout="2"

Re: problem in starting tomcat

2018-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Prateek, On 6/25/18 11:20 PM, Prateek wrote: > Hi, My configuration: OS:REDHAT 7.5 (64 bit) Tomcat: 8.5.31 Jdk- > jdk-11(Early-Access) > > When I am trying to start my server I got following error as: A > fatal error has been detected by the Java

Re: Alias name does not identify a key entry

2018-06-26 Thread Jose María Zaragoza
El mar., 26 jun. 2018 a las 17:03, Cybulski, Adam M () escribió: > > > Hello, I'm using Tomcat 8.5.4, on a server 2008R2 machine, and I'm unable to > start the SSL connector. > > My connector syntax is as follows: > > connectionTimeout="2" >

Alias name does not identify a key entry

2018-06-26 Thread Cybulski, Adam M
Hello, I'm using Tomcat 8.5.4, on a server 2008R2 machine, and I'm unable to start the SSL connector. My connector syntax is as follows: To which I receive this error in Catalina.log: SEVERE [main]

Re: Programmatically unlocking an account?

2018-06-26 Thread Mark Thomas
On 26/06/18 01:49, Alex O'Ree wrote: > Actually I figured it out. It is possible via the mx bean. I'd like to > request that the method isLocked be changed to public in a future version. Done in 9.0.x for 9.0.11 onwards. Mark > > The use case is not a typical one but I'd like admins to know