Re: [OT] Specifying a custom SSLSocketFactory for an LDAP connection

2020-01-08 Thread Michael Osipov
Am 2020-01-09 um 01:34 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, For anyone who has experience with LDAP in Java, I need a little help. I have some code connecting to an LDAP server and doing all the wonderful things I want to do, but I'd like to

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
You post has taken my interest and I am going to experiment and get a good understanding of how this works. At the end of it I guarantee you I will know all there is to know about this. On Thu, 9 Jan 2020, 05:25 Rathore, Rajendra, wrote: > Hi Zahid, > > How below link is going to help me

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
If I was in your position I would use the code to experiment and debug the problem. On Thu, 9 Jan 2020, 05:25 Rathore, Rajendra, wrote: > Hi Zahid, > > How below link is going to help me out to know the root cause of the > problem? > > Thanks and Regards, > Rajendra Rathore > 9922701491 > >

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
https://youtu.be/VhSu1pRIEqQ This will you understand . Also explains io blocking performance. On Thu, 9 Jan 2020, 05:25 Rathore, Rajendra, wrote: > Hi Zahid, > > How below link is going to help me out to know the root cause of the > problem? > > Thanks and Regards, > Rajendra Rathore >

RE: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Rathore, Rajendra
Hi Zahid, How below link is going to help me out to know the root cause of the problem? Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Zahid Rahman Sent: Thursday, January 9, 2020 10:53 AM To: Tomcat Users List Subject: Re: BLOCKING: performance issue with

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
https://www.codota.com/code/java/methods/org.apache.tomcat.util.net.NioBlockingSelector/open On Thu, 9 Jan 2020, 04:49 Rathore, Rajendra, wrote: > Hi Team, > > If someone know how to check whether proper read/write operation done or > not or it will caused by network please let me know because

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
https://alvinalexander.com/java/jwarehouse/apache-tomcat-6.0.16/java/org/apache/tomcat/util/net/NioBlockingSelector.java.shtml On Thu, 9 Jan 2020, 04:49 Rathore, Rajendra, wrote: > Hi Team, > > If someone know how to check whether proper read/write operation done or > not or it will caused by

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-08 Thread Zahid Rahman
Hey Dave B. , My question from chris was for your benefit. default configuration is not the same thing as vendor neutral. chris wrote: > If you use both, you should be all set for whichever pool you use at runtime. DOH ! >If you look in your log file, you will notice that when Tomcat starts

RE: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Rathore, Rajendra
Hi Team, If someone know how to check whether proper read/write operation done or not or it will caused by network please let me know because it is blocking for me. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Rathore, Rajendra Sent: Wednesday, January 8,

Re: Using the certificate files instead of a Java Keystore file, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread Zahid Rahman
The second technique is to use the *.nix command. The result is as below diff a.out b.out I draw your attention to third line in FILE b.out 5,7c5,7 < SSLEnabled="true" scheme="https" secure="true" < keystoreFile="[REDACTED]" keyAlias="[REDACTED]" ciphers="[REDACTED]" < clientAuth="false"

Re: Using the certificate files instead of a Java Keystore file, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread Zahid Rahman
http://tomcat.10.x6.nabble.com/Can-t-Get-SSL-to-Work-in-8-5-td5071245.html On Thu, 9 Jan 2020, 03:01 Zahid Rahman, wrote: > > https://confluence.atlassian.com/confkb/ssl-connector-fails-to-initialize-during-tomcat-startup-646251490.html > > On Thu, 9 Jan 2020, 02:44 Zahid Rahman, wrote: > >>

Re: Using the certificate files instead of a Java Keystore file, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread Zahid Rahman
https://confluence.atlassian.com/confkb/ssl-connector-fails-to-initialize-during-tomcat-startup-646251490.html On Thu, 9 Jan 2020, 02:44 Zahid Rahman, wrote: > > https://stackoverflow.com/questions/46786046/severe-main-org-apache-catalina-core-standardservice-initinternal-failed-to-in > > I

Re: Using the certificate files instead of a Java Keystore file, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread Zahid Rahman
https://stackoverflow.com/questions/46786046/severe-main-org-apache-catalina-core-standardservice-initinternal-failed-to-in I went to college and studied IT before finding a job. My teacher explained to me that you should always look at the first error and ignore the rest. First error.

[OT] Specifying a custom SSLSocketFactory for an LDAP connection

2020-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, For anyone who has experience with LDAP in Java, I need a little help. I have some code connecting to an LDAP server and doing all the wonderful things I want to do, but I'd like to customize the SSLSocket(Factory) that gets used by the

Using the certificate files instead of a Java Keystore file, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread James H. H. Lampert
I wrote: Am I to understand that Tomcat 8.5.40 can use the ".cer," ".ca.crt" and ".key" files directly, instead of the Java Keystore file? On 12/30/19 1:41 PM, Peter Kreuser wrote: Correct! I tried an experiment this afternoon: I made a copy of the existing server.xml file, and I changed

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Jerry Malcolm
On 1/8/2020 4:47 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Johan, On 1/8/20 3:28 AM, Johan Compagner wrote: So you moved once the database to a different timezone (that had say that 6 hour difference) then the behavior is correct... Its very weird but

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Mark Thomas
This is off-topic. As per my previous email in this thread, please stop this behaviour and keep your posts on-topic. Mark On 08/01/2020 19:51, Zahid Rahman wrote: > Another example of using maven 2015 version and the impact of unknown > warning by MAVEN can have on application development

Re: Curl problem with reloadSslHostConfigs, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 1/8/20 12:35 PM, James H. H. Lampert wrote: > On 1/8/20 5:18 AM, Christopher Schultz wrote: . . . >> Now the URL line becomes (for me, using a management port): >> >> http://localhost:8217/manager/jmxproxy?invoke=Catalina:type%3DProtoco

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Johan, On 1/8/20 3:28 AM, Johan Compagner wrote: > So you moved once the database to a different timezone (that had > say that 6 hour difference) then the behavior is correct... > > Its very weird but that is default behavior of the normal

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 1/8/20 12:05 AM, Jerry Malcolm wrote: > First of all, a big thank you to everyone who responded to this > one. I doubt I'd have figured it out for days without your > guidance and help. Glad you are all set, though I'm not sure I agree

Re: ECDSA Private Keys

2020-01-08 Thread logo
Hi Mark, > Am 08.01.2020 um 19:04 schrieb Mark Thomas : > > On 26/12/2019 23:55, logo wrote: > > > >> as an EC certificate will start with EC PRIVATE KEY. >> >> Is this something that is expected? ECDSA unsupported? Or just an incomplete >> implementation, edge case or a bug? > > Hi, > >

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Zahid Rahman
I am responding to statement made by lersencrypt guy with evidence. Statement he made on this list. It is known as right to respond. On Wed, 8 Jan 2020, 21:20 calder, wrote: > What does this have to do with Tomcat? > > Moderators??? > > > > On Wed, Jan 8, 2020, 13:52 Zahid Rahman wrote: > > >

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Zahid Rahman
I am going to put all your emails attacking me on my website. On Wed, 8 Jan 2020, 21:20 calder, wrote: > What does this have to do with Tomcat? > > Moderators??? > > > > On Wed, Jan 8, 2020, 13:52 Zahid Rahman wrote: > > > Another example of using maven 2015 version and the impact of unknown

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread calder
What does this have to do with Tomcat? Moderators??? On Wed, Jan 8, 2020, 13:52 Zahid Rahman wrote: > Another example of using maven 2015 version and the impact of unknown > warning by MAVEN can have on application development across the Globe. > Let'sEncrypt guy (Shultz) dismissed as

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Zahid Rahman
Another example of using maven 2015 version and the impact of unknown warning by MAVEN can have on application development across the Globe. Let'sEncrypt guy (Shultz) dismissed as unimportant. https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.3.9/ Mary Zheng Posted by: Mary

Re: ECDSA Private Keys

2020-01-08 Thread Mark Thomas
On 26/12/2019 23:55, logo wrote: > as an EC certificate will start with EC PRIVATE KEY. > > Is this something that is expected? ECDSA unsupported? Or just an incomplete > implementation, edge case or a bug? Hi, Sorry for not getting to this sooner. I'm not 100% sure that Java directly

