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’.
Then the port 80 mapping to Internet via 10001.
Use httpServletRequest.getHeader(“Host”) I can get the correct value of
Hi Chris --
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. However, I did
receive a call from a vendor tech this morning and they are exploring the
question right now and will get back to me soon ho
Eric,
On 12/30/21 19:03, Eric Robinson wrote:
If I want to ignore the vendor's recommendation and try connection
pooling anyway, is that something I can enable with a config file
setting, or do they actually have to trigger it from within their
code?
That depends upon how they are obtaining data
On Thu, Dec 30, 2021 at 03:16:51PM -0500, Michael B Allen wrote:
> On Thu, Dec 30, 2021 at 10:57 AM Christopher Schultz
> wrote:
> >
> > You mean like ServletContext.getRealPath?
>
> Honestly I'm not sure how I feel about getRealPath. On the one hand, I
> don't think it's reasonable to just prete