Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Sampath Gelli, 1 year ago
UT000020: Connection terminated as request was larger than 10485760 looks like Wildfly's servlet container limits the request size to 10MB. A quick search on the web found this https://docs.jboss.org/author/display/WFLY10/Undertow+subsystem+configuration#Undertowsubsystemconfiguration-Connectorconfiguration so try to set max-post-size to a larger value.
java.io.IOException: UT000020: Connection terminated
 as request was larger than 10485760


looks like Wildfly's servlet container limits the request size to 10MB.
A quick search on the web found this
https://docs.jboss.org/author/display/WFLY10/Undertow+subsystem+configuration#Undertowsubsystemconfiguration-Connectorconfiguration
so try to set max-post-size to a larger value.	at io.undertow.conduits.ChunkedStreamSourceConduit.updateRemainingAllowed(ChunkedStreamSourceConduit.java:131)	at io.undertow.conduits.ChunkedStreamSourceConduit.read(ChunkedStreamSourceConduit.java:249)	at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)	at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:209)	at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2207)	at org.xnio.channels.Channels.readBlocking(Channels.java:294)	at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:170)	at io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:146)	at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1131)	at org.eclipse.jgit.transport.PackParser.access$000(PackParser.java:97)	at org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1663)	at java.io.InputStream.read(InputStream.java:101)	at org.eclipse.jgit.transport.PackParser.whole(PackParser.java:983)	at org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:916)	at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:487)	at org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:194)	at org.eclipse.jgit.transport.BaseReceivePack.receivePack(BaseReceivePack.java:1038)	at org.eclipse.jgit.transport.BaseReceivePack.receivePackAndCheckConnectivity(BaseReceivePack.java:861)	at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:191)	at org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:160)	at org.eclipse.jgit.http.server.ReceivePackServlet.doPost(ReceivePackServlet.java:187)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:237)	at org.eclipse.jgit.http.server.ReceivePackServlet$Factory.doFilter(ReceivePackServlet.java:144)	at org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)	at org.eclipse.jgit.http.server.RepositoryFilter.doFilter(RepositoryFilter.java:151)	at org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)	at org.eclipse.jgit.http.server.NoCacheFilter.doFilter(NoCacheFilter.java:80)	at org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)	at org.eclipse.jgit.http.server.glue.UrlPipeline.service(UrlPipeline.java:215)	at org.eclipse.jgit.http.server.glue.SuffixPipeline.service(SuffixPipeline.java:101)	at org.eclipse.jgit.http.server.glue.MetaFilter.doFilter(MetaFilter.java:175)	at com.gitblit.servlet.GitServlet.service(GitServlet.java:98)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:294)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at com.gitblit.servlet.EnforceAuthenticationFilter.doFilter(EnforceAuthenticationFilter.java:87)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at com.gitblit.servlet.AccessRestrictionFilter.doFilter(AccessRestrictionFilter.java:228)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at com.gitblit.servlet.ProxyFilter$1.doFilter(ProxyFilter.java:74)	at com.gitblit.servlet.ProxyFilter.doFilter(ProxyFilter.java:77)	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:198)	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:784)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)