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
910
43,327
Bug 43327 Socket bind fails on tomcat startup when using apr
I'm running debian sid, kernel 2.6.22 and use tomcat 6.0.14 together with apr 1.2.11. no special tomcat configuration (out of the box). On start up of tomcat I get the following error log: Debugging apr revealed a problem with IPV6: apr_socket_create() assigns a AF_INET6 socket, apr_socket_bind tries to bind a AF_INET ...
2007-09-07 07:22:31
1,189,160,000
resolved fixed
fea7658
1,219,330,000
java/org/apache/tomcat/util/net/AprEndpoint.java
Tomcat
911
45,655
Bug 45655 check permisson
null
2008-08-19 14:13:35
1,219,170,000
resolved fixed
b266836
1,219,280,000
java/org/apache/juli/ClassLoaderLogManager.java
Tomcat
912
45,608
Bug 45608 Race conditions on field countAllocated of class org.apache.catalina.core.StandardWrapper
We found field countAllocated are accessed by allocate() and deallocate() without any protections by locks. Here is a trace log, Thread http-8081-1 id: 23 : READ [org.apache.catalina.core.StandardWrapper : allocate : 820] [org.apache.catalina.core.StandardWrapperValve : invoke : 129] [org.apache.catalina.core.StandardC...
2008-08-10 21:27:37
1,218,420,000
resolved fixed
816ecb8
1,218,550,000
java/org/apache/catalina/core/StandardWrapper.java
Tomcat
913
41,407
Bug 41407 CLIENT-CERT Authentication with JAASRealm not working
I tried to config my webapp to authenticate user by CLIENT-CERT auth method. I verified my JAAS LoginModule by using "BASIC" to auth method and successfully authenticated user login. After studying Tomcat 5.5.20 source, I found that the problem is caused by the RealmBase.java and JAASRealm.java. if CLIENT-CERT auth met...
2007-01-18 18:33:49
1,169,160,000
resolved fixed
6d78232
1,218,290,000
java/org/apache/catalina/realm/JAASCallbackHandler.java java/org/apache/catalina/realm/JAASMemoryLoginModule.java java/org/apache/catalina/realm/JAASRealm.java
Tomcat
914
45,576
Bug 45576 JAASRealm not working with DigestAuthenticator
null
2008-08-06 02:12:34
1,218,000,000
resolved fixed
c984c6a
1,218,280,000
java/org/apache/catalina/realm/JAASCallbackHandler.java java/org/apache/catalina/realm/JAASMemoryLoginModule.java java/org/apache/catalina/realm/JAASRealm.java
Tomcat
915
45,591
Bug 45591 NullPointerException during shutdown in JKMain.pause()
On startup, if Tomcat discovers that the main port is already bound to another process, it fails and tries to execute the shutdown code. In some situations (I'm not sure which), the org.apache.jk.server.JKMain instance variable wEnv is null at this point, which causes a NullPointerException when JKMain.pause() is calle...
2008-08-07 12:35:38
1,218,130,000
resolved fixed
38a62a6
1,218,210,000
java/org/apache/jk/server/JkMain.java
Tomcat
916
45,453
Bug 45453 JDBCRealm.getRoles bad synchronization causes hangs w/ DIGEST authentication
JDBCRealm.getRoles bad synchronization causes hangs w/ DIGEST authentication JDBCRealm caches PreparedStatement preparedRoles. That, and missing synchronization in JDBCRealm and/or DigestAuthenticator allow two threads to call getRoles simultaneously so that T1 will do stmt.executeQuery() while T2 does stmt.setString(1...
2008-07-22 02:25:02
1,216,710,000
resolved fixed
9d3cad7
1,217,340,000
java/org/apache/catalina/realm/JDBCRealm.java
Tomcat
917
45,459
Bug 45459 Startup Listener error message unhelpful
null
2008-07-22 08:44:55
1,216,730,000
resolved wontfix
4cab5f3
1,217,340,000
java/org/apache/catalina/core/StandardContext.java
Tomcat
918
42,727
Bug 42727 CoyoteReader readLine returns null for some post request bodies that are a multiple of MAX_LINE_LENGTH in size
null
2007-06-23 06:29:58
1,182,590,000
resolved fixed
92f847d
1,216,330,000
java/org/apache/catalina/connector/CoyoteReader.java
Tomcat
919
42,722
Bug 42722 Potential NullPointerException in org.apache.catalina.servlets.CGIServlet
null
2007-06-22 05:21:27
1,182,500,000
resolved fixed
d41f610
1,215,720,000
java/org/apache/catalina/servlets/CGIServlet.java
Tomcat
920
42,678
Bug 42678 docBase ignored even if its not a subdir of appBase
I use latest 6.0 SVN snapshot. I store deployable WARs in "webapps-dist" (aside "webapps"). This is my setup: bash-3.2$ ls $CATALINA_BASE conf logs temp tomcat-dist webapps webapps-dist work bash-3.2$ ls webapps-dist sample.war bash-3.2$ cat conf/Catalina/localhost/sample.xml <Context docBase="${catalina.base}/webapps-...
2007-06-15 15:07:50
1,181,930,000
resolved fixed
252fca1
1,215,710,000
java/org/apache/catalina/startup/HostConfig.java
Tomcat
921
45,317
Bug 45317 DeltaManager always reports default timeout value for receiving session state on startup
Hi there, If I override the state transfer timeout: <Manager className="org.apache.catalina.ha.session.DeltaManager" stateTransferTimeout="10" expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/> DeltaManager continues to log the default timeout value (ie: "This operation will timeout if no session st...
2008-07-01 07:50:35
1,214,910,000
resolved fixed
36bb5d9
1,215,030,000
java/org/apache/catalina/ha/session/DeltaManager.java
Tomcat
922
36,155
Bug 36155 tomcat chooses wrong host if using mod_jk
null
2005-08-12 05:08:52
1,123,840,000
resolved fixed
f23907d
1,214,620,000
java/org/apache/coyote/ajp/AjpMessage.java
Tomcat
923
45,279
Bug 45279 McastServiceImpl leaks sockets.
McastServiceImpl does not close its socket in stop() as it claims. It merely calls leaveGroup(), which is sufficient to stop receiving messages, but does not close the socket. This causes a file descriptor leak each time the service is stopped. add; socket.close(); after leaveGroup();
2008-06-25 12:21:15
1,214,410,000
resolved fixed
a2a7714
1,214,430,000
java/org/apache/catalina/tribes/membership/McastServiceImpl.java
Tomcat
924
45,101
Bug 45101 DirContextURLConnection - Format Date Header Values per HTTP spec
null
2008-05-29 13:42:51
1,212,080,000
resolved fixed
e0200b0
1,212,100,000
java/org/apache/naming/resources/DirContextURLConnection.java
Tomcat
925
42,750
Bug 42750 Http Post requests not handled correctly if there is more than one space between the "POST" and the URL
null
2007-06-26 16:57:13
1,182,890,000
resolved fixed
f93376d
1,211,230,000
java/org/apache/coyote/http11/InternalAprInputBuffer.java java/org/apache/coyote/http11/InternalInputBuffer.java java/org/apache/coyote/http11/InternalNioInputBuffer.java
Tomcat
926
44,986
Bug 44986 JSP compilation exception with pageEncoding="utf-8" and file with byte order marks
JSP-File has byte order marks. If the attribute is set to "UTF-8" (upper case) or the file has no byte order marks, the compilation workes fine. {code} 12:32:16,946 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /dialog.jsp(2,0) Page-encoding specified in XML prolog (...
2008-05-13 04:42:11
1,210,670,000
resolved fixed
3c84dcf
1,210,710,000
java/org/apache/jasper/compiler/Validator.java
Tomcat
927
42,934
Bug 42934 sessionDidActivate() called before contextInitialized()
I'm using Seam and a Seam app depends upon the Seam application being initialized before you can do much of anything in Seam. That said Seam puts some hooks into the sessionDidActivate() and sessionDidPassivate() events. Because of that when I start up my app I'm getting a Seam IllegalStateException because the context...
2007-07-18 14:40:10
1,184,780,000
resolved fixed
a9cb6a6
1,210,360,000
java/org/apache/catalina/core/StandardContext.java
Tomcat
928
42,943
Bug 42943 jsp:text gets confused with other *:text elements in a JSP tag file
null
2007-07-20 03:46:22
1,184,920,000
resolved fixed
17b4436
1,210,280,000
java/org/apache/jasper/compiler/JspDocumentParser.java
Tomcat
929
43,080
Bug 43080 Suspicious url pattern warning logged to wrong webapp
"Suspicious url pattern" warnings are logged to the wrong webapp, not the one actually using them. These log events are coming from SecurityCollection.java.
2007-08-09 15:18:42
1,186,690,000
resolved fixed
332d0f0
1,209,900,000
java/org/apache/catalina/core/StandardContext.java java/org/apache/catalina/deploy/SecurityCollection.java
Tomcat
930
43,191
Bug 43191 compressableMimeType attribute ignored
I have set compression="on" and compressableMimeType="text/html" in server.xml. It appears that the value of compressableMimeType is being ignored. My XML responses are all coming back gzipped. If I switch to compression="off" the responses are not gzipped, but as soon as I turn it on, regardless of the value of compre...
2007-08-22 15:02:44
1,187,810,000
resolved fixed
e2524a8
1,209,810,000
java/org/apache/coyote/http11/Http11AprProcessor.java java/org/apache/coyote/http11/Http11NioProcessor.java java/org/apache/coyote/http11/Http11Processor.java
Tomcat
931
43,150
Bug 43150 Tomcat and path with pound sign (#) -> ClassNotFoundException
Tomcat will not start if it's located and launched from a path with a # (pound) character somewhere. You'll find all informations in the given mail-thread on tomcat-user, including some developer specific informations. One part of the problem is the usage of File.toURL in URLClassloader... I'd really appreciate it if t...
2007-08-16 14:35:07
1,187,290,000
resolved fixed
fa91954
1,209,680,000
java/org/apache/catalina/startup/ClassLoaderFactory.java java/org/apache/jasper/JspCompilationContext.java
Tomcat
932
43,142
Bug 43142 webapp expanded in a FOLDER named webapps/xxx.war is loaded TWICE
reproduce: copy the expanded of file xxx.war file in a FOLDER tomcat/webapps/xxx.war bug: tomcat will load the app TWICE
2007-08-16 06:24:52
1,187,260,000
resolved fixed
6a8b1bb
1,209,630,000
java/org/apache/catalina/startup/HostConfig.java
Tomcat
933
43,366
Bug 43366 Session Statistics command in manager fails with "Unknown command /sessions"
null
2007-09-12 08:15:55
1,189,600,000
resolved fixed
f4a7632
1,209,320,000
java/org/apache/catalina/manager/ManagerServlet.java
Tomcat
934
44,877
Bug 44877 ClassCastException due to bad TagHandlerPool name generation of two different tags
null
2008-04-25 13:43:26
1,209,150,000
resolved fixed
dfa25f4
1,209,320,000
java/org/apache/jasper/compiler/Generator.java
Tomcat
935
43,425
Bug 43425 Non-compliant annotations
null
2007-09-18 21:33:56
1,190,170,000
resolved fixed
48131cd
1,209,160,000
java/javax/annotation/security/DenyAll.java java/javax/ejb/EJB.java java/javax/persistence/PersistenceContext.java java/javax/persistence/PersistenceProperty.java
Tomcat
936
31,257
Bug 31257 java.endorsed.dirs is not used when JSP compilation is forked
When the JSP compiler forks a javac process, it should check to see what the currently endorsed directories are (check the system property "java.endorsed.dirs" - otherwise, classes end up missing and JSP pages do not properly compile. We experienced a problem when we explicitly set the java.endorsed.dirs property on th...
2004-09-16 05:10:06
1,095,330,000
resolved fixed
0ea3e15
1,208,730,000
java/org/apache/jasper/compiler/AntCompiler.java
Tomcat
937
29,936
Bug 29936 XML parser loading problems by container
I'm trying to use JSTL 1.1 with this version of tomcat and have both saxon and crimson in my web-app. If we have crimson and saxon in our webapp lib then tomcat tries to use crimson as the xml parser when reading the web.xml and compiling the jsp and we get the prefix error: org.apache.jasper.JasperException: <h3>Valid...
2004-07-06 15:18:51
1,089,140,000
resolved fixed
06c23d8
1,208,720,000
java/org/apache/catalina/startup/ContextConfig.java
Tomcat
938
44,380
Bug 44380 TldConfig / Scan of URL that are not files
The TldConfig class (org.apache.catalina.startup) is asking ClassLoader and all parent ClassLoader in order to get the URLs and then assume that the URLs are using "file" protocol. But when Tomcat is embedded, sometimes the URL are not always using "file" protocol and then new File() will fail. The given patch is to sk...
2008-02-08 05:29:21
1,202,470,000
resolved fixed
2edf51e
1,207,960,000
java/org/apache/catalina/startup/TldConfig.java
Tomcat
939
44,389
Bug 44389 Cleanup of org.apache.naming.resources.CacheEntry resources (memory leak)
Hi, I am memory profiling a webapp for my company because we suspect it has memory leaks when redeploying. This webapp has to be redeployed several times a week for security reasons (most of the time it is undeployed) and the memory leaks forced us to shutdown tomcat once a week to avoid OOM exception. I'm using jvm1.5...
2008-02-11 02:03:09
1,202,710,000
resolved fixed
6723b35
1,207,950,000
java/org/apache/catalina/core/ApplicationContext.java
Tomcat
940
44,391
Bug 44391 SSI handling of escaped characters broken
In org.apache.catalina.ssi.SSIProcessor the method parseParamNames is broken. If I have a SSI directive like <!--#set var="test" value="blubb\"\"" --> the method detects three parameters instead of two. This is because there are two consecutive escaped characters. Although the first one \" is detected correctly the nex...
2008-02-11 04:37:40
1,202,720,000
resolved fixed
df75937
1,207,950,000
java/org/apache/catalina/ssi/SSIProcessor.java
Tomcat
941
44,392
Bug 44392 HTML entities not resolved in SSI filter
HTML entities which are contained in an SSI set directive aren't resolved by the SSI filter (in contrary to what is done by mod_include of Apaches HTTP). mod_include resolves all HTML entities in most of the attribute values of ssi directives. It also resolves \" to " and \$ to $. The ssi filter of tomcat resolves all ...
2008-02-11 05:37:37
1,202,730,000
resolved fixed
75fbd91
1,207,940,000
java/org/apache/catalina/ssi/SSIEcho.java java/org/apache/catalina/ssi/SSIMediator.java
Tomcat
942
44,408
Bug 44408 EL-expression evaluation slow due to synchronization caused by JspFactory.getDefaultFactory
null
2008-02-13 03:36:02
1,202,890,000
resolved fixed
1f41c3d
1,207,850,000
java/org/apache/jasper/runtime/PageContextImpl.java
Tomcat
943
44,428
Bug 44428 FunctionMapperImpl.Function throws a NPE in certain circumstances
In FunctionMapperImpl.Function it is possible for writeExternal to fail if the class has just been de-serialised and is then serialised again. If you look at writeExternal: public void writeExternal(ObjectOutput out) throws IOException { out.writeUTF((this.prefix != null) ? this.prefix : ""); out.writeUTF(this.localNam...
2008-02-15 02:36:16
1,203,060,000
resolved fixed
0035fd4
1,207,780,000
java/org/apache/el/lang/FunctionMapperImpl.java
Tomcat
944
44,595
Bug 44595 Add possibility to request the QueueSize of an executor via JMX
null
2008-03-13 01:34:50
1,205,390,000
resolved fixed
c3c525b
1,207,560,000
java/org/apache/catalina/core/StandardThreadExecutor.java
Tomcat
945
44,529
Bug 44529 RealmBase authorization via hasResourcePermission not fully servlet spec compliant
The authorization implementation in RealmBase, in the hasResourcePermission method is not fully servlet specification compliant. The spec (both 2.4 and 2.5) states: "... A security constraint that does not contain an authorization constraint shall combine with authorization constraints that name or imply roles to allow...
2008-03-04 08:04:54
1,204,640,000
resolved fixed
7be2374
1,206,800,000
java/org/apache/catalina/realm/RealmBase.java
Tomcat
946
44,673
Bug 44673 ServletInputStream still readable even when closed
null
2008-03-25 15:32:18
1,206,470,000
resolved fixed
ca41a27
1,206,490,000
java/org/apache/catalina/connector/InputBuffer.java
Tomcat
947
44,646
Bug 44646 IllegalStateException when using CometConnectionManagerValve
We're writing an application that processes requests using both a normal servlet and a CometProcessor. The normal servlet handles user authentication and logout (among other things). Once the user has been authenticated, the client makes a Comet request, which is open until the server has something to push to the clien...
2008-03-20 09:33:14
1,206,020,000
resolved fixed
fdac1d6
1,206,310,000
java/org/apache/catalina/valves/CometConnectionManagerValve.java
Tomcat
948
44,558
Bug 44558 cite attempted address when throwing "Cannot assign requested address"
SEVERE: Error starting endpoint java.net.BindException: Cannot assign requested address:2217 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501) at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515) at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203) at org.apache....
2008-03-07 07:41:10
1,204,890,000
resolved fixed
7bd915c
1,205,080,000
java/org/apache/tomcat/util/net/JIoEndpoint.java
Tomcat
949
44,562
Bug 44562 HEAD requests cannot go through request dispatch include.
null
2008-03-07 13:19:40
1,204,910,000
resolved fixed
288b2ae
1,205,080,000
java/javax/servlet/http/HttpServlet.java
Tomcat
950
44,337
Bug 44337 Dir listing crashes if no readme-file present
DefaultServlet docu 6.0 says about attibute readmeFile: If a directory listing is presented, a readme file *may* also be presented with the listing. This file is inserted ..... This was true for 5.5.x. 6.0.14 crashes if the file is absent in the listed directory. javax.servlet.ServletException: Error opening readme res...
2008-02-01 01:54:32
1,201,850,000
resolved fixed
8a3b14b
1,202,090,000
java/org/apache/catalina/servlets/DefaultServlet.java
Tomcat
951
43,701
Bug 43701 Error while starting tomcat
this is my NIO Connector configuration in server.xml <Connector acceptCount="100" enableLookups="false" port="80" protocol="org.apache.coyote.http11.Http11NioProtocol" acceptorThreadCount="2" socket.bufferPool="-1" connectionTimeout="60000" maxKeepAliveRequests="-1" maxThreads="200" minSpareThreads="25" redirectPort="8...
2007-10-26 03:01:21
1,193,380,000
resolved fixed
bf6ce6f
1,202,070,000
java/org/apache/tomcat/util/net/NioEndpoint.java
Tomcat
952
44,282
Bug 44282 WebappClassLoader.findClass calls getClassLoader without privileges
When logging is in TRACE mode or lower, org.apache.catalina.loader.WebappClassLoader.findClass(String) calls getClassLoader() without a privileged block. With security enabled, this will cause a SecurityException if the RuntimePermission to getClassLoader is not granted.
2008-01-22 23:50:47
1,201,060,000
resolved fixed
948598d
1,201,740,000
java/org/apache/catalina/loader/WebappClassLoader.java
Tomcat
953
44,268
Bug 44268 Multiple registrations of same ServletContextListener class not possible
When I register the same class implementing ServletContextListener twice or more its' contextInitialized methods only gets called once. The servlet specifications (2.4 and 2.5) say the conforming container has to call the listeners in the same order they are registered in the deployment descriptor. The case that one li...
2008-01-18 08:42:18
1,200,660,000
resolved fixed
cdff09f
1,200,950,000
java/org/apache/catalina/core/StandardContext.java
Tomcat
954
44,223
Bug 44223 Tomcat ignores the "javax.net.ssl.trustStoreType" system property
Set up a SSL Connector with a keystore in JKS format: <Connector ... SSLEnabled="true" keystoreFile="tomcat.keystore" keystoreType="JKS"> Let's say you need a custom truststore (e.g. for authenticating self-signed client certificates), and that this truststore is also needed by some of your webapps, not only Tomcat. Th...
2008-01-14 04:24:16
1,200,300,000
resolved fixed
f9e41b8
1,200,690,000
java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
Tomcat
955
43,468
Bug 43468 HTMLManagerServlet NullPointerException listing context
Obtained the following NullPointerException, stack trace below java.lang.NullPointerException org.apache.catalina.manager.HTMLManagerServlet.list(HTMLManagerServlet.java:437) org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136) Code is: args[11] = new Integer(context.getManager().getMaxInac...
2007-09-24 18:46:12
1,190,670,000
resolved fixed
e14afee
1,200,530,000
java/org/apache/catalina/manager/HTMLManagerServlet.java
Tomcat
956
11,117
Bug 11117 Coyote connector does not correctly deal with large PUT when using chunked transfer encoding
I've built a small test servlet (included below) that shows this behaviour. If I upload data to tomcat (configured to use the HTTP/1.1 Coyote connector) using a chunked transfer-encoding on a PUT, then the result (i.e. what I read using the servlet's request.getInputStream() is corrupted. This _only_ happens on large P...
2002-07-24 07:44:57
1,027,510,000
resolved fixed
1cc6641
1,199,830,000
java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
Tomcat
957
43,743
Bug 43743 Cannot jspc precompile jsps with nested .tag files
myjsp.jsp: HELLO <tag1/> tag1.tag: <tag2> tag2.tag: WORLD Crashes (null pointer) while trying to load tag2.class, called by TagFileProcessor.loadTagFile. Very Initial analysis:- TagFileProcessor.loadTagFile creates wrapper, but ctxt.getTagFileJarUrl (tagFilePath) returns null for nested .tag. Thus in JspCompilationCont...
2007-10-30 21:25:38
1,193,790,000
resolved fixed
98b8ba2
1,199,750,000
java/org/apache/jasper/compiler/Parser.java
Tomcat
958
43,758
Bug 43758 java.lang.NullPointerException from org.apache.jasper.compiler.ServletWriter.printMultiLn() on validation of JSPX with empty <jsp:scriptlet> element
null
2007-10-31 11:58:06
1,193,850,000
resolved fixed
61ce1a3
1,199,220,000
java/org/apache/jasper/compiler/Node.java
Tomcat
959
43,868
Bug 43868 MBeanServer invoke issue
Impossible to invoke "removeRole" or other MBean methods and "setAttribute" by MBeanServer cause of the same bug in ManagedBean.java at both lines 545 (getSetter method) and 604 (getInvoke method): object = this; Must be replace by: object = bean; Fortunately getGetter method is correct.
2007-11-15 01:26:51
1,195,110,000
resolved fixed
ccadbbc
1,198,970,000
java/org/apache/tomcat/util/modeler/ManagedBean.java
Tomcat
960
43,285
Bug 43285 Missing EL Coercion causes argument type mismatch
I'll attach a sample web application reproducing the error. Note that this error only occurs when using Tomcat 6.0.x (i.e. it works with Jetty as it uses Sun's EL RI). Moreover it doesn't matter which JSF implementation you're using to reproduce the error (I just wanted to mention that as it's definitely no bug in MyFa...
2007-09-02 13:14:26
1,188,750,000
resolved fixed
c5bcc98
1,198,720,000
java/org/apache/el/parser/AstValue.java
Tomcat
961
42,503
Bug 42503 ServletContext.getResourceAsStream returns stale data
Under certain conditions, the resource cache implementation used by the servlet/JSP engine (in org.apache.naming.resource) does not detect that a file in its cache has been modified and therefore returns the previous contents of the file. This happens only * when the file contents are modified but the file length doesn...
2007-05-23 16:52:35
1,179,950,000
resolved fixed
2441155
1,198,720,000
java/org/apache/naming/resources/FileDirContext.java
Tomcat
962
43,914
Bug 43914 HTTP spec violation when generating HTTP redirects for folders without trailing slash
null
2007-11-20 05:53:53
1,195,560,000
resolved fixed
e452200
1,198,700,000
java/org/apache/catalina/connector/CoyoteAdapter.java
Tomcat
963
43,909
Bug 43909 EL EvaluationContext wrapper hides locale
org.apache.el.lang.EvaluationContext doesn't pass locale to the wrapped ELContext as does org.apache.jasper.el.ELContextWrapper. This prohibits using of the locale for it's original purpose.
2007-11-19 23:06:25
1,195,530,000
resolved fixed
fdb170e
1,198,520,000
java/org/apache/el/lang/EvaluationContext.java
Tomcat
964
43,944
Bug 43944 org.apache.el.lang.ELArithmetic.coerce throws MissingResourceException for key el.convert
The class org.apache.el.lang.ELArithmetic has the following code snippet: throw new IllegalArgumentException(MessageFactory.get("el.convert", obj, objType)); But the key "el.convert" doesn't exist in "org.apache.el.Messages". As a result, I'm receiving the exception: java.util.MissingResourceException: Can't find resou...
2007-11-22 19:23:45
1,195,780,000
resolved fixed
c228054
1,198,510,000
java/org/apache/el/lang/ELArithmetic.java
Tomcat
965
44,088
Bug 44088 Cannot expire session via html manager webapp
The html manager webapp done not work correctly when clicking the expire sessions button. The idle param is missing from the form. The following html shows this bug... <form method="POST" action="/manager/html/expire?path=/"> <small> &nbsp;<input type="submit" value="Expire sessions">&nbsp;with idle &ge;&nbsp;<input ty...
2007-12-17 15:14:23
1,197,920,000
resolved fixed
df2b1e6
1,198,450,000
java/org/apache/catalina/manager/HTMLManagerServlet.java
Tomcat
966
44,084
Bug 44084 JAASRealm useContextClassLoader has problems
The useContextClassLoader config option doesn't work right. - it is ignored when setting userClassNames and roleClassNames - it's respected when the LoginContext is created, but that is insufficient, because all the needed classes are not necessarily loaded until loginContext.login() is called Patch to follow. With it ...
2007-12-15 14:27:25
1,197,750,000
resolved fixed
46721e4
1,198,450,000
java/org/apache/catalina/realm/JAASRealm.java
Tomcat
967
43,236
Bug 43236 Response.setCharacterEncoding() fails after Response.getWriter() and Response.reset()
The class org.apache.catalina.connector.Response resets the internal hold coyoteResponse and outputBuffer during reset(): public void reset() { if (included) return; // Ignore any call from an included servlet coyoteResponse.reset(); outputBuffer.reset(); } but if anyone has already set the characterEncoding (e.g. to U...
2007-08-29 03:56:43
1,188,370,000
resolved fixed
71bd193
1,198,020,000
java/org/apache/catalina/connector/Response.java
Tomcat
968
43,241
Bug 43241 ServletContext.getResourceAsStream() does not follow API specs for Path
null
2007-08-29 12:54:18
1,188,410,000
resolved fixed
8f91433
1,198,020,000
java/org/apache/catalina/core/ApplicationContext.java
Tomcat
969
43,611
Bug 43611 autodeployment with unpackWARs="true" does not work, when a context for that war file exists in server.xml
if a context for the war file exists in server.xml, the manager uploads the new .war file, but does not expand it, if the necessary directory does not exist, and if the directory exists, it is not overwritten, so you see the old application. see server.xml <Host name="xxx" appBase="webapps" unpackWARs="true"> <Context ...
2007-10-12 05:15:52
1,192,180,000
resolved fixed
ffbbe88
1,196,530,000
java/org/apache/catalina/manager/HTMLManagerServlet.java
Tomcat
970
43,622
Bug 43622 compression / minCompressionSize attribute not properly implemented
2 of the compression related attributes for the http connector are: compression = on | off | force | <integer val> The documentation states that integer val will be implemented as: compression="on" and minCompressionSize = <integer val> minCompressionSize = <integer val> (The documentation for 5.5.12 doesnt mention thi...
2007-10-15 03:51:24
1,192,430,000
resolved fixed
d1d0619
1,196,450,000
java/org/apache/coyote/http11/Http11AprProtocol.java java/org/apache/coyote/http11/Http11NioProtocol.java java/org/apache/coyote/http11/Http11Protocol.java
Tomcat
971
43,757
Bug 43757 Improper parsing of response.sendRedirect() in JSP source
Tomcat is throwing a java.lang.illegalStateException due to an attempted response.sendRedirect() after the time for such matters has come and gone... But, this appears to be a symptom of bad .jsp parsing at runtime. ========================== org.apache.jasper.JasperException: Exception in JSP: /buslog.jsp:42 39: // if...
2007-10-31 11:55:53
1,193,850,000
resolved fixed
eb87635
1,196,380,000
java/org/apache/jasper/compiler/ErrorDispatcher.java
Tomcat
972
43,706
Bug 43706 Fix a litmus warning for WebdavServlet
null
2007-10-26 07:03:28
1,193,400,000
resolved fixed
324387d
1,196,200,000
java/org/apache/catalina/servlets/WebdavServlet.java
Tomcat
973
43,887
Bug 43887 StandardWrapper.registerJMX() doesn't log exceptions correctly
I was getting some rather unhelpful error messages when trying to deploy a web.xml that included illegal servlet names. I tracked them down to this part of /org/apache/catalina/core/StandardWrapper.java: } catch( Exception ex ) { log.info("Error registering servlet with jmx " + this); } This should probably be changed ...
2007-11-16 15:31:21
1,195,250,000
resolved fixed
9314e5b
1,195,850,000
java/org/apache/catalina/core/StandardWrapper.java
Tomcat
974
43,893
Bug 43893 WebdavServlet returns incorrect values for the "href" property when it is mapped with / url prefix, instead of /*
null
2007-11-18 00:04:05
1,195,360,000
resolved wontfix
3c61f9b
1,195,840,000
java/org/apache/catalina/servlets/WebdavServlet.java
Tomcat
975
43,479
Bug 43479 APR sendfile thread leaks memory
The APR sendfile thread leaks memory by adding SendfileData objects to its HashMap and failing to remove them.
2007-09-25 19:49:30
1,190,760,000
resolved fixed
16464d6
1,192,060,000
java/org/apache/tomcat/util/net/AprEndpoint.java
Tomcat
976
43,453
Bug 43453 ClassCastException at org.apache.catalina.core.StandardContext.findStatusPage(int)
StandardContext.java reads public String findStatusPage(int status) { return ((String) statusPages.get(new Integer(status))); } This is wrong and it should be public String findStatusPage(int status) { return ((ErrorPage) statusPages.get(new Integer(status))).getLocation(); } Regards, lg
2007-09-23 13:50:20
1,190,570,000
resolved fixed
73b5e41
1,190,590,000
java/org/apache/catalina/core/StandardContext.java
Tomcat
977
43,435
Bug 43435 AbstractReplicatedMap.memberDisappeared is executed more than the necessity.
null
2007-09-20 04:51:07
1,190,280,000
resolved fixed
5aed2f5
1,190,400,000
java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
Tomcat
978
43,356
Bug 43356 keystoreFile parameter, when specified as relative, is not treated relative to $CATALINA_BASE or catalina.base property for NioEndPoint
null
2007-09-11 11:42:39
1,189,530,000
resolved fixed
28da141
1,189,810,000
java/org/apache/coyote/http11/Http11NioProtocol.java java/org/apache/tomcat/util/net/NioEndpoint.java
Tomcat
979
30,949
Bug 30949 After Failed Include, Request and Response not Unwrapped
In org.apache.catalina.core.ApplicationDispatcher.doInclude(ServletRequest request, ServletResponse response), after invoke() is called to perform the include, the request and response objects are normally unwrapped. However, if a ServletException or IOException is thrown, the unwrapping does not take place. This leads...
2004-08-30 23:54:36
1,093,920,000
resolved fixed
4dd22a5
1,188,960,000
java/org/apache/catalina/core/ApplicationDispatcher.java
Tomcat
980
43,216
Bug 43216 ACTIVITY_CHECK does not work correctly when Tomcat is restarted
null
2007-08-26 09:28:12
1,188,130,000
resolved fixed
9c37a01
1,188,310,000
java/org/apache/catalina/session/StandardManager.java
Tomcat
981
42,944
Bug 42944 plus sign in url-pattern in servlet-mapping does not work
Hi all, I had servlet-mappings that contain plus signs (they were created by JspC), e.g.: <servlet-mapping> <servlet-name>org.apache.jsp.suchergebnis_005fbu_002bbb_jsp</servlet-name> <url-pattern>/suchergebnis_bu+bb.jsp</url-pattern> </servlet-mapping> This mapping does not work (the referred class is present)! When I ...
2007-07-20 09:32:19
1,184,940,000
resolved fixed
44e36ea
1,186,240,000
java/org/apache/catalina/util/RequestUtil.java
Tomcat
982
39,212
Bug 39212 a bug in example code DummyCart.java
null
2006-04-05 10:20:19
1,144,250,000
resolved fixed
8aa247e
1,185,820,000
webapps/examples/WEB-INF/classes/sessions/DummyCart.java
Tomcat
983
42,753
Bug 42753 Race condition when using available() or reading in CometProcessor.event()
Tomcat version: 6.0.13 (no 6.0.13 available in the version field) When trying to process data in CometProcessor.event() either during the BEGIN event or during the READ event, it is impossible to guarantee that all data has been read before returning (since new data may arrive between the last statement before the retu...
2007-06-27 05:21:53
1,182,940,000
resolved fixed
a6ea14d
1,183,120,000
java/org/apache/catalina/core/ApplicationFilterFactory.java
Tomcat
984
41,722
Bug 41722 role-link tag in web.xml can not be omitted.
The application with follwing web.xml can not be deployed. --- <servlet> <servlet-name>sample</servlet-name> <servlet-class>sample.TheServlet</servlet-class> <security-role-ref> <role-name>users</role-name> </security-role-ref> </servlet> <servlet-mapping> .... </servlet-mapping> <security-role> <role-name>users</role-...
2007-02-28 01:00:41
1,172,640,000
resolved fixed
ba25bfb
1,182,710,000
java/org/apache/catalina/deploy/SecurityRoleRef.java java/org/apache/catalina/startup/WebRuleSet.java
Tomcat
985
42,314
Bug 42314 Jasper output no details with compilation error in specific case.
Jasper output no details when Jasper cannot find mappings between generated servlet code (with mistakes) and former JSP. One example JSP is the following. (The imported class in the JSP is not found.) --- <%@ page import = "not.exist.class" %> ---
2007-05-02 01:13:16
1,178,080,000
resolved fixed
6c6ad83
1,182,690,000
java/org/apache/jasper/compiler/JavacErrorDetail.java
Tomcat
986
42,547
Bug 42547 Same env-entry (web.xml) and ResourceLink (context) names causes NPE
Having the following in web.xml: <env-entry> <env-entry-name>testIt</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>test</env-entry-value> </env-entry> and the following in your context descriptor: <ResourceLink name="testIt" global="testIt" type="java.lang.String"/> causes an NPE on...
2007-05-30 11:29:37
1,180,540,000
resolved fixed
53add24
1,182,610,000
java/org/apache/catalina/deploy/NamingResources.java
Tomcat
987
42,643
Bug 42643 Duplicate JSP function mapper variables
When we deploy ~20 or so web apps at a time, we invariably end up with an app or two on each server that has compilation errors due to code generated like this: static private org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_0; static private org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_1;...
2007-06-12 07:34:16
1,181,650,000
resolved fixed
5b65cf4
1,182,010,000
java/org/apache/jasper/compiler/ELFunctionMapper.java
Tomcat
988
42,497
Bug 42497 304 response should consistently include ETag header
null
2007-05-23 09:00:19
1,179,930,000
resolved fixed
0114b2d
1,180,740,000
java/org/apache/catalina/servlets/DefaultServlet.java
Tomcat
989
42,559
Bug 42559 ErrorReportValve does not provide an error report
rev 535915 changed the behavior of ErrorReportValve in tomcat6 to not produce an error report when response.sendError() is called. For example, using this code in a servlet's service() does not produce an error report: response.sendError(HttpServletResponse.SC_GONE, "error occurred"); The underlying cause is that the v...
2007-05-31 09:09:05
1,180,620,000
resolved fixed
71eccb3
1,180,650,000
java/org/apache/catalina/valves/ErrorReportValve.java
Tomcat
990
39,875
Bug 39875 RealmBase#init() needs cleanup
null
2006-06-23 11:15:08
1,151,080,000
resolved fixed
0ea4c7c
1,179,890,000
java/org/apache/catalina/realm/RealmBase.java
Tomcat
991
42,438
Bug 42438 Duplicate JSP temp variable declaration when jsp:attribute used in conjunction with custom tags
null
2007-05-16 17:43:51
1,179,350,000
resolved fixed
5e188bc
1,179,890,000
java/org/apache/jasper/compiler/Node.java
Tomcat
992
42,459
Bug 42459 Tomcat Web Application Manager table error
html table -> tr wrong formating when stop (not last) in Tomcat Web Application Manager.
2007-05-19 13:32:58
1,179,600,000
resolved fixed
33c9949
1,179,680,000
java/org/apache/catalina/manager/HTMLManagerServlet.java
Tomcat
993
42,444
Bug 42444 Potential NullPointerException in org.apache.catalina.valves.AccessLogValve
null
2007-05-17 08:15:53
1,179,400,000
resolved fixed
776736f
1,179,600,000
java/org/apache/catalina/valves/AccessLogValve.java
Tomcat
994
42,361
Bug 42361 POST content type incorrect for multipart forms after login
When using a form with a custom encoding (e.g. "multipart/form-data"), the content type is not restored after a redirect to a login page (auth-method = FORM). To reproduce: - A page that POSTs using multipart/form-data encoding (or anything other than application/x-www-form-urlencoded) to a result page that is protecte...
2007-05-08 16:06:35
1,178,650,000
resolved fixed
637acc5
1,178,670,000
java/org/apache/catalina/authenticator/FormAuthenticator.java java/org/apache/catalina/authenticator/SavedRequest.java
Tomcat
995
42,309
Bug 42309 Request: support for NIO in Embedded Tomcat
in org.apache.catalina.startup.Embedded there is no direct API to create an NIO connector. This would be very helpful for all applications which use tomcat in embedded mode and require the CometProcessor.
2007-05-01 02:03:28
1,178,000,000
resolved fixed
9546005
1,178,210,000
java/org/apache/catalina/startup/Embedded.java
Tomcat
996
42,308
Bug 42308 with APR bytessent bytesreceived performance data is not collected
with APR bytes received and bytes sent are always 0.
2007-05-01 01:57:57
1,178,000,000
resolved fixed
4a04722
1,178,020,000
java/org/apache/coyote/http11/Http11AprProcessor.java java/org/apache/coyote/http11/Http11AprProtocol.java java/org/apache/coyote/http11/Http11NioProcessor.java java/org/apache/coyote/http11/InternalNioInputBuffer.java
Tomcat
997
42,202
Bug 42202 if you install tomcat in a directory with spaces it ignores TLD files inside jar files
if you install tomcat or a web application in a directory with spaces in the name, for example "C:\Program Files\vds\tomcat" for tomcat or "C:\Program Files\vds\console" for a web application. the TLD files that are inside the META-INF directory of the jar files will not be loaded. the problem is is the file treatment ...
2007-04-23 14:07:38
1,177,350,000
resolved fixed
f9ddaba
1,177,420,000
java/org/apache/catalina/startup/TldConfig.java
Tomcat
998
42,071
Bug 42071 If a JSP throws an UnavailableException twice, an IllegalStateException occurs.
If a JSP throws an UnavailableException twice, an IllegalStateException occurs. first access: JSP throws UnavailableException. second access: If the JSP throws an UnavailableException again then an IllegalStateException occurs and Tomcat returns status code:500 to the client. The problem is not that the IllegalStateExc...
2007-04-08 17:49:37
1,176,070,000
resolved fixed
508f513
1,176,950,000
java/org/apache/jasper/servlet/JspServletWrapper.java
Tomcat
999
42,039
Bug 42039 Tomcat doesn't output the stack trace of UnavailableException.
When UnavailableException is thrown from the Servlet:init, Tomcat doesn't output the stack trace of UnavailableException. The cause of problem is lost. Tomcat should output the stack trace at the "invoke" method of StandardWrapperValue.
2007-04-03 16:54:58
1,175,630,000
resolved fixed
c3d2ce4
1,176,660,000
java/org/apache/catalina/core/StandardWrapperValve.java
Tomcat
1,000
42,119
Bug 42119 request.getCharacterEncoding misparses charset=UTF-8; xyz=3
(This bug is also present in Coyote source 6.0.10.) If there is an HTTP header Content-Type: text/abc; charset=UTF-8; xyz=3 request.getCharacterEncoding() returns "UTF-8; xyz=3" but Tomcat 4.1.24 returns "UTF-8". In Tomcat 4.1.24, request.getCharacterEncoding uses parseCharacterEncoding defined in jakarta-tomcat-4.1.24...
2007-04-13 12:01:02
1,176,480,000
resolved fixed
4cf171a
1,176,600,000
java/org/apache/tomcat/util/http/ContentType.java
Tomcat
1,001
42,085
Bug 42085 java.util.Logging duplicated since 5.5.23. 5.5.20 is OK
We use the followwing logging.properties in our WebApplication: ----------%<--------------------%<---------------- handlers = 1tivoli.java.util.logging.FileHandler, 2product.java.util.logging.FileHandler # Handlers for the root logger .handlers = 1tivoli.java.util.logging.FileHandler, 2product.java.util.logging.FileHan...
2007-04-10 23:13:02
1,176,260,000
resolved fixed
fa2b746
1,176,390,000
java/org/apache/juli/ClassLoaderLogManager.java
Tomcat
1,002
42,072
Bug 42072 The call of the jspDestroy method violates it about the Java Servlet Specification 2.4, SRV.2.3.2.1.
When a JSP is accessed for a second time, the jspDestroy method is called even if a ServletException is thrown from the init method of the class that extends HttpJspPage. This violates the Java Servlet Specification 2.4, SRV.2.3.2.1.
2007-04-08 18:07:02
1,176,070,000
resolved fixed
3d27771
1,176,160,000
java/org/apache/jasper/servlet/JspServletWrapper.java
Tomcat
1,003
41,289
Bug 41289 Error when deploying XML Configuration file URL
I tried to deploy a webapp using a context.xml file under manager webapp and received this error: java.io.FileNotFoundException: /opt/apache-tomcat-6.0.2/conf/Catalina/localhost/mywebapp3.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream....
2007-01-04 07:42:41
1,167,910,000
resolved fixed
d721522
1,175,780,000
java/org/apache/catalina/manager/ManagerServlet.java
Tomcat
1,004
41,703
Bug 41703 Variable assigned with it's own value.
null
2007-02-26 02:18:39
1,172,470,000
resolved fixed
2049b78
1,174,980,000
java/org/apache/catalina/ha/authenticator/SingleSignOnMessage.java
Tomcat
1,005
41,682
Bug 41682 ClassCastException with BackupManager + debug logging
(Still happening in 6.0.9, though that isn't an option in Bugzilla) If I use the BackupManager for session replication AND turn on debug logging, I get this exception when I try to invalidate the session: java.lang.ClassCastException: org.apache.catalina.ha.session.BackupManager cannot be cast to org.apache.catalina.ha...
2007-02-22 13:05:50
1,172,170,000
resolved fixed
12d912d
1,174,980,000
java/org/apache/catalina/ha/session/DeltaSession.java
Tomcat
1,006
41,166
Bug 41166 Unable to start ReplicatedContext
I try to test the Cluster function. I got a problem: something like following apears in the $CATALINA_HOME/logs/catalina.out SEVERE: Unable to start ReplicatedContext java.lang.ClassCastException: org.apache.naming.resources.ProxyDirContext cannot be cast to java.io.Serializable at org.apache.catalina.tribes.tipis.Abst...
2006-12-13 00:18:02
1,165,990,000
resolved fixed
4f96d21
1,174,970,000
java/org/apache/catalina/core/ApplicationContext.java java/org/apache/catalina/ha/context/ReplicatedContext.java java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
Tomcat
1,007
41,675
Bug 41675 Add a debug statement when some necessary header information is missing
Reference: org.apache.coyote.http11.Http11Processor.java It would be helpful for developers to get informed when some required header information is missing. eg when headers.getValue("host"); returns null and http11 is true. Couldn't you add a log.debug statement that informs the user about missing header-fields? (For ...
2007-02-22 00:36:16
1,172,120,000
resolved fixed
7fd4fa8
1,174,860,000
java/org/apache/coyote/http11/Http11Processor.java
Tomcat
1,008
40,150
Bug 40150 Incorrect User/Role classnames are silently ignored.
org.apache.catalina.realm.JAASRealm does not verify any of the class names that are set through setRoleClassNames() and setUserClassNames(). If an incorrect class name (e.g. a typo) is configured in context.xml, this is unnoticed by JAASRealm. The result is that during authentication, when the subject's principals are ...
2006-08-01 08:52:32
1,154,440,000
resolved fixed
400d684
1,174,860,000
java/org/apache/catalina/realm/JAASRealm.java
Tomcat
1,009
41,790
Bug 41790 JDTCompiler::getContents does not close the reader
In the class org.apache.jasper.compiler.JDTCompiler: ------------------------------------------------------------------------- public char[] getContents() { char[] result = null; try { InputStreamReader isReader = new InputStreamReader(new FileInputStream(sourceFile), ctxt.getOptions().getJavaEncoding()); Reader reader...
2007-03-07 19:02:57
1,173,310,000
resolved fixed
455b6f8
1,173,370,000
java/org/apache/jasper/compiler/JDTCompiler.java
Tomcat