Re: Tracking down a Basic.sendBinary() issue

2017-03-28 Thread Robert Lewis
Thanks Mark. I will take a look at the test you linked in (seems like Clint already is). I have a question regarding your previous note "The short version is that it is possible that there are two threads". On 8.0.38, doWrite() sets it's scoped handler and buffers to the class level instance,

need help with websocket

2017-03-28 Thread Sharat Jagannath
how do i setup websocket on server side for using wss with tomcat config? is there any config i need to do with tomcat? any certification to setup? Thanks -- Sharat Jagannath

RE: Tracking down a Basic.sendBinary() issue

2017-03-28 Thread Dovholuk, Clint
I ported your tests back and I have run them using 8.0.x trunk. It fails pretty reliably for me. It will fail this assertion: Assert.assertFalse(handler.hasFailed()); It's failed 4/4 times. I had to port a few classes back to test with but it wasn't hard. I'll see if I can track it down. Any

Re: Tracking down a Basic.sendBinary() issue

2017-03-28 Thread Mark Thomas
On 28/03/17 00:30, Robert Lewis wrote: > Hi, > > I am tracking down a fairly sporadic bug in our software that uses Tomcat > 8.0.38. Long story short, sometimes calls to Basic.sendBinary() to a full > buffer then to a small buffer (eg. 8192x3 then 444 bytes). The first 8192 > sends will succeed

RE: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread Scott, Derric T
> Also, possibly, somewhere between Tomcat 7.0.14 and 7.0.69, the AJP Connector > code in Tomcat has been modified, perhaps > to reject POST's with no content. > (In an intended or unintended way; after all, POSTs with no content aren't > exactly your standard thing, and could even be >

Re: Tomcat Not Responding (Resolved)

2017-03-28 Thread Igal @ Lucee.org
The only thing I saw in stderr were NPE stack traces from the servlet I'm running which did not seem to include any Tomcat code. Keep in mind that I'm running Tomcat 8.5.12 so a more current source repo is available at https://github.com/apache/tomcat85/ With the file that you cited at

Re: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread tomcat
On 28.03.2017 18:06, Scott, Derric T wrote: On this list, it is preferred to not top-post, ... No problem. There are 2 different modules in Apache httpd which can be used for this : mod_jk and mod_proxy_ajp. Which one are you using, and can you give us a version? OK... I inherited

AW: Apache Tomcat/8.0.36 HTTPS implementation - Red Hat Enterprise Linux Server release 6.8 (Santiago)

2017-03-28 Thread Kreuser, Peter
Hi Eric, > Dear all, > > > I need to implement secure connection within tomcat. That's why I need to > implement certificate on tomcat. > I've made a CSR in order for my company to provide me certificates and CA. > I've implemented the configuration in TOMCAT to activate https to use my >

RE: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread Scott, Derric T
> On this list, it is preferred to not top-post, ... No problem. > There are 2 different modules in Apache httpd which can be used for this : > mod_jk and mod_proxy_ajp. > Which one are you using, and can you give us a version? OK... I inherited this, so don't know much about it ... but I

Apache Tomcat/8.0.36 HTTPS implementation - Red Hat Enterprise Linux Server release 6.8 (Santiago)

2017-03-28 Thread BANGERTER, Eric (SQLI)
Dear all, I need to implement secure connection within tomcat. That's why I need to implement certificate on tomcat. I've made a CSR in order for my company to provide me certificates and CA. I've implemented the configuration in TOMCAT to activate https to use my keystore. But now when I

Re: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread tomcat
Hi. On this list, it is preferred to not top-post, but insert responses after the corresponding questions/comments. See : http://tomcat.apache.org/lists.html#tomcat-users , item #6 On 28.03.2017 16:36, Scott, Derric T wrote: -Original Message- From: André Warnier (tomcat)

RE: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread Scott, Derric T
I am so sorry about the version numbers those are 7! 7.0.14 and 7.0.69 tomcat-7.0.69-10.el7.noarch Thanks for the replies, sorry for the confusion Derric Scott -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com]

Re: Tomcat Not Responding (Resolved)

2017-03-28 Thread Suvendu Sekhar Mondal
Well, I took thread dumps on couple of Tomcat JVMs(which were not busy...JVMs on my system) and for all of them it showed thread opened socket and accepting connection(StandardServer.java:446): at java.net.DualStackPlainSocketImpl.accept0(Native Method) at

Re: Tomcat Not Responding (Resolved)

2017-03-28 Thread Mark Thomas
On 28/03/17 13:50, Suvendu Sekhar Mondal wrote: > Sorry for late "chime in". > > It seems that your Tomcat JVM was not up properly. From both thread > dumps showing main thread in TIMED_WAITING waiting state not in > runnable state : Your analysis is incorrect. That is normal and expected for

Re: Tomcat Not Responding (Resolved)

2017-03-28 Thread Suvendu Sekhar Mondal
Sorry for late "chime in". It seems that your Tomcat JVM was not up properly. From both thread dumps showing main thread in TIMED_WAITING waiting state not in runnable state : "main" #1 prio=5 os_prio=0 tid=0x01198000 nid=0x2340 waiting on condition [0x0132e000]