craigmcc 01/09/09 22:50:28 Modified: . RELEASE-NOTES-4.0-B8.txt RELEASE-PLAN-4.0.txt Log: Update "b8" release notes (about to be changed to "rc1") for all the recent bug fixes. Revision Changes Path 1.5 +151 -2 jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B8.txt Index: RELEASE-NOTES-4.0-B8.txt =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B8.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RELEASE-NOTES-4.0-B8.txt 2001/09/09 00:48:11 1.4 +++ RELEASE-NOTES-4.0-B8.txt 2001/09/10 05:50:27 1.5 @@ -3,7 +3,7 @@ Release Notes ============= -$Id: RELEASE-NOTES-4.0-B8.txt,v 1.4 2001/09/09 00:48:11 craigmcc Exp $ +$Id: RELEASE-NOTES-4.0-B8.txt,v 1.5 2001/09/10 05:50:27 craigmcc Exp $ ============ @@ -49,23 +49,84 @@ General New Features: -------------------- +Made it possible to start Catalina under a JPDA debugging environment via the +command "$CATALINA_HOME/bin/catalina.sh jpda start". +It is now possible to share a single instance of Catalina among multiple +independent executions, by defining a new environment variable named +CATALINA_BASE. The following directories are now resolved (by default) +against CATALINA_BASE instead of CATALINA_HOME: +* conf +* logs +* webapps +* work + --------------------- Catalina New Features: --------------------- +FileDirContext: Sort the directory listing returned when there is no welcome +file (and directory listings are not suppressed) for webapps that are unpacked +into a real directory. + +WARDirContext: Sort the directory listing returned when there is no welcome +file (and directory listings are not suppressed) for webapps that are executed +directly from a WAR file. + +Server/StandardServer: Add a singleton (and corresponding static method) that +will return the top of the component tree, without requiring a reference to +any component in the tree. + +Engine/Service: Add navigational link properties so that the entire Catalina +component hierarchy can now be navigated. This will be important in +management applications. + +BeanFactory: Add a new JNDI resource factory for resource objects conforming +to the JavaBeans component model. + +When an application web.xml file specifies one or more <welcome-file> elements, +this list *replaces* (rather than appends to) the default list from +$CATALINA_HOME/conf/web.xml. + +The "User Web Applications" feature (see the <Host> element documentation) now +recognizes user "public_html" directories if they exist, are directories, and +are readable. Previously, this feature also required the existence of a +/WEB-INF/web.xml file. + +The built in servlets that are part of Catalina are now delivered as separate +JAR files in $CATALINA_HOME/server/lib, so that you can give them individual +permissions when running Tomcat 4 under a security manager. + +StandardContext: Synchronize start/stop/reload processing to avoid some +nasty race conditions. +CompressionFilter: Properly flush the compressed output, even if the servlet +does not close the output stream or writer. + ------------------- Jasper New Features: ------------------- +Generated filenames for the servlets created from JSP pages no longer include +the complete directory path, since they are stored in directory structures that +mirror the web application. This substantially reduces problems with path +length limits on Windows systems. + -------------------- Webapps New Features: -------------------- +All of the Tomcat 4 documentation has been converted to a new standardized +format, under context path "/tomcat-docs". In addition, *many* new System +Administrator HOW-TO documents are included. + +Servlet mappings for the CGI and SSI servlets have been commented out in +"$CATALINA_HOME/conf/web.xml". You can uncomment them here (to enable these +services for all web applications) or add them to your own web application +(if they are needed only in specific applications). ========================== @@ -80,22 +141,110 @@ be CATALINA_HOME. (Thanks to Dennis Doubleday for noticing) - ------------------ Catalina Bug Fixes: ------------------ +Bootstrap: Do not load "jndi.jar" on a JDK 1.3 or later system, in *any* of +the class loaders we are creating (because it is built in to the JDK in 1.3). +Previously, we were only checking this for the common class loader. + +Bootstrap: Fix more cases of platform-sensitive classpath paths on Windows. + +StandardClassLoader: Make StandardClassLoader sensitive to File.separator. + +HttpRequestBase: Fix bugs in ServletRequest.getRequestDispatcher() when +called with paths that had "/../" elements. + +StandardWrapper: Do not allow a servlet unload() operation to begin if there +are any current requests executing within this servlet. + +CGIServlet: Make it not possible to use the "invoker" service to execute +CGIServlet when it is not mapped. + +CGIServlet: Send a 404 when the CGI script does not exist. + +InvokerServlet: Synchronize around the initial creation of a new Wrapper for +the invoked servlet, to avoid race conditions when multiple requests try to +create the same wrapper at the same time. + +StandardServer: Fix a DoS attack against the shutdown port, that could cause +an "out of memory" exception by sending a continuous stream of characters. +StandardWrapperValve: Fix handling of UnavailableException thrown by the +service() method. The spec requires that the servlet instance be taken out +of service immediately (including a call to destroy()). In addition, return +status 503 (SC_SERVICE_UNAVAILABLE) rather than 500 (SC_INTERNAL_SERVER_ERROR). +HttpResponseBase: Make it possible to call sendRedirect() to a URL with a +protocol not supported by the current server (such as a redirect to an +"https" URL on another server, when this Tomcat instance does not have the +JSSE classes installed. + +DefaultServlet: A 206 status returned the wrong content length. + +WebappClassLoader: Synchronize before calling defineClass(). + +HttpConnector: Fix race conditions during HTTP connector shutdown. + +FormAuthenticator: Do not double up query-string based parameters when +restoring the original request after a form-based login. This was only +happening on GET requests -- POST requests were already processed correctly. + +Base64: Update Base64 implementation to eliminate trailing 00 bytes from +the output of decode(). + +CookieTools: URL encode the name and value of generated cookies, since we +URL decode them on input. + +WebdavServlet: Return status 405 (method not allowed) in response to a +PROPPATCH request. + +SSLServerSocketFactory: Make it possible to specify absolute or relative +(to $CATALINA_BASE) paths for the "keystoreFile" property. + +JDBCRealm/JNDIRealm/MemoryRealm: When comparing the hexadecimal versions of +digested passwords, perform a case-insensitive comparison to avoid problems +comparing "a-f" with "A-F". + + ---------------- Jasper Bug Fixes: ---------------- +JikesJavaCompiler: Normalize the classpath Jikes is invoked with so that it +doesn't contain file URLs like "/c:/tomcat/webapps/..." on Windows. Add "+E" +option to Jikes command line so that error output parsing works. + +IncludeGenerator/JspRuntimeLibrary/PageContextImpl: Fix a spec-compliance +bug in the implementation of PageContext.include(), which was not flushing +the output stream even though this is explicitly required in the Javadocs. + +JspServlet: Change the way that Jasper looks for the "?jsp_precompile" +request parameter. Previously, it was using request.getParameter(), which +caused all of the request parameters to be parsed before the JSP page +would have the opportunity to call request.setCharacterEncoding(). + +TagBeginGenerator: Fix problems when generating code for custom tag attributes +of type char, Character, or short. + +XmlOutputter: Fix problems in the generated XML view of a JSP page that would +cause duplicate <jsp:root> elements or attributes when processing a page that +was already in XML syntax. + +JspC: Update web.xml fragments generated by jspc command line compiler +to use the appropriate DTD header, and generate valid <servlet-mapping> +elements. + +TagGeneratorBase: Create valid custom tag names even when characters not valid +in Java identifiers are included. ----------------- Webapps Bug Fixes: ----------------- + +Updated all examples to the new DTDs and tag library syntax. ============================ 1.11 +1 -3 jakarta-tomcat-4.0/RELEASE-PLAN-4.0.txt Index: RELEASE-PLAN-4.0.txt =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-PLAN-4.0.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- RELEASE-PLAN-4.0.txt 2001/09/09 00:48:11 1.10 +++ RELEASE-PLAN-4.0.txt 2001/09/10 05:50:28 1.11 @@ -1,4 +1,4 @@ -$Id: RELEASE-PLAN-4.0.txt,v 1.10 2001/09/09 00:48:11 craigmcc Exp $ +$Id: RELEASE-PLAN-4.0.txt,v 1.11 2001/09/10 05:50:28 craigmcc Exp $ Release Plan for Apache Tomcat 4.0 ================================== @@ -47,8 +47,6 @@ ------------------------------------------------ Catalina 3009 Manager cannot install web app - -Catalina 3292 Class reloading fails (awaiting test case) Catalina 3336 ArrayIndexOutOfBounds exception when starting and stopping an app several times through Manager