Re: is it logical that WsBaseFrame/WsServerFrame calls WsSession.onclose that results in a call to the client again?

2019-08-26 Thread Johan Compagner
> > > > As far as i can understand it should not try to send a close message at > > that point, because the close did already happen from the client side.. > > I guess if onclose was called programatically from the server side then > it > > is logical. > > RFC 6455, section 5.5.1 > > Close is a two

Re: is it logical that WsBaseFrame/WsServerFrame calls WsSession.onclose that results in a call to the client again?

2019-08-26 Thread Mark Thomas
On 26/08/2019 15:17, Johan Compagner wrote: > Hi, > That is a stack that we encounter which i find quite strange > it seems to me that WsFrameBase.processDataControl > > does a wsSession.onClose(new CloseReason(Util.getCloseCode(code), reason)); > > when it gets an op_code close > > that soun

Re: Tomcat 8.5 - Native Library - Crash

2019-08-26 Thread Mark Thomas
On 26/08/2019 16:14, Eduardo Quintanilla wrote: > Any tips for building Tomcat Native on Windows 10? https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows You can build it with later versions of Visual Studio but that will end up creating add

Re: Is it possible to disable JMX?

2019-08-26 Thread Mark Thomas
On 27/08/2019 03:59, Alex O'Ree wrote: > you may have to edit catalina.bat and add --no-jmx to the command line That won't work. Quoting from the changelog: Add --no-jmx flag to allow disabling JMX in startup.Tomcat.main. Disabling JMX is only possible when using Tomcat as am embedded componen

Re: Is it possible to disable JMX?

2019-08-26 Thread Alex O'Ree
you may have to edit catalina.bat and add --no-jmx to the command line On Mon, Aug 26, 2019 at 2:05 PM Pascal Schumacher wrote: > |Hi, > > according to https://tomcat.apache.org/tomcat-9.0-doc/changelog.html it > should be possible to disable JMX when using Tomcat 9.0.20+. > > I tried different

Is it possible to disable JMX?

2019-08-26 Thread Pascal Schumacher
|Hi, according to https://tomcat.apache.org/tomcat-9.0-doc/changelog.html it should be possible to disable JMX when using Tomcat 9.0.20+. I tried different way to pass --no-jmx to Tomcat 9.0.24 ("catalina.bat start --no-jmx", "startup.bat --no-jmx", editing catalina.bat), but the "Catalina" fold

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/26/19 09:24, Mark Bordelon wrote: > I also was of the opinion that this had to be an apache issue. The > ssl logging was taken from the included out-of-the-box > conf.d/ssl.conf. Issue was solved randomly by setting server name > to www.c

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread Mark Bordelon
Dear Chris, All that messiness and variance was the result of lots of experimentation. I will immediately clean up and normalize the ProxyPassReverse sections, as well as remove the unnecessary ProxyRequest and Proxy element. Thank you very much for pointing it out. > On Aug 26, 2019, at 06:27

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/24/19 08:56, Mark Bordelon wrote: > CONFIGURATION EXCERPT FROM APACHE'S httpd.conf: > > [snip] > ProxyPass /ClovisWebApp http://localhost:8080/ClovisWebApp > ProxyPassReverse / http://localhost:8080/ [snip] > Does not match this:

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread Mark Bordelon
I also was of the opinion that this had to be an apache issue. The ssl logging was taken from the included out-of-the-box conf.d/ssl.conf. Issue was solved randomly by setting server name to www.cloviscorp.com instead of cloviscorp.com . > On

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, Sorry for top-posting, but are you seeing an httpd error message or a Tomcat one? If you can't tell, please post all of the response headers you get. - -chris On 8/24/19 08:56, Mark Bordelon wrote: > VERSIONS AND SETUP: Both Apache/2.2.34 (

RE: Tomcat 8.5 - Native Library - Crash

2019-08-26 Thread Eduardo Quintanilla
Any tips for building Tomcat Native on Windows 10? Best regards, Eduardo Quintanilla Software Developer Block Networks From: Christopher Schultz Sent: jueves, 22 de agosto de 2019 11:57 a. m. To: users@tomcat.apache.org Subject: Re: Tomcat 8.5 - Native Library -

is it logical that WsBaseFrame/WsServerFrame calls WsSession.onclose that results in a call to the client again?

2019-08-26 Thread Johan Compagner
Hi, Daemon Thread [http-nio-8080-exec-4] (Suspended (breakpoint at line 84 in EditorEndpoint)) owns: Object (id=16796) owns: NioEndpoint$NioSocketWrapper (id=16797) EditorEndpoint.onError(Throwable) line: 84 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread tomcat
Hi. That looks more like an Apache httpd issue, than a Tomcat issue (as you mention, the tomcat logfiles do not show anything, and the rest tends to indicate that Apache httpd is not proxying these calls to tomcat, but trying to resolve them locally). This being said, I cannot find any obviou