回复: getServerPort always return 80

2022-01-04 Thread 王 静凯
Hi chris, > I use httpServletRequest.getServerPort() to get the port in my jsp. > When the tomcat listen 8080 and nginx listen 80. > Nginx has set ‘proxy_set_header Host $http_host’. > What is the value of $http_host? The $http_host is ‘externalIP:10001’ (I print it in access_log of nginx t

HTTP2 : WINDOW_UPDATE not sent on stream level

2022-01-04 Thread Arshiya Shariff
Hi Team, On sending 3 requests of around 3KB size , we see that only the first request has processed fine. The other 2 requests are waiting for more Data as tomcat has not responded with WINDOW_UPDATE on stream level . Please help us understand this behavior . Embedded tomcat version : 9.0.56

Re: tomcat 7 slow to deploy web applications on m1 mac

2022-01-04 Thread Robert J. Carr
On Tue, Jan 4, 2022 at 2:50 PM Mark Thomas wrote: > > > On 04/01/2022 19:23, Robert J. Carr wrote: > > I've been using tomcat for many years but unfortunately I'm stuck on > > version 7 (long story). I recently picked up a new workstation, an Apple > > M1 MacBook (M1 Max - macOS 12.1), and I ins

Re: tomcat 7 slow to deploy web applications on m1 mac

2022-01-04 Thread Robert J. Carr
On Tue, Jan 4, 2022 at 2:50 PM Mark Thomas wrote: > > On 04/01/2022 19:23, Robert J. Carr wrote: > > I've been using tomcat for many years but unfortunately I'm stuck on > > version 7 (long story). I recently picked up a new workstation, an Apple > > M1 MacBook (M1 Max - macOS 12.1), and I insta

Re: tomcat 7 slow to deploy web applications on m1 mac

2022-01-04 Thread Mark Thomas
On 04/01/2022 19:23, Robert J. Carr wrote: I've been using tomcat for many years but unfortunately I'm stuck on version 7 (long story). I recently picked up a new workstation, an Apple M1 MacBook (M1 Max - macOS 12.1), and I installed the ARM version of Azul Zulu (1.8.0_312), and by all accou

tomcat 7 slow to deploy web applications on m1 mac

2022-01-04 Thread Robert J. Carr
I've been using tomcat for many years but unfortunately I'm stuck on version 7 (long story). I recently picked up a new workstation, an Apple M1 MacBook (M1 Max - macOS 12.1), and I installed the ARM version of Azul Zulu (1.8.0_312), and by all accounts everything is really fast, as you'd expect.

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2022-01-04 Thread Christopher Schultz
Eric, On 1/4/22 00:08, Eric Robinson wrote: We have access to the configuration files, but not the source code. There is no "pool" reference in server.xml or any of the context.xml files. You would want to look for . However, I did receive a call from a vendor tech this morning and they are e

Re: getServerPort always return 80

2022-01-04 Thread Christopher Schultz
王 静凯, On 1/4/22 00:46, 王 静凯 wrote: Hi, I use httpServletRequest.getServerPort() to get the port in my jsp. When the tomcat listen 8080 and nginx listen 80. Nginx has set ‘proxy_set_header Host $http_host’. What is the value of $http_host? Then the port 80 mapping to Internet via 100

Re: Issues when building native image with GraalVM

2022-01-04 Thread Rémy Maucherat
On Fri, Dec 31, 2021 at 2:47 PM Mar R wrote: > > I forgot something sorry. Maybe I'm missing something important but, about > classloading, on native image shouldn't it NOT exist? As far as I > understood after you have a native image you have (resources a part) > everything you need inside the bi