id
int64 1
6.5k
| bug_id
int64 2.03k
426k
| summary
stringlengths 9
251
| description
stringlengths 1
32.8k
⌀ | report_time
stringlengths 19
19
| report_timestamp
int64 1B
1.39B
| status
stringclasses 6
values | commit
stringlengths 7
9
| commit_timestamp
int64 1B
1.39B
| files
stringlengths 25
32.8k
| project_name
stringclasses 6
values |
---|---|---|---|---|---|---|---|---|---|---|
10 | 55,976 |
Bug 55976 Broken response from NIO connector in Tomcat 7.0.50
| null |
2014-01-08 09:52:04
| 1,389,190,000 |
closed fixed
|
d423ae2
| 1,389,300,000 |
java/org/apache/coyote/http11/Http11NioProcessor.java
|
Tomcat
|
11 | 55,974 |
Bug 55974 Honor the order when reporting XML parsing errors and warnings in XmlErrorHandler class
| null |
2014-01-07 22:59:05
| 1,389,150,000 |
resolved fixed
|
328adb1
| 1,389,280,000 |
java/org/apache/tomcat/util/descriptor/XmlErrorHandler.java
|
Tomcat
|
12 | 55,970 |
Bug 55970 A reloadable context is reloaded repeatedly if WEB-INF/lib contains non-jar files
| null |
2014-01-07 18:13:45
| 1,389,140,000 |
resolved fixed
|
5594699
| 1,389,280,000 |
java/org/apache/catalina/loader/WebappClassLoader.java
|
Tomcat
|
13 | 55,960 |
Bug 55960 TestSSOnonLoginAndBasicAuthenticator is flawed and incomplete
| null |
2014-01-06 14:47:05
| 1,389,040,000 |
resolved fixed
|
ad129f8
| 1,389,280,000 |
test/org/apache/catalina/authenticator/TestSSOnonLoginAndBasicAuthenticator.java test/org/apache/catalina/startup/TesterServletEncodeUrl.java
|
Tomcat
|
14 | 55,958 |
Bug 55958 Tomcat tries to deploy dir as zip archive even when it is a directory if the name ends with .war
|
Webapp deployment fails if the dirname ends with .war because it is automatically considered as zip archive.
|
2014-01-06 09:28:12
| 1,389,020,000 |
resolved fixed
|
5964a52
| 1,389,280,000 |
java/org/apache/catalina/core/ContainerBase.java java/org/apache/catalina/ha/deploy/FarmWarDeployer.java java/org/apache/catalina/manager/HTMLManagerServlet.java java/org/apache/catalina/mbeans/MBeanUtils.java java/org/apache/catalina/startup/FailedContext.java java/org/apache/catalina/startup/HostConfig.java java/org/apache/catalina/storeconfig/StandardContextSF.java java/org/apache/catalina/util/ContextName.java test/org/apache/catalina/startup/TestHostConfigAutomaticDeployment.java test/org/apache/catalina/util/TestContextName.java
|
Tomcat
|
15 | 55,937 |
Bug 55937 Tomcat auto deployer not working for ROOT applications
| null |
2013-12-27 15:41:22
| 1,388,180,000 |
resolved fixed
|
346e264
| 1,389,270,000 |
java/org/apache/catalina/util/ContextName.java test/org/apache/catalina/util/TestContextName.java
|
Tomcat
|
16 | 55,939 |
Bug 55939 Seeing issues with non-blocking io when writing lots of data
| null |
2013-12-29 19:40:03
| 1,388,360,000 |
resolved fixed
|
411e4cc
| 1,388,430,000 |
java/org/apache/coyote/Response.java
|
Tomcat
|
17 | 55,905 |
Bug 55905 Error message unhelpful when web.xml references a tld file that doesn't exist
| null |
2013-12-18 14:30:15
| 1,387,400,000 |
resolved fixed
|
bcb9c58
| 1,387,390,000 |
java/org/apache/jasper/servlet/TldScanner.java
|
Tomcat
|
18 | 55,884 |
Bug 55884 JSPs no longer compile in Java 8
| null |
2013-12-14 17:03:59
| 1,387,060,000 |
verified fixed
|
8a5179c
| 1,387,210,000 |
java/org/apache/jasper/compiler/JspRuntimeContext.java
|
Tomcat
|
19 | 55,820 |
Bug 55820 Add 172.16/12 range to default internal proxies
| null |
2013-11-27 15:53:07
| 1,385,590,000 |
resolved fixed
|
c1be72f
| 1,386,580,000 |
java/org/apache/catalina/filters/RemoteIpFilter.java java/org/apache/catalina/valves/RemoteIpValve.java
|
Tomcat
|
20 | 55,811 |
Bug 55811 Do not parse web-fragment.xml files when empty absolute-ordering
| null |
2013-11-22 14:45:40
| 1,385,150,000 |
resolved fixed
|
f4da7dc
| 1,386,450,000 |
java/org/apache/catalina/startup/ContextConfig.java java/org/apache/jasper/servlet/JspCServletContext.java java/org/apache/tomcat/util/descriptor/web/FragmentJarScannerCallback.java
|
Tomcat
|
21 | 55,801 |
Bug 55801 Add ability to provide custom SSLContext for websocket client
| null |
2013-11-20 09:57:24
| 1,384,960,000 |
resolved fixed
|
ef3f56e
| 1,386,450,000 |
java/org/apache/tomcat/websocket/WsWebSocketContainer.java
|
Tomcat
|
22 | 55,851 |
Bug 55851 Tomcat SPNEGO authenticator incompatible with IBM JDK: Accept Security Context needs to be wrapped around a Privileged Action in order for server side authentication
| null |
2013-12-06 08:56:41
| 1,386,340,000 |
resolved fixed
|
bba9747
| 1,386,360,000 |
java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
|
Tomcat
|
23 | 55,842 |
Bug 55842 response.setBufferSize() does not seem to work properly
|
I found a problem with setting the buffer size for the ServletResponse. If I call 'response.setBufferSize(1,000,000);' and send about 20,000 characters, the response will be chunked even though it should not. The response is sent in several chunks and contains the 'Transfer-Encoding: chunked' response header. In my understanding in this case the response should be fully buffered on the server and then sent as a whole containing the Content-Length-header. This causes a problem in my application because I want to use a larger buffer to be able to redirect to an error page if an error occurs during rendering the response. I was able to reproduce this on Tomcat 7.0.39, 7.0.40, 7.0.42, 7.0.47. Tomcat 7.0.37 works fine and as expected. This is easily reproducable by using a JSP as follows: <% response.setBufferSize(1000*1000); for (int i = 0; i < 100; i++) { for (int j = 0; j < 100; j++) { response.getWriter().write("X"); } response.getWriter().write("<br />"); } %>
|
2013-12-04 15:56:09
| 1,386,190,000 |
resolved fixed
|
f4970a7
| 1,386,330,000 |
java/org/apache/catalina/connector/OutputBuffer.java java/org/apache/tomcat/util/buf/ByteChunk.java
|
Tomcat
|
24 | 55,837 |
Bug 55837 ServletContext.getRealPath() returns null
|
[code] String path = servletContext.getRealPath('/test'); if no file or folder named '/test' exist in webroot then path return null but int tomcat 5\6\7, it will return the correct value , ex /data/oschina/webapp/test
|
2013-12-03 08:03:13
| 1,386,080,000 |
resolved fixed
|
a63bf3a
| 1,386,180,000 |
java/org/apache/catalina/webresources/DirResourceSet.java java/org/apache/catalina/webresources/EmptyResource.java java/org/apache/catalina/webresources/StandardRoot.java test/org/apache/catalina/webresources/AbstractTestResourceSet.java
|
Tomcat
|
25 | 55,804 |
Bug 55804 SPNEGOAUTHENTICATOR - GSSCredential does not get renewed after RemainingLifeTime is less than zero
|
In SpnegoAuthenticator, we check for request.getUserPrincipal() if it returns a prinicpal we do not do a fresh authentication. This happens even when the GSSCredential returned by GenericPrincipal has remainingLife time less than zero. This causes issues in delegating the credential as the credential is not valid any more. Can we add additional check to reauthenticate when the credental has expired and put GSSCredential in the same session?
|
2013-11-20 19:23:11
| 1,384,990,000 |
resolved fixed
|
8f67335
| 1,385,750,000 |
java/org/apache/catalina/connector/Request.java
|
Tomcat
|
26 | 55,798 |
Bug 55798 Enabling Manager App - process and description is inadequate
| null |
2013-11-19 23:03:23
| 1,384,920,000 |
resolved fixed
|
13c6551
| 1,384,940,000 |
java/org/apache/catalina/users/MemoryUserDatabase.java
|
Tomcat
|
27 | 55,778 |
Bug 55778 JNDIRealm: Authentication with GSSAPI to LDAP with SSL connection causes an exception
|
Whenever i try to authenticate with GSSAPI to a LDAP server with a SSL connection (ldaps), the following exception is thrown: javax.naming.ServiceUnavailableException: myserver.at:636; socket closed; remaining name 'dc=example,dc=org' at com.sun.jndi.ldap.Connection.readReply(Connection.java:452) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:631) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:554) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1985) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1847) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1772) ... Steps to reproduce: 1. Configure the valve org.apache.catalina.authenticator.SpnegoAuthenticator in the server.xml with storeDelegatedCredential="true". 2. Configure the realm org.apache.catalina.realm.JNDIRealm in the server.xml with an SSL connection url (e.g. ldaps://myserver.at:636) 3. Configure an auth-method with SPNEGO, security-constraints and security-roles in the web.xml 4. Add required keystores to the jdk for the ldaps connection. 5. Try to authenticate I debugged into the JNDIRealm and figured out, that changing line 2082 from "context.addToEnvironment("javax.security.sasl.qop", "auth-conf");" to "context.addToEnvironment("javax.security.sasl.qop", "auth");" would solve the problem. I also tested the fix with a new written JNDIRealm. But i'm not sure, if this fix causes other security issues.
|
2013-11-14 14:51:16
| 1,384,460,000 |
resolved fixed
|
27806aa
| 1,384,540,000 |
java/org/apache/catalina/realm/JNDIRealm.java
|
Tomcat
|
28 | 55,776 |
Bug 55776 if path include relative char, eg: ../, classloader will not find zhe file
|
I use ibatis in my project, config file path include '..', tomcat can not find the file, command line show: Could not find resource ../ibatis/code/sendType.xml
|
2013-11-14 06:14:50
| 1,384,430,000 |
resolved fixed
|
a1ad6ce
| 1,384,530,000 |
java/org/apache/catalina/webresources/StandardRoot.java
|
Tomcat
|
29 | 55,772 |
Bug 55772 Flushing AsyncContext response writer after ClientAbortException (BrokenPipe) causes request state to leak
| null |
2013-11-13 04:45:21
| 1,384,340,000 |
resolved fixed
|
cb62f86
| 1,384,520,000 |
java/org/apache/catalina/connector/CoyoteAdapter.java java/org/apache/coyote/ActionCode.java java/org/apache/coyote/ajp/AbstractAjpProcessor.java java/org/apache/coyote/http11/AbstractHttp11Processor.java java/org/apache/coyote/spdy/SpdyProcessor.java test/org/apache/coyote/http11/TestAbstractHttp11Processor.java
|
Tomcat
|
30 | 55,760 |
Bug 55760 Tomcat SPNEGO authenticator incompatible with IBM JDK in case of Keytab based initiate and accept authentication
| null |
2013-11-08 11:48:18
| 1,383,930,000 |
resolved fixed
|
0a4e847
| 1,384,160,000 |
java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
|
Tomcat
|
31 | 55,749 |
Bug 55749 Disabling SSLEngine in AprLifecycleListener leads to misleading error message at startup when SSL Connector is delcared
|
Put a <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off" /> in you server.xml. Put the APR connector some weeks later in your server.xml: <Connector protocol="org.apache.coyote.http11.Http11AprProtocol" port="@HTTPS_PORT@" connectionTimeout="20000" maxHttpHeaderSize="24576" maxThreads="250" URIEncoding="UTF-8" bufferSize="4096" scheme="https" secure="true" SSLEnabled="true" SSLProtocol="TLSv1" SSLCipherSuite="HIGH:!ADH" SSLCertificateFile="@SSL_CERT_FILE@" SSLCertificateKeyFile="@SSL_CERT_KEY_FILE@" SSLPassword="@SSL_PASSWORD@" /> Start your Tomcat and receive following confusing message: Nov 06, 2013 1:30:39 PM org.apache.coyote.http11.Http11AprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [226] Adresse bereits im Zugriff at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:671) at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:851) at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:139) at org.apache.catalina.connector.Connector.start(Connector.java:1196) at org.apache.catalina.core.StandardService.start(StandardService.java:540) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Nov 06, 2013 1:30:39 PM org.apache.catalina.core.StandardService start SEVERE: Failed to start connector [Connector[HTTP/1.1-8444]] LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [226] Adresse bereits im Zugriff at org.apache.catalina.connector.Connector.start(Connector.java:1203) at org.apache.catalina.core.StandardService.start(StandardService.java:540) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) This is of course not correct. The port IS availble but the SSL engine has been turned off. There should be a check at stratup which says that this is an illegal state.
|
2013-11-06 12:32:17
| 1,383,760,000 |
resolved fixed
|
014cf1c
| 1,384,110,000 |
java/org/apache/tomcat/util/net/AprEndpoint.java
|
Tomcat
|
32 | 55,735 |
Bug 55735 Additional quote entity in html element attribute evaluated in tagx if attribute contains EL expression
| null |
2013-11-02 06:14:56
| 1,383,390,000 |
resolved fixed
|
7ee1275
| 1,383,690,000 |
java/org/apache/jasper/compiler/Validator.java java/org/apache/jasper/runtime/PageContextImpl.java test/org/apache/jasper/compiler/TestParser.java test/org/apache/jasper/compiler/TesterValidator.java test/org/apache/jasper/runtime/TesterPageContextImpl.java
|
Tomcat
|
33 | 55,715 |
Bug 55715 RemoteEndpoint.Async#sendText(String, SendHandler) can cause StackOverflowErrors and contradicts Oracle's JavaDoc
| null |
2013-10-28 15:34:56
| 1,382,990,000 |
resolved fixed
|
3f316f1
| 1,383,130,000 |
java/org/apache/tomcat/websocket/server/Constants.java java/org/apache/tomcat/websocket/server/WsContextListener.java java/org/apache/tomcat/websocket/server/WsHttpUpgradeHandler.java java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java java/org/apache/tomcat/websocket/server/WsServerContainer.java java/org/apache/tomcat/websocket/server/WsWriteTimeout.java
|
Tomcat
|
34 | 55,702 |
Bug 55702 TLD cannot be loaded if CATALINA_HOME contains spaces
|
A web application containing an own TLD within its WEB-INF directory fails to render a JSP page referencing that TLD if Tomcat it installed into a directory with spaces in the path, such as "C:\Program Files\...". After moving the entire Tomcat installation directory to a path without spaces (such as "C:\1\Tomcat8"), the application can render that same JSP page. Following stacktrace is printed. Note the %20 in the file path org.apache.jasper.JasperException: /jsp/layouts/standard.jsp (line: 7, column: 69) File "file:/C:/Program%20Files/Apache/Tomcat-8.0.0-RC5/webapps/mywebapp/WEB-INF/tlds/mywebapp-tags.tld" not found org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:276) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:92) org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:166) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1451) org.apache.jasper.compiler.Parser.parse(Parser.java:138) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242) org.apache.jasper.compiler.ParserController.parse(ParserController.java:102) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) org.apache.jasper.compiler.Compiler.compile(Compiler.java:373) org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:606) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) Java version used: Oracle JDK 7 Update 45 (64 Bit) Active Tomcat connector: ["http-nio-8080"]
|
2013-10-25 10:03:35
| 1,382,710,000 |
resolved fixed
|
ad50e54
| 1,383,050,000 |
java/org/apache/jasper/compiler/TagLibraryInfoImpl.java
|
Tomcat
|
35 | 55,684 |
Bug 55684 WebappClassLoader.getThread want an access to root ThreadGroup
|
Tomcat may not have all permissions granted. The method WebappClassLoader.getThread try to access the root ThreadGroup in order to list all threads. You should either manage SecurityException or avoid to access the parent ThreadGroup of the thread which start Tomcat.
|
2013-10-21 16:30:04
| 1,382,390,000 |
resolved fixed
|
d244284
| 1,383,040,000 |
java/org/apache/catalina/loader/WebappClassLoader.java
|
Tomcat
|
36 | 55,691 |
Bug 55691 javax.el.ArrayELResolver.setValue not supporting arrays of primitives
|
was working in tomcat 6.0.20 ERROR javax.faces.context.ExceptionHandlerWrapper - javax.faces.component.UpdateModelException: java.lang.ClassCastException: Unable to add an object of type [java.lang.Integer] to an array of objects of type [int] java.lang.ClassCastException: Unable to add an object of type [java.lang.Integer] to an array of objects of type [int] at javax.el.ArrayELResolver.setValue(ArrayELResolver.java:94) at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:255) at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:281) at org.apache.el.parser.AstValue.setValue(AstValue.java:158) at org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249) at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:131) at javax.faces.component.UIInput.updateModel(UIInput.java:818) at javax.faces.component.UIInput.processUpdates(UIInput.java:735) at javax.faces.component.UIData.iterate(UIData.java:2001) at javax.faces.component.UIData.processUpdates(UIData.java:1253) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1242) at javax.faces.component.UIForm.processUpdates(UIForm.java:281) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1242) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1242) at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:1231) at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
|
2013-10-22 23:05:42
| 1,382,500,000 |
resolved fixed
|
b82c0c6
| 1,382,990,000 |
java/javax/el/ArrayELResolver.java java/javax/el/Util.java test/javax/el/TestArrayELResolver.java
|
Tomcat
|
37 | 55,681 |
Bug 55681 JSR-356 message handling: NULL pointer being thrown when DecodeException is caught in PojoMessageHandlerWholeBase<T>.onMessage
|
I am testing what happens when Encode/Decode Exceptions occur during JSR-356 communication. In our case, we do NOT use annotation, but we "extend Endpoint" and "implement Whole<ThingworxMessage>". I was forcing a DecodeException to occur - expecting to my onError to be called with the actual DecodeException. Instead, I got a Null. Stepping the following code in Tomcat: in onMessage, the ((WsSession)session) is NULL. As a result, the actual DecodeException (cause) is lost. // Can this message be decoded? Object payload; try { payload = decode(message); } catch (DecodeException de) { ((WsSession) session).getLocal().onError(session, de); return; } Tracing this further up the stack, I found that Util.getMessageHandlers is initializing it and passing NULL in for the session: if (decoderMatch.getTextDecoders().size() > 0) { MessageHandlerResult result = new MessageHandlerResult( new PojoMessageHandlerWholeText(listener, m, null, endpointConfig, decoderMatch.getTextDecoders(), new Object[1], 0, false, -1, -1), MessageHandlerResultType.TEXT); results.add(result); } Please let me know if I can provide any more details. -bob
|
2013-10-20 17:37:21
| 1,382,310,000 |
resolved fixed
|
514cefb
| 1,382,300,000 |
java/org/apache/tomcat/websocket/Util.java java/org/apache/tomcat/websocket/WsSession.java
|
Tomcat
|
38 | 55,664 |
Bug 55664 [websocket] NPE in Util$DecoderMatch during application start
| null |
2013-10-17 19:01:26
| 1,382,050,000 |
resolved fixed
|
4e4a24a
| 1,382,080,000 |
java/org/apache/tomcat/websocket/Util.java test/org/apache/tomcat/websocket/TestUtil.java test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java
|
Tomcat
|
39 | 55,656 |
Bug 55656 Server ClassLoader not used for Server creation
| null |
2013-10-16 09:56:54
| 1,381,930,000 |
resolved fixed
|
86ec1f4
| 1,382,020,000 |
java/org/apache/catalina/startup/Catalina.java
|
Tomcat
|
40 | 54,095 |
Bug 54095 [patch] support gzipped versions of static resources by DefaultServlet
| null |
2012-11-03 20:49:45
| 1,351,990,000 |
resolved fixed
|
f0101d0
| 1,381,440,000 |
java/org/apache/catalina/servlets/DefaultServlet.java test/org/apache/catalina/servlets/TestDefaultServlet.java
|
Tomcat
|
41 | 55,251 |
Bug 55251 JspC fails silently if directory for generated web.xml does not exist
|
If the file specified for webXml (via call to setWebXml) cannot be created (for example if the directory does not exist), then JspC fails silently.
|
2013-07-12 03:50:46
| 1,373,620,000 |
resolved fixed
|
06d8338
| 1,381,410,000 |
java/org/apache/jasper/JspC.java
|
Tomcat
|
42 | 55,642 |
Bug 55642 TagPluginManager isConstantAttribute broken
|
Function isConstantAttribute in TagPluginManager seems to be be broken. For value "order.status" it returns false. And for value "${order.state.name}" it returns true. According to javadoc it should be exact opposite. Problem seems to be in Node.isLiteral function. "el!= null" should probably be "el== null" But this function is being used elsewhere. /** * @return true if the attribute is specified and its value is a * translation-time constant. */ public boolean TagPluginManager.isConstantAttribute(String attribute){ Node.JspAttribute attr = getNodeAttribute(attribute); if (attr == null) return false; return attr.isLiteral(); } /** * @return true if the value is a string literal known at translation * time. */ public boolean isLiteral() { return !expression && (el != null) && !namedAttribute; }
|
2013-10-09 13:02:21
| 1,381,340,000 |
resolved fixed
|
af49b44
| 1,381,330,000 |
java/org/apache/jasper/compiler/Node.java test/org/apache/jasper/compiler/TestNode.java
|
Tomcat
|
43 | 55,630 |
Bug 55630 clean way to avoid setURLStreamHandlerFactory call
|
A current method is to set WebappLoader.first via reflection (because private). I think the setURLStreamHandlerFactory should be move to Catalina.start ('first' static field can be move in Catalina). So we could have a static method in Catalina to prevent setURLStreamHandlerFactory call while first starting.
|
2013-10-05 16:51:34
| 1,381,010,000 |
resolved fixed
|
bd56eea
| 1,381,170,000 |
java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java
|
Tomcat
|
44 | 55,629 |
Bug 55629 StatusManagerServlet does not remove JMX notification listener
|
StatusManagerServlet.destroy should call mBeanServer.removeNotificationListener because init method call mBeanServer.addNotificationListener.
|
2013-10-05 16:38:36
| 1,381,010,000 |
resolved fixed
|
95faaec
| 1,381,130,000 |
java/org/apache/catalina/manager/StatusManagerServlet.java
|
Tomcat
|
45 | 55,317 |
Bug 55317 Facilitate weaving by allowing ClassFileTransformer to be added to WebppClassLoader
| null |
2013-07-28 07:17:28
| 1,375,010,000 |
resolved fixed
|
dd0cba7
| 1,380,240,000 |
java/org/apache/catalina/loader/WebappClassLoader.java java/org/apache/tomcat/InstrumentableClassLoader.java test/org/apache/catalina/loader/TestWebappClassLoaderWeaving.java test/org/apache/catalina/loader/TesterNeverWeavedClass.java test/org/apache/catalina/loader/TesterUnweavedClass.java
|
Tomcat
|
46 | 55,576 |
Bug 55576 Order of ServletRequest parameters is not preserved
|
The ServletRequest interface provides two methods to iterate through request parameters: Enumeration<String> getParameterNames(), and Map<String, String[]> getParameterMap() Unfortunately, the underlying implementation in Tomcat is a HashMap, which fails to preserve the order of parameters as they are specified in the request. An alternate implementation should be used to preserve request order. LinkedHashMap, for example, is capable of preserving insertion order. The Servlet Specification (v3.0) speaks only to the relative ordering of query string data and post body data. However, section 17.13.3 of the HTML specification (v4.01) titled "Processing form data", clearly states that "control names/values are listed in the order they appear in the document." Therefore, I do not see a valid interpretation of either specification to rationalize Tomcat's implementation. To receive a request with an ordered list of parameters and represent them in an implementation that is guaranteed not to preserve this order is difficult to rationalize.
|
2013-09-20 21:14:32
| 1,379,730,000 |
resolved fixed
|
90556a9
| 1,379,970,000 |
java/org/apache/catalina/util/ParameterMap.java java/org/apache/tomcat/util/http/Parameters.java
|
Tomcat
|
47 | 55,582 |
Bug 55582 Concurrent issue of TagFileProcessor
| null |
2013-09-22 10:00:36
| 1,379,860,000 |
resolved fixed
|
f627cc8
| 1,379,940,000 |
java/org/apache/jasper/compiler/TagFileProcessor.java
|
Tomcat
|
48 | 55,570 |
Bug 55570 SpnegoAuthenticator: Resource file is missing placeholders for exceptions.
|
In java/org/apache/catalina/authenticator/SpnegoAuthenticator.java problems are logged with an exception. The exception does not show up in the logging. The exception only shows up if I hack java/org/apache/catalina/authenticator/LocalStrings.properties in catalina.jar, and add a placeholder. REPRODUCE: - Configure SP-NEGO with Kerberos. - Mess up your principal in com.sun.security.jgss.krb5.accept in jaas.config. - Try to login. - See that you get something like: FINE [org.apache.catalina.authenticator.SpnegoAuthenticator authenticate] Failed to validate client supplied ticket FIX: In java/org/apache/catalina/authenticator/LocalStrings.properties please add [{0}] to the following lines: spnegoAuthenticator.ticketValidateFail=Failed to validate client supplied ticket spnegoAuthenticator.serviceLoginFail=Unable to login as the service principal In SpnegoAuthenticator.java you can verify that exceptions are indeed passed to the log. VALIDATE: - Reproduce again - See that you now get Failed to validate client supplied ticket [GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to decrypt AP REP - RC4 with HMAC)] The exception is not super-helpful, but at least it's something.
|
2013-09-19 12:48:43
| 1,379,610,000 |
resolved fixed
|
910d4d9
| 1,379,600,000 |
java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
|
Tomcat
|
49 | 46,727 |
Bug 46727 DefaultServlet - serving multiple encodings
| null |
2009-02-17 15:01:26
| 1,234,900,000 |
resolved fixed
|
f74257e
| 1,379,510,000 |
java/org/apache/catalina/servlets/DefaultServlet.java
|
Tomcat
|
50 | 52,558 |
Bug 52558 CometConnectionManagerValve is adding non-serializable Request[] to Session
|
CometConnectionManagerValve is adding HttpServletRequest[] to HttpSession which is preventing the Session being serialized in a Clustered setup. We're resolving this locally using a serializable ConnectionList class with a transient Request[] i.e. public class ConnectionList implements Serializable { transient Request[] connectionList = null; ConnectionList(Request[] connectionList){ this.connectionList = connectionList; } public Request[] get(){ return connectionList; } }
|
2012-01-30 10:46:47
| 1,327,940,000 |
resolved fixed
|
b284611
| 1,378,980,000 |
java/org/apache/catalina/valves/CometConnectionManagerValve.java
|
Tomcat
|
51 | 55,552 |
Bug 55552 Potential NullPointerException in compiled JSPs if expected EL result is of primitive type
| null |
2013-09-12 06:19:31
| 1,378,980,000 |
resolved fixed
|
66932c4
| 1,378,980,000 |
java/org/apache/jasper/compiler/JspUtil.java
|
Tomcat
|
52 | 54,693 |
Bug 54693 Add a validationQueryTimeout property
| null |
2013-03-13 20:04:20
| 1,363,220,000 |
resolved fixed
|
b022c57
| 1,378,720,000 |
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSourceFactory.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSourceProxy.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/TestValidationQueryTimeout.java
|
Tomcat
|
53 | 55,521 |
Bug 55521 Race Condition in HttpSession#invalidate() / HttpServletRequest#getSession(boolean)
| null |
2013-09-04 10:24:05
| 1,378,300,000 |
resolved fixed
|
262c069
| 1,378,400,000 |
java/org/apache/catalina/ha/session/DeltaSession.java java/org/apache/catalina/session/StandardSession.java
|
Tomcat
|
54 | 55,527 |
Bug 55527 JSSESocketFactory conditionally converts alias to lower case; condition is unwise
|
JSSESocketFactory conditionally converts the alias to lower case. The condition is coded as follows: private static final String defaultKeystoreType = "JKS"; ... if (JSSESocketFactory.defaultKeystoreType.equals(keystoreType)) { alias = alias.toLowerCase(Locale.ENGLISH); } If the intention is to downcase only JKS store aliases, then the comparison should be made with "JKS", not a constant that happens to contain "JKS" at present. Using a specific comparator would both clarify the code and protect against a possible change to the default (albeit very unlikely).
|
2013-09-05 09:05:01
| 1,378,390,000 |
resolved fixed
|
f126b5a
| 1,378,380,000 |
java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
|
Tomcat
|
55 | 55,343 |
Bug 55343 Add flag to ignore exceptions while creating initial pool
|
I want my initial pool to be of some size i.e. not empty AND start even if it fails to create all or some of connections. If pool fails to create initial connections for some reason it just throws exceptions. To workaround that I have to set initial pool size to 0. It can be handy to add a flag to ignore (just log them) exceptions that occur while creating initial connections.
|
2013-08-02 06:05:03
| 1,375,440,000 |
resolved fixed
|
4aa42d7
| 1,378,280,000 |
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSourceFactory.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSourceProxy.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java
|
Tomcat
|
56 | 55,342 |
Bug 55342 Lost interruption
|
org.apache.tomcat.jdbc.pool.ConnectionPool#close should not call Thread.interrupted() because interrupt was already reset by code that thrown InterruptedException. } catch (InterruptedException ex) { if (getPoolProperties().getPropagateInterruptState()) { Thread.currentThread().interrupt(); - } else { - Thread.interrupted(); } }
|
2013-08-02 05:54:35
| 1,375,440,000 |
resolved fixed
|
41225cd
| 1,378,260,000 |
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
|
Tomcat
|
57 | 55,500 |
Bug 55500 AsyncListener.onTimeout is not called via AJP AjpNioProtocol connector
|
The AsyncListener.onTimeout is not called, when timeout occurs, when traffic routed via AJP connector configured with AjpNioProtocol protocol.
|
2013-08-29 12:21:17
| 1,377,790,000 |
resolved fixed
|
cf1e104
| 1,378,200,000 |
java/org/apache/coyote/ajp/AbstractAjpProcessor.java java/org/apache/coyote/ajp/AjpAprProcessor.java java/org/apache/coyote/ajp/AjpNioProcessor.java java/org/apache/coyote/ajp/AjpProcessor.java
|
Tomcat
|
58 | 55,494 |
Bug 55494 JNDIRealm throws exception after timeout / Connection reset
| null |
2013-08-28 12:54:09
| 1,377,710,000 |
resolved fixed
|
7e74aee
| 1,377,700,000 |
java/org/apache/catalina/realm/JNDIRealm.java
|
Tomcat
|
59 | 55,453 |
Bug 55453 AJP send Body with Status 304
| null |
2013-08-20 04:48:03
| 1,376,990,000 |
resolved fixed
|
6d99103
| 1,377,690,000 |
java/org/apache/coyote/ajp/AbstractAjpProcessor.java test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
|
Tomcat
|
60 | 51,526 |
Bug 51526 Process web application context config with embedded Tomcat.addWebApp(...)
|
It would be nice if org.apache.catalina.startup.Tomcat.addWebApp(...) would process the web application's META-INF/context.xml if found. The current implementation skips META-INF/context.xml loading, and does not appear to offer any hook to enable it--the StandardContext is instantiated and initialized with a null configFile in the single call to addWebApp(...).
|
2011-07-18 23:08:06
| 1,311,040,000 |
resolved fixed
|
058f044
| 1,377,630,000 |
java/org/apache/catalina/startup/Tomcat.java test/org/apache/catalina/startup/TestTomcat.java
|
Tomcat
|
61 | 55,469 |
Bug 55469 Missing HTML closing tags in Manager application
| null |
2013-08-22 20:05:22
| 1,377,220,000 |
resolved fixed
|
9a22360
| 1,377,240,000 |
java/org/apache/catalina/manager/HTMLManagerServlet.java
|
Tomcat
|
62 | 55,454 |
Bug 55454 NullPointerException caused by invalid contentType, e.g. trailing semicolon
|
possible related to 53353 When having an invalid contenttype like: <jsp:directive.page language="java" contentType="text/html;"/> (note the trailing ";") Tomcat throws a NullPointerException like this: java.lang.NullPointerException org.apache.tomcat.util.http.parser.HttpParser.parseMediaType(HttpParser.java:217) org.apache.tomcat.util.http.parser.MediaTypeCache.parse(MediaTypeCache.java:54) org.apache.catalina.connector.Response.setContentType(Response.java:805) org.apache.catalina.connector.ResponseFacade.setContentType(ResponseFacade.java:245) javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:123) After removing the extra ";" or entering a charset like this: <jsp:directive.page language="java" contentType="text/html; charset=UTF-8"/> it works as expected. My desired behaviour would be: Don't crash with a NPE. Other Tomcat versions seem to handly this different.
|
2013-08-20 09:30:09
| 1,377,010,000 |
resolved fixed
|
8b03dcf
| 1,377,010,000 |
java/org/apache/tomcat/util/http/parser/HttpParser.java test/org/apache/tomcat/util/http/parser/TestMediaType.java
|
Tomcat
|
63 | 55,442 |
Bug 55442 EL Constructor throws exception
|
In the EL 3.0 Spec, section 1.22.3 "Constructor Reference" states "A class name reference, followed by arguments in parenthesis, such as "Boolean(true)" denotes the invocation of the constructor of the class with the supplied arguments." This leads me to believe that the following test should work: @Test public void testImport03() { ELProcessor processor = new ELProcessor(); Object result = processor.getValue("Integer('1000')", Integer.class); Assert.assertEquals(Integer.valueOf(1000), result); } Unfortunately, this fails with the following error. javax.el.ELException: Function ':Integer' not found at org.apache.el.parser.AstFunction.getValue(AstFunction.java:136) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:188) at javax.el.ELProcessor.getValue(ELProcessor.java:45) at org.apache.el.parser.TestAstIdentifier.testImport03(TestAstIdentifier.java:53) ... Thanks
|
2013-08-17 13:39:06
| 1,376,760,000 |
resolved fixed
|
ab70f07
| 1,376,990,000 |
java/org/apache/el/parser/AstFunction.java test/org/apache/el/parser/TestAstFunction.java
|
Tomcat
|
64 | 55,438 |
Bug 55438 Non Blocking API's onAllDataRead being called twice
| null |
2013-08-16 18:51:10
| 1,376,690,000 |
resolved fixed
|
7f6ea48
| 1,376,920,000 |
java/org/apache/catalina/connector/InputBuffer.java java/org/apache/catalina/connector/Request.java java/org/apache/coyote/Request.java test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
|
Tomcat
|
65 | 55,434 |
Bug 55434 The path /foo/a/a/bar causes IllegalArgumentException when WsServerContainer creates UriTemplate
|
WsFilter calls WsServerContainer.findMapping("/foo/a/a/bar"), which in turn calls new UriTemplate(path). If the path contains repeated segments, it causes the following code in the UriTemplate constructor to throw an exception: Segment old = this.segments.put(segment, new Segment(index, segment)); if (old != null) { throw new IllegalArgumentException( sm.getString("uriTemplate.duplicateName", segment)); } This would be valid if the duplicates were URI variable names but not when their plain path segments.
|
2013-08-16 17:31:48
| 1,376,690,000 |
resolved fixed
|
98ee5b4
| 1,376,850,000 |
java/org/apache/tomcat/websocket/server/UriTemplate.java test/org/apache/tomcat/websocket/server/TestUriTemplate.java
|
Tomcat
|
66 | 55,354 |
Bug 55354 JNDIRealm.getPrincipal(context,username,gssCredential) corrupts realm context
|
The getPrincipal(context,username,gssCredential) method in JNDIRealm is designed to allow delegated credentials to be applied to the directory server connection as part of SPNEGO authentication. This is done by manipulation of a number of the directory context's environment parameters. However, as currently implemented, these environment parameters are forcibly cleared after the getUser() call regardless of whether the values were even changed (i.e. if isUseDelegatedCredential() returned false). If the container realm is defined to use GSSAPI authentication, only the first SPNEGO authentication request will succeed. All subsequent requests will fail with this exception: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0906DC, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db0 The exception is due to the Context.SECURITY_AUTHENTICATION being cleared by getPrincipal() - resulting in a attempted "simple" bind with no username/password (i.e. anonymous). A workaround is to ensure that the connectionName and connectionPassword parameters are specified in the realm definition - however, if one is using GSSAPI - this shouldn't be necessary and certainly defeats the purpose of using GSSAPI in the first place. The code should preserve pre-existing environment parameters in the context before changing them, then restore those values afterwards - rather than just clearing the settings completely.
|
2013-08-05 02:53:29
| 1,375,690,000 |
resolved fixed
|
135e2c4
| 1,376,600,000 |
java/org/apache/catalina/realm/JNDIRealm.java
|
Tomcat
|
67 | 55,357 |
Bug 55357 Cannot deserialize session when it contains Externalizable objects (using PersistentManager)
|
I'm using PersistentManager with JDBCStore to store sessions in my database. But in my webapplication, there is an object in my session which is an instance of org.apache.el.MethodExpressionImpl. This class implements the Externalizable interface but in this readExternal method it uses org.apache.el.util.ReflectionUtil.forName(String) which use Thread.currentThread().getContextClassLoader() as its ClassLoader. It seems to be incorrect because this method return a StandardClassLoader which cannot find my classes in WEB-INF/lib directory of my webapp. Is it the problem of the MethodExpressionImpl class which use this method or the JDBCStore which does not set the thread contextClassLoader as the WebappClassLoader ? Here is the stacktrace : SEVERE: Error processing request java.lang.IllegalStateException: Erreur lors de la deserialisation de la session 1634C328D27A31CB9FC4D52392FDB05F: {1} at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:713) at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:503) at org.apache.catalina.connector.Request.isRequestedSessionIdValid(Request.java:2391) at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:954) at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:688) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:402) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.ClassNotFoundException: javax.faces.event.ActionEvent at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:266) at org.apache.el.util.ReflectionUtil.forName(ReflectionUtil.java:62) at org.apache.el.util.ReflectionUtil.toTypeArray(ReflectionUtil.java:88) at org.apache.el.MethodExpressionImpl.readExternal(MethodExpressionImpl.java:290) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1835) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1794) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at com.sun.facelets.el.TagMethodExpression.readExternal(TagMethodExpression.java:101) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1835) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1794) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at java.util.ArrayList.readObject(ArrayList.java:733) at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at java.util.HashMap.readObject(HashMap.java:1155) at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at java.util.HashMap.readObject(HashMap.java:1155) at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:499) at org.ajax4jsf.application.AjaxStateHolder.readObject(AjaxStateHolder.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1891) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1595) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1060) at org.apache.catalina.session.JDBCStore.load(JDBCStore.java:657) at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:707) ... 11 more
|
2013-08-05 15:15:18
| 1,375,730,000 |
resolved fixed
|
e19e794
| 1,376,580,000 |
java/org/apache/catalina/session/FileStore.java java/org/apache/catalina/session/JDBCStore.java
|
Tomcat
|
68 | 55,400 |
Bug 55400 WsFilter not compatible with async sample applications
| null |
2013-08-10 20:20:50
| 1,376,180,000 |
resolved fixed
|
3490f73
| 1,376,480,000 |
java/org/apache/tomcat/websocket/server/WsServerContainer.java
|
Tomcat
|
69 | 55,404 |
Bug 55404 ContextConfig#validateSecurityRoles emits three info log messages which contain a warning
| null |
2013-08-12 13:09:52
| 1,376,330,000 |
resolved fixed
|
df02b95
| 1,376,320,000 |
java/org/apache/catalina/startup/ContextConfig.java
|
Tomcat
|
70 | 52,092 |
Bug 52092 Please make AsyncFileHandler and OneLineFormatter the default for logging.properties
|
Apache Tomcat 7 has created some very important enhancements to logging, and we should exploit them. Please make the org.apache.juli.AsyncFileHandler and org.apache.juli.OneLineFormatter the defaults for shipped conf/logging.properties. These enhancements have been vetted with over 20 releases of Apache Tomcat, let's give them some first class status.
|
2011-10-26 11:49:26
| 1,319,640,000 |
resolved fixed
|
7d0408e
| 1,375,910,000 |
java/org/apache/juli/FileHandler.java
|
Tomcat
|
71 | 55,345 |
Bug 55345 Webresources class AbstractResourceSet throws exception upon callong ServletContext.getRealPath("")
|
As described on user list: Tomcat 8, unlike Tomcat 7.0.42, throws IllegalArgumentException upon calling ServletContext.getRealPath(""). It seems that TC8 expects that argument provided to getRealPath is non-empty string. I believe that ServletContext.getRealPath should allow empty string as argument. -Ognjen Stack trace: [ERROR] java.lang.IllegalArgumentException java.lang.IllegalArgumentException at org.apache.catalina.webresources.AbstractResourceSet.checkPath(AbstractResourceSet.java:39) at org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceSet.java:91) at org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:176) at org.apache.catalina.webresources.CachedResource.validate(CachedResource.java:62) at org.apache.catalina.webresources.Cache.getResource(Cache.java:78) at org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:163) at org.apache.catalina.core.StandardContext.getRealPath(StandardContext.java:4528) at org.apache.catalina.core.ApplicationContext.getRealPath(ApplicationContext.java:398) at org.apache.catalina.core.ApplicationContextFacade.getRealPath(ApplicationContextFacade.java:335) at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:103) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1235) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1148) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1044) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5025) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1742) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)
|
2013-08-02 11:52:04
| 1,375,460,000 |
closed fixed
|
aa15bac
| 1,375,470,000 |
java/org/apache/catalina/core/StandardContext.java
|
Tomcat
|
72 | 55,333 |
Bug 55333 JDBCRealm Digest authentication Flow is not working throws Function sequence error
|
Issue: Digest authentication flow is not working Error Thrown : Function sequence error PackageName: org.apache.catalina.realm ClassName : JDBCRealm MethodName: String getPassword(String username) Snapshot from above mentioned method =================================== stmt = credentials(dbConnection, username); rs = stmt.executeQuery(); // Due to this connection commit, resultset is nullified dbConnection.commit(); // While executing this statement it throws Function sequence error if (rs.next()) { dbCredentials = rs.getString(1); } =================================== Above explanation has been validate by placing 7.0.41 catalina.jar where the above changes are not there due to fix of 55071 bug Below snapshot is the error observed while trying for Digest authentication ========================================================================== Jul 31, 2013 3:43:40 PM org.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication java.sql.SQLException: [TimesTen][TimesTen 11.2.2.5.0 ODBC Driver]Function sequence error at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3238) at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3387) at com.timesten.jdbc.JdbcOdbc.SQLFetch(JdbcOdbc.java:921) at com.timesten.jdbc.JdbcOdbcResultSet.next(JdbcOdbcResultSet.java:409) at org.apache.catalina.realm.JDBCRealm.getPassword(JDBCRealm.java:558) at org.apache.catalina.realm.RealmBase.getDigest(RealmBase.java:1189) at org.apache.catalina.realm.RealmBase.authenticate(RealmBase.java:409) at com.kodiak.digest.authentication.KnDigestAuthenticator$KnDigestInfo.authenticate(KnDigestAuthenticator.java:733) at com.kodiak.digest.authentication.KnDigestAuthenticator.authenticate(KnDigestAuthenticator.java:275) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:574) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Jul 31, 2013 3:43:40 PM org.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication java.sql.SQLException: [TimesTen][TimesTen 11.2.2.5.0 ODBC Driver]Function sequence error at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3238) at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3387) at com.timesten.jdbc.JdbcOdbc.SQLFetch(JdbcOdbc.java:921) at com.timesten.jdbc.JdbcOdbcResultSet.next(JdbcOdbcResultSet.java:409) at org.apache.catalina.realm.JDBCRealm.getPassword(JDBCRealm.java:558) at org.apache.catalina.realm.RealmBase.getDigest(RealmBase.java:1189) at org.apache.catalina.realm.RealmBase.authenticate(RealmBase.java:409) "localhost.2013-07-31.log" 50L, 3800C Cheers, Mahaaboob
|
2013-07-31 17:44:41
| 1,375,310,000 |
resolved fixed
|
6cd42af
| 1,375,350,000 |
java/org/apache/catalina/realm/JDBCRealm.java
|
Tomcat
|
73 | 55,316 |
Bug 55316 Ugly error log when WS client disconnects unexpectedly
|
When a WS browser client disconnects unexpectedly (e.g. in the SNake sample if the user just closes the browser or loads another page) you get ugle ERROR logs in the Tomcat server. E.g. 2013-07-27 12:04:34.424 ERROR 31847 --- [nio-8080-exec-7] org.apache.tomcat.websocket.WsSession : Failed to send close message to remote endpoint java.io.IOException: java.util.concurrent.ExecutionException: java.io.EOFException at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:221) at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:466) at org.apache.tomcat.websocket.WsSession.onClose(WsSession.java:430) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.close(WsHttpUpgradeHandler.java:172) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$200(WsHttpUpgradeHandler.java:45) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:198) at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:169) at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:95) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:630) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1585) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1543) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.util.concurrent.ExecutionException: java.io.EOFException at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$FutureToSendHandler.get(WsRemoteEndpointImplBase.java:779) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:217) ... 14 common frames omitted Caused by: java.io.EOFException: null at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doClose(WsRemoteEndpointImplServer.java:126) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.close(WsRemoteEndpointImplBase.java:531) at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:107) at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:71) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:353) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:254) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:211) ... 14 common frames omitted Presumably this is expected to be relatively normal, so I'd expect a lot less noise (and no ERROR) in the log?
|
2013-07-27 11:07:08
| 1,374,940,000 |
resolved fixed
|
d370084
| 1,375,280,000 |
java/org/apache/tomcat/websocket/WsSession.java
|
Tomcat
|
74 | 55,312 |
Bug 55312 No SCI scan in embedded Tomcat
|
I like the fact that SCI scanning is off by default in a Tomcat embedded instance, but I'd lik eto be able to switch it on. It might even be possible already, but the API is non-obvious. Maybe a method in Tomcat or associated friendly helper? Would also be nice in Tomcat 7.
|
2013-07-26 15:37:46
| 1,374,870,000 |
resolved fixed
|
7540e90
| 1,375,280,000 |
java/org/apache/tomcat/util/scan/StandardJarScanner.java
|
Tomcat
|
75 | 55,309 |
Bug 55309 Concurrent issue of TagPluginManager
| null |
2013-07-26 04:38:23
| 1,374,830,000 |
resolved fixed
|
11c05b7
| 1,375,130,000 |
java/org/apache/jasper/compiler/TagPluginManager.java
|
Tomcat
|
76 | 55,287 |
Bug 55287 ServletContainerInitializer in parent classloader may not be found
|
To include the JasperInitializer in the test environment I added an entry in testclasses/META-INF/services. This is not picked up when the parent classloader is searched because this path is a directory not a JAR file. It would be picked up if the "scanAllDirectories" extension was enabled but that should not be necessary if the search is to be semantically equivalent to j.u.ServiceLoader (which does locate it).
|
2013-07-21 20:44:47
| 1,374,450,000 |
resolved fixed
|
6e514c0
| 1,375,050,000 |
java/org/apache/catalina/startup/ContextConfig.java java/org/apache/catalina/startup/WebappServiceLoader.java test/org/apache/catalina/startup/TestWebappServiceLoader.java
|
Tomcat
|
77 | 55,267 |
Bug 55267 NIO thread locked
|
Did some load test and thread got stuck, see dump. Basically I just simulate 100 users that connect and disconnect.
|
2013-07-15 11:38:25
| 1,373,900,000 |
resolved fixed
|
11bf498
| 1,374,590,000 |
java/org/apache/coyote/ajp/AjpNioProcessor.java java/org/apache/coyote/http11/InternalNioOutputBuffer.java java/org/apache/coyote/http11/upgrade/NioServletOutputStream.java java/org/apache/tomcat/util/net/NioEndpoint.java
|
Tomcat
|
78 | 55,291 |
Bug 55291 Bug in WsServerContainer leading to NPE
| null |
2013-07-22 13:33:53
| 1,374,510,000 |
resolved fixed
|
ab6f21d
| 1,374,500,000 |
java/org/apache/tomcat/websocket/server/WsServerContainer.java
|
Tomcat
|
79 | 55,262 |
Bug 55262 Duplicate preludes and codas in same <jsp-property-group> are ignored
|
If a <jsp-property-group> contains multiple <include-prelude> elements that happen to refer to the same file only one include is performed. The same applies to codas. This happens because WebXml stores these in a LinkedHashSet rather than a List. When multiple <jsp-property-group>s are combined, JspConfig uses a Vector and so preserves duplicates as required by the JSP spec. I have a test case demonstrating this but before committing a fix I would like confirmation that WebXml's behaviour is incorrect.
|
2013-07-14 01:44:18
| 1,373,780,000 |
resolved fixed
|
85f611e
| 1,374,350,000 |
java/org/apache/tomcat/util/descriptor/web/JspPropertyGroup.java test/org/apache/jasper/compiler/TestCompiler.java test/org/apache/jasper/servlet/TestJspCServletContext.java test/org/apache/tomcat/util/descriptor/web/TestJspPropertyGroup.java
|
Tomcat
|
80 | 55,259 |
Bug 55259 Unnecessary work in JspConfig
|
JspProperty is the same for all url patterns in a group; the current code creates a new one each iteration
|
2013-07-13 04:34:34
| 1,373,700,000 |
resolved fixed
|
c6a45a6
| 1,373,750,000 |
java/org/apache/jasper/compiler/JspConfig.java
|
Tomcat
|
81 | 55,245 |
Bug 55245 Add test cases for JspC
|
The test suite should include tests for the JspC Ant task
|
2013-07-12 02:05:02
| 1,373,610,000 |
resolved fixed
|
c0c5017
| 1,373,620,000 |
test/org/apache/jasper/TestJspC.java
|
Tomcat
|
82 | 55,250 |
Bug 55250 JspC does not initialize tldLocationsCache resulting in NPE
|
Change in how ServletContext was created missed initialization of tldLocationsCache
|
2013-07-12 03:37:02
| 1,373,610,000 |
resolved fixed
|
186a782
| 1,373,620,000 |
java/org/apache/jasper/JspC.java
|
Tomcat
|
83 | 55,244 |
Bug 55244 JspC throws ClassNotFoundException from Digester
| null |
2013-07-12 02:01:45
| 1,373,610,000 |
resolved fixed
|
8d6537d
| 1,373,620,000 |
java/org/apache/jasper/servlet/JspCServletContext.java java/org/apache/tomcat/util/descriptor/web/WebXmlParser.java
|
Tomcat
|
84 | 55,240 |
Bug 55240 [websocket] SOE in NioEndpoint
| null |
2013-07-11 11:54:55
| 1,373,560,000 |
resolved fixed
|
68f6f6f
| 1,373,570,000 |
java/org/apache/coyote/http11/upgrade/AbstractProcessor.java java/org/apache/coyote/http11/upgrade/AprProcessor.java java/org/apache/coyote/http11/upgrade/BioProcessor.java java/org/apache/coyote/http11/upgrade/NioProcessor.java java/org/apache/tomcat/util/net/NioEndpoint.java
|
Tomcat
|
85 | 55,238 |
Bug 55238 [websocket] NPE in clearHandler(WsRemoteEndpointImplServer.java:156)
| null |
2013-07-11 08:11:07
| 1,373,540,000 |
resolved fixed
|
4758796
| 1,373,560,000 |
java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
|
Tomcat
|
86 | 55,228 |
Bug 55228 AbstractHttp11Processor overwrites Date header, even when set by application
| null |
2013-07-10 00:35:33
| 1,373,430,000 |
resolved fixed
|
95ee699
| 1,373,560,000 |
java/org/apache/coyote/http11/AbstractHttp11Processor.java
|
Tomcat
|
87 | 55,207 |
Bug 55207 In XML syntax, jsp:text does not error on sub-elements from other namespaces
| null |
2013-07-07 01:11:30
| 1,373,170,000 |
resolved fixed
|
6c54031
| 1,373,480,000 |
java/org/apache/jasper/compiler/JspDocumentParser.java
|
Tomcat
|
88 | 55,231 |
Bug 55231 NPE and incorrect version detection in JspC
|
JspC's JspConfig now reads version and jsp-config information from the ServletContext. It uses getMajorVersion() which returns the maximum version supported by the container. It should use getEffectiveVersion() to use the version of the web application. ServletContext.getJspConfigDescriptor() can return null if there is no <jsp-config> in the web.xml. JspConfig does not allow for this and will throw a NPE e.g. if there is no web.xml in the application.
|
2013-07-10 04:10:10
| 1,373,440,000 |
closed fixed
|
c8376e8
| 1,373,460,000 |
java/org/apache/jasper/compiler/JspConfig.java
|
Tomcat
|
89 | 55,218 |
Bug 55218 Upgrade Digester to be based on DefaultHandler2 and use LexicalHandler to detect publicId
|
Digester uses SAX2 features but is still based the SAX1 DefaultHandler. By upgrading to DefaultHandler2 it would be able to handle baseURIs when resolving entities and would have a default implementation of a LexicalHandler. Using LexicalHandler would allow it to respond directly to the startDTD event that reports the DOCTYPE (if present) so that it would not need to infer that from the first attempt to resolve an entity.
|
2013-07-09 07:27:23
| 1,373,370,000 |
closed fixed
|
aa7896b
| 1,373,360,000 |
java/org/apache/catalina/core/StandardContext.java java/org/apache/tomcat/util/descriptor/web/WebXml.java java/org/apache/tomcat/util/digester/Digester.java test/javax/servlet/resources/TestSchemaValidation.java test/org/apache/tomcat/util/descriptor/web/TestWebXml.java
|
Tomcat
|
90 | 55,217 |
Bug 55217 Common EntityResolver that can be used by Catalina and Jasper
|
Duplicate functionality exists in both SchemaResolver and ParserUtils.MyEntityResolver. There's also a basic version in Digester.
|
2013-07-09 07:09:00
| 1,373,370,000 |
closed fixed
|
5344de0
| 1,373,360,000 |
java/org/apache/tomcat/util/descriptor/LocalResolver.java java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java test/org/apache/tomcat/util/descriptor/TestLocalResolver.java
|
Tomcat
|
91 | 55,166 |
Bug 55166 schemaLocation references between servlet and jsp XSDs are invalid
|
The javax/servlet/resources package does not contain the JSP specification XSDs. These are referenced from the web-app or web-common xsds and define elements like <jsp-config>.
|
2013-06-30 20:03:24
| 1,372,640,000 |
resolved fixed
|
f554475
| 1,373,280,000 |
java/org/apache/catalina/startup/Constants.java
|
Tomcat
|
92 | 55,210 |
Bug 55210 SEVERE: The ServletContentInitializer [# Licensed to the Apache Software Foundation (ASF) under one or more] could not be created
| null |
2013-07-07 21:44:14
| 1,373,250,000 |
resolved fixed
|
b932ace
| 1,373,270,000 |
java/org/apache/catalina/startup/ContextConfig.java
|
Tomcat
|
93 | 55,200 |
Bug 55200 [websocket] Problem writing many subsequent binary messages
|
I see sometimes failing connections due to IOException (see below). This happens when trying to send thousands of binary messages (1024 bytes each) without any delay between the subsequent messages. Having look at the code in AsyncChannelWrapperSecure$WriteTask.run(219), I think it is not correct to assume that if not all of the bytes in the buffer are written, this shall produce IOException. I think in this case, there shall be an attempt to write the rest of the bytes in a cycle. Here one exception I got during the test: Exception is :java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Only wrote [460] of [1,098] bytes at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:204) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendBytes(WsRemoteEndpointImplBase.java:113) at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendBinary(WsRemoteEndpointBasic.java:43) at WebsocketsTestManager$TestThread.run(WebsocketsTestManager.java:271) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Only wrote [460] of [1,098] bytes at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$FutureToSendHandler.get(WsRemoteEndpointImplBase.java:729) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:202) ... 3 more Caused by: java.io.IOException: Only wrote [460] of [1,098] bytes at org.apache.tomcat.websocket.AsyncChannelWrapperSecure$WriteTask.run(AsyncChannelWrapperSecure.java:220) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:789)
|
2013-07-05 14:27:48
| 1,373,050,000 |
resolved fixed
|
00e4f3f
| 1,373,040,000 |
java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java
|
Tomcat
|
94 | 55,186 |
Bug 55186 useIPVHosts=true , incorrect to get Request.localName
| null |
2013-07-03 00:54:24
| 1,372,830,000 |
resolved fixed
|
2eb065f
| 1,373,030,000 |
java/org/apache/coyote/Request.java
|
Tomcat
|
95 | 55,184 |
Bug 55184 NPE in PojoMethodMapping getMessageHandler
| null |
2013-07-02 13:14:35
| 1,372,790,000 |
resolved fixed
|
a267dbf
| 1,372,780,000 |
java/org/apache/tomcat/websocket/pojo/PojoMethodMapping.java
|
Tomcat
|
96 | 55,183 |
Bug 55183 Missing WS Protocol Header in session negotiatedHeaders
| null |
2013-07-02 12:04:47
| 1,372,780,000 |
resolved fixed
|
a634d85
| 1,372,780,000 |
java/org/apache/tomcat/websocket/Constants.java java/org/apache/tomcat/websocket/WsWebSocketContainer.java test/org/apache/tomcat/websocket/TestWsSubprotocols.java
|
Tomcat
|
97 | 55,165 |
Bug 55165 subprotocols not available with annotated serverendpoint
| null |
2013-06-30 19:49:03
| 1,372,640,000 |
resolved fixed
|
b069c78
| 1,372,760,000 |
java/org/apache/tomcat/websocket/server/WsServerContainer.java
|
Tomcat
|
98 | 55,181 |
Bug 55181 Ping and Pong messages should have identical application data
| null |
2013-07-02 08:01:55
| 1,372,770,000 |
resolved fixed
|
19c0bd3
| 1,372,750,000 |
java/org/apache/tomcat/websocket/WsPongMessage.java test/org/apache/tomcat/websocket/TestWsPingPongMessages.java
|
Tomcat
|
99 | 55,180 |
Bug 55180 connectionTimeout="-1" causes timeout can't be negative
|
I configured server.xml like this: connectionTimeout="-1" disableUploadTimeout="false" connectionUploadTimeout="200" (maybe it is stupid to configure like this,if connectionTimeout=-1,can i make disableUploadTimeout=false?). It will cause : java.lang.IllegalArgumentException: timeout can't be negative at sun.nio.ch.SocketAdaptor.setSoTimeout(SocketAdaptor.java:361) at org.apache.coyote.http11.Http11NioProcessor.setSocketTimeout(Http11NioProcessor.java:251) ...... because of : if (!disableUploadTimeout) { //endpoint.getSoTimeout()=-1. setSocketTimeout(endpoint.getSoTimeout()); } ~~~~~~~~~~~~~~~~~~~~~~~~~ another thing: if i configure connectionTimeout="0". in NioBlockingSelector.read(ByteBuffer buf, NioChannel socket, long readTimeout),readTimeout = 0, in case socket.read(buf) == 0, it make timeout=true. if (readTimeout >= 0 && (keycount == 0)) timedout = (System.currentTimeMillis() - time) >= readTimeout; then throw the SocketTimeoutException(). thank you.
|
2013-07-02 00:01:40
| 1,372,740,000 |
resolved fixed
|
4da2de0
| 1,372,750,000 |
java/org/apache/coyote/http11/AbstractHttp11Processor.java
|
Tomcat
|
100 | 55,174 |
Bug 55174 [jsr 356][websocket] MessageHandler never gets notified again after it throws exception
|
I have a test which adds a MessageHandler which gets notified on text messages. If its implementation method onMessage(String text) throws some exception (e.g. runtime exception), this MessageHandler will never ever be notified again for any new text messages received by the session. I suppose this happens because the exception actually kills the underlying thread in which the notification has happened. I think the client side implementation shall be more robust and expect and be prepared for exceptions coming from calls to user code.
|
2013-07-01 12:14:30
| 1,372,700,000 |
resolved fixed
|
ddd73d0
| 1,372,720,000 |
java/org/apache/tomcat/websocket/WsFrameBase.java
|
Tomcat
|
101 | 55,179 |
Bug 55179 Incorrect Parameter Name in RemoteIpValve Examples
| null |
2013-07-01 20:54:45
| 1,372,730,000 |
resolved fixed
|
21f0a5c
| 1,372,710,000 |
java/org/apache/catalina/valves/RemoteIpValve.java
|
Tomcat
|
102 | 55,177 |
Bug 55177 connectionTimeout=-1 causes high CPU
| null |
2013-07-01 19:49:21
| 1,372,720,000 |
resolved fixed
|
df6cee7
| 1,372,710,000 |
java/org/apache/coyote/http11/Http11Processor.java
|
Tomcat
|
103 | 53,777 |
Bug 53777 Ability to bundle JAAS Configuration in Webappp
| null |
2012-08-24 13:50:52
| 1,345,830,000 |
resolved fixed
|
6871d4c
| 1,372,690,000 |
java/org/apache/catalina/realm/JAASRealm.java
|
Tomcat
|
104 | 55,160 |
Bug 55160 NIO connectionUploadTimeout can't work
|
when i configure disableUploadTimeout="false" and connectionTimeout="20000" ,connectionUploadTimeout="30000" . I found the connectionUploadTimeout doesn't work, because the code in internalNioInputBuffer.readSocket(): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ try { NioEndpoint.KeyAttachment att = (NioEndpoint.KeyAttachment)socket.getAttachment(false); if ( att == null ) throw new IOException("Key must be cancelled."); nRead = pool.read(socket.getBufHandler().getReadBuffer(),socket,selector,att.getTimeout()); } catch ( EOFException eof ) { nRead = -1; } finally { if ( selector != null ) pool.put(selector); } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ att.getTimeout() is the connectionTimeout ,not the connectionUploadTimeout. so , in NioBlockingSelector.read(), the readTimeout is connectionTimeout
|
2013-06-29 21:35:09
| 1,372,560,000 |
resolved fixed
|
9a01f2d
| 1,372,690,000 |
java/org/apache/coyote/http11/InternalNioInputBuffer.java
|
Tomcat
|
105 | 55,158 |
Bug 55158 Wasted work in AttributeNamesEnumerator constructor
| null |
2013-06-29 18:55:30
| 1,372,550,000 |
resolved fixed
|
ca956bd
| 1,372,680,000 |
java/org/apache/catalina/core/ApplicationHttpRequest.java
|
Tomcat
|
106 | 55,159 |
Bug 55159 Wasted work in ErrorReportValve.getPartialServletStackTrace
| null |
2013-06-29 19:12:03
| 1,372,550,000 |
resolved fixed
|
b7cad6b
| 1,372,680,000 |
java/org/apache/catalina/valves/ErrorReportValve.java
|
Tomcat
|
107 | 55,017 |
Bug 55017 Ability to configure RMI bind address
| null |
2013-05-24 14:50:10
| 1,369,420,000 |
resolved fixed
|
45f59bb
| 1,372,670,000 |
java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
|
Tomcat
|
108 | 55,151 |
Bug 55151 Fix in MsgByte encoder and decoder TestEncodingDecoding websocket test
| null |
2013-06-27 18:00:57
| 1,372,370,000 |
resolved fixed
|
d71136a
| 1,372,360,000 |
test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java
|
Tomcat
|
109 | 55,102 |
Bug 55102 Add ability to report time taken to prepare response
| null |
2013-06-15 17:09:47
| 1,371,330,000 |
closed fixed
|
7aea9cb
| 1,372,020,000 |
java/org/apache/catalina/valves/AccessLogValve.java java/org/apache/coyote/Response.java
|
Tomcat
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.