Re: Tuckey Rewrite URL and infinite loop exception trace for Tomcat 7.0.57

2016-04-25 Thread Kiran Badi
I resolved it.My bad, to and from rule were having same url mapping and I feel thats the reason it filter was recursively called and finally resulting into stackoverflow error. On Mon, Apr 25, 2016 at 7:02 PM, Kiran Badi wrote: > Hi, > > I am having some issues with Tuckey Rewrite URL/Tomcat 7.

Tuckey Rewrite URL and infinite loop exception trace for Tomcat 7.0.57

2016-04-25 Thread Kiran Badi
Hi, I am having some issues with Tuckey Rewrite URL/Tomcat 7.0.57 and for some reasons I believe I am not getting it correct. It seems to me that I am getting into infinite loop somewhere.Not sure why but conditions do match. Hello World! This is a link I am trying to clean it. Below is test

RE: OT if/else or not if/else

2016-04-25 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: OT if/else or not if/else > If you use else-less-if, then there is never an opportunity for > parellelization, since the program is going to assume that those > predicates are (a) independent and (b) ordered in a way

Re: OT if/else or not if/else

2016-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 4/25/16 10:38 AM, Leon Rosenberg wrote: > On Mon, Apr 25, 2016 at 4:13 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Leon, > > On 4/22/16 12:24 PM, Leon Rosenberg wrote: Hi guys, > > I would always choose

Tomcat 8.5 Nio2: java.lang.IllegalStateException: Failed to create Processor for negotiated protocol [""]

2016-04-25 Thread Kreuser, Peter
Hi there, I have setup Tomcat 8.5 with the all new SSL Config and HTTP/2. To test the setup I use testssl.sh (https://testssl.sh ) . The scan is successful, also stating HTTP/2 is working. So far so good. However I see the following exception in the Logs: 25-Apr-2016 17:36:16.697 SEVERE [https

Re: OT if/else or not if/else

2016-04-25 Thread David kerber
On 4/25/2016 11:44 AM, Leon Rosenberg wrote: On Mon, Apr 25, 2016 at 5:21 PM, Dougherty, Gregory T., M.S. < dougherty.greg...@mayo.edu> wrote: Yes, we do, because, well, it is more informative. :-) if (a) Š else if (b) Š else if (c) Š Says you have three mutually exclusive options, and impl

Re: OT if/else or not if/else

2016-04-25 Thread Dougherty, Gregory T., M.S.
On 4/25/16, 10:44 AM, "Leon Rosenberg" wrote: >On Mon, Apr 25, 2016 at 5:21 PM, Dougherty, Gregory T., M.S. < >dougherty.greg...@mayo.edu> wrote: > >> >> >> Yes, we do, because, well, it is more informative. :-) >> >> if (a) Š >> else if (b) Š >> else if (c) Š >> >> Says you have three mutually

Re: OT if/else or not if/else

2016-04-25 Thread Leon Rosenberg
On Mon, Apr 25, 2016 at 5:21 PM, Dougherty, Gregory T., M.S. < dougherty.greg...@mayo.edu> wrote: > > > Yes, we do, because, well, it is more informative. :-) > > if (a) Š > else if (b) Š > else if (c) Š > > Says you have three mutually exclusive options, and implies that a is more > likely / more

Re: OT if/else or not if/else

