You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)" <an...@cisco.com> on 2013/06/14 11:34:14 UTC

ssl port always print as 443 in tomcat access logs

Hi
I have two service running in tomcat.
First service 'catalina' is having connector port 80, 443, 8080 and 8444.
Second service 'catalina_advance' have connector port 8081 and 8444.

For catalina_advance, I entered a new tomcat access log file with configuration
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%t %a %h %u %l %p %m %U %H %s %b %D" prefix="localhost_access_log" rotatable="false" suffix=".txt"/>

Now whe I hit the url http://ip-address:8081/context
The port print in access log file is 8081

When when I hit the url https://ip-address:8444/context
The port always print as 443.

Why this is happening

-Anil

Re: ssl port always print as 443 in tomcat access logs

Posted by Konstantin Kolinko <kn...@gmail.com>.
2013/6/14 Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
<an...@cisco.com>:
> Hi
> I have two service running in tomcat.
> First service 'catalina' is having connector port 80, 443, 8080 and 8444.
> Second service 'catalina_advance' have connector port 8081 and 8444.
>
> For catalina_advance, I entered a new tomcat access log file with configuration
> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%t %a %h %u %l %p %m %U %H %s %b %D" prefix="localhost_access_log" rotatable="false" suffix=".txt"/>
>
> Now whe I hit the url http://ip-address:8081/context
> The port print in access log file is 8081
>
> When when I hit the url https://ip-address:8444/context
> The port always print as 443.

This is not what you were writing in your e-mails earlier.


>
> Why this is happening
>

When is this happening?
Is it reproducible with simple example web application on a clean
Tomcat installation?

It is not your first e-mail here, but again you lack the details.

I am sure there are a number of "bug reporting guidelines" on the net,
but at least please read these:
https://issues.apache.org/bugzilla/page.cgi?id=bug-writing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org