svn commit: r331751 - in /tomcat/site/trunk: docs/download-connectors.html xdocs/download-connectors.xml

2005-11-08 Thread mturk
Author: mturk
Date: Tue Nov  8 01:20:51 2005
New Revision: 331751

URL: http://svn.apache.org/viewcvs?rev=331751view=rev
Log:
Update download-connectors for 1.2.15 release.

Modified:
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/xdocs/download-connectors.xml

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-connectors.html?rev=331751r1=331750r2=331751view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Tue Nov  8 01:20:51 2005
@@ -218,18 +218,18 @@
 /div
 ul
 li class=download
-a 
href=[preferred]/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.tar.gzJK
 1.2.14 Source Release tar.gz/a
+a 
href=[preferred]/tomcat/tomcat-connectors/jk/source/jk-1.2.15/jakarta-tomcat-connectors-1.2.15-src.tar.gzJK
 1.2.15 Source Release tar.gz/a
 ul class=attributes
 li
-span class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.tar.gz.asc;pgp/a]/span
+span class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.15/jakarta-tomcat-connectors-1.2.15-src.tar.gz.asc;pgp/a]/span
 /li
 /ul
 /li
 li class=download
-a 
href=[preferred]/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.zipJK
 1.2.14 Source Release zip/a
+a 
href=[preferred]/tomcat/tomcat-connectors/jk/source/jk-1.2.15/jakarta-tomcat-connectors-1.2.15-src.zipJK
 1.2.15 Source Release zip/a
 ul class=attributes
 li
-span class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.zip.asc;pgp/a]/span
+span class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.15/jakarta-tomcat-connectors-1.2.15-src.zip.asc;pgp/a]/span
 /li
 /ul
 /li

Modified: tomcat/site/trunk/xdocs/download-connectors.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs/download-connectors.xml?rev=331751r1=331750r2=331751view=diff
==
--- tomcat/site/trunk/xdocs/download-connectors.xml (original)
+++ tomcat/site/trunk/xdocs/download-connectors.xml Tue Nov  8 01:20:51 2005
@@ -1,4 +1,4 @@
-?xml version=1.0 encoding=UTF-8?
+?xml version=1.0 encoding=UTF-8?
 documentpropertiestitleTomcat Connectors (mod_jk, mod_jk2) 
Downloads/title/propertiesbodysection name=Tomcat Connectors (mod_jk, 
mod_jk2) DownloadspWe recommend you use a mirror to download our release
 builds, but you strongmust/strong verify the integrity of
 the downloaded files using signatures downloaded from our main 
@@ -19,4 +19,34 @@
   [end]
   /selectinput type=submit value=Change//form/pp
 The codeKEYS/code link links to the code signing keys used to 
sign the product. The codePGP/code link downloads the OpenPGP compatible 
signature from our main site. 
-/ppFor more information concerning Tomcat Connectors (mod_jk, 
mod_jk2), see the a href=http://tomcat.apache.org/connectors-doc/; 
class=nameTomcat Connectors (mod_jk, mod_jk2)/a site. /pdiv 
class=linksspan class=linka 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/KEYS;KEYS/a/span/divul
 class=downloadsli class=groupdiv class=linksspan class=labelJK 
1.2/span/divulli class=groupdiv class=linksspan 
class=labelSource/span/divulli class=downloada 
href=[preferred]/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.tar.gzJK
 1.2.14 Source Release tar.gz/aul class=attributeslispan 
class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.tar.gz.asc;pgp/a]/span/li/ul/lili
 class=downloada 
href=[preferred]/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.zipJK
 1.2.14 Source Release zip/aul class=attributeslispan class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.14/jakarta-tomcat-connectors-1.2.14.1-src.zip.asc;pgp/a]/span/li/ul/li/ul/lili
 class=downloada 
href=[preferred]/tomcat/tomcat-connectors/jk/binaries/JK 1.2 Binary 
Releases/a/li/ul/lili class=groupdiv class=linksspan 
class=labelJK 2 (deprecated)/span/divulli class=groupdiv 
class=linksspan class=labelSource/span/divulli 
class=downloada 
href=[preferred]/tomcat/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gzJK2
 2.0.4 Source Release tar.gz/aul class=attributeslispan 
class=pgp[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gz.asc;pgp/a]/span/li/ul/lili
 class=downloada 
href=[preferred]/tomcat/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.zipJK2
 2.0.4 Source 

