tomcat 7 and 8 version memory setting

2018-04-25 Thread Naga Ramesh
Team, I have configured the tomcat7 & 8 versions on our AWS environment, but how much memory need to give min and max for each tomcat. ( max to max how much need to give the max vlaue) Server: AWS linux RAM: 128GB I have given min:4096M and max:32768M Regards, Ramesh R

converting 8.0.x ssl Connector to 8.5.x sslHostConfig

2018-04-25 Thread Baron Fujimoto
We're working on upgrading from 8.0.x to 8.5.x in preparation for 8.0's impending EOL. Our initial 8.5 deployment which essentially uses our legacy server.xml SSL connectors from 8.0 seems to work as expected. The HTTP Connector documentation suggests that the SSL configuration should now be han

Re: How to coustomize error 404 apache tomcat 9.0.6

2018-04-25 Thread Alexandre Adao
For the whole server... Sent from my iPhone > On Apr 25, 2018, at 7:06 PM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Anexandre, > >> On 4/25/18 6:23 PM, Alexandre Adao wrote: >> What will be the easiest way to customize page error 404 running >> A

Re: How to coustomize error 404 apache tomcat 9.0.6

2018-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anexandre, On 4/25/18 6:23 PM, Alexandre Adao wrote: > What will be the easiest way to customize page error 404 running > Apache Tomcat 9.0.6? I have tried some links such as > https://serverfault.com/questions/254102/custom-error-pages-on-apache-

How to coustomize error 404 apache tomcat 9.0.6

2018-04-25 Thread Alexandre Adao
Hello, What will be the easiest way to customize page error 404 running Apache Tomcat 9.0.6? I have tried some links such as https://serverfault.com/questions/254102/custom-error-pages-on-apache-tomcat and didn't work. I am running on Windows Server 2016 at the moment. My default directory is: C

Re: [eX-Bulk]: Error while sending ajax post request to my tomcat web app

2018-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahi, On 4/25/18 8:38 AM, Zahi Fail wrote: > It seem to be a CROS issue, thanks for your advice. Although, after > i reconfigured my tomcat service.xml, i still get the some message > as above. > > any advices of how to change my JQuery request? W

Re: DefaultServlet subclass behavior change TC6 to 8

2018-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daryl, On 4/25/18 4:08 PM, Daryl Stultz wrote: > We are upgrading from Tomcat 6 to Tomcat 8.5. We have a servlet > that extends org.apache.catalina.servlets.DefaultServlet. We > override getRelativePath(HttpServletRequest request), that's all. > >

Re: DefaultServlet subclass behavior change TC6 to 8

2018-04-25 Thread Mark Thomas
On 25/04/18 21:08, Daryl Stultz wrote: > Hello, > > > We are upgrading from Tomcat 6 to Tomcat 8.5. We have a servlet that extends > org.apache.catalina.servlets.DefaultServlet. We override > getRelativePath(HttpServletRequest request), that's all. > > > The purpose of this servlet is to do a

DefaultServlet subclass behavior change TC6 to 8

2018-04-25 Thread Daryl Stultz
Hello, We are upgrading from Tomcat 6 to Tomcat 8.5. We have a servlet that extends org.apache.catalina.servlets.DefaultServlet. We override getRelativePath(HttpServletRequest request), that's all. The purpose of this servlet is to do a sort of redirect, the browser asks for a spreadsheet "m

Re: How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Alexandre Adao
Thank you for your help. I really appreciated. This is my current settings on Cipher Tomcat 9.0.6 and It has received grade "A" from SS Labs. On Wed, Apr 25, 2018 at 1:05 PM, Pierre Chiu wrote: > That was an A+ as of 2017. SSL Labs changes their check multiple times > since th

Re: How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Pierre Chiu
That was an A+ as of 2017. SSL Labs changes their check multiple times since then and we never revisit the setup. Admin blocked port 80 doesn't help either. 80 is supposed to do a redirection :) > On Apr 25, 2018, at 12:41 PM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE--

Re: How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pierre, On 4/25/18 12:16 PM, Pierre Chiu wrote: > Hi Alexandre, > > This is what I am doing. A+ on SSLabs. > > https://orclcs.blogspot.ca/2017/03/tomcat-9-java-8-with-https.html >

