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
1,010
41,752
Bug 41752 Wrong message on exception in MemoryRealm
When Digester read tomcat-user.xml file and exception is throw, then is created new LifecycleException. As first parameter of this Exception is message string. This string is hardcoded to "memoryRealm.readXml", so I thing that log message will be wrong too! I think that there must be used StringManager. actual implemen...
2007-03-02 16:28:19
1,172,870,000
resolved fixed
e33b67a
1,172,940,000
java/org/apache/catalina/realm/MemoryRealm.java
Tomcat
1,011
41,666
Bug 41666 If-Unmodified-Since failure
The If-Unmodified-Since header doesn't work enoughly. failed case: The If-Unmodified-Since header value: 1000000(milliseconds) The lastModified value of target resource: 1001000(milliseconds) In this case, the response's status code should be SC_PRECONDITION_FAILED, but the result is not so. caused by: In DefaultServle...
2007-02-21 01:44:28
1,172,040,000
resolved fixed
9ac3428
1,172,940,000
java/org/apache/catalina/servlets/DefaultServlet.java
Tomcat
1,012
41,739
Bug 41739 The servlet with the value 0 in <load-on-startup> tag must be loaded at first.
Servlet 2.4 specification says: --- If the value is a positive integer or 0, the container must load and initialize the servlet as the application is deployed. The container must guarantee that servlets marked with lower integers are loaded before servlets marked with higher integers. --- I think the servlet with value...
2007-03-01 06:09:41
1,172,750,000
resolved fixed
01d38a5
1,172,800,000
java/org/apache/catalina/core/StandardContext.java
Tomcat
1,013
41,608
Bug 41608 The log level is different at same messages.
I suggest a little message improvement. The log level is different at same messages. The message "Servlet.service() for servlet {0} threw exception" is output in eight places, but the message level is not same. --org.apache.catalina.core.ApplicationDispatcher#invoke ... wrapper.getLogger().error(sm.getString("applicati...
2007-02-13 21:45:29
1,171,420,000
resolved fixed
8ba8334
1,171,600,000
java/org/apache/catalina/core/StandardWrapperValve.java
Tomcat
1,014
41,578
Bug 41578 Avoid SimplePool.get/put synchronization in JspFactoryImpl
Only 1 instance of the JspFactory object (JspFactoryImpl) is created. Consequently there is a single SimplePool of PageContext objects for all JSP requests and so every JSP request must synchronize on the lock inside SimplePool when getting and releasing a PageContext instance. Moreover, the pool has a fixed capacity a...
2007-02-09 00:00:43
1,171,000,000
resolved fixed
4612c8a
1,171,070,000
java/org/apache/jasper/runtime/JspFactoryImpl.java
Tomcat
1,015
41,558
Bug 41558 Unnecessary synchronization caused by JspFactory.getDefaultFactory while servicing JSPs
Tomcat version: 6.0.x trunk Every generated JSP has try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html"); in its _jspService method. The use of JspFactory.getDefaultFactory during request processing should be avoided as it is a *static synchronized* method. I have a diff that addres...
2007-02-07 06:03:18
1,170,850,000
resolved fixed
1a8c492
1,170,890,000
java/org/apache/jasper/compiler/Generator.java java/org/apache/jasper/compiler/JspRuntimeContext.java java/org/apache/jasper/runtime/HttpJspBase.java
Tomcat
1,016
41,521
Bug 41521 filter-mapping doesn't support * for servlet-name
SRV 6.2.5 of the servlet 2.5 spec introduces support for '*' as the servlet-name in a filter-mapping. TC6 does not currently support that value as specified. I will attach a patch shortly.
2007-02-01 14:18:55
1,170,360,000
resolved fixed
8b0d130
1,170,890,000
java/org/apache/catalina/core/ApplicationFilterFactory.java java/org/apache/catalina/deploy/FilterMap.java
Tomcat
1,017
41,466
Bug 41466 NIO Connector: IllegalArgumentException: You can only write using the application write buffer provided by the handler
Trying to use NIO connector instead of APR connector using Tomcat6 HEAD, I get an IllegalArgumentException while in a call to sendAck. Looking at InternalNioOutputBuffer.sendAck(), it uses ByteBuffer.wrap() to create a new ByteBuffer and uses this ByteBuffer in a call to writeToSocket. There is a check in SecureNioChan...
2007-01-25 09:12:11
1,169,730,000
resolved fixed
fce171f
1,170,020,000
java/org/apache/tomcat/util/net/NioSelectorPool.java
Tomcat
1,018
39,572
Bug 39572 fixes to use CompressionFilter in WebSphere app server
There are a couple of small bugs in the compression filter classes that are triggered by using the filter in WebSphere 5.1 or 6. Here are patches. - CompressionResponseStream should not compress the output stream if the response has been committed (because then it cannot write the Content-Encoding: gzip header, and the...
2006-05-12 22:28:57
1,147,490,000
resolved fixed
f06d41f
1,169,940,000
webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
Tomcat
1,019
41,265
Bug 41265 JspServlet's checkInterval parameter cannot be set to 0 implicitly
conf\web.xml's JspServlet init parameters include 'checkInterval', whose value is explained as follows: If development is false and checkInterval is greater than zero, background compilations are enabled. If I add the following parameters one would think the background compilations would be disabled (the value is not g...
2006-12-30 02:34:23
1,167,460,000
resolved fixed
39fe247
1,169,940,000
java/org/apache/jasper/EmbeddedServletOptions.java
Tomcat
1,020
40,524
Bug 40524 request.getAuthType() returns different string from HttpServletRequest.CLIENT_CERT_AUTH
using inspect: request.getAuthType() (java.lang.String) CLIENT-CERT HttpServletRequest.CLIENT_CERT_AUTH (java.lang.String) CLIENT_CERT api says they should be the same object (== should work)
2006-09-16 01:49:08
1,158,390,000
resolved fixed
dc33554
1,169,930,000
java/org/apache/catalina/authenticator/Constants.java java/org/apache/catalina/authenticator/SSLAuthenticator.java java/org/apache/catalina/authenticator/SingleSignOn.java java/org/apache/catalina/authenticator/SingleSignOnEntry.java
Tomcat
1,021
41,217
Bug 41217 SingleSignOn Cookie does not honor https access: Login Information Disclosure
When using the SingleSignOn Valve (org.apache.catalina.authenticator.SingleSignOn) via https the Cookie JSESSIONIDSSO is transmitted without the "secure" attribute, resulting in it being transmitted to any content that is - by purpose or error - requested via http from the same server. As the content of the SSO-Cookie ...
2006-12-20 05:13:27
1,166,610,000
resolved fixed
11b9c92
1,169,930,000
java/org/apache/catalina/authenticator/AuthenticatorBase.java
Tomcat
1,022
41,327
Bug 41327 Jasper does'nt display the full path of the file in a 404 Not found error page
null
2007-01-09 00:32:55
1,168,320,000
resolved fixed
3a6225a
1,169,930,000
java/org/apache/jasper/servlet/JspServlet.java
Tomcat
1,023
40,820
Bug 40820 Default JSP factory not initialized early enough
With the latest TC6 code, I'm seeing a problem that did not exist on earlier TC6 drivers. Sorry that I can't put a finger on when this problem arose. I looked into relevant source files (like JspRuntimeContext) but haven't found the source of the problem. Here's the issue (a testcase will be attached). The app is very ...
2006-10-26 07:52:03
1,161,860,000
resolved fixed
a1b1bed
1,167,780,000
java/org/apache/catalina/core/JasperListener.java
Tomcat
1,024
41,074
Bug 41074 Output of tag "jsp:plugin" is not conform to XHTML.
The jsp comiler outputs all tag required for an object in upper case letters. To be conform with XHTML lower case is required, but all tags are hard coded in the generator.
2006-11-29 05:35:54
1,164,800,000
resolved fixed
5f9c18d
1,165,550,000
java/org/apache/jasper/compiler/Generator.java
Tomcat
1,025
40,585
Bug 40585 org.apache.juli.FileHandler does not allow programmatic creation using parametrized constructor
If org.apache.juli.FileHandler is created programmatically with parametrized constructor public FileHandler(String directory, String prefix, String suffix) , FileHandler ignores custom constructor parameters, creates log handler with default configuration and writes log file to "${catalina_home}/bin/logs" with the name...
2006-09-22 18:06:20
1,158,960,000
resolved fixed
c6b3f71
1,165,540,000
java/org/apache/juli/FileHandler.java
Tomcat
1,026
41,089
Bug 41089 JspFactoryImpl has SPEC_VERSION = "2.0"
org.apache.jasper.runtime.JspFactoryImpl has private static final String SPEC_VERSION = "2.0"; Should be: private static final String SPEC_VERSION = "2.1";
2006-11-30 10:12:31
1,164,900,000
resolved fixed
514256e
1,164,980,000
java/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java java/org/apache/jasper/compiler/PageDataImpl.java java/org/apache/jasper/compiler/Validator.java
Tomcat
1,027
41,057
Bug 41057 Tomcat leaks memory on every request
null
2006-11-28 10:07:27
1,164,730,000
resolved fixed
de5c3b7
1,164,760,000
java/org/apache/tomcat/util/buf/StringCache.java
Tomcat
1,028
41,008
Bug 41008 POST request ignores command line parameters
example: <form method="POST" action="test.exe?test1"><input type="hidden" value="test2"><input type="submit"></form> this code does invoke the test.exe without passing the test1 command line parameter the example works in apache httpd and ms iis fix: CGIServlet.java if (!"GET".equals(req.getMethod()) && !"POST".equals(...
2006-11-21 09:20:32
1,164,120,000
resolved fixed
b70962f
1,164,410,000
java/org/apache/catalina/servlets/CGIServlet.java
Tomcat
1,029
40,901
Bug 40901 listings page does not escape XML characters
On Solaris you can have a file or directory name called "<b>xxx" or "<i>yyy". Using Tomcat's listings feature, you get a directory listing with the file name in bold or italics. I am not familiar with Javascript or cross-site scripting security problems, but I believe Tomcat escapes XML characters like ">" and "<" to p...
2006-11-05 20:38:27
1,162,780,000
resolved fixed
cb2c655
1,163,980,000
java/org/apache/catalina/servlets/DefaultServlet.java
Tomcat
1,030
40,929
Bug 40929 Misleading comments in StandardClassLoader
Sometime during the Tomcat 5 development, the StandardClassLoader in org.apache.catalina.loader package was stripped down, and is now just a URLClassLoader. I work with code that extends the StandardClassLoader (we use the automatic reloading of jar files), and during an upgrade from tomcat 4 to tomcat 5.5 found diffic...
2006-11-08 14:23:40
1,163,010,000
resolved fixed
6009702
1,163,980,000
java/org/apache/catalina/loader/StandardClassLoader.java
Tomcat
1,031
40,860
Bug 40860 Tomcat loses request parameters
null
2006-11-01 04:29:15
1,162,370,000
resolved fixed
e713e77
1,163,980,000
java/org/apache/catalina/connector/Request.java java/org/apache/tomcat/util/http/Parameters.java
Tomcat
1,032
37,509
Bug 37509 ClassLoaderLogManager remove '\n' at the end of logging.properties values
The method ClassLoaderLogManager.replace(String) that is in charge of replacing system properties at the begining of the property also modify the end of the property due to a call to trim. This implies that Logger/Handler/Formatter that relies on properties endding with some spases (including '\n') will have a differen...
2005-11-15 18:22:38
1,132,100,000
resolved fixed
a6d6962
1,163,980,000
java/org/apache/juli/ClassLoaderLogManager.java
Tomcat
1,033
40,844
Bug 40844 JDBCRealm.getPassword throws NullPointerException
JDBCRealm.getPassword throws NullPointerException I'm using tomcat 5.5.20 with postgresql-8.1-407.jdbc3.jar and postgresql-8.1.4 on Ubuntu Dapper. Authenticating two users simultaneously with HTTP DIGEST causes sometimes the following errors and a 401 Unauthorized reply: 30.10.2006 14:24:54 org.apache.catalina.realm.JD...
2006-10-30 06:25:52
1,162,210,000
resolved fixed
be9d523
1,163,980,000
java/org/apache/catalina/realm/JDBCRealm.java
Tomcat
1,034
40,913
Bug 40913 JasperException raised against valid attribute
In org.apache.jasper.compiler.Validator.checkXmlAttributes(), the validation for deferred values and methods is raising an exception when an rtexprvalue attribute is legitimate. ------Stacktrace------ org.apache.jasper.JasperException: org.apache.jasper.JasperException: /index.jsp(83,0) According to TLD or attribute di...
2006-11-06 16:24:05
1,162,850,000
resolved fixed
f7ca96d
1,162,900,000
java/org/apache/jasper/compiler/Validator.java
Tomcat
1,035
34,956
Bug 34956 Tomcat should enforce the requirements from servlet 2.4 specification SRV.8.2
Tomcat should enforce the requirements from servlet 2.4 specification SRV.8.2 SRV.8.2 Using a Request Dispatcher "To use a request dispatcher, a servlet calls either the include method or forward method of the RequestDispatcher interface. The parameters to these methods can be either the request and response arguments ...
2005-05-18 14:47:47
1,116,440,000
resolved fixed
22d1ad7
1,162,680,000
java/org/apache/catalina/core/ApplicationDispatcher.java java/org/apache/catalina/core/ApplicationFilterChain.java
Tomcat
1,036
40,817
Bug 40817 servlet-cgi throws index out of bounds exception on certain cgi
First, servlets-cgi.jar needs to exist and the servlet must be mapped: for example: <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>*.pl</url-pattern> </servlet-mapping> Test perl cgi script: #!/usr/bin/perl print "Content-type: text/plain", "\n\n"; print "Hello world, from Perl\n"; One perl script is p...
2006-10-25 20:02:52
1,161,820,000
resolved fixed
6d274b4
1,162,680,000
java/org/apache/catalina/servlets/CGIServlet.java
Tomcat
1,037
37,458
Bug 37458 Datarace on org.apache.catalina.loader.WebappClassLoader
In findClassInternal, it is possible that entry.manifest is set to null by another thread right before calling definePackage(packageName, entry.manifest, entry.codeBase).
2005-11-10 21:34:17
1,131,680,000
resolved fixed
79631bb
1,162,680,000
java/org/apache/catalina/loader/WebappClassLoader.java
Tomcat
1,038
40,723
Bug 40723 Wrong and misleading documentation in JDBCAccessLogValve
In the class JDBCAccessLogValve is an example for an table to hold access log values. In this table is a column ts which is defined as not null. This will only work on MySQL, because this value is never written by the Valve and other databases will complain about a column which is not filled with a value.
2006-10-11 02:50:26
1,160,550,000
resolved fixed
9cb5aff
1,161,140,000
java/org/apache/catalina/valves/JDBCAccessLogValve.java
Tomcat
1,039
40,771
Bug 40771 Can't read POST data from within a filter or valve
I was attempting to create a Filter or Valve that could be placed in front of an Axis web service that would handle security according to the WS-Security specification. That turned out to be a rabbit trail, but I did find and fix a bug that I discovered along the way. I ran into problems reading POST data (the web serv...
2006-10-16 16:08:36
1,161,030,000
resolved fixed
17eecdb
1,161,140,000
java/org/apache/coyote/http11/filters/SavedRequestInputFilter.java
Tomcat
1,040
39,724
Bug 39724 Bug on StandardPipeline.removeValve(Valve valve) for T5.5.16+
I run into this problem with T5 when tring to add/remove/add a valve to the standard engine. -For what I understand an empty pipeline has: basic = StandardEngineValve (For example); first = null; -If you add a valve you will get basic = StandardEngineValve first = myValve (with myValve.next = StandardEngineValve) -If y...
2006-06-05 14:01:56
1,149,530,000
resolved fixed
b18c29e
1,159,840,000
java/org/apache/catalina/core/StandardPipeline.java
Tomcat
1,041
29,727
Bug 29727 JNDI env-entry not reload when context reloaded
If environment entries are changed in web.xml, and the application context is restarted, the values in the JNDI context are the old values. If the environment entries are changed via the Tomcat 'admin' interface, then the values provided to the context are correct. The following code is can be used to check the environ...
2004-06-21 22:56:25
1,087,870,000
resolved fixed
1a5e6e7
1,159,750,000
java/org/apache/catalina/deploy/NamingResources.java
Tomcat
1,042
40,625
Bug 40625 CGIServlet eats root cause
The code below doesn't make sense: <snip> catch (IOException e){ log ("Caught exception " + e); throw new IOException (e.toString()); } </snip> It should be "throw e;". IMHO, It seems no need to log this exception here, so the cache block can be removed.
2006-09-28 05:16:58
1,159,440,000
resolved fixed
bbb8fe1
1,159,570,000
java/org/apache/catalina/servlets/CGIServlet.java
Tomcat
1,043
40,518
Bug 40518 The message key "requestListenerValve.requestInit" has not be referred to correctly.
The bug is: An illegal message is output to the log when the listener application that implements ServletRequestListener interface throws RuntimeException from the requestInitialized method or the requestDestroyed method. message: "Cannot find message associated with key requestListenerValve.requestInit" cause: The key...
2006-09-15 09:13:40
1,158,330,000
resolved fixed
fda223a
1,158,810,000
java/org/apache/catalina/core/StandardContextValve.java
Tomcat
1,044
34,399
Bug 34399 Undeploying fails when context defined in server.xml & server fails to stop
Steps to reproduce: 1. autodeploy a web application by defining its context in server.xml 2. start the Tomcat server 3. use the Tomcat Manager to undeploy the application You will get the "OK - Undeployed application at context path /WebApplication" message, but the application will NOT be undeployed, it will be only s...
2005-04-11 16:32:42
1,113,250,000
resolved fixed
9dd8a23
1,158,810,000
java/org/apache/catalina/manager/HTMLManagerServlet.java java/org/apache/catalina/manager/ManagerServlet.java java/org/apache/catalina/startup/HostConfig.java
Tomcat
1,045
34,509
Bug 34509 tag names that are xml:Name but not java identifier are not accepted
According to the JSP 2.0 specification, custom tag prefix and name should be of the type XML:Name. However, for Tomcat 5.5.8, if the name is not a legal java identifier, then a compilation error occurs. For instance, Tomcat won't accept Da~te`T#ag as a legal name for the Tag.
2005-04-19 00:45:34
1,113,890,000
resolved fixed
823101d
1,158,370,000
java/org/apache/jasper/compiler/Generator.java
Tomcat
1,046
33,356
Bug 33356 Incorrect parsing of tag attributes
I get a org.apache.jasper.JasperException: with the error: "The function string must be used with a prefix when a default namespace is not specified" when trying to compile the following within a JSP page: <foo:set var="bar" value="this $ is a { silly string ("/> "foo" is our own tablib, it seems that Jasper seems to t...
2005-02-02 14:55:18
1,107,370,000
resolved fixed
b55e9c2
1,157,860,000
java/org/apache/jasper/compiler/ELParser.java
Tomcat
1,047
31,804
Bug 31804 setParent() is not called on nested tags in a tag file (.tagx)
null
2004-10-20 16:26:40
1,098,300,000
resolved fixed
2d6d717
1,157,840,000
java/org/apache/jasper/compiler/Generator.java
Tomcat
1,048
38,713
Bug 38713 java.io.IOException: tmpFile.renameTo(classFile) failed when compiling new JSP (upon redeploy)
[http-8080-Processor24 ERROR 26902165 DispatcherServlet.serviceWrapper()] - Could not complete request org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWr...
2006-02-20 08:08:04
1,140,440,000
resolved fixed
c7f0f60
1,157,190,000
java/org/apache/jasper/JspCompilationContext.java java/org/apache/jasper/compiler/Compiler.java java/org/apache/jasper/servlet/JspServletWrapper.java
Tomcat
1,049
40,306
Bug 40306 mod_jk, POST request bodies are not restored on successful login when using mod_jk
After the FormAuthenticator intercepts a POST request to a protected resource, the original request is not properly restored upon successful login when using mod_jk. When connectiong to tomcat directly (8080), the POST request is restored as expected. I've tested this with mod_jk 1.2.15 and 1.2.18. It seems the problem...
2006-08-23 19:48:03
1,156,380,000
resolved fixed
a91b95e
1,156,740,000
java/org/apache/coyote/ajp/AjpAprProcessor.java java/org/apache/jk/core/MsgContext.java
Tomcat
1,050
38,676
Bug 38676 permanently reloading tagfile classes without changes to the tagfile
Scenario: - jsp with a tag in it (tagfile, no taglib) - activate "reloading" in web.xml - clean work directory - start tomcat - load jsp Tomcat generates/compiles/load the jsp and the tagfile classes. After "checkInterval" seconds the background compile thread "JspRuntimeContext[\*]" loads the tagfile classes (and only...
2006-02-16 11:48:57
1,140,110,000
resolved fixed
edc20fa
1,155,910,000
java/org/apache/el/lang/ELSupport.java java/org/apache/jasper/servlet/JspServletWrapper.java
Tomcat
1,051
39,592
Bug 39592 SSI does not correctly process HEAD request
Hello, I think there is a small bug in Tomcat 5.0 and 5.5 (at least I could see it already with many versions of Tomcat). I use SSI org.apache.catalina.ssi.SSIServlet and <param-name>isVirtualWebappRelative</param-name> <param-value>1</param-value> All my pages (*.html) are processed by the SSI <url-pattern>*.html</url...
2006-05-16 17:40:47
1,147,820,000
resolved fixed
0f9844c
1,153,960,000
java/org/apache/catalina/ssi/SSIServletExternalResolver.java
Tomcat
1,052
39,689
Bug 39689 Tomcat Server Side Includes (SSI) do not work with single quotes
null
2006-05-31 07:46:22
1,149,080,000
resolved fixed
8ed77be
1,153,600,000
java/org/apache/catalina/ssi/SSIProcessor.java
Tomcat
1,053
34,801
Bug 34801 PATCH: CGIServlet does not terminate child after a timeout
null
2005-05-08 06:47:30
1,115,550,000
resolved fixed
c30afec
1,153,530,000
java/org/apache/catalina/servlets/CGIServlet.java
Tomcat
1,054
40,012
Bug 40012 Legacy EL Support not resolving variables correctly
Given the following page: <% pageContext.setAttribute("t", "foo"); %> ${t} <% out.print( pageContext.getExpressionEvaluator().evaluate( "${t}", String.class, pageContext.getVariableResolver(), null)); %> You will notice that the ${t} prints out fine when in the JSP but does not resolve using the scriplet and prints not...
2006-07-11 13:00:29
1,152,640,000
resolved fixed
01a9b59
1,152,640,000
java/org/apache/jasper/el/VariableResolverImpl.java
Tomcat
1,055
39,769
Bug 39769 Wrong class loader when the myServlet.destroy() called if myServlet is in the T5 shared directory
Hi all, My web app needs to have Thread.currentThread().getContextClassLoader() always right. When the application is unload it seem not be the case. My classes are under the T5's shared directory (so all my servlet.getClass().getClassLoader() == the shared classloader i.e.: StandardCalssLoader. My understanding is tha...
2006-06-09 20:09:27
1,149,900,000
resolved fixed
276e5ac
1,150,060,000
java/org/apache/catalina/core/StandardWrapper.java
Tomcat
1,056
39,699
Bug 39699 simple deploy failed in cluster (distributable flag)
Hi, i encounter a strange problem with my tomcat cluster and webapps deployment. server.xml -------------------------------- <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listen...
2006-06-01 16:28:04
1,149,190,000
resolved fixed
7b870a4
1,149,780,000
java/org/apache/catalina/core/StandardContext.java
Tomcat