svn commit: r331756 - in /tomcat/connectors/trunk/jk/xdocs: index.xml news/20050101.xml

2005-11-08 Thread mturk
Author: mturk
Date: Tue Nov  8 01:40:10 2005
New Revision: 331756

URL: http://svn.apache.org/viewcvs?rev=331756view=rev
Log:
Update docc to 1.2.15 release

Modified:
tomcat/connectors/trunk/jk/xdocs/index.xml
tomcat/connectors/trunk/jk/xdocs/news/20050101.xml

Modified: tomcat/connectors/trunk/jk/xdocs/index.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jk/xdocs/index.xml?rev=331756r1=331755r2=331756view=diff
==
--- tomcat/connectors/trunk/jk/xdocs/index.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/index.xml Tue Nov  8 01:40:10 2005
@@ -28,6 +28,17 @@
 section name=Headlines
 br /
 ul
+lia href=news/20050101.html#20051108.18 November 2005 - bJK-1.2.15 
released/b/a
+pThe Apache Tomcat team is proud to announce the immediate availability
+of Jakarta Tomcat Connectors 1.2.15 Stable.
+/p
+pDownload the a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.15/jakarta-tomcat-connectors-1.2.15-src.tar.gz;JK
 1.2.15 release sources/a
+ | a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.15/jakarta-tomcat-connectors-1.2.15-src.tar.gz.asc;PGP
 signature/a
+/p
+pDownload the a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/;binaries/a
 for selected platforms.
+/p
+/li
+
 lia href=news/20050101.html#20050713.113 July 2005 - bJK-1.2.14 
released/b/a
 pThe Apache Tomcat team is proud to announce the immediate availability
 of Jakarta Tomcat Connectors 1.2.14 Stable.

Modified: tomcat/connectors/trunk/jk/xdocs/news/20050101.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jk/xdocs/news/20050101.xml?rev=331756r1=331755r2=331756view=diff
==
--- tomcat/connectors/trunk/jk/xdocs/news/20050101.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/news/20050101.xml Tue Nov  8 01:40:10 2005
@@ -21,6 +21,22 @@
 /a
 hr size=1 noshade=noshade /
 --
+a name=20051108.1 
+h38 November - JK-1.2.15 released/h3
+pThe Apache Tomcat team is proud to announce the immediate availability
+of Jakarta Tomcat Connectors 1.2.15. This is Stable release and it contains
+few bug fixes found in 1.2.14 version.
+/p
+p
+ Please see the a href=../changelog.htmlChangeLog/a for a full list of 
changes.
+/p
+pIf you find any bugs while using this release, please fill in the
+a 
href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205;Bugzilla/a
+Bug Report. When entering bug select bNative:JK/b Component.
+/p
+/a
+hr size=1 noshade=noshade /
+
 a name=20050713.1 
 h313 July - JK-1.2.14 released/h3
 pThe Apache Tomcat team is proud to announce the immediate availability



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Apache Tomcat mod_jk 1.2.15 Web Server Connector released

2005-11-08 Thread Mladen Turk

The Apache Tomcat team is pleased to announce the release of
version 1.2.15 of the Apache Tomcat mod_jk web server connector.

Tomcat is the reference implementation of a web application server
which implements the Java Servlet and JavaServer Pages specifications.

mod_jk is a connector which allows a web server such as Apache HTTPD
to act as a front end to the Tomcat web application server.
This version fixes a number of minor bugs.

See http://tomcat.apache.org/connectors-doc/changelog.html
for a complete list of changes.

Source distribtions can be downloaded from an
Apache Software Foundation mirror at:
(they are named jakarta-tomcat-connectors-1.2.15-src.tar.gz
 and jakarta-tomcat-connectors-1.2.15-src.zip)

http://tomcat.apache.org/download-connectors.cgi

Binary distributions for a number of different operating systems and
web servers can be downloaded from an
Apache Software Foundation mirror at:

http://tomcat.apache.org/download-connectors.cgi

Documentation for using mod_jk with Tomcat 3.3, 4.1, 5.0 and 5.5
can be found at:

http://tomcat.apache.org/connectors-doc/

The Apache Tomcat team.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27371] - java.lang.ThreadDeath caused by log4j when reloading Tomcat app

2005-11-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27371.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27371





--- Additional Comments From [EMAIL PROTECTED]  2005-11-08 10:58 ---
Gili,

