issue_id
int64 2.03k
426k
| title
stringlengths 9
251
| body
stringlengths 1
32.8k
⌀ | status
stringclasses 6
values | after_fix_sha
stringlengths 7
7
| updated_files
stringlengths 29
34.1k
| project_name
stringclasses 6
values | repo_url
stringclasses 6
values | repo_name
stringclasses 6
values | language
stringclasses 1
value | issue_url
null | before_fix_sha
null | pull_url
null | commit_datetime
unknown | report_datetime
unknown |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49,125 | Bug 49125 toString on byte[] array probably is not correct | Two examples of using toString() on a byte[] array, which is unlikely to produce the desired output: ha.deploy.FileMessageFactory.writeMessage() log message uses toString on msg.getData() which is a byte[] array coyote.ajp.AjpMessage.dump use toString on "msg" which is of type byte[] | resolved fixed | 5614817 | ["java/org/apache/catalina/ha/deploy/FileMessageFactory.java", "java/org/apache/coyote/ajp/AjpMessage.java", "java/org/apache/tomcat/util/buf/HexUtils.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-12-14T20:49:28Z" | "2010-04-15T00:06:40Z" |
50,460 | Bug 50460 First access to a jspx page causes classloader leak in JspDocumentParser | null | resolved fixed | 345e6b5 | ["java/org/apache/jasper/compiler/JspDocumentParser.java", "java/org/apache/naming/resources/ImmutableNameNotFoundException.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-12-13T00:58:11Z" | "2010-12-12T02:13:20Z" |
50,448 | Bug 50448 StandardSession.expire causes IllegalStateException: getCreationTime: Session already invalidated | Hi, when verifying the fix for #50360 I ran into an issue with expired sessions during processExpires: Dec 10, 2010 12:59:32 AM org.apache.catalina.core.ContainerBase backgroundProcess WARNING: Exception processing manager de.javakaffee.web.msm.MemcachedBackupSessionManager[/] background process java.lang.IllegalStateException: getCreationTime: Session already invalidated at org.apache.catalina.session.StandardSession.getCreationTime(StandardSession.java:1096) at org.apache.catalina.session.ManagerBase.remove(ManagerBase.java:802) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:840) at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:655) at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:609) at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:594) at de.javakaffee.web.msm.MemcachedBackupSessionManager.backgroundProcess(MemcachedBackupSessionManager.java:1130) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1214) AFAICS in MemcachedBackupSessionManager I could override remove(Session session, boolean update) with calling super.remove(session, false) for invalid sessions. Another option would be to change StandardSession.expire(StandardSession.java:840) so that it does not invoke manager.remove(this, true) but manager.remove(this, false). Or even better: change ManagerBase.remove(ManagerBase.java:802) to invoke some session.getCreationTimeInternal() which skips validation. What do you think? Cheers, Martin | resolved fixed | 4117b78 | ["java/org/apache/catalina/Session.java", "java/org/apache/catalina/manager/DummyProxySession.java", "java/org/apache/catalina/session/ManagerBase.java", "java/org/apache/catalina/session/StandardSession.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-12-10T13:54:16Z" | "2010-12-10T00:13:20Z" |
50,408 | Bug 50408 Scoped EL variable in methodexpression is treated as Object | Consider following example: <dl> <c:forEach items="${pageContext.response.headerNames}" var="name"> <c:forEach items="${pageContext.response.getHeaders(name)}" var="value"> <dt>${name}</dt><dd>${value}</dd> </c:forEach> </c:forEach> </dl> The ${name} is a String. The ${name.class.name} also proves that. The getHeaders(name) call however results in: org.apache.jasper.el.JspELException: /test.jsp(23,12) '${pageContext.response.getHeaders(name)}' java.lang.NoSuchMethodException: org.apache.catalina.connector.ResponseFacade.getHeaders(java.lang.Object) Another example which also results in NoSuchMethodException which suggests that an Object is been passed as argument: <c:set var="name" value="test" /> ${pageContext.response.getHeader(name)} This works all fine on Glassfish v3. | resolved fixed | 4ed7b7e | ["java/javax/el/CompositeELResolver.java", "test/javax/el/TestCompositeELResolver.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-12-03T21:49:54Z" | "2010-12-03T18:13:20Z" |
48,692 | Bug 48692 Provide option to parse application/x-www-form-urlencoded PUT requests | Provide an option to treat application/x-www-form-urlencoded encoded parameters in a PUT request in a similar manner to application/x-www-form-urlencoded parameters in a POST request | resolved fixed | e34b164 | ["java/org/apache/catalina/connector/Connector.java", "java/org/apache/catalina/connector/Request.java", "test/org/apache/catalina/connector/TestRequest.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-12-03T16:07:50Z" | "2010-02-07T08:06:40Z" |
50,358 | Bug 50358 Embedded.stopInternal sets state to STARTING, should be STOPPING | null | resolved fixed | 07b72f1 | ["java/org/apache/catalina/startup/Embedded.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-29T13:41:07Z" | "2010-11-29T00:20:00Z" |
49,142 | Bug 49142 Missing serialVersionUIDs | org.apache.catalina.ha.ClusterMessageBase is Serializable; consider declaring a serialVersionUID Similarly for: org.apache.catalina.ha.session.ReplicatedSession org.apache.catalina.ha.session.SerializablePrincipal org.apache.catalina.session.StandardSession org.apache.catalina.tribes.tipis.AbstractReplicatedMap.MapMessage org.apache.tomcat.util.modeler.ManagedBean | resolved fixed | 4cbb52f | ["java/javax/servlet/GenericServlet.java", "java/javax/servlet/ServletContextAttributeEvent.java", "java/javax/servlet/ServletContextEvent.java", "java/javax/servlet/ServletException.java", "java/javax/servlet/ServletRequestAttributeEvent.java", "java/javax/servlet/ServletRequestEvent.java", "java/javax/servlet/UnavailableException.java", "java/javax/servlet/http/HttpServlet.java", "java/javax/servlet/http/HttpSessionBindingEvent.java", "java/javax/servlet/http/HttpSessionEvent.java", "java/javax/servlet/jsp/JspException.java", "java/javax/servlet/jsp/JspTagException.java", "java/javax/servlet/jsp/SkipPageException.java", "java/javax/servlet/jsp/el/ELException.java", "java/javax/servlet/jsp/el/ELParseException.java", "java/javax/servlet/jsp/tagext/TagSupport.java", "java/org/apache/catalina/ha/deploy/FileMessage.java", "java/org/apache/catalina/ha/deploy/UndeployMessage.java", "java/org/apache/catalina/manager/StatusManagerServlet.java", "java/org/apache/catalina/session/StandardSession.java", "java/org/apache/catalina/ssi/SSIServlet.java", "java/org/apache/catalina/ssi/SSIStopProcessingException.java", "java/org/apache/catalina/tribes/ChannelException.java", "java/org/apache/catalina/tribes/RemoteProcessException.java", "java/org/apache/catalina/tribes/UniqueId.java", "java/org/apache/catalina/tribes/io/ChannelData.java", "java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java", "java/org/apache/catalina/tribes/tipis/LazyReplicatedMap.java", "java/org/apache/catalina/tribes/tipis/ReplicatedMap.java", "java/org/apache/catalina/tribes/util/ExecutorFactory.java", "java/org/apache/catalina/util/ParameterMap.java", "java/org/apache/catalina/util/ResourceSet.java", "java/org/apache/jasper/JasperException.java", "java/org/apache/jasper/compiler/JspDocumentParser.java", "java/org/apache/jasper/runtime/HttpJspBase.java", "java/org/apache/juli/logging/LogConfigurationException.java", "java/org/apache/naming/EjbRef.java", "java/org/apache/naming/HandlerRef.java", "java/org/apache/naming/JndiPermission.java", "java/org/apache/naming/ResourceEnvRef.java", "java/org/apache/naming/ResourceLinkRef.java", "java/org/apache/naming/ServiceRef.java", "java/org/apache/naming/TransactionRef.java", "java/org/apache/tomcat/util/buf/CharChunk.java", "java/org/apache/tomcat/util/buf/MessageBytes.java", "java/org/apache/tomcat/util/modeler/BaseAttributeFilter.java", "java/org/apache/tomcat/util/modeler/FixedNotificationFilter.java", "java/org/apache/tomcat/util/modeler/ManagedBean.java", "java/org/apache/tomcat/util/net/URL.java", "test/org/apache/catalina/tribes/demos/MapDemo.java", "webapps/examples/WEB-INF/jsp/applet/Clock2.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-24T22:08:38Z" | "2010-04-17T02:06:40Z" |
48,837 | Bug 48837 Memory leaks protection does not detect leaks triggered by JSP pages code | null | resolved fixed | ddbbfc1 | ["java/org/apache/catalina/loader/WebappClassLoader.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-24T21:28:33Z" | "2010-03-02T00:33:20Z" |
50,108 | Bug 50108 Add missing setter/getter to AbstractXXXProtocol | null | resolved fixed | 5a84fdb | ["java/org/apache/coyote/ajp/AbstractAjpProtocol.java", "java/org/apache/coyote/http11/AbstractHttp11Protocol.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-24T20:16:32Z" | "2010-10-18T08:20:00Z" |
50,207 | Bug 50207 CometProcessor async timeout events are not being fired | This is reproducible using the the default chat example (ie: ChatServlet, /examples/jsp/chat) and the following additional changes: 1) Enabled Http11Nio in conf/server.xml: <Connector address="0.0.0.0" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" enableLookups="false" acceptCount="100" disableUploadTimeout="true" maxThreads="15" minSpareThreads="15" maxSpareThreads="15" RECYCLE_FACADES="true"/> 2) Enabled the comet valve in conf/context.xml: <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> The problem is CometEvent.EventType.ERROR (and subtype TIMEOUT) and CometEvent.EventType.END are never being fired. This can be confirmed in the logs; the messages for these events are never printed. This worked on Tomcat 6.0.29. As an aside, what is the most complete/robust way to do async IO in tomcat 7 today, Servlet 3.0 or CometProcessor? | resolved fixed | 46e7d1e | ["java/org/apache/coyote/http11/Http11NioProtocol.java", "java/org/apache/tomcat/util/net/NioEndpoint.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-23T16:57:47Z" | "2010-11-03T18:46:40Z" |
50,316 | Bug 50316 Minor glitch with display of negative TTL on sessionDetail.jsp | null | resolved fixed | 278a36a | ["java/org/apache/catalina/manager/JspHelper.java", "java/org/apache/catalina/manager/StatusTransformer.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-22T20:59:20Z" | "2010-11-22T15:33:20Z" |
50,308 | Bug 50308 Call to AsyncContext.dispatch() in the onTimeout callback throws exception | When dispatch() method is called inside the onTimeout() function of the AsyncListener, the exception is thrown: SEVERE: An exception or error occurred in the container during the request processing java.lang.IllegalStateException: Calling [dispatchAsync()] is not valid for a request with Async state [TIMING_OUT] at org.apache.coyote.AsyncStateMachine.asyncDispatch(AsyncStateMachine.java:220) at org.apache.coyote.http11.Http11NioProcessor.actionInternal(Http11NioProcessor.java:672) at org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:937) at org.apache.coyote.Request.action(Request.java:348) at org.apache.catalina.core.AsyncContextImpl.dispatch(AsyncContextImpl.java:173) at org.apache.catalina.core.AsyncContextImpl.dispatch(AsyncContextImpl.java:135) at org.apache.catalina.core.AsyncContextImpl.dispatch(AsyncContextImpl.java:130) at com.juriy.snowball.SnowServlet$1.onTimeout(SnowServlet.java:23) at org.apache.catalina.core.AsyncListenerWrapper.fireOnTimeout(AsyncListenerWrapper.java:45) at org.apache.catalina.core.AsyncContextImpl.timeout(AsyncContextImpl.java:109) at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:270) at org.apache.coyote.http11.Http11NioProcessor.asyncDispatch(Http11NioProcessor.java:232) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.event(Http11NioProtocol.java:305) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1526) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) The sample code is below: protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { AsyncContext context = request.startAsync(); context.setTimeout(3000); context.addListener(new AsyncListener() { public void onComplete(AsyncEvent asyncEvent) throws IOException {} public void onTimeout(AsyncEvent asyncEvent) throws IOException { System.out.println("HITTING TIMEOUT"); asyncEvent.getAsyncContext().dispatch(); } public void onError(AsyncEvent asyncEvent) throws IOException {} public void onStartAsync(AsyncEvent asyncEvent) throws IOException {} }); } It looks like the Servlet 3.0 specification allows to do such call, here's the quotation that explicitly states the flow of the timeouted async contexts (page 18): "In the event that an asynchronous operation times out, the container must run through the following steps: Invoke the AsyncListener.onTimeout method on all the AsyncListener instances registered with the ServletRequest on which the asynchronous operation was initiated. If none of the listeners called AsyncContext.complete() or any of the AsyncContext.dispatch methods, perform an error dispatch with a status code equal to HttpServletResponse.SC_INTERNAL_SERVER_ERROR. If no matching error page was found, or the error page did not call AsyncContext.complete() or any of the AsyncContext.dispatch methods, the container MUST call AsyncContext.complete()" Second step assumes that the call to dispatch in onTimeout() is allowed. | resolved fixed | 991702c | ["java/org/apache/coyote/AsyncStateMachine.java", "test/org/apache/catalina/core/TestAsyncContextImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-22T14:35:51Z" | "2010-11-20T16:20:00Z" |
50,310 | Bug 50310 Manager detailed status page does not display servlets | To reproduce: 1. Login to the Manager webapp 2. Click "Server Status" and then "Complete Server Status" links. In TC6 the "Complete Server Status" page lists servlets for each deployed application. In the current TC7 it does not list them. Only summary information on each webapp is displayed. Looking at the StatusManagerServlet and StatusTransformer classes, the code to iterate over servlets is still there, but probably the JMX names have changed and are not working any more. | resolved fixed | ade20d2 | ["java/org/apache/catalina/core/StandardWrapper.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-22T11:49:05Z" | "2010-11-22T01:40:00Z" |
50,293 | Bug 50293 javax.el.CompositeELResolver synchronization issue | null | resolved fixed | 7b89af8 | ["java/javax/el/CompositeELResolver.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-19T18:31:17Z" | "2010-11-18T22:40:00Z" |
50,192 | Bug 50192 performance issue after revision 746425 | null | resolved fixed | e075c4b | ["java/org/apache/jasper/el/ELContextImpl.java", "java/org/apache/jasper/el/ELResolverImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-12T18:29:12Z" | "2010-11-01T19:33:20Z" |
50,230 | Bug 50230 Recursive dependency between the tomcat-catalina-ha and tomcat-catalina | null | resolved fixed | 96020cb | ["java/org/apache/catalina/DistributedManager.java", "java/org/apache/catalina/ha/session/BackupManager.java", "java/org/apache/catalina/manager/HTMLManagerServlet.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-11T22:10:25Z" | "2010-11-08T01:33:20Z" |
50,252 | Bug 50252 ClassCastException occurs if context.xml contains <ResourceLink>. | null | resolved fixed | 7e7283d | ["java/org/apache/naming/NamingContext.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-11T13:00:52Z" | "2010-11-11T07:20:00Z" |
50,183 | Bug 50183 [Tribes] Bio Sender is not scheduling the task to the excecutors | null | resolved fixed | 84efb0a | ["java/org/apache/catalina/tribes/transport/bio/BioReceiver.java", "java/org/apache/catalina/tribes/transport/bio/BioReplicationTask.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-11T12:51:35Z" | "2010-10-29T22:06:40Z" |
50,169 | Bug 50169 Trying to register wrapper and welcomeFile to Mapper before context is registered on Mapper. | null | resolved fixed | 476921f | ["java/org/apache/catalina/core/StandardContext.java", "java/org/apache/catalina/core/StandardWrapper.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-11T12:29:40Z" | "2010-10-28T07:13:20Z" |
50,222 | Bug 50222 JreMemoryLeakPreventionListener should speculatively cause memory leaks using the system ClassLoader | JreMemoryLeakPreventionListener intentionally invokes methods known to pin the context ClassLoader in memory in order to avoid having a WebappClassLoader unintentionally pin itself. This may cause undesirable behavior in embedded environments. Instead, JMLPL could use a security context to temporarily set the current context ClassLoader to be the system ClassLoader and solve the embedded situation without the client having to remember to take this care. | resolved fixed | 4ca3db3 | ["java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-10T13:02:55Z" | "2010-11-05T15:13:20Z" |
50,184 | Bug 50184 RpcChannel sends the answer without requesting an ACK | null | resolved fixed | afdc055 | ["java/org/apache/catalina/tribes/group/RpcChannel.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-09T17:08:25Z" | "2010-10-29T22:06:40Z" |
50,232 | Bug 50232 org.apache.catalina.session.StoreBase has a hidden dependency on PersistentManager | null | resolved fixed | b5c24f9 | ["java/org/apache/catalina/session/StoreBase.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-09T15:31:19Z" | "2010-11-08T09:53:20Z" |
50,168 | Bug 50168 destory method is called twice while the child is destoryed directly | While calling the method destory() on the StandardContext directly, it seems that the method destoryInternal() is called twice in the LifecycleMBeanBase, the two stacktraces are below : a. LifecycleMBeanBase.unregister(ObjectName) line: 191 LifecycleMBeanBase.destroyInternal() line: 73 ContainerBase.destroyInternal() line: 1109 StandardContext.destroyInternal() line: 5114 LifecycleBase.destroy() line: 271 ContainerBase.removeChild(Container) line: 963 ContainerBase.destroyInternal() line: 1106 StandardContext.destroyInternal() line: 5114 LifecycleBase.destroy() line: 271 ... b. LifecycleMBeanBase.unregister(ObjectName) line: 191 LifecycleMBeanBase.destroyInternal() line: 73 ContainerBase.destroyInternal() line: 1109 StandardContext.destroyInternal() line: 5114 LifecycleBase.destroy() line: 271 ... | resolved fixed | 6eae969 | ["java/org/apache/catalina/Lifecycle.java", "java/org/apache/catalina/LifecycleState.java", "java/org/apache/catalina/core/AprLifecycleListener.java", "java/org/apache/catalina/core/ContainerBase.java", "java/org/apache/catalina/startup/ContextConfig.java", "java/org/apache/catalina/util/LifecycleBase.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-04T23:03:26Z" | "2010-10-28T01:40:00Z" |
50,127 | Bug 50127 Possible NPEs in SimpleTCPCluster | null | resolved fixed | f77368f | ["java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-04T19:51:30Z" | "2010-10-21T00:13:20Z" |
49,180 | Bug 49180 Add option to disable log rotation in FileHandler. | Small enhancement to FileHandler.java which allow susers to disable log rotation by setting the .rotation attribute to "false". | resolved fixed | 7184011 | ["java/org/apache/juli/FileHandler.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-11-01T15:48:32Z" | "2010-04-24T17:26:40Z" |
50,157 | Bug 50157 a lot of MapperListener is registered as ContainerListener of StandardContext | null | resolved fixed | 53c5d85 | ["java/org/apache/catalina/connector/MapperListener.java", "java/org/apache/catalina/mbeans/ContainerMBean.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-26T22:09:20Z" | "2010-10-26T08:00:00Z" |
50,129 | Bug 50129 ContextConfig - unnecessary null checks | null | resolved fixed | 509ab5d | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-24T14:29:20Z" | "2010-10-21T00:13:20Z" |
50,138 | Bug 50138 Lack of synchronization in org.apache.catalina.security.SecurityUtil | Symptom: all processor threads spin madly in: ============== "tomcat-processor-20" daemon prio=10 tid=0x09210800 nid=0x51fb runnable [0x61b76000] java.lang.Thread.State: RUNNABLE at java.util.HashMap.getEntry(HashMap.java:347) at java.util.HashMap.containsKey(HashMap.java:335) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:227) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) ... ============== Cause: org.apache.catalina.security.SecurityUtil.objectCache is a HashMap, but access to it is not synchronized. The javadoc for HashMap says: ============= Note that this implementation is not synchronized. If multiple threads access a hash map concurrently, and at least one of the threads modifies the map structurally, it must be synchronized externally. ============= Proposed solution: change objectCache to ConcurrentHashMap; | resolved fixed | 9d955f4 | ["java/org/apache/catalina/security/SecurityUtil.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-21T15:58:21Z" | "2010-10-21T14:06:40Z" |
50,107 | Bug 50107 StandardPipeline is destroyed two times. | null | resolved fixed | 44f568f | ["java/org/apache/catalina/mbeans/MBeanFactory.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-19T13:14:13Z" | "2010-10-18T08:20:00Z" |
50,105 | Bug 50105 Violation of JSP-EL spec version 2.1 when coerce Enum to String | null | resolved fixed | e6c1d55 | ["java/org/apache/el/parser/AstCompositeExpression.java", "test/org/apache/el/TestValueExpressionImpl.java", "test/org/apache/el/TesterEnum.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-19T13:03:01Z" | "2010-10-17T10:06:40Z" |
49,426 | Bug 49426 Manager app wrongly localized | null | resolved fixed | 7357867 | ["java/org/apache/catalina/manager/HTMLManagerServlet.java", "java/org/apache/catalina/manager/ManagerServlet.java", "java/org/apache/tomcat/util/res/StringManager.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-16T19:31:37Z" | "2010-06-11T07:06:40Z" |
50,087 | Bug 50087 When metadata-complete="false" throw illegal JVM_CONSTANT_Class name | When metadata-complete="false" and add groovy-all-1.7.2.jar to app lib throw java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:290) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:418) Caused by: java.lang.ClassFormatError: groovy/jmx/builder/package-info : illegal JVM_CONSTANT_Class name: groovy/jmx/builder/package-info at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2804) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1144) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1639) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1517) at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:1952) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1915) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1802) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1761) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1747) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1252) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:315) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4700) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1028) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:773) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1028) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:278) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:429) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:662) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.startup.Catalina.start(Catalina.java:592) ... 6 more | resolved fixed | 9e7ce59 | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-14T16:05:55Z" | "2010-10-13T14:26:40Z" |
50,066 | Bug 50066 Cannot compile recursive tag with ant if it uses a class from the webapp | null | resolved fixed | 79cf689 | ["java/org/apache/jasper/compiler/TagFileProcessor.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-10T18:16:00Z" | "2010-10-09T13:13:20Z" |
50,063 | Bug 50063 Latest trunck can't configure context when metadata-complete is true and version is 3.0 | null | resolved fixed | 4d7f111 | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-10T09:58:24Z" | "2010-10-09T02:06:40Z" |
50,027 | Bug 50027 NullPointerException if context.xml is present with <Resource> | If you deploy a WAR with contex.xml in META-INF and the context.xml has <Resource> tag, Tomcat don t boot and gives this error: java.lang.NullPointerException at org.apache.catalina.core.StandardContext.getObjectKeyPropertiesNameOnly(StandardContext.java:5570) at org.apache.catalina.core.StandardContext.setNamingResources(StandardContext.java:1757) at org.apache.catalina.core.StandardContext.getNamingResources(StandardContext.java:1735) at org.apache.catalina.startup.SetNextNamingRule.end(SetNextNamingRule.java:99) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at org.apache.catalina.startup.Catalina.load(Catalina.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 29/09/2010 13:50:37 org.apache.catalina.startup.Catalina load AVISO: Catalina.start using conf/server.xml: java.lang.NullPointerException at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2688) at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2714) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at org.apache.catalina.startup.Catalina.load(Catalina.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NullPointerException at org.apache.catalina.core.StandardContext.getObjectKeyPropertiesNameOnly(StandardContext.java:5570) at org.apache.catalina.core.StandardContext.setNamingResources(StandardContext.java:1757) at org.apache.catalina.core.StandardContext.getNamingResources(StandardContext.java:1735) at org.apache.catalina.startup.SetNextNamingRule.end(SetNextNamingRule.java:99) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058) ... 20 more 29/09/2010 13:50:37 org.apache.tomcat.util.digester.SetPropertiesRule begin AVISO: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:bestforkprime' did not find a matching property. 29/09/2010 13:50:37 org.apache.tomcat.util.digester.Digester endElement GRAVE: End event threw exception java.lang.NullPointerException at org.apache.catalina.core.StandardContext.getObjectKeyPropertiesNameOnly(StandardContext.java:5570) at org.apache.catalina.core.StandardContext.setNamingResources(StandardContext.java:1757) at org.apache.catalina.core.StandardContext.getNamingResources(StandardContext.java:1735) at org.apache.catalina.startup.SetNextNamingRule.end(SetNextNamingRule.java:99) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at org.apache.catalina.startup.Catalina.start(Catalina.java:573) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415) 29/09/2010 13:50:37 org.apache.catalina.startup.Catalina load AVISO: Catalina.start using conf/server.xml: java.lang.NullPointerException at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2688) at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2714) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at org.apache.catalina.startup.Catalina.start(Catalina.java:573) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415) Caused by: java.lang.NullPointerException at org.apache.catalina.core.StandardContext.getObjectKeyPropertiesNameOnly(StandardContext.java:5570) at org.apache.catalina.core.StandardContext.setNamingResources(StandardContext.java:1757) at org.apache.catalina.core.StandardContext.getNamingResources(StandardContext.java:1735) at org.apache.catalina.startup.SetNextNamingRule.end(SetNextNamingRule.java:99) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058) ... 20 more 29/09/2010 13:50:37 org.apache.catalina.startup.Catalina start GRAVE: Cannot start server. Server instance is not configured. Here is my contex.xml OBS: some values were replaced with XXXX <?xml version="1.0" encoding="UTF-8"?> <Context privileged="true" reloadable="true"> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>META-INF/context.xml</WatchedResource> <Resource name="jdbc/bestfork" auth="Container" type="com.mchange.v2.c3p0.ComboPooledDataSource" factory="org.apache.naming.factory.BeanFactory" user="xxx" password="xxxx" driverClass="org.postgresql.Driver" jdbcUrl="jdbc:postgresql://localhost:5432/xxxxx" minPoolSize="5" maxPoolSize="30" acquireIncrement="5" idleConnectionTestPeriod="100" maxIdleTime="30"/> <Resource name="mail/Session" auth="Container" type="javax.mail.Session" mail.smtp.host="xxxx" mail.smtp.auth="true" username="xxx" password="xxx" mail.user="xxxx" mail.password="xxxx" mail.smtp.port="587" mail.transport.protocol="smtp" mail.debug="true" /> <Realm className="org.apache.catalina.realm.JDBCRealm" driverName="org.postgresql.Driver" connectionURL="jdbc:postgresql://localhost:5432/xxxx" connectionName="xxxx" connectionPassword="xxxx" userTable="usuario" userNameCol="usuario_cpf" userCredCol="usuario_senha" userRoleTable="usuario_papel" roleNameCol="papel_nome" digest="MD5" /> </Context> | resolved fixed | 6ce21f4 | ["java/org/apache/catalina/core/StandardContext.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-08T21:46:05Z" | "2010-09-29T17:06:40Z" |
50,059 | Bug 50059 Resources are not served from /WEB-INF/lib/{*.jar}/META-INF/resources if metadata-complete="true" is set in web.xml | null | resolved fixed | da36bd1 | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-08T21:37:19Z" | "2010-10-08T12:13:20Z" |
50,017 | Bug 50017 Make private immutable fields final | null | resolved fixed | c4a3427 | ["java/javax/el/ValueReference.java", "java/javax/servlet/AsyncEvent.java", "java/javax/servlet/HttpConstraintElement.java", "java/javax/servlet/HttpMethodConstraintElement.java", "java/javax/servlet/MultipartConfigElement.java", "java/javax/servlet/ServletContextAttributeEvent.java", "java/javax/servlet/ServletRequestAttributeEvent.java", "java/javax/servlet/ServletRequestEvent.java", "java/javax/servlet/ServletSecurityElement.java", "java/javax/servlet/UnavailableException.java", "java/javax/servlet/http/HttpSessionBindingEvent.java", "java/javax/servlet/jsp/ErrorData.java", "java/javax/servlet/jsp/tagext/BodyContent.java", "java/javax/servlet/jsp/tagext/FunctionInfo.java", "java/javax/servlet/jsp/tagext/TagAttributeInfo.java", "java/javax/servlet/jsp/tagext/TagData.java", "java/javax/servlet/jsp/tagext/TagExtraInfo.java", "java/javax/servlet/jsp/tagext/TagFileInfo.java", "java/javax/servlet/jsp/tagext/TagVariableInfo.java", "java/javax/servlet/jsp/tagext/ValidationMessage.java", "java/javax/servlet/jsp/tagext/VariableInfo.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-08T14:16:23Z" | "2010-09-27T23:26:40Z" |
50,016 | Bug 50016 bad division of responsibility around isUserInRole and new Request login and logout methods | null | resolved fixed | 469a916 | ["java/org/apache/catalina/Authenticator.java", "java/org/apache/catalina/Realm.java", "java/org/apache/catalina/authenticator/AuthenticatorBase.java", "java/org/apache/catalina/authenticator/BasicAuthenticator.java", "java/org/apache/catalina/authenticator/DigestAuthenticator.java", "java/org/apache/catalina/authenticator/FormAuthenticator.java", "java/org/apache/catalina/authenticator/NonLoginAuthenticator.java", "java/org/apache/catalina/authenticator/SSLAuthenticator.java", "java/org/apache/catalina/connector/Request.java", "java/org/apache/catalina/realm/RealmBase.java", "java/org/apache/catalina/realm/UserDatabaseRealm.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-08T14:02:05Z" | "2010-09-27T20:40:00Z" |
49,987 | Bug 49987 Data race in ApplicationContext | null | resolved fixed | 2db864e | ["java/org/apache/catalina/core/ApplicationContext.java", "java/org/apache/catalina/core/StandardContext.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-07T21:53:55Z" | "2010-09-23T13:53:20Z" |
49,972 | Bug 49972 Double-check idiom. Possible data-race. | null | resolved fixed | 0ae33cb | ["java/org/apache/tomcat/util/http/FastHttpDateFormat.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-07T14:05:51Z" | "2010-09-22T10:06:40Z" |
50,054 | Bug 50054 When the AJP connector is used, minSpareThreads cannot be used. | I found following warnning messages. == Oct 7, 2010 2:25:27 PM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'minSpareThreads' to '31' did not find a matching property. == The AJP connector's configs are the following. <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" minSpareThreads="100"/> When I used the Http connector, minSpareThreads was able to be used. org.apache.coyote.ajp.AjpProtocol doesn't set the minSpareThreads to org.apache.tomcat.util.net.JIoEndpoint. I made a patch. This patch was made based on AbstractHttp11Protocol. Best regards. | resolved fixed | 654c964 | ["java/org/apache/coyote/ajp/AbstractAjpProtocol.java", "java/org/apache/coyote/ajp/AjpAprProtocol.java", "java/org/apache/coyote/ajp/AjpProtocol.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-07T08:54:51Z" | "2010-10-07T08:26:40Z" |
49,956 | Bug 49956 @Resource(name=) Normalization of JNDI Name | null | resolved fixed | 0e71157 | ["java/org/apache/catalina/core/DefaultInstanceManager.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-06T21:58:37Z" | "2010-09-18T00:33:20Z" |
49,952 | Bug 49952 ServletContainerInitializer can't actually add listeners | null | resolved fixed | 937227a | ["java/org/apache/catalina/core/StandardContext.java", "test/org/apache/catalina/startup/TestListener.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-06T21:46:43Z" | "2010-09-17T19:00:00Z" |
49,937 | Bug 49937 Problems with AsyncListener and resource injection | null | resolved fixed | cf4e575 | ["java/org/apache/catalina/core/AsyncContextImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-03T20:53:49Z" | "2010-09-16T06:53:20Z" |
49,985 | Bug 49985 Lazy initialization without any synchronization - data race in AstInteger, AstFloatingPoint, AstString | null | resolved fixed | b893eee | ["java/org/apache/el/parser/AstFloatingPoint.java", "java/org/apache/el/parser/AstInteger.java", "java/org/apache/el/parser/AstString.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-02T18:53:30Z" | "2010-09-23T13:53:20Z" |
49,915 | Bug 49915 [Patch] o.a.c.c.StandardServer swallows error on storeConfig. | When o.a.c.c.StandardServer#storeConfig is called all exceptions were getting swallowed. This lead to the impresssion it was working correctly when saved either through the manager application /manager/save or through jconsole. I've removed the catch throwable block and thrown an exception upon not finding the registerd MBean. | resolved fixed | 5eb3851 | ["java/org/apache/catalina/core/StandardServer.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-01T16:49:29Z" | "2010-09-10T23:06:40Z" |
49,905 | Bug 49905 In cluster, when using DeltaManager memory leak can occur | null | resolved fixed | 2c858be | ["java/org/apache/catalina/tribes/group/interceptors/MessageDispatch15Interceptor.java", "java/org/apache/catalina/tribes/util/TcclThreadFactory.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-01T16:32:31Z" | "2010-09-09T11:00:00Z" |
49,890 | Bug 49890 Nio Selector issue on linux platform | null | resolved wontfix | f4de5ab | ["java/org/apache/tomcat/util/net/NioEndpoint.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-01T14:54:53Z" | "2010-09-07T14:33:20Z" |
49,861 | Bug 49861 Log format of RMI ports can be improved, remove "," | null | resolved fixed | 00cc8c6 | ["java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-01T11:37:05Z" | "2010-09-02T09:33:20Z" |
49,667 | Bug 49667 JdbcLeakPrevention class can register unregistered JCBC Driver | null | resolved fixed | dc754cc | ["java/org/apache/catalina/loader/JdbcLeakPrevention.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-10-01T11:10:51Z" | "2010-07-29T13:26:40Z" |
49,856 | Bug 49856 Connector/ThreadPool link to Executor not exposed via JMX | When viewing either Connector objects or ThreadPool objects via JMX the name of the executor is not shown. It would be helpful if this were exposed via JMX so the links between Connectors/ThreadPools and Executors could be determined. | resolved fixed | 167829c | ["java/org/apache/catalina/connector/Connector.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-30T21:47:46Z" | "2010-09-01T08:33:20Z" |
49,730 | Bug 49730 Race condition in StandardThreadExecutor : requests are sometimes enqueued instead of creating new threads | In tomcat 6, I often configure an Executor with minSpareThreads=0 to work around memory leak issues upon redeployment. Sometimes (especially in development), when I refresh a page of my webapp with Safari, Chrome or Firefox, some resources of the page take several seconds (>10s) to be served though they are static resources and should come in less than 50ms. For instance, over 15 requests for a page (1 for html, the others for resources like js, css, images...), I sometimes have 1 or 2 that take >10s. After analysis, I found that in org.apache.catalina.core.StandardThreadExecutor.TaskQueue.offer(Runnable) the statement if (parent.getActiveCount()<(parent.getPoolSize())) is sometimes true unexpectedly. Here is the scenario : - ThreadPoolExecutor is empty - the user refreshes the page (or accesses it with an empty cache) in his web browser for a page that uses a more than 10-15 resources - the browser establishes one TCP connection and a new Thread is created - after the browser receives the response, it decides to load as many resources as possible in parallel. For this it establishes up to 6 TCP connections (in my tests) - The Acceptor thread calls StandardThreadExecutor.execute to process each incoming connection. - For each call, StandardThreadExecutor.TaskQueue.offer(Runnable) is being called - if you study the sources of Java 6 ThreadPoolExecutor, you can see that there's a small delay between the time a new Thread is created (thus increasing poolSize) and the time it starts working on its first task (increasing the activeCount) - Since in my case connections are established in a rapid burst, the calls to TaskQueue.offer() are sometimes faster than this small delay, so that we do have parent.getActiveCount()<parent.getPoolSize() and thus the task is enqueued instead of forcing the creation of a thread to serve it. - Since Keep-Alive is enabled and tomcat 6 threads take care of only one TCP connection at a time, the requests in the queue must wait for the keep-alive timeout so that a Thread is returned to the pool to serve pending tasks. - With 25s keepAliveTimeOut, it means that some requests take more than 25s to be served eventhough the pool was never full and the server quite idle!!! Other facts about this issue : - Although my test case starts with an empty pool, it can occur even on a loaded server. The thing that triggers the issue is the burst of new TCP connections. - The problem is less severe with a lower keepAliveTimeout, or if keepalive is disabled. In any case, it also depends on the time taken to serve current requests. - The issue also affects tomcat 7 but is less severe because tc7 threads are returned to the pool after each http request, even if the TCP connection is kept alive. The impact would the same as with tc6 with keepAlive disabled. | resolved fixed | 2bfc300 | ["java/org/apache/tomcat/util/threads/TaskQueue.java", "java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-30T17:56:42Z" | "2010-08-09T18:53:20Z" |
50,021 | Bug 50021 ExceptionUtils class missing from bootstrap.jar | o.a.c.startup.Bootstrap uses o.a.jasper.util.ExceptionUtils, but this class is not placed in bootstrap.jar, causing rather nasty failures if anything goes wrong during initial bootstrapping. This should be a fairly simple matter of updating build.xml to include it, but I wasn't sure whether including Jasper classes in the bootstrap was the done thing. There's an o.a.tomcat.util.ExceptionUtils that is identical, but that too looks like the wrong thing to grab. | resolved fixed | 6c22816 | ["java/org/apache/catalina/startup/Bootstrap.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-29T10:15:51Z" | "2010-09-29T08:46:40Z" |
50,018 | Bug 50018 Javadoc corrections | null | resolved fixed | 2f8a27c | ["java/org/apache/jasper/compiler/ParserController.java", "java/org/apache/jasper/compiler/TagFileProcessor.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-29T08:08:32Z" | "2010-09-27T23:26:40Z" |
49,195 | Bug 49195 Using -1 as shutdown port with Windows service works, but prints error message | 1. Install Tomcat as a service on Windows 2. Specify <Server port="-1" in server.xml 3. Start the service, and then stop the service. 4. The following is printed in the catalina.2010-04-27.log: 27.04.2010 17:49:13 org.apache.catalina.startup.Catalina stopServer SEVERE: No shutdown port configured. Shut down server through OS signal. Server not shut down. It is just a message. Tomcat stops regardless of it: After printing the message Catalina#stopServer() performs System.exit(1) which results in Tomcat shutdown. I think that when service launcher stops Tomcat, Catalina#server is not null. That can be used to differentiate the two use cases. There could be improvements on how to stop Tomcat. E.g., to call Catalina.stop(). If that is the case, it would be better to use wait(10000) instead of sleep(10000) in StandardServer.await(), so that it could be woken by a notifyAll() call, or use interrupt() call to wake it up (if we know the thread). System.exit(0) would work regardless of all that. I suppose that jsvc may show the same behaviour, but I have not tried. | resolved fixed | 7c6b1a5 | ["java/org/apache/catalina/startup/Catalina.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-28T20:43:32Z" | "2010-04-27T14:53:20Z" |
49,665 | Bug 49665 When file not found error occurs it does not tell you which file caused the error. | null | resolved fixed | 7b24ed5 | ["java/org/apache/jasper/compiler/Generator.java", "java/org/apache/jasper/compiler/JspDocumentParser.java", "java/org/apache/jasper/compiler/Parser.java", "java/org/apache/jasper/compiler/TagLibraryInfoImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-28T17:23:05Z" | "2010-07-29T07:53:20Z" |
49,625 | Bug 49625 Tomcat doesn't send Vary consistently when gzip enabled | HTTP requires that the Vary response header be sent consistently for all responses if they change based upon different aspects of the request. My pages has both compressed and uncompressed variants available, negotiated by the Accept-Encoding request header, but it sends different Vary headers for each; "accept-encoding" when the response is compressed, and "" when it is not. This can cause problems for downstream caches, because they cannot consistently determine what the cache key for a given URI is. My server.xml content: <Service name="Catalina"> <Connector port="8080" proxyPort="80" maxHttpHeaderSize="8192" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="200" minSpareThreads="25" maxPostSize="8" maxSpareThreads="75" enableLookups="false" keepAliveTimeout="3000" maxKeepAliveRequests="100" redirectPort="8443" acceptCount="100" connectionTimeout="8000" disableUploadTimeout="true" compression="on" compressionMinSize="2048" compressableMimeType="text/html,text/xml,text/javascript,text/css" /> <Engine name="Catalina" defaultHost="localhost"> <Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="false" debug="0" xmlValidation="false" xmlNamespaceAware="false"> </Host> </Engine> </Service> | resolved fixed | 7435fa9 | ["java/org/apache/coyote/http11/AbstractHttp11Processor.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-28T12:08:53Z" | "2010-07-21T08:13:20Z" |
49,209 | Bug 49209 AccessControlException when undeploying application | When running Tomcat with a SecurityManager, an AccessControlException is thrown during undeployment. Stack trace: Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.Class.getClassLoader(Class.java:594) at org.apache.catalina.loader.JdbcLeakPrevention.clearJdbcDriverRegistrations(JdbcLeakPrevention.java:49) I assume the default catalina.policy should be updated, to take this case into account. | resolved fixed | d0d4c75 | ["java/org/apache/catalina/loader/WebappClassLoader.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-27T23:06:08Z" | "2010-04-28T10:20:00Z" |
49,102 | Bug 49102 coyote.ajp.Constants - 3 "constant" arrays are mutable | The class coyote.ajp.Constants contains 3 public static non-empty String[] arrays: methodTransArray responseTransArray headerTransArray responseTransArray only appears to be locally, so could be made private. The others are used in index lookups, so get(index) methods could be used to protect them. | resolved fixed | fb5a3e7 | ["java/org/apache/coyote/ajp/AjpAprProcessor.java", "java/org/apache/coyote/ajp/AjpProcessor.java", "java/org/apache/coyote/ajp/Constants.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-23T10:38:56Z" | "2010-04-12T19:20:00Z" |
49,909 | Bug 49909 jstl 1.2 not support | null | resolved fixed | 8dc0306 | ["java/org/apache/catalina/loader/WebappClassLoader.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-17T11:05:39Z" | "2010-09-10T09:13:20Z" |
49,924 | Bug 49924 When non-primary node changes into a primary node, isPrimarySession is not changed to true. | If BackupManager is used, when a primary node is switched, DeltaSession#isPrimarySession is not changed to true. Non-primary node changes into a primary node when a primary node is stopped or we get a non-primary session. If a primary node is stopped, a primary node is switched. In AbstractReplicatedMap, when a primary node is switched, MapOwner(BackupManager)#objectMadePrimay is called. However, isPrimarySession does not change to true in this method. =====BackupManager#objectMadePrimay===== public void objectMadePrimay(Object key, Object value) { if (value!=null && value instanceof DeltaSession) { DeltaSession session = (DeltaSession)value; synchronized (session) { session.access(); session.endAccess(); } } } ===== If we get a non-primary session, a primary node is switched. However, isPrimarySession does not change to true. It is only a change of primary node. I made a patch. It contains the following. isPrimarySession is set to true in BackupManager#objectMadePrimay. When get() is called in non-primary node, MapOwner#objectMadePrimay is called. Best regards. | resolved fixed | b255697 | ["java/org/apache/catalina/ha/session/BackupManager.java", "java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-14T07:49:33Z" | "2010-09-14T07:40:00Z" |
49,234 | Bug 49234 JMX Descriptor Modifications | null | resolved fixed | e0182ef | ["java/org/apache/catalina/Server.java", "java/org/apache/catalina/Service.java", "java/org/apache/catalina/core/StandardEngine.java", "java/org/apache/catalina/core/StandardServer.java", "java/org/apache/catalina/core/StandardService.java", "java/org/apache/catalina/mbeans/ContainerMBean.java", "java/org/apache/catalina/mbeans/ContextMBean.java", "java/org/apache/catalina/mbeans/ServiceMBean.java", "java/org/apache/catalina/startup/Catalina.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-12T01:25:03Z" | "2010-04-30T04:00:00Z" |
49,892 | Bug 49892 Wrong JNDI Name for Method Resource Injections | Method based JNDI env. injections not worked correctly. Patch is attached. See Java EE 6 specification section, EE. 5.2.5 Annotations and Injections. Patch is provided that solves problem. | resolved fixed | 94147b2 | ["java/org/apache/catalina/core/DefaultInstanceManager.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-08T19:45:16Z" | "2010-09-07T14:33:20Z" |
49,831 | Bug 49831 Issue with closing XAConnections on MSSQL | When using XAConnections with MSSQL it has been noticed that the physical connections are not being closed when DataSourceProxy.close(boolean all) is called. This method invokes org.apache.tomcat.jdbc.pool.PooledConnection.disconnent() which calls connection.close(). However, when used with SQLServer, the connection attribute is a proxy object (type com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolProxy) which wraps the physical connection (of type com.microsoft.sqlserver.jdbc.SQLServerConnection). Calling close() on the proxy object only notifies the pool manager that the Connection is released back to the pool; it does not close the underlying physical connection. This is what the PooledConnection.disconnent() implementation currently reads: private void disconnect(boolean finalize) { if (isDiscarded()) { return; } setDiscarded(true); if (connection != null) { try { connection.close(); }catch (Exception ignore) { if (log.isDebugEnabled()) { log.debug("Unable to close underlying SQL connection",ignore); } } } connection = null; xaConnection = null; lastConnected = -1; if (finalize) parent.finalize(this); } If the logic was changed to the following, it would properly closed the XAConnection with the MSSQL. private void disconnect(boolean finalize) { if (isDiscarded()) { return; } setDiscarded(true); if (connection != null) { try { if (xaConnection != null) { xaConnection.close(); } else { connection.close(); } }catch (Exception ignore) { if (log.isDebugEnabled()) { log.debug("Unable to close underlying SQL connection",ignore); } } } connection = null; xaConnection = null; lastConnected = -1; if (finalize) parent.finalize(this); } | resolved fixed | 64a8346 | ["modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PooledConnection.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-08T15:27:00Z" | "2010-08-26T16:26:40Z" |
49,883 | Bug 49883 java.lang.UnsupportedOperationException: The getName() method should never be called | null | resolved fixed | a9f0fd5 | ["java/org/apache/catalina/realm/CombinedRealm.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-05T20:43:38Z" | "2010-09-05T04:13:20Z" |
49,802 | Bug 49802 Shutdown of AJP Connector do not work | null | resolved fixed | cd7263e | ["java/org/apache/catalina/connector/Connector.java", "java/org/apache/catalina/core/StandardService.java", "java/org/apache/coyote/ProtocolHandler.java", "java/org/apache/coyote/ajp/AjpAprProcessor.java", "java/org/apache/coyote/ajp/AjpAprProtocol.java", "java/org/apache/coyote/ajp/AjpProcessor.java", "java/org/apache/coyote/ajp/AjpProtocol.java", "java/org/apache/coyote/http11/AbstractHttp11Protocol.java", "java/org/apache/coyote/http11/Http11AprProcessor.java", "java/org/apache/coyote/http11/Http11NioProcessor.java", "java/org/apache/coyote/http11/Http11Processor.java", "java/org/apache/tomcat/util/net/AbstractEndpoint.java", "java/org/apache/tomcat/util/net/AprEndpoint.java", "java/org/apache/tomcat/util/net/JIoEndpoint.java", "java/org/apache/tomcat/util/net/NioEndpoint.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-05T20:36:16Z" | "2010-08-23T10:40:00Z" |
49,876 | Bug 49876 correcting generics related compile warning in org/apache/tomcat/util/bcel/classfile files | Explanation: Several files have compile time generics related warnings displayed for org/apache/tomcat/util/bcel/classfile. This patch cleans up several of those warnings. | resolved fixed | 6155a8b | ["java/org/apache/tomcat/util/bcel/classfile/AnnotationEntry.java", "java/org/apache/tomcat/util/bcel/classfile/Attribute.java", "java/org/apache/tomcat/util/bcel/classfile/JavaClass.java", "java/org/apache/tomcat/util/bcel/classfile/Unknown.java", "java/org/apache/tomcat/util/bcel/classfile/Utility.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-03T18:50:57Z" | "2010-09-03T13:20:00Z" |
49,869 | Bug 49869 Javadoc for WebAppClassLoader constructor has copy/paste error | The constructor that takes a parent class loader has a copy of the doc string from the constructor that does not take a parent class loader. | resolved fixed | a6620cb | ["java/org/apache/catalina/loader/WebappClassLoader.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-03T08:54:20Z" | "2010-09-02T23:26:40Z" |
48,967 | Bug 48967 Externalize Strings "catalina.base" and "catalina.home" | null | resolved fixed | bcb994c | ["java/org/apache/catalina/Globals.java", "java/org/apache/catalina/connector/Connector.java", "java/org/apache/catalina/core/StandardContext.java", "java/org/apache/catalina/ha/deploy/FarmWarDeployer.java", "java/org/apache/catalina/manager/ManagerServlet.java", "java/org/apache/catalina/manager/host/HostManagerServlet.java", "java/org/apache/catalina/realm/JAASMemoryLoginModule.java", "java/org/apache/catalina/realm/MemoryRealm.java", "java/org/apache/catalina/startup/Bootstrap.java", "java/org/apache/catalina/startup/Catalina.java", "java/org/apache/catalina/startup/CatalinaProperties.java", "java/org/apache/catalina/startup/Embedded.java", "java/org/apache/catalina/startup/ExpandWar.java", "java/org/apache/catalina/startup/HostConfig.java", "java/org/apache/catalina/startup/Tomcat.java", "java/org/apache/catalina/startup/Tool.java", "java/org/apache/catalina/users/MemoryUserDatabase.java", "java/org/apache/catalina/valves/AccessLogValve.java", "java/org/apache/jasper/compiler/AntCompiler.java", "java/org/apache/tomcat/util/net/AbstractEndpoint.java", "java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-09-02T14:52:11Z" | "2010-03-23T18:46:40Z" |
49,749 | Bug 49749 SSO cookie should be added as HttpOnly | SSO cookies should be made HttpOnly by default. In org.apache.catalina.authenticator.AuthenticatorBase#register(), 798- response.addCookie(cookie); 798+ response.addCookieInternal(cookie, true); | resolved fixed | e641f20 | ["java/org/apache/catalina/authenticator/AuthenticatorBase.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-25T11:36:38Z" | "2010-08-13T22:53:20Z" |
48,738 | Bug 48738 [PATCH]Allow GzipOutputFilter to send partial result when flushBuffer() is called | null | resolved fixed | 526f4ac | ["java/org/apache/coyote/http11/AbstractOutputBuffer.java", "java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java", "java/org/apache/coyote/http11/filters/GzipOutputFilter.java", "test/org/apache/coyote/http11/TestGzipOutputFilter.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-24T10:02:14Z" | "2010-02-14T04:00:00Z" |
49,670 | Bug 49670 org.apache.catalina.authenticator.SingleSignOn valve does not function | I have two web applications; neither declare a realm in the context.xml and both are configured for authentication in the web.xml using standard tomcat authentication methods. I have enabled the tomcat valve in the host and have added a realm to the host as well. <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Realm className="org.apache.catalina.realm.JAASRealm" appName="SSO" userClassNames="a.b.c" roleClassNames="a.b.c" useContextClassLoader="false"/> <!-- SingleSignOn valve, share authentication between web applications Documentation at: /docs/config/valve.html --> <Valve className="org.apache.catalina.authenticator.SingleSignOn"/> <!-- Access log processes all example. Documentation at: /docs/config/valve.html --> <!-- <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> --> I have added a jaas configuration for the SSO app in the jaas.conf file for the server. I am certain that the realm, jaas.conf are all configured properly as the web applications do require a user to authenticate before accessing the application, but if I have authenticated to one application I still am required to authenticate before accessing the other application. I have this exact same configuration working on a tomcat 6 environment, but an identical configuration will not operate on a tomcat 7 server. | resolved fixed | e2f0b9b | ["java/org/apache/catalina/authenticator/AuthenticatorBase.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-23T20:15:13Z" | "2010-07-29T13:26:40Z" |
49,721 | Bug 49721 Fail to access the resources such as jsp files from a jar file which is supported by servlet 3.0 | I put a jsp file in a jar file and test whether tomcat 7 supports it by viewing it from the browser and failed. | resolved fixed | 187eed8 | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-23T19:37:25Z" | "2010-08-07T03:00:00Z" |
49,726 | Bug 49726 JSP 2.2 new configuration element <default-content-type> under <jsp-property-group> works incorrectly on tomcat trunk | null | resolved fixed | 42c226f | ["java/org/apache/jasper/compiler/Compiler.java", "test/org/apache/jasper/compiler/TestCompiler.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-23T19:23:28Z" | "2010-08-09T05:00:00Z" |
49,750 | Bug 49750 WebappClassLoader.validate(name) does not validate javax.servlet. | The method does not validate the class name as described in the method documentation. "Validate a classname. As per SRV.9.7.2, we must restrict loading of classes from J2SE (java.*) and classes of the servlet API (javax.servlet.*) " | resolved fixed | 6fce7d7 | ["java/org/apache/catalina/loader/WebappClassLoader.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-23T17:32:03Z" | "2010-08-15T13:46:40Z" |
49,758 | Bug 49758 [Patch] Generics warnings - rawtypes | null | resolved fixed | c05cb94 | ["java/javax/annotation/Resource.java", "java/javax/ejb/EJB.java", "java/javax/el/BeanELResolver.java", "java/javax/el/ELContext.java", "java/javax/el/ResourceBundleELResolver.java", "java/javax/servlet/ServletRequestWrapper.java", "java/javax/servlet/ServletResponseWrapper.java", "java/javax/servlet/annotation/HandlesTypes.java", "java/javax/servlet/jsp/el/ExpressionEvaluator.java", "java/javax/servlet/jsp/el/ImplicitObjectELResolver.java", "java/javax/servlet/jsp/tagext/TagSupport.java", "java/javax/xml/ws/WebServiceRef.java", "java/org/apache/el/lang/EvaluationContext.java", "java/org/apache/el/parser/AstValue.java", "java/org/apache/jasper/el/ELContextWrapper.java", "java/org/apache/jasper/el/ExpressionEvaluatorImpl.java", "java/org/apache/naming/resources/DirContextURLConnection.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-22T23:11:18Z" | "2010-08-16T17:33:20Z" |
49,757 | Bug 49757 correcting some generics related warnings | Patch attached. Thanks | resolved fixed | d446678 | ["java/org/apache/catalina/manager/JMXProxyServlet.java", "java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-22T14:56:20Z" | "2010-08-16T17:33:20Z" |
49,714 | Bug 49714 The annotation process of Jar should not impact distributable of web.xml. | Even if < distributable/> is set to web.xml(servlet3.0), distributable is changed from true to false by the annotation process of JAR. ContextConfig#processAnnotations is as follows. ===ContextConfig#processAnnotations protected void processAnnotations(Set<WebXml> fragments) { for(WebXml fragment : fragments) { if (!fragment.isMetadataComplete()) { WebXml annotations = new WebXml(); URL url = fragment.getURL(); processAnnotationsUrl(url, annotations); Set<WebXml> set = new HashSet<WebXml>(); set.add(annotations); // Merge annotations into fragment - fragment takes priority fragment.merge(set); } } } === distributable of "annotations" created by new WebXml() is false (default). If "annotations" is merged with "fragment", distributable of "fragment" becomes false. Because "fragment" is merged with web.xml of the web application, even if < distributable/> is set to web.xml, distributable is changed from true to false. The following are necessary. annotations.setDistributable(true); Best regards. | resolved fixed | f4a10ec | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-06T02:19:28Z" | "2010-08-06T02:00:00Z" |
49,655 | Bug 49655 ExpressionFactoryImpl.createMethodExpression() is not EL 2.2 Spec conform | null | resolved fixed | 96a99ce | ["test/org/apache/el/TestMethodExpressionImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-08-01T21:04:25Z" | "2010-07-27T14:13:20Z" |
49,407 | Bug 49407 backup manager reports too few current sessions | With 100 sessions shared across 4 nodes (i.e. 25 active sessions per node), the delta manager reports 100 current sessions per node (25 active and the copies of the sessions from the other nodes). The back manager reports 25. For consistency it should report 50. The 25 active sessions plus the 25 (or so) that are backed up on that node. | resolved fixed | d21b105 | ["java/org/apache/catalina/session/ManagerBase.java", "java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-29T18:32:58Z" | "2010-06-08T20:46:40Z" |
49,613 | Bug 49613 Request.getAttributeNames() slows down some applications | null | resolved fixed | 5f1ad13 | ["java/org/apache/catalina/connector/Request.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-22T14:36:15Z" | "2010-07-19T09:00:00Z" |
49,567 | Bug 49567 when starting a new thread from a startAsync Runnable, an infinite amount of doPosts is generated | null | resolved fixed | 2357fb5 | ["java/org/apache/catalina/connector/CoyoteAdapter.java", "java/org/apache/catalina/connector/Request.java", "java/org/apache/catalina/core/AsyncContextImpl.java", "java/org/apache/coyote/http11/Http11Processor.java", "test/org/apache/catalina/core/TestAsyncContextImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-22T09:12:18Z" | "2010-07-07T13:40:00Z" |
49,617 | Bug 49617 Fix ExpiresFilter docs (remove remaining ExpiresActive reference) | Remove the last references to the removed configuration parameter ExpiresActive. | resolved fixed | dfbd8aa | ["java/org/apache/catalina/filters/ExpiresFilter.java", "test/org/apache/catalina/filters/TestExpiresFilter.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-21T16:37:58Z" | "2010-07-19T22:53:20Z" |
48,998 | Bug 48998 Proposal : port mod_expires in java as ExpiresFilter Servlet Filter | null | resolved fixed | 7963a16 | ["java/org/apache/catalina/filters/ExpiresFilter.java", "test/org/apache/catalina/filters/TestExpiresFilter.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-14T22:11:30Z" | "2010-03-26T21:46:40Z" |
49,127 | Bug 49127 SimpleTcpReplicationManager.startInternal() ignores Exception | ha.session.SimpleTcpReplicationManager.startInternal() ignores Exception when invoking Thread.sleep() - it only needs to ignore InterruptedException. | resolved fixed | eca4ed9 | ["java/org/apache/catalina/ha/session/SimpleTcpReplicationManager.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-14T21:39:40Z" | "2010-04-15T00:06:40Z" |
49,128 | Bug 49128 loader.WebappClassLoader.start() ignores Exception | catalina.loader.WebappClassLoader.start() ignores Exception. However, it probably only needs to ignore SecurityException | resolved fixed | e8245ef | ["java/org/apache/catalina/loader/WebappClassLoader.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-14T21:35:37Z" | "2010-04-15T00:06:40Z" |
48,960 | Bug 48960 SSI Servlet should support safe configuration | The current configuration of the SSI module is "All" or "None". The "ALL" option will expose all the legacy Apache SSI directive (echo, printenv, if, exec, ...). As documented, allowing SSI will allow execution of arbitrary programs using the "exec". As a result, there is no safe way to expose sites/projects containing SSI directive, without taking a security risk, or reviewing of every file. The "exec" directive, with the cmd option is a major risk. Even for Apache, you have the option to allowing the "safe" include (includeNoExec). The includeNoExec allow pages to be served, even when the content is not reviewed, or when users are allowed to upload content to the site. I have a big site which need to be converted into JSP. I would like to use the SSI servlet to allow for transition over time. The extra risk from ( from exec cmd) make it impossible to deploy the SSI. My request: Modify the configuration of SSI as follow: By default, it will only allow "safe" directive (no exec cmd=...). This will eliminate the risk from arbitrary execution of commands ("del *.*"). It will also remove many potentail load problems. The cmd= should only be allowed using a directive like "allowUnsafeExec", which will default to false. I think that the change will make it easier to use the SSI feature, without exposing the server to big risk. The risk associated with the "safer" version of SSI is similar to the risk from running JSP pages. | resolved fixed | a36b0c0 | ["java/org/apache/catalina/ssi/SSIFilter.java", "java/org/apache/catalina/ssi/SSIProcessor.java", "java/org/apache/catalina/ssi/SSIServlet.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-13T21:35:39Z" | "2010-03-22T20:33:20Z" |
49,442 | Bug 49442 Make StringManager fields final | null | resolved fixed | 4159093 | ["java/org/apache/tomcat/util/res/StringManager.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-10T21:22:12Z" | "2010-06-15T08:20:00Z" |
49,478 | Bug 49478 Add encoding parameter to AddDefaultCharSetFilter | AddDefaultCharSetFilter adds a default charset to each request. It assumes ISO-8859-1 as the default charset. The attached patch makes it configurable by introducing an "encoding" parameter. This parameter can take one of two special values "default" or "system". Every other value will be interpreted as a name of an character set, e.g "utf-8". The meaning of the two special values are as follows: default: use ISO-8859-1. This value will also be used, if no parameter was specified, or if it is empty system: the jvm will be asked for the default charset. This charset will usually be set by system locale. Together with this functional change, there are two minor changes and one bigger changes hidden. First use of annotation "Override" at overriden methods. Second use of keyword "static" for the ResponseWrapper, since it has no reference to outer class. The third and somewhat bigger change is use of HttpServletResponse#setCharacterEncoding(encoding) instead of manipulating the content-type. | resolved fixed | d6766f1 | ["java/org/apache/catalina/filters/AddDefaultCharsetFilter.java", "test/org/apache/catalina/filters/TestAddCharSetFilter.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-10T21:13:23Z" | "2010-06-21T08:46:40Z" |
49,570 | Bug 49570 The CompressionFilter example should support HTTP proxies to cache gzipped content better by sending Vary: Accept-Encoding header | null | resolved fixed | c191152 | ["webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-10T17:20:41Z" | "2010-07-08T06:20:00Z" |
49,503 | Bug 49503 Connectors do not bind to their ports in Catalina.load(), but only later in start() | null | resolved fixed | a90b576 | ["java/org/apache/catalina/connector/Connector.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-08T15:48:48Z" | "2010-06-25T15:33:20Z" |
49,551 | Bug 49551 When setting absolute path to default context.xml, in ContextConfig.contextConfig() it cannot be found | null | resolved fixed | dca6dd1 | ["java/org/apache/catalina/startup/ContextConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-05T21:07:32Z" | "2010-07-05T11:40:00Z" |
49,550 | Bug 49550 [PATCH] Response class fix isSpace (deprecated) => isWhiteSpace | null | resolved fixed | 7b9630b | ["java/org/apache/catalina/connector/Response.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-05T20:58:23Z" | "2010-07-05T11:40:00Z" |
49,530 | Bug 49530 Context is not correctly stopped at shutdown | null | resolved fixed | 3bd4bcb | ["java/org/apache/catalina/core/ContainerBase.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-02T18:04:14Z" | "2010-06-30T15:00:00Z" |
49,536 | Bug 49536 If no webapps deployed, accessing a URL returns 200 OK with no content instead of 404 | null | resolved fixed | 4e34898 | ["java/org/apache/catalina/connector/CoyoteAdapter.java", "java/org/apache/catalina/connector/MapperListener.java", "java/org/apache/catalina/connector/Request.java", "java/org/apache/tomcat/util/http/mapper/Mapper.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-01T21:35:19Z" | "2010-07-01T07:40:00Z" |
49,525 | Bug 49525 IE8: Unabled to store data in HttpSession (root context) | Environment: Tomcat 7.0.0 Beta IE8 A simplest webapp only have a test.jsp below: <%=request.getSession().getId()%> this app installed as root context the test.jsp works fine in firefox but when using IE8 there is always a different session id where refresh the test page. BTW: the test.jsp works find in Tomcat 6.x | resolved fixed | 0b8a9a8 | ["java/org/apache/catalina/core/ApplicationSessionCookieConfig.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-01T19:33:45Z" | "2010-06-30T01:06:40Z" |
49,522 | Bug 49522 Complete Server status (status/all) causes stack trace | type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: javax.management.AttributeNotFoundException: Cannot find attribute startTime for org.apache.catalina.deploy.NamingResources@d1c778 org.apache.catalina.manager.StatusManagerServlet.doGet(StatusManagerServlet.java:292) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) root cause javax.management.AttributeNotFoundException: Cannot find attribute startTime for org.apache.catalina.deploy.NamingResources@d1c778 org.apache.tomcat.util.modeler.ManagedBean.getGetter(ManagedBean.java:493) org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:180) com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666) com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638) org.apache.catalina.manager.StatusTransformer.writeContext(StatusTransformer.java:656) org.apache.catalina.manager.StatusTransformer.writeDetailedState(StatusTransformer.java:590) org.apache.catalina.manager.StatusManagerServlet.doGet(StatusManagerServlet.java:287) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) | resolved fixed | 3c88f07 | ["java/org/apache/catalina/core/StandardContext.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-07-01T18:06:47Z" | "2010-06-29T14:00:00Z" |
49,476 | Bug 49476 Cannot expire selected session in Manager webapp | null | resolved fixed | a0159a3 | ["java/org/apache/catalina/filters/CsrfPreventionFilter.java", "java/org/apache/catalina/manager/HTMLManagerServlet.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-06-24T09:57:02Z" | "2010-06-20T16:06:40Z" |
49,443 | Bug 49443 RemoteIpValve : remoteIpHeader vs remoteIPHeader | null | resolved fixed | 27091e7 | ["java/org/apache/catalina/filters/RemoteIpFilter.java", "java/org/apache/catalina/valves/RemoteIpValve.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-06-18T11:19:38Z" | "2010-06-15T11:06:40Z" |
49,445 | Bug 49445 After session ID is changed on authentication, the session replication does not work. | After r889716, session ID is changed on authentication. (default of changeSessionIdOnAuthentication is true. ) But DeltaManager doesn't notify other cluster nodes. Therefore, non-primary node keeps having old session ID. And, can not replicate of change of session attribute notified by new session ID. The workaround is ... override changeSessionId method, and notify to change session ID. BackupManager is OK. This problem is DeltaManager only. Best regards. | resolved fixed | 4f990f1 | ["java/org/apache/catalina/ha/session/DeltaManager.java", "java/org/apache/catalina/ha/session/SessionMessage.java", "java/org/apache/catalina/ha/session/SessionMessageImpl.java"] | Tomcat | https://github.com/apache/tomcat | apache/tomcat | java | null | null | null | "2010-06-16T11:01:45Z" | "2010-06-16T09:20:00Z" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.