[Bug 65051] [HTTP/2] The socket [*] associated with this connection has been closed.

2021-01-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65051

Selim Emre Toy  changed:

   What|Removed |Added

 CC||selimemre...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 65051] New: [HTTP/2] The socket [*] associated with this connection has been closed.

2021-01-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65051

Bug ID: 65051
   Summary: [HTTP/2] The socket [*] associated with this
connection has been closed.
   Product: Tomcat 8
   Version: 8.5.61
  Hardware: PC
OS: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: Connectors
  Assignee: dev@tomcat.apache.org
  Reporter: selimemre...@gmail.com
  Target Milestone: 

I have encountered a similar issue with
https://bz.apache.org/bugzilla/show_bug.cgi?id=63690 

It's working without SSL in the same environment.

INFO: Loaded Apache Tomcat Native library [1.2.25] using APR version [1.6.3]
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false],
random [true].
INFO: APR/OpenSSL configuration: useAprConnector [true], useOpenSSL [true]
INFO: OpenSSL successfully initialized [OpenSSL 1.1.1g  21 Apr 2020]
INFO: The ["http-apr-0.0.0.0-5080"] connector has been configured to support
HTTP upgrade to [h2c]
INFO: The ["https-openssl-apr-0.0.0.0-5443"] connector has been configured to
support negotiation to [h2] via ALPN
INFO: Starting Servlet Engine: Apache Tomcat/8.5.61

Here is my settings:












Here are the logs:

2021-01-03 17:27:51,108 [https-openssl-apr-0.0.0.0-5443-exec-3]
org.apache.http.impl.execchain.RetryExec - I/O exception
(org.apache.catalina.connector.ClientAbortException) caught when processing
request to {}->http://localhost:5080: java.io.IOException: The socket
[139,897,419,665,568] associated with this connection has been closed.
Jan 03, 2021 5:27:51 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [RequestDispatherFilter] in context with
path [] threw exception
org.apache.http.client.ClientProtocolException
at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118)
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at
io.antmedia.console.servlet.RealProxyServlet.doExecute(RealProxyServlet.java:420)
at
io.antmedia.console.servlet.RealProxyServlet.service(RealProxyServlet.java:354)
at
io.antmedia.console.servlet.URITemplateProxyServlet.service(URITemplateProxyServlet.java:140)
at
io.antmedia.console.servlet.ProxyServlet.service(ProxyServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
io.antmedia.console.rest.AuthenticationFilter.doFilter(AuthenticationFilter.java:33)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
io.antmedia.filter.IPFilterDashboard.doFilter(IPFilterDashboard.java:23)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
at

Re: Tomcat 10 digester warnings

2021-01-03 Thread Romain Manni-Bucau
Hmm, maybe it is a packaging issue. Testing TomEE 9 patched with Tomcat 10
binaries I got:

03-Jan-2021 17:00:57.997 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [XMLSchema.dtd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:57.997 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [datatypes.dtd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:57.997 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [xml.xsd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:57.998 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-app_2_2.dtd] could not be found. This is very likely to break
XML validation if XML validation is enabled.
03-Jan-2021 17:00:57.998 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-jsptaglibrary_1_1.dtd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:57.999 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-app_2_3.dtd] could not be found. This is very likely to break
XML validation if XML validation is enabled.
03-Jan-2021 17:00:57.999 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-jsptaglibrary_1_2.dtd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:57.999 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [j2ee_web_services_1_1.xsd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.000 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [j2ee_web_services_client_1_1.xsd] could not be found. This is very
likely to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.000 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-app_2_4.xsd] could not be found. This is very likely to break
XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.001 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-jsptaglibrary_2_0.xsd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.001 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [j2ee_1_4.xsd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:58.002 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [jsp_2_0.xsd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:58.002 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-app_2_5.xsd] could not be found. This is very likely to break
XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.003 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-jsptaglibrary_2_1.xsd] could not be found. This is very likely
to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.003 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [javaee_5.xsd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:58.003 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [jsp_2_1.xsd] could not be found. This is very likely to break XML
validation if XML validation is enabled.
03-Jan-2021 17:00:58.004 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [javaee_web_services_1_2.xsd] could not be found. This is very
likely to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.004 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [javaee_web_services_client_1_2.xsd] could not be found. This is
very likely to break XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.004 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-app_3_0.xsd] could not be found. This is very likely to break
XML validation if XML validation is enabled.
03-Jan-2021 17:00:58.005 WARNING [main]
org.apache.tomcat.util.descriptor.DigesterFactory.locationFor The XML
schema [web-fragment_3_0.xsd] could not be found. This is very likely to
break XML validation if XML validation is enabled.
03-Jan-2021 

Re: Tomcat 10 digester warnings

2021-01-03 Thread Mark Thomas
On 03/01/2021 10:35, Romain Manni-Bucau wrote:
> Hi all
> 
> Digester prefetches most ee schemas but ee 9 bundle does miss most of them
> leading to a lot of warnings at startup.
> Should log level be reduced or fetching be done lazily?

Sorry, I am unable to understand the problem you are describing. What
are the steps to recreate it from a clean Tomcat 10 install?

Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 63690] [HTTP/2] The socket [*] associated with this connection has been closed.

2021-01-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63690

Selim Emre Toy  changed:

   What|Removed |Added

 CC||selimemre...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Tomcat 10 digester warnings

2021-01-03 Thread Romain Manni-Bucau
Hi all

Digester prefetches most ee schemas but ee 9 bundle does miss most of them
leading to a lot of warnings at startup.
Should log level be reduced or fetching be done lazily?