You asked for a minimal testcase showing ThreadDeath being thrown, so that's
what I described :).  You should try it out - perhaps it will assist in
understanding the specifics of the problem you are having there.

You should bear in mind that this is no longer considered a bug, as the issue is
pretty well understood now.  To re-raise as a bug you would need to be able to
demostrate incorrect behaviour by Tomcat's classloaders.  There are workarounds
for the fact that Tomcat does not allow the service() threads timeout to be
configured.  Other invalid references to classloaders may be harder to track
down, perhaps this is what you are experiencing.

I couldn't see any of your stack-traces above.  Perhaps they will highlight the
operation that caused the ThreadDeath to be thrown.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r331869 - /tomcat/container/tc5.5.x/webapps/docs/building.xml

2005-11-08 Thread markt
Author: markt
Date: Tue Nov  8 11:29:05 2005
New Revision: 331869

URL: http://svn.apache.org/viewcvs?rev=331869view=rev
Log:
Update building docs for SVN.

Modified:
tomcat/container/tc5.5.x/webapps/docs/building.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/building.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/building.xml?rev=331869r1=331868r2=331869view=diff
==
--- tomcat/container/tc5.5.x/webapps/docs/building.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/building.xml Tue Nov  8 11:29:05 2005
@@ -16,7 +16,7 @@
 section name=Introduction
 
 p
-Building Tomcat from CVS is very easy, and is the first step to contributing to
+Building Tomcat from SVN is very easy, and is the first step to contributing to
 Tomcat. The following is a step by step TODO list.
 /p
 
@@ -25,9 +25,10 @@
 section name=Download and install a Java Development Kit 1.4.x or later
 
 p
-Earlier releases would also work, but are harder to work with due to the need 
to
-download additional dependencies. Tomcat also runs much faster on 
-the latest 1.4 JDK.
+The default distribution of Tomcat 5.5.x requires a 5.0 or later JDK. Tomcat
+can be built using a 1.4.x JDK but you will need to copy the contents of the
+compat directory (created by the build process) to your build directory before
+Tomcat will start.
 /p
 
 p
@@ -51,7 +52,7 @@
 p
 Unpack the binary distribution into a convenient location so that the
 Ant release resides in its own directory (conventionally named
-jakarta-ant-1.6.2).  For the purposes of the remainder of this document,
+apache-ant-1.6.x).  For the purposes of the remainder of this document,
 the symbolic name ${ant.home} is used to refer to the full pathname of
  the release directory.
 /p
@@ -91,7 +92,7 @@
 /p
 
 p
-WARNING: Running this command will checkout the Tomcat 5 sources from CVS, as
+WARNING: Running this command will checkout the Tomcat 5 sources from SVN, as
   well as download binaries to the code/usr/share/java/code directory. 
   Make sure this is appropriate to do so on your computer. On Windows, 
   this usually corresponds to the codeC:\usr\share\java/code directory, 
@@ -157,7 +158,7 @@
 Note that you bmust/b complete all the above steps to fetch
 the repositories and build some JAR files the first time.
 After you have completed the above steps, you can set up a
-series of Eclipse 3 projects.
+series of Eclipse 4 projects.
 bNote/b that this will not let you build everything under Eclipse;
 the build process requires use of Ant for the many stages that aren't
 simple Java compilations.
@@ -167,18 +168,19 @@
 /p
 
 p
+Use Windows-gt;Preferences and then Java-gt;Build Path-gt;Classpath
+Variables to add a new Classpath variable called TOMCAT_LIBS_BASE and
+set this to the base path where the binary dependencies have been
+downloaded.
 Use File-gt;New Project to create a new Java project 
 for each of the binaries repository (e.g., /usr/share/java), 
-tomcat-connectors, tomcat-catalina, jasper, servletapi.
+container, connectors, jasper, servletapi. 
 Unless you thought ahead to make the ${tomcat.source} directory be under
 your Workspace folder, tell Eclipse the external location.
-The obvious dependencies will be needed; the repository project
-needs to export all its jars, and be referred to by the other projects.
-Eclipse will find all source trees and jars, and
-hopefully compile without problems
-You will need to add ${ant-home}/lib/ant.jar as an External Jar
-under Project Properties for some of these projects (notably those that fail
-to compile for want of BuildException).
+Eclipse .project and .classpath files are provided in each of these
+directories so Eclipse should find all source trees and jars, and
+hopefully compile without problems. bNote/b that these
+files assume you are using Eclipse with a 5.0 or later JDK.
 /p
 
 p
