Re: websocket: connections not getting closed properly

2017-06-20 Thread Sandeep Dhameshia
Thanks for your reply Mark, *log msg*: Jun 08, 2017 10:13:07 AM org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer doClose INFO: Failed to close the ServletOutputStream connection cleanly java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at

Re: Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1

2017-06-20 Thread Rakesh Java
Yes, It doesnt happens everytime and cannot reproducable Any guess why this is happening ? On Tue, Jun 20, 2017 at 7:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Rakesh, > > On 6/19/17 12:43 AM, Rakesh Java wrote: > >

RE: Problem enabling SSLv3 in Tomcat 8.5.15

2017-06-20 Thread Marc Dorsa
On 6/20/2017 4:34 PM, Marc Dorsa wrote: > Hi Tomcat Users, > > I am having a difficult time trying to enable SSLv3 in Tomcat 8.5.15. (A > 3rd-party component of our product requires SSLv3 and there's no getting > around it!) Our Tomcat is running on a custom Linux distribution based on >

Re: Problem enabling SSLv3 in Tomcat 8.5.15

2017-06-20 Thread Mark Eggers
Marc, On 6/20/2017 4:34 PM, Marc Dorsa wrote: > Hi Tomcat Users, > > I am having a difficult time trying to enable SSLv3 in Tomcat 8.5.15. (A > 3rd-party component of our product requires SSLv3 and there's no getting > around it!) Our Tomcat is running on a custom Linux distribution based on

Problem enabling SSLv3 in Tomcat 8.5.15

2017-06-20 Thread Marc Dorsa
Hi Tomcat Users, I am having a difficult time trying to enable SSLv3 in Tomcat 8.5.15. (A 3rd-party component of our product requires SSLv3 and there's no getting around it!) Our Tomcat is running on a custom Linux distribution based on Centos 7, and we're running Java 1.8.0_131. Note that

Re: websocket: connections not getting closed properly

2017-06-20 Thread Mark Thomas
On 20/06/2017 18:48, Sandeep Dhameshia wrote: > Hello, > > I don't know about any format in which I should write this mail, so please > forgive me if there's any format to follow. > > I am using v8.0.43 in latest Amazon Linux AMI(2017.03), on m4.large > instance. I have deployed modified example

websocket: connections not getting closed properly

2017-06-20 Thread Sandeep Dhameshia
Hello, I don't know about any format in which I should write this mail, so please forgive me if there's any format to follow. I am using v8.0.43 in latest Amazon Linux AMI(2017.03), on m4.large instance. I have deployed modified example Chat application. Everything works fine as expected, but I

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
RewriteRule ^/visibleURL/(.*)$ /examples/$1/ (missing space between ^/visibleURL/(.*)$ and /examples/$1/) Le 20/06/2017 à 18:31, Jérémie Barthés a écrit : please test what i put in my mail : install a brand new tomcat 9 from archive (last version) put a RewriteValve in server.xml in the

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
please test what i put in my mail : install a brand new tomcat 9 from archive (last version) put a RewriteValve in server.xml in the file /conf/Catalina/localhost/rewrite.config add RewriteRule ^/visibleURL/(.*)$/examples/$1/ now start tomcat and go to /visibleURL/servlets/ then go to

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jérémie, On 6/20/17 9:32 AM, Jérémie Barthés wrote: > http://192.168.1.1:8080/visibleURL/servlets/ URL displayed = > http://192.168.1.1:8080/visibleURL/servlets/ page displayed = > http://192.168.1.1:8080/examples/servlets/ > >

Re: from apache-tomcat-7.0.54 to apache-tomcat-7.0.78 performance issues

2017-06-20 Thread Taiichi Fujiwara
How about change log level? Taichi 2017-06-20 22:36 GMT+09:00 Mark Thomas : > On 20/06/2017 13:45, Alireza Fattahi wrote: > > We switched from apache-tomcat-7.0.54 to apache-tomcat-7.0.78, after > that we face slow loading if the site, even site first page > > > > We are using

Re: from apache-tomcat-7.0.54 to apache-tomcat-7.0.78 performance issues

2017-06-20 Thread Mark Thomas
On 20/06/2017 13:45, Alireza Fattahi wrote: > We switched from apache-tomcat-7.0.54 to apache-tomcat-7.0.78, after that we > face slow loading if the site, even site first page > > We are using tomcat datasource. > We did not change any application or tomcat parameter during this upgrade. > >

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
http://192.168.1.1:8080/visibleURL/servlets/ URL displayed = http://192.168.1.1:8080/visibleURL/servlets/ page displayed = http://192.168.1.1:8080/examples/servlets/ http://192.168.1.1:8080/visibleURL/servlets URL displayed = http://192.168.1.1:8080/examples/servlets/ page displayed =

Re: Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1

2017-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rakesh, On 6/19/17 12:43 AM, Rakesh Java wrote: > Below is my netstat showing port bindings tcp 0 0 0.0.0.0:1234 > 0.0.0.0:* LISTEN That doesn't show the pid or binary bound to port 1234. With this configuration: I get a socket bound to

RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
Hi, I have some issues with my brand new tomcat 9.0.0.M21 I just unzipped *windows-64 core* Then i added the *RewriteValve *in *conf/server.xml* / autoDeploy="true">// // // //className="org.apache.catalina.valves.rewrite.RewriteValve"/>// // /

from apache-tomcat-7.0.54 to apache-tomcat-7.0.78 performance issues

2017-06-20 Thread Alireza Fattahi
We switched from apache-tomcat-7.0.54 to apache-tomcat-7.0.78, after that we face slow loading if the site, even site first page We are using tomcat datasource. We did not change any application or tomcat parameter during this upgrade. Any comments? ~Regards, ~~Alireza Fattahi

Re: security-constraint blocks welcome file with 403

2017-06-20 Thread Greg Huber
Marks, Thanks for the info, originally I was using just index.jsp, but this also gets blocked with a 403: index.jsp I will look into the servlet suggestion. Cheers Greg On 19 June 2017 at 10:39, Mark Thomas wrote: > On 19/06/17 08:24, Greg Huber wrote: > > Hello, > > > >