Re: How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pierre, On 4/25/18 12:16 PM, Pierre Chiu wrote: The A+ is coming from your use of HSTS. If you had not enabled HSTS, you wouldn't get the A+. Note that SSLLabs considers some of your cipher suites as "weak" (e.g. TLS_RSA_WITH_AES_256_GCM_SHA384)

Re: How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Pierre Chiu
Hi Alexandre, This is what I am doing. A+ on SSLabs. https://orclcs.blogspot.ca/2017/03/tomcat-9-java-8-with-https.html > On Apr 25, 2018, at 11:06 AM, Alexandre Adao wrote: > > I am currently running Apache Tomcat 9.0.6.

Re: How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alexandre, On 4/25/18 11:06 AM, Alexandre Adao wrote: > I am currently running Apache Tomcat 9.0.6. I would like to disable > the Weak Cipher like TLS_DHE or what will be the best Cipher type > to get "A" from SSlabs test. > > > the SSLImplementat

How disable the Weak Cipher like TLS_DHE on APACHE 9.0.6

2018-04-25 Thread Alexandre Adao
I am currently running Apache Tomcat 9.0.6. I would like to disable the Weak Cipher like TLS_DHE or what will be the best Cipher type to get "A" from SSlabs test. the SSLImplementation selected. JSSE style configuration is used below. -->

Re: [eX-Bulk]: Error while sending ajax post request to my tomcat web app

2018-04-25 Thread Zahi Fail
It seem to be a CROS issue, thanks for your advice. Although, after i reconfigured my tomcat service.xml, i still get the some message as above. any advices of how to change my JQuery request? Thanks. On Wed, Apr 25, 2018 at 2:06 PM, Mario Schmitz wrote: > Hey, > > seems u have a problem with

Re: APR/native error on tomcat 8.5.16

2018-04-25 Thread M. Manna
Hi Mark, Thanks for clarifying. Apologies as I truly meant to say "Client dropped the connection". So once again, thanks for pointing that out. I needed to mask out certain information before I could send you the full stack trace. Here is the full version: INFO | jvm 1| 2018/04/25 05:37:38

Re: APR/native error on tomcat 8.5.16

2018-04-25 Thread Mark Thomas
On 25/04/18 11:18, M. Manna wrote: > Hello, > But from the above stack track it seems as though the > socket cannot handle the size of the data being transferred. That is not correct. What you are seeing is an I/O exception as a result of the client dropping the connection. > We did a controll

Re: Help with SPNEGO Pass-Through

2018-04-25 Thread Mark Thomas
On 25/04/18 03:29, Randy Oun wrote: > Thanks Mark. I adjusted the web.xml for the application to match your > recommendation and I'm still getting a HTTP 401 even though I see the > WWW-Authenticate header in the request. > > I'm still getting the same error as described earlier: > > > [org.apa

Fwd: Tomcat question

2018-04-25 Thread zahi . fail
Sent from my iPhone Begin forwarded message: > From: Zahi Fail > Date: 25 April 2018 at 12:19:20 GMT+3 > To: Ognjen Blagojevic > Subject: Re: Tomcat question > > I configured in my conf\server.xml file the realm as below: > > > resourceName="UserDatabase"/> > > and still i can't

AW: [eX-Bulk]: Error while sending ajax post request to my tomcat web app

2018-04-25 Thread Mario Schmitz
Hey, seems u have a problem with CORS https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS cheers -Ursprüngliche Nachricht- Von: Zahi Fail [mailto:zahi.f...@gmail.com] Gesendet: Mittwoch, 25. April 2018 12:53 An: Tomcat Users List Betreff: [eX-Bulk]: Error while sending ajax post re

Error while sending ajax post request to my tomcat web app

2018-04-25 Thread Zahi Fail
Hello, I'm working with Tomcat 9.0.6 version as my servlet, I have tested my web service with postman and it seems to work fine. While i tried to send simple ajax that i have build and tested in chrome, i got an error. *the request is :* function setAllTlcsStatus() { var tlc = [{"id":1, "code":

APR/native error on tomcat 8.5.16

2018-04-25 Thread M. Manna
Hello, We have been getting the error stack on our production servers quite frequently over the past few days: java.io.IOException: Unexpected error [730,054] writing data to the APR/native socket [950,585,024] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@c5f5747:95058502