RE: mod_proxy_http and "Expect: 100-continue" don't play well

2018-07-05 Thread Jäkel , Guido
Dear Michael, did you give it a try, also? To my knowledge the keyword "early" may hide this header from the Apache machinery to act on it. As you said this header is need to set for the backend, maybe it's possible to add it again with a normal ("late") "RequestHeader set". Maybe it's possible

Weird problem: slow upload via Manager

2018-07-05 Thread James H. H. Lampert
Earlier this week, on a customer AS/400 installation (Tomcat 7.0.67), we experienced the slowest WAR file upload we've ever encountered: several HOURS to install a roughly 100M WAR file (we customarily increase the max-file-size and max-request-size in manager/WEB-INF/web.xml from 50M to 500M).

unsuscribe

2018-07-05 Thread Peter
unsubscribe

Re: mod_proxy_http and "Expect: 100-continue" don't play well

2018-07-05 Thread Michael Osipov
Am 2018-07-05 um 14:44 schrieb Jäkel, Guido: Dear Michael, I wasn't faced by this yes, but what's about adding something like RequestHeader unset Expect early at the Apache httpd? I know that tip, but it makes no sense at all. The client expected 100-continue,

RE: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread logo
Mark, Am 05.07.2018 12:35, schrieb Sandels Mark (RTH) OUH: Hi Peter I would use tomcat to provide https if it could be configured to do this - is this fairly easy to do? The IT Department have given me a Certificate and private key for the server (OXNETMDMS04) but do I need to use "keytool" t

RE: RE: mod_proxy_http and "Expect: 100-continue" don't play well

2018-07-05 Thread Jäkel , Guido
Dear Michael, I wasn't faced by this yes, but what's about adding something like RequestHeader unset Expect early at the Apache httpd? Greetings Guido >-Original Message- >From: Michael Osipov [mailto:1983-01...@gmx.net] >Sent: Thursday, July 05, 2018 2:0

Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Olaf Kock
On 05.07.2018 12:35, Sandels Mark (RTH) OUH wrote: Hi Peter I would use tomcat to provide https if it could be configured to do this - is this fairly easy to do? The IT Department have given me a Certificate and private key for the server (OXNETMDMS04) but do I need to use "keytool" to crea

Re: RE: mod_proxy_http and "Expect: 100-continue" don't play well

2018-07-05 Thread Michael Osipov
> Dear Michael, > > i don't know if this issue also take happen with it, but may be using mod_jk > an option for you, also? Hi Guido, just installed mod_jk through ports and configured it. No avail, I have the very same issue. I will raise this on the HTTPd mailing list. Michael > >

RE: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Sandels Mark (RTH) OUH
Hi Peter I would use tomcat to provide https if it could be configured to do this - is this fairly easy to do? The IT Department have given me a Certificate and private key for the server (OXNETMDMS04) but do I need to use "keytool" to create a key store for the Certificate? (I am referring to

Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread logo
Mark, Am 05.07.2018 10:31, schrieb André Warnier: Hi. I have not looked through all of your configuration lines, but I believe that the problem is first of all this line : On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote: DocumentRoot "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps"

RE: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Sandels Mark (RTH) OUH
Hi Olaf Here are extracts of the relevant configuration files (as requested). Httpd.conf ... Listen 443 ssl ... LoadModule ssl_module modules/mod_ssl.so ... DirectoryIndex index.jsp ServerName OXNETMDMS04.OXNET.NHS.UK SSLEngine on SSLCertificateFile "c:\Apache24\conf\certificate.crt" SSL

Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread tomcat
Hi. I have not looked through all of your configuration lines, but I believe that the problem is first of all this line : On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote: DocumentRoot "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps" That means essentially that you are allowing the Apa

Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Olaf Kock
On 05.07.2018 09:43, Sandels Mark (RTH) OUH wrote: Hi Olaf The web-page displays correctly when I connect to Tomcat directly. I posted to the tomcat users group as I havn't had any reply to my post to the Apache http user group! In answer to your other question, I do refer to the and el

RE: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Sandels Mark (RTH) OUH
Hi Olaf The web-page displays correctly when I connect to Tomcat directly. I posted to the tomcat users group as I havn't had any reply to my post to the Apache http user group! In answer to your other question, I do refer to the and elements. The web-page embeds java (I have used NetBeans

RE: mod_proxy_http and "Expect: 100-continue" don't play well

2018-07-05 Thread Jäkel , Guido
Dear Michael, i don't know if this issue also take happen with it, but may be using mod_jk an option for you, also? Greetings Guido >-Original Message- >From: Michael Osipov [mailto:micha...@apache.org] >Sent: Wednesday, July 04, 2018 9:26 PM >To: users@tomcat.apache.org >Subject: mo

Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Olaf Kock
On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote: When I go to my web-page using a browser (Chrome), the source code of the web-page is displayed. I have added the PFX Certificate to Trusted Root Certification Authorities on my PC from which I launched Chrome. Here is the URL I am using -

Re: Requirements for servlet session attributes?

2018-07-05 Thread Luis Rodríguez Fernández
Hello Alex, It looks like you are missing the getSession() method there: HttpServletRequest#getSession()#setAttribute("mykey", clientObjectHere); please have a look at [1] Hope it helps, Luis [1] https://tomcat.apache.org/tomcat-9.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getS

RE: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page

2018-07-05 Thread Sandels Mark (RTH) OUH
Hi Tomcat users When I go to my web-page using a browser (Chrome), the source code of the web-page is displayed. I have added the PFX Certificate to Trusted Root Certification Authorities on my PC from which I launched Chrome. Here is the URL I am using - https://oxnetmdms04/OracleStatus/ The