>> 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
I finally resolved this issue. Exclude the pg driver from war, and copy it
to tomcat/lib, it works.
I remember in the past years, I preferred tomcat for Java Web applications
because I did not need to register a Jdbc driver but it is tedious work in
Java EE application servers, such as Glassfish
Christopher:
> What is the defaultHost for the ?
It is localhost.
> ... which means it should already be the default (catch-all) host.
> 403 means "unauthorized" which could mean something other than "I can't
> find the host".
Ahh. Got it.
> What are the contents of the pare returned to the w
Neil,
On 1/5/22 17:27, Neil Aggarwal wrote:
Hello all:
If I access a simple html file from the command line
using lynx:
lynx http://127.0.0.1:8080/www/
I get the page and this entry in the localhost_access_log:
0:0:0:0:0:0:0:1 - - [05/Jan/2022:16:21:22 -0600] "GET /www/index.html
HTTP/1.0" 200
Hello all:
If I access a simple html file from the command line
using lynx:
lynx http://127.0.0.1:8080/www/
I get the page and this entry in the localhost_access_log:
0:0:0:0:0:0:0:1 - - [05/Jan/2022:16:21:22 -0600] "GET /www/index.html
HTTP/1.0" 200 19
But if I try to do that through the web by
王 静凯,
On 1/5/22 01:55, 王 静凯 wrote:
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’ (
Mark,
On 1/4/22 17:50, 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 installed the ARM version
On 05/01/2022 06:14, Arshiya Shariff wrote:
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 t