@@ -191,9 +193,9 @@
 
 p
 Note also that due to the way the Tomcat source is assembled
-from several CVS projects, you may not be able to use the Eclipse
-CVS client to update (nor to commit, if you are a committer).
-Use the external CVS client of your choice, then use the
+from several SVN projects, you may not be able to use the Eclipse
+SVN client to update (nor to commit, if you are a committer).
+Use the external SVN client of your choice, then use the
 Eclipse PackageExplorer or Navigator Refresh context menu item
 to tell Eclipse that you've updated the files.
 /p



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r331870 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java

2005-11-08 Thread markt
Author: markt
Date: Tue Nov  8 11:32:28 2005
New Revision: 331870

URL: http://svn.apache.org/viewcvs?rev=331870view=rev
Log:
Simple part of fix for bug 37150 based on profiler output. Doesn't fix the 
major culprit. Needs more work.

Modified:

tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java

Modified: 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java?rev=331870r1=331869r2=331870view=diff
==
--- 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
 (original)
+++ 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
 Tue Nov  8 11:32:28 2005
@@ -424,9 +424,6 @@
 // Temp. content file used to support partial PUT
 File contentFile = null;
 
-// Input stream for temp. content file used to support partial PUT
-FileInputStream contentFileInStream = null;
-
 Range range = parseContentRange(req, resp);
 
 InputStream resourceInputStream = null;
@@ -1161,8 +1158,11 @@
 try {
 
 // Render the directory entries within this directory
-DirContext directory = cacheEntry.context;
 NamingEnumeration enumeration = resources.list(cacheEntry.name);
+
+// rewriteUrl(contextPath) is expensive. cache result for later 
reuse
+String rewrittenContextPath =  rewriteUrl(contextPath);
+
 while (enumeration.hasMoreElements()) {
 
 NameClassPair ncPair = (NameClassPair) 
enumeration.nextElement();
@@ -1184,7 +1184,7 @@
   .append((childCacheEntry.context != null)?dir:file)
   .append(');
 sb.append( urlPath=')
-  .append(rewriteUrl(contextPath))
+  .append(rewrittenContextPath)
   .append(rewriteUrl(cacheEntry.name + resourceName))
   .append((childCacheEntry.context != null)?/:)
   .append(');
@@ -1273,6 +1273,9 @@
 PrintWriter writer = new PrintWriter(osWriter);
 
 StringBuffer sb = new StringBuffer();
+
+// rewriteUrl(contextPath) is expensive. cache result for later reuse
+String rewrittenContextPath =  rewriteUrl(contextPath);
 
 // Render the page header
 sb.append(html\r\n);
@@ -1298,7 +1301,7 @@
 if (slash = 0) {
 String parent = name.substring(0, slash);
 sb.append( - a href=\);
-sb.append(rewriteUrl(contextPath));
+sb.append(rewrittenContextPath);
 if (parent.equals())
 parent = /;
 sb.append(rewriteUrl(parent));
@@ -1333,7 +1336,6 @@
 try {
 
 // Render the directory entries within this directory
-DirContext directory = cacheEntry.context;
 NamingEnumeration enumeration = resources.list(cacheEntry.name);
 boolean shade = false;
 while (enumeration.hasMoreElements()) {
@@ -1359,7 +1361,7 @@
 
 sb.append(td align=\left\nbsp;nbsp;\r\n);
 sb.append(a href=\);
-sb.append(rewriteUrl(contextPath));
+sb.append(rewrittenContextPath);
 resourceName = rewriteUrl(name + resourceName);
 sb.append(resourceName);
 if (childCacheEntry.context != null)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37150] - denial of service on many and long requests on v5.5.x

2005-11-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37150.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37150


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-11-08 22:12 ---
This bug report does not make any sense, sorry.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37150] - denial of service on many and long requests on v5.5.x

2005-11-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37150.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37150





--- Additional Comments From [EMAIL PROTECTED]  2005-11-08 23:45 ---
(In reply to comment #5)
 Looks like his testing of 5.5.12 was bad. I can easily reproduce this using 
 the
 latest source from SVN and the problem area has remained unchanged. I posted 
 an
 explanation of what is going on to the dev list.

The abstraction layer will make directory listings expensive (actually,
directory listings in Java are going to be expensive regardless), so I don't see
how this can be optimized. The fact remains however that this bug report is
nonsense.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]