2016-04-25 Thread tomcat
On 25.04.2016 17:21, Dougherty, Gregory T., M.S. wrote: On 4/25/16, 9:38 AM, "Leon Rosenberg" wrote: The other thing that made me wonder is that most people on the list (or all except me) actually considered if-else-if-else more readable. It not only creates a more complex structure (visually

Re: OT if/else or not if/else

2016-04-25 Thread Dougherty, Gregory T., M.S.
On 4/25/16, 9:38 AM, "Leon Rosenberg" wrote: >The other thing that made me wonder is that most people on the list (or >all >except me) actually considered if-else-if-else more readable. It not only >creates a more complex structure (visually and syntactically (more >letters)). But also the sema

Re: OT if/else or not if/else

2016-04-25 Thread tomcat
On 25.04.2016 16:38, Leon Rosenberg wrote: On Mon, Apr 25, 2016 at 4:13 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 4/22/16 12:24 PM, Leon Rosenberg wrote: Hi guys, I would always choose the case with the elses. Fi

Re: OT if/else or not if/else

2016-04-25 Thread David kerber
On 4/25/2016 10:38 AM, Leon Rosenberg wrote: On Mon, Apr 25, 2016 at 4:13 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 4/22/16 12:24 PM, Leon Rosenberg wrote: Hi guys, I would always choose the case with the elses.

Re: OT if/else or not if/else

2016-04-25 Thread Leon Rosenberg
On Mon, Apr 25, 2016 at 4:13 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Leon, > > On 4/22/16 12:24 PM, Leon Rosenberg wrote: > > Hi guys, > > > > I would always choose the case with the elses. > > First, I think it's more cl

RE: OT if/else or not if/else

2016-04-25 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: OT if/else or not if/else > > Actually, a good compiler should generate the same code for switch > > and if ... else if, assuming the boolean expressions used with the > > ifs are compatible with a switch operand. >

Re: OT if/else or not if/else

2016-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/22/16 12:54 PM, Caldarale, Charles R wrote: >> From: David kerber [mailto:dcker...@verizon.net] Subject: Re: OT >> if/else or not if/else > >> But I would add that if the conditions can be reduced to >> enumerations, a Switch would be eve

Re: Small problems compiling tomcat native

2016-04-25 Thread Stefan Frei
ok thx for the hint. dunno why debian still provides 1.0.1. anyway i plan to migrate the production to ubuntu, im almost sure they have a more recent openssl. i only took the 1.1 release because of the old ssl. Regards Stefan 2016-04-25 14:57 GMT+02:00 Rainer Jung : > Am 25.04.2016 um 14:31 sc

Re: OT if/else or not if/else

2016-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 4/22/16 12:24 PM, Leon Rosenberg wrote: > Hi guys, > > this is completely off-topic ;-) > > I was wondering if using if/else is not actually slowing down your > code. Lets say I have three possible conditions, A, B and C, which > are exclus

Re: Small problems compiling tomcat native

2016-04-25 Thread Rainer Jung
Am 25.04.2016 um 14:31 schrieb Stefan Frei: very sorry just solved it. overlooked a line in configure /root/tomcat-native-1.1.34-src/jni/native/build/get-version.sh: Permission denied OK, no problem. If extracted from a source tarball, the file should have been executable by default though.

Re: Small problems compiling tomcat native

2016-04-25 Thread Stefan Frei
very sorry just solved it. overlooked a line in configure /root/tomcat-native-1.1.34-src/jni/native/build/get-version.sh: Permission denied Regards Stefan 2016-04-25 14:04 GMT+02:00 Rainer Jung : > Can you provide the full configure command you use and the configure and > make output as well a

Re: Small problems compiling tomcat native

2016-04-25 Thread Rainer Jung
Can you provide the full configure command you use and the configure and make output as well as config.log? Do you have environment variables set, that influence the build (CC, CFLAGS, LDFLAGS or similar)? The "-Wl,-z,relro" should not directly come from our own tcnative scripts but using the

Re: Small problems compiling tomcat native

2016-04-25 Thread Stefan Frei
libapr1:amd64 1.5.1-3 openssl1.0.1k-3+deb8u4 2016-04-25 12:35 GMT+02:00 Mark Thomas : > On 25/04/2016 10:31, Stefan Frei wrote: >> Hello >> >> tomcat 8.0.33 >> tomcat-native-1.1.34-src >> SMP Debian 3.16.7-ckt25-2 >> 1.8.0_77 >> >> i am unable to compile th

Re: Small problems compiling tomcat native

2016-04-25 Thread Mark Thomas
On 25/04/2016 10:31, Stefan Frei wrote: > Hello > > tomcat 8.0.33 > tomcat-native-1.1.34-src > SMP Debian 3.16.7-ckt25-2 > 1.8.0_77 > > i am unable to compile the native libs, here is the error messages > from the make command: > > libtool: link: CURRENT `-Wl,-z,relro' must be a nonnegative inte

Small problems compiling tomcat native

2016-04-25 Thread Stefan Frei
Hello tomcat 8.0.33 tomcat-native-1.1.34-src SMP Debian 3.16.7-ckt25-2 1.8.0_77 i am unable to compile the native libs, here is the error messages from the make command: libtool: link: CURRENT `-Wl,-z,relro' must be a nonnegative integer libtool: link: `-Wl,-z,relro' is not valid version infor