Re: Curl problem with reloadSslHostConfigs, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread James H. H. Lampert
On 1/8/20 5:18 AM, Christopher Schultz wrote: . . . Now the URL line becomes (for me, using a management port): http://localhost:8217/manager/jmxproxy?invoke=Catalina:type%3DProtocolHa ndler,port%3D8215=reloadSslHostConfigs . . . Have you configured any elements, or are you using the

Re: Dates on Linux vs. Windows

2020-01-08 Thread Terence M. Bandoian
On 1/7/2020 6:53 PM, Jerry Malcolm wrote: >> If your systems always use the same time zone to read and write the data, it isn't a problem. Terrance, thanks for the info. In my case I do only have one timezone (or at least I want to...). Using the string for dates is a good idea. But this

Re: Curl problem with reloadSslHostConfigs, Re: Let's Encrypt with Tomcat?

2020-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 1/7/20 8:24 PM, James H. H. Lampert wrote: > On 1/7/20 4:19 PM, Christopher Schultz wrote: > >> You probably "spelled" something incorrectly. It might be a >> quoting/escaping issue. It might be a literal misspelling/typo. >> >> The

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread zahid
ok Thank you. www.backbutton.co.uk ♡۶¯\_(ツ)_/¯ ♡۶ Marriage of loose and tight coupling -> healthy applications ♡۶ javac Garden/Vegetables/VineVegetable.java java   Garden.Vegetables.VineVegetable What No! -classpath -class-path even -cp! On 08/01/2020 09:48, Mark Thomas wrote:

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Mark Thomas
On 08/01/2020 08:41, Peter Kreuser wrote: > Zahid, > > you‘re talking to one of the most respected members of the community like this? All participants in Apache communities are expected to follow the code of conduct: http://www.apache.org/foundation/policies/conduct.html This is irrespective

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Olaf Kock
On 08.01.20 06:05, Jerry Malcolm wrote: > Just to summarize for anybody who comes along with a similar > problem I original set the timezone of mySQL RDS instance to > Central time when I created it months back (unchangable after it's > set).  I set my Linux timezone to Central as well in

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Greg Huber
>From my past experience with dates and timestamps, it helps to pass the time zone as a jvm parameter when starting tomcat -Duser.timezone=Europe/London On Wed, 8 Jan 2020 at 05:05, Jerry Malcolm wrote: > First of all, a big thank you to everyone who responded to this one. I > doubt I'd

Re: [OT] Re: Maven Warning. Ubuntu Users Ban him for abusive behaviour.

2020-01-08 Thread Zahid Rahman
Ban him for abusive behaviour. On Wed, 8 Jan 2020, 08:42 Peter Kreuser, wrote: > Zahid, > > you‘re talking to one of the most respected members of the community like > this? > > STFU or leave. > > This calls for an ban! > > Peter > > > Am 08.01.2020 um 06:06 schrieb Zahid Rahman : > > > >  >

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Zahid Rahman
15 years ago I pointed in detail what I expect from a professional tool That tool has been sent to. You are a classpath class-path people . I am -cp kind of person. He makes you feel comfortable because you are lost and confused. He is too. On Wed, 8 Jan 2020, 08:42 Peter Kreuser, wrote:

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Zahid Rahman
You can STFU. He doesn't even know about an what in API is ? On Wed, 8 Jan 2020, 08:42 Peter Kreuser, wrote: > Zahid, > > you‘re talking to one of the most respected members of the community like > this? > > STFU or leave. > > This calls for an ban! > > Peter > > > Am 08.01.2020 um 06:06

Re: [OT] Re: Maven Warning. Ubuntu Users

2020-01-08 Thread Peter Kreuser
Zahid, you‘re talking to one of the most respected members of the community like this? STFU or leave. This calls for an ban! Peter > Am 08.01.2020 um 06:06 schrieb Zahid Rahman : > >  >> >> A version of what? > MAVEN > MAVEN > MAVEN > > In light of this video https://youtu.be/idViw4anA6E

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Johan Compagner
So you moved once the database to a different timezone (that had say that 6 hour difference) then the behavior is correct... Its very weird but that is default behavior of the normal datetime columns that are created if you move stuff around the database somehow remembers at what timezone the