[Bug 53115] catalina.bat run does not work is TEMP contains spaces

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53115

Mark Thomas  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |WONTFIX

--- Comment #8 from Mark Thomas  ---
There is no way I am aware of to fix this. See comment #3. Please do not
re-open this issue unless you have a patch that actually fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344584 - /tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 07:48:53 2012
New Revision: 1344584

URL: http://svn.apache.org/viewvc?rev=1344584&view=rev
Log:
Correct typo

Modified:
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1344584&r1=1344583&r2=1344584&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu May 31 07:48:53 2012
@@ -406,7 +406,7 @@
 one thread at the same time as it is closed on another thread. (markt) 
 
   
   
-Include port number when known in connector name when loggin messages
+Include port number when known in connector name when logging messages
 from connectors that use automatic free port allocation. (markt)
   
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53225] IllegalStateException "zip file closed" with resource from webfragment jar if JreMemoryLeakPreventionListener is removed

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53225

--- Comment #2 from Mark Thomas  ---
Confirmed that setting urlCacheProtection="false" for the
JreMemoryLeakPreventionListener is sufficient to trigger this issue. Still
digging as to the root cause.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344612 - /tomcat/trunk/conf/catalina.properties

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 09:19:43 2012
New Revision: 1344612

URL: http://svn.apache.org/viewvc?rev=1344612&view=rev
Log:
Additional JARs to skip for annotations, initializers etc.

Modified:
tomcat/trunk/conf/catalina.properties

Modified: tomcat/trunk/conf/catalina.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/conf/catalina.properties?rev=1344612&r1=1344611&r2=1344612&view=diff
==
--- tomcat/trunk/conf/catalina.properties (original)
+++ tomcat/trunk/conf/catalina.properties Thu May 31 09:19:43 2012
@@ -91,6 +91,7 @@ annotations-api.jar,el-api.jar,jsp-api.j
 catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
 jasper.jar,jasper-el.jar,ecj-*.jar,\
 tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
+tomcat-jni.jar,tomcat-spdy.jar,\
 tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
 tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
 tomcat-jdbc.jar,\



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344613 - in /tomcat/tc7.0.x/trunk: ./ conf/catalina.properties

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 09:20:33 2012
New Revision: 1344613

URL: http://svn.apache.org/viewvc?rev=1344613&view=rev
Log:
Additional JARs to skip for annotations, initializers etc.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/conf/catalina.properties

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1344612

Modified: tomcat/tc7.0.x/trunk/conf/catalina.properties
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/conf/catalina.properties?rev=1344613&r1=1344612&r2=1344613&view=diff
==
--- tomcat/tc7.0.x/trunk/conf/catalina.properties (original)
+++ tomcat/tc7.0.x/trunk/conf/catalina.properties Thu May 31 09:20:33 2012
@@ -91,6 +91,7 @@ annotations-api.jar,el-api.jar,jsp-api.j
 catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
 jasper.jar,jasper-el.jar,ecj-*.jar,\
 tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
+tomcat-jni.jar,tomcat-spdy.jar,\
 tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
 tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
 tomcat-jdbc.jar,\



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344629 - /tomcat/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 09:58:56 2012
New Revision: 1344629

URL: http://svn.apache.org/viewvc?rev=1344629&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53225
Fix ISE "zip file closed" when urlCacheProtection="false" in the 
JreMemoryLeakPreventionListener

Modified:
tomcat/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java?rev=1344629&r1=1344628&r2=1344629&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java Thu May 31 
09:58:56 2012
@@ -37,6 +37,7 @@ public class FileUrlJar implements Jar {
 
 public FileUrlJar(URL url) throws IOException {
 JarURLConnection jarConn = (JarURLConnection) url.openConnection();
+jarConn.setUseCaches(false);
 jarFile = jarConn.getJarFile();
 }
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344634 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/scan/FileUrlJar.java webapps/docs/changelog.xml

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 10:02:43 2012
New Revision: 1344634

URL: http://svn.apache.org/viewvc?rev=1344634&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53225
Fix ISE "zip file closed" when urlCacheProtection="false" in the 
JreMemoryLeakPreventionListener

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1344629

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java?rev=1344634&r1=1344633&r2=1344634&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/scan/FileUrlJar.java Thu 
May 31 10:02:43 2012
@@ -37,6 +37,7 @@ public class FileUrlJar implements Jar {
 
 public FileUrlJar(URL url) throws IOException {
 JarURLConnection jarConn = (JarURLConnection) url.openConnection();
+jarConn.setUseCaches(false);
 jarFile = jarConn.getJarFile();
 }
 

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1344634&r1=1344633&r2=1344634&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu May 31 10:02:43 2012
@@ -140,6 +140,12 @@
 annotations. Patch provided by Violeta Georgieva. (markt)
   
   
+53225: Fix an IllegalStateException due to the JAR file 
being
+closed when accessing static resources in a JAR file when
+urlCacheProtection="false" in the
+JreMemoryLeakPreventionListener. (markt)
+  
+  
 53267: Ensure that using the GC Daemon Protection feature of
 the JreMemoryLeakPreventionListener does not trigger a
 full GC every hour. (markt)



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 52746] Classloader closed in middle of webapp deployment

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52746

Bug 52746 depends on bug 53225, which changed state.

Bug 53225 Summary: IllegalStateException "zip file closed" with resource from 
webfragment jar if JreMemoryLeakPreventionListener is removed
https://issues.apache.org/bugzilla/show_bug.cgi?id=53225

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53225] IllegalStateException "zip file closed" with resource from webfragment jar if JreMemoryLeakPreventionListener is removed

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53225

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Mark Thomas  ---
Fixed in trunk and 7.0.x and will be included in 7.0.28 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53115] catalina.bat run does not work is TEMP contains spaces

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53115

--- Comment #9 from Konstantin Kolinko  ---
(In reply to comment #3)

I think %TEMP% do not use quotes, like ones are not used in %PATH%.
The OS cares that %TEMP% do not contain spaces, and thus it would not be
quoted.

You naturally do not use quotes when you configure values through GUI.
The syntax for SET command is less intuitive. For reference:

SET "TEMP=value"


[Offtopic] Regarding that thread on social.technet.microsoft.com I would say
that
- The value of NtfsDisable8dot3NameCreation affects the time when a directory
is created (in that case: when a profile is created), not when it is used. That
is whether mkdir generates two names or just one.
- Setting TEMP to C:\Temp is a valid workaround for the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53225] IllegalStateException "zip file closed" with resource from webfragment jar if JreMemoryLeakPreventionListener is removed

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53225

Konstantin Kolinko  changed:

   What|Removed |Added

 CC||fr...@jfrog.org

--- Comment #4 from Konstantin Kolinko  ---
*** Bug 52746 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 52746] Classloader closed in middle of webapp deployment

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52746

Konstantin Kolinko  changed:

   What|Removed |Added

 Resolution|INVALID |DUPLICATE

--- Comment #3 from Konstantin Kolinko  ---
Marking as DUPLICATE of bug 53225.

*** This bug has been marked as a duplicate of bug 53225 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot success in ASF Buildbot on tomcat-7-trunk

2012-05-31 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-7-trunk/builds/603

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1344634
Blamelist: markt

Build succeeded!

sincerely,
 -The Buildbot





[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed

2012-05-31 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-tc7.0.x-test has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc7.0.x-test :  Tomcat 7.x, a web server implementing Java Servlet 
3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-7.0.x/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 2 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-31052012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-31052012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-31052012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-31052012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-31052012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-7.0.x]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-31052012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-31052012.jar:/srv/gump/
 public/workspace/junit/dist/junit-31052012.jar
-
[junit] at 
org.junit.runners.model.FrameworkMethod.invokeExpl

[RESULT] Was: [VOTE] Release Apache Tomcat Connectors 1.2.37

2012-05-31 Thread Mladen Turk

With 3 +1 binding votes from Filip, Christopher and Mladen
I declare this vote as passed.

I'll copy the artefacts to dist site and create ANN after
mirror sync window.



[1] http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.37/



Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344651 - in /tomcat/jk/trunk: native/STATUS.txt native/common/jk_version.h native/configure.in xdocs/index.xml xdocs/news/20120301.xml

2012-05-31 Thread mturk
Author: mturk
Date: Thu May 31 11:18:18 2012
New Revision: 1344651

URL: http://svn.apache.org/viewvc?rev=1344651&view=rev
Log:
Add release info and bump version

Modified:
tomcat/jk/trunk/native/STATUS.txt
tomcat/jk/trunk/native/common/jk_version.h
tomcat/jk/trunk/native/configure.in
tomcat/jk/trunk/xdocs/index.xml
tomcat/jk/trunk/xdocs/news/20120301.xml

Modified: tomcat/jk/trunk/native/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/STATUS.txt?rev=1344651&r1=1344650&r2=1344651&view=diff
==
--- tomcat/jk/trunk/native/STATUS.txt (original)
+++ tomcat/jk/trunk/native/STATUS.txt Thu May 31 11:18:18 2012
@@ -18,7 +18,8 @@ Last modified at [$Date$]
 
 Release:
 
-1.2.37  : in development
+1.2.38  : in development
+1.2.37  : released May 31, 2012
 1.2.36  : released May 14, 2012
 1.2.35  : released March 24, 2012
 1.2.34  : not released

Modified: tomcat/jk/trunk/native/common/jk_version.h
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_version.h?rev=1344651&r1=1344650&r2=1344651&view=diff
==
--- tomcat/jk/trunk/native/common/jk_version.h (original)
+++ tomcat/jk/trunk/native/common/jk_version.h Thu May 31 11:18:18 2012
@@ -26,10 +26,10 @@
 /** START OF AREA TO MODIFY BEFORE RELEASING */
 #define JK_VERMAJOR 1
 #define JK_VERMINOR 2
-#define JK_VERFIX   37
+#define JK_VERFIX   38
 
 /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */
-#define JK_VERISRELEASE 1
+#define JK_VERISRELEASE 0
 /* Beta number */
 #define JK_VERBETA  0
 #define JK_BETASTRING   "0"

Modified: tomcat/jk/trunk/native/configure.in
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/configure.in?rev=1344651&r1=1344650&r2=1344651&view=diff
==
--- tomcat/jk/trunk/native/configure.in (original)
+++ tomcat/jk/trunk/native/configure.in Thu May 31 11:18:18 2012
@@ -26,7 +26,7 @@ AC_CANONICAL_SYSTEM
 
 dnl package and version. (synchronization with common/jk_version.h ?)
 PACKAGE=mod_jk
-VERSION=1.2.37
+VERSION=1.2.38
 
 AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
 

Modified: tomcat/jk/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/index.xml?rev=1344651&r1=1344650&r2=1344651&view=diff
==
--- tomcat/jk/trunk/xdocs/index.xml (original)
+++ tomcat/jk/trunk/xdocs/index.xml Thu May 31 11:18:18 2012
@@ -45,6 +45,17 @@ manual is described in more detail below
 
 
 
+31 May 2012 - 
JK-1.2.37 released
+The Apache Tomcat team is proud to announce the immediate availability
+of Tomcat Connectors 1.2.37 Stable. This release contains bug fixes found 
in previous release.
+
+Download the http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-src.tar.gz";>JK
 1.2.37 release sources
+| http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-src.tar.gz.asc";>PGP
 signature
+
+Download the http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/";>binaries
 for selected platforms.
+
+
+
 14 May 2012 - 
JK-1.2.36 released
 The Apache Tomcat team is proud to announce the immediate availability
 of Tomcat Connectors 1.2.36 Stable. This release contains bug fixes found 
in previous release.

Modified: tomcat/jk/trunk/xdocs/news/20120301.xml
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/news/20120301.xml?rev=1344651&r1=1344650&r2=1344651&view=diff
==
--- tomcat/jk/trunk/xdocs/news/20120301.xml (original)
+++ tomcat/jk/trunk/xdocs/news/20120301.xml Thu May 31 11:18:18 2012
@@ -31,6 +31,20 @@
 
 
 
+
+
+
+The Apache Tomcat team is proud to announce the immediate availability
+of Tomcat Connectors 1.2.37. This is a stable release concentrating 
mainly on
+bug fixes.
+
+Please see the ChangeLog 
for a full list of changes.
+
+If you find any bugs while using this release, please fill in the
+https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors";>Bugzilla
+Bug Report.
+
+
 
 
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r678 - in /release/tomcat/tomcat-connectors/jk: README.html binaries/windows/README.html

2012-05-31 Thread mturk
Author: mturk
Date: Thu May 31 11:24:18 2012
New Revision: 678

Log:
Upload 1.2.37 artefacts

Modified:
release/tomcat/tomcat-connectors/jk/README.html
release/tomcat/tomcat-connectors/jk/binaries/windows/README.html

Modified: release/tomcat/tomcat-connectors/jk/README.html
==
--- release/tomcat/tomcat-connectors/jk/README.html (original)
+++ release/tomcat/tomcat-connectors/jk/README.html Thu May 31 11:24:18 2012
@@ -47,13 +47,13 @@
 
 
 % pgpk -a KEYS
-% pgpv tomcat-connectors-1.2.36-src.tar.gz.asc
+% pgpv tomcat-connectors-1.2.37-src.tar.gz.asc
 or,
 % pgp -ka KEYS
-% pgp tomcat-connectors-1.2.36-src.tar.gz.asc
+% pgp tomcat-connectors-1.2.37-src.tar.gz.asc
 or,
 % gpg --import KEYS
-% gpg --verify tomcat-connectors-1.2.36-src.tar.gz.asc
+% gpg --verify tomcat-connectors-1.2.37-src.tar.gz.asc
 
 
 We offer MD5 and SHA1 hashes as an alternative to validate the integrity

Modified: release/tomcat/tomcat-connectors/jk/binaries/windows/README.html
==
--- release/tomcat/tomcat-connectors/jk/binaries/windows/README.html (original)
+++ release/tomcat/tomcat-connectors/jk/binaries/windows/README.html Thu May 31 
11:24:18 2012
@@ -35,7 +35,7 @@
connector to fail.
 
 
-The current stable release is 1.2.36
+The current stable release is 1.2.37
 
 See the Apache Tomcat Connectors
 http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html";>changelog



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r678 - in /release/tomcat/tomcat-connectors/jk: README.html binaries/windows/README.html

2012-05-31 Thread mturk
Author: mturk
Date: Thu May 31 11:24:18 2012
New Revision: 678

Log:
Upload 1.2.37 artefacts

Modified:
release/tomcat/tomcat-connectors/jk/README.html
release/tomcat/tomcat-connectors/jk/binaries/windows/README.html

Modified: release/tomcat/tomcat-connectors/jk/README.html
==
--- release/tomcat/tomcat-connectors/jk/README.html (original)
+++ release/tomcat/tomcat-connectors/jk/README.html Thu May 31 11:24:18 2012
@@ -47,13 +47,13 @@
 
 
 % pgpk -a KEYS
-% pgpv tomcat-connectors-1.2.36-src.tar.gz.asc
+% pgpv tomcat-connectors-1.2.37-src.tar.gz.asc
 or,
 % pgp -ka KEYS
-% pgp tomcat-connectors-1.2.36-src.tar.gz.asc
+% pgp tomcat-connectors-1.2.37-src.tar.gz.asc
 or,
 % gpg --import KEYS
-% gpg --verify tomcat-connectors-1.2.36-src.tar.gz.asc
+% gpg --verify tomcat-connectors-1.2.37-src.tar.gz.asc
 
 
 We offer MD5 and SHA1 hashes as an alternative to validate the integrity

Modified: release/tomcat/tomcat-connectors/jk/binaries/windows/README.html
==
--- release/tomcat/tomcat-connectors/jk/binaries/windows/README.html (original)
+++ release/tomcat/tomcat-connectors/jk/binaries/windows/README.html Thu May 31 
11:24:18 2012
@@ -35,7 +35,7 @@
connector to fail.
 
 
-The current stable release is 1.2.36
+The current stable release is 1.2.37
 
 See the Apache Tomcat Connectors
 http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html";>changelog



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r678 - in /release/tomcat/tomcat-connectors/jk: README.html binaries/windows/README.html

2012-05-31 Thread Mladen Turk

On 05/31/2012 01:24 PM, mt...@apache.org wrote:

Author: mturk
Date: Thu May 31 11:24:18 2012
New Revision: 678

Log:
Upload 1.2.37 artefacts

Modified:
 release/tomcat/tomcat-connectors/jk/README.html
 release/tomcat/tomcat-connectors/jk/binaries/windows/README.html



???
What happened to uploads?
I don't see .svn for jk (and native) subdirs


Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed

2012-05-31 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 6 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test :  Tomcat 8.x, a web server implementing Java Servlet 
3.1,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html
Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 19 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-31052012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-31052012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-31052012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-31052012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-31052012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-trunk/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org
 
.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-31052012.jar:/srv/gump/public/workspace

Re: svn commit: r678 - in /release/tomcat/tomcat-connectors/jk: README.html binaries/windows/README.html

2012-05-31 Thread Konstantin Kolinko
2012/5/31 Mladen Turk :
> On 05/31/2012 01:24 PM, mt...@apache.org wrote:
>>
>> Author: mturk
>> Date: Thu May 31 11:24:18 2012
>> New Revision: 678
>>
>> Log:
>> Upload 1.2.37 artefacts
>>
>> Modified:
>>     release/tomcat/tomcat-connectors/jk/README.html
>>     release/tomcat/tomcat-connectors/jk/binaries/windows/README.html
>>
>
> ???
> What happened to uploads?
> I don't see .svn for jk (and native) subdirs
>

You forgot to execute "svn add" before committing?

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r678 - in /release/tomcat/tomcat-connectors/jk: README.html binaries/windows/README.html

2012-05-31 Thread Mladen Turk

On 05/31/2012 01:34 PM, Konstantin Kolinko wrote:

2012/5/31 Mladen Turk:

On 05/31/2012 01:24 PM, mt...@apache.org wrote:


Author: mturk
Date: Thu May 31 11:24:18 2012
New Revision: 678

Log:
Upload 1.2.37 artefacts

Modified:
 release/tomcat/tomcat-connectors/jk/README.html
 release/tomcat/tomcat-connectors/jk/binaries/windows/README.html



???
What happened to uploads?
I don't see .svn for jk (and native) subdirs



You forgot to execute "svn add" before committing?



LOL. I even tried svn commit -am ...


Cheers
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r679 - in /release/tomcat/tomcat-connectors/jk: ./ binaries/windows/ binaries/windows/symbols/

2012-05-31 Thread mturk
Author: mturk
Date: Thu May 31 11:46:52 2012
New Revision: 679

Log:
Add 1.2.37 artefacts

Added:
release/tomcat/tomcat-connectors/jk/binaries/windows/HEADER.html   (with 
props)
release/tomcat/tomcat-connectors/jk/binaries/windows/README.html   (with 
props)
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/HEADER.html   
(with props)
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/README.html   
(with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip.sha1
release/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-s

svn commit: r679 - in /release/tomcat/tomcat-connectors/jk: ./ binaries/windows/ binaries/windows/symbols/

2012-05-31 Thread mturk
Author: mturk
Date: Thu May 31 11:46:52 2012
New Revision: 679

Log:
Add 1.2.37 artefacts

Added:
release/tomcat/tomcat-connectors/jk/binaries/windows/HEADER.html   (with 
props)
release/tomcat/tomcat-connectors/jk/binaries/windows/README.html   (with 
props)
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/HEADER.html   
(with props)
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/README.html   
(with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-i386-symbols.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.37-windows-x86_64-symbols.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.0.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iis.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-iplanet.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-httpd-2.4.x.zip.sha1

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip.asc
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-x86_64-iis.zip.sha1
release/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-s

svn commit: r1344658 - in /tomcat/site/trunk/docs/connectors-doc: ./ miscellaneous/ miscellaneous/printer/ news/ news/printer/ printer/ reference/ reference/printer/ webserver_howto/ webserver_howto/p

2012-05-31 Thread mturk
Author: mturk
Date: Thu May 31 11:55:06 2012
New Revision: 1344658

URL: http://svn.apache.org/viewvc?rev=1344658&view=rev
Log:
Update docs

Modified:
tomcat/site/trunk/docs/connectors-doc/index.html
tomcat/site/trunk/docs/connectors-doc/miscellaneous/changelog.html
tomcat/site/trunk/docs/connectors-doc/miscellaneous/printer/changelog.html
tomcat/site/trunk/docs/connectors-doc/news/20120301.html
tomcat/site/trunk/docs/connectors-doc/news/printer/20120301.html
tomcat/site/trunk/docs/connectors-doc/printer/index.html
tomcat/site/trunk/docs/connectors-doc/reference/apache.html
tomcat/site/trunk/docs/connectors-doc/reference/printer/apache.html
tomcat/site/trunk/docs/connectors-doc/webserver_howto/apache.html
tomcat/site/trunk/docs/connectors-doc/webserver_howto/printer/apache.html

Modified: tomcat/site/trunk/docs/connectors-doc/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/connectors-doc/index.html?rev=1344658&r1=1344657&r2=1344658&view=diff
==
--- tomcat/site/trunk/docs/connectors-doc/index.html (original)
+++ tomcat/site/trunk/docs/connectors-doc/index.html Thu May 31 11:55:06 2012
@@ -12,6 +12,17 @@ manual is described in more detail below
 Headlines
 
 
+31 May 2012 - 
JK-1.2.37 released
+The Apache Tomcat team is proud to announce the immediate availability
+of Tomcat Connectors 1.2.37 Stable. This release contains bug fixes found 
in previous release.
+
+Download the http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-src.tar.gz";>JK
 1.2.37 release sources
+| http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-src.tar.gz.asc";>PGP
 signature
+
+Download the http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/";>binaries
 for selected platforms.
+
+
+
 14 May 2012 - 
JK-1.2.36 released
 The Apache Tomcat team is proud to announce the immediate availability
 of Tomcat Connectors 1.2.36 Stable. This release contains bug fixes found 
in previous release.

Modified: tomcat/site/trunk/docs/connectors-doc/miscellaneous/changelog.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/connectors-doc/miscellaneous/changelog.html?rev=1344658&r1=1344657&r2=1344658&view=diff
==
--- tomcat/site/trunk/docs/connectors-doc/miscellaneous/changelog.html 
(original)
+++ tomcat/site/trunk/docs/connectors-doc/miscellaneous/changelog.html Thu May 
31 11:55:06 2012
@@ -6,6 +6,20 @@
   It should contain fixes made only after November 10th 2004, when the
   new documentation project for JK was started.
   
+Changes between 1.2.36 and 
1.2.37
+  
+  Native
+
+  
+Fix regression which can crash webserver in case worker is
+defined both as member of load balancer and as standlaone worker. 
(mturk)
+  
+  
+Fix core if debug log level is specifed and there is no
+session identifier present. (mturk)
+  
+
+  
 Changes between 1.2.35 and 
1.2.36
   
   Native

Modified: 
tomcat/site/trunk/docs/connectors-doc/miscellaneous/printer/changelog.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/connectors-doc/miscellaneous/printer/changelog.html?rev=1344658&r1=1344657&r2=1344658&view=diff
==
--- tomcat/site/trunk/docs/connectors-doc/miscellaneous/printer/changelog.html 
(original)
+++ tomcat/site/trunk/docs/connectors-doc/miscellaneous/printer/changelog.html 
Thu May 31 11:55:06 2012
@@ -5,6 +5,20 @@
   It should contain fixes made only after November 10th 2004, when the
   new documentation project for JK was started.
   
+Changes between 1.2.36 and 
1.2.37
+  
+  Native
+
+  
+Fix regression which can crash webserver in case worker is
+defined both as member of load balancer and as standlaone worker. 
(mturk)
+  
+  
+Fix core if debug log level is specifed and there is no
+session identifier present. (mturk)
+  
+
+  
 Changes between 1.2.35 and 
1.2.36
   
   Native

Modified: tomcat/site/trunk/docs/connectors-doc/news/20120301.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/connectors-doc/news/20120301.html?rev=1344658&r1=1344657&r2=1344658&view=diff
==
--- tomcat/site/trunk/docs/connectors-doc/news/20120301.html (original)
+++ tomcat/site/trunk/docs/connectors-doc/news/20120301.html Thu May 31 
11:55:06 2012
@@ -1,6 +1,20 @@
 The Apache Tomcat Connector - News - 2012 News and 
Statushttp://tomcat.apache.org/";>http://www.apache.org/";>http://www.apache.org/images/asf-logo.gif"; align="right" alt=" :: Apache 
Software Foundation" border="0">Li
 nksDocs 
HomeReference Guideworkers.propertiesuriworkermap.propertiesStatus WorkerApache HTTP ServerIISGene

svn commit: r1344698 - /tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism

2012-05-31 Thread kkolinko
Author: kkolinko
Date: Thu May 31 13:01:23 2012
New Revision: 1344698

URL: http://svn.apache.org/viewvc?rev=1344698&view=rev
Log:
One more file where version number has to be bumped, according to 
HOWTO-RELEASE.txt

Modified:
tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism

Modified: tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism?rev=1344698&r1=1344697&r2=1344698&view=diff
==
--- tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism 
(original)
+++ tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism Thu May 
31 13:01:23 2012
@@ -3425,7 +3425,7 @@ TQBzAGkAAQBSAGUAbABlAGEAcwBlAA==
ProductIDnone
ProductLanguage1033
ProductNameTomcat Isapi 
Redirector
-   ProductVersion1.2.37
+   ProductVersion1.2.38
ProgressType0install
ProgressType1Installing
ProgressType2installed



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344713 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-05-31 Thread kkolinko
Author: kkolinko
Date: Thu May 31 13:24:38 2012
New Revision: 1344713

URL: http://svn.apache.org/viewvc?rev=1344713&view=rev
Log:
proposal

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1344713&r1=1344712&r2=1344713&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu May 31 13:24:38 2012
@@ -177,6 +177,14 @@ PATCHES PROPOSED TO BACKPORT:
   +1: kkolinko, markt
   -1:
 
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53267
+  Ensure that using the GC Daemon Protection feature of
+  the JreMemoryLeakPreventionListener does not trigger a
+  full GC every hour.
+  http://svn.apache.org/viewvc?view=revision&revision=1343895
+  (r1343897 in TC7)
+  +1: kkolinko
+  -1:
   
 PATCHES/ISSUES THAT ARE STALLED
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53267] The JreMemoryLeakPreventionListener causes a full GC every hour when gcDaemonProtection=true

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53267

--- Comment #8 from Konstantin Kolinko  ---
I proposed backport of r1343895 for 6.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344725 - /tomcat/trunk/bin/catalina.bat

2012-05-31 Thread kkolinko
Author: kkolinko
Date: Thu May 31 13:59:13 2012
New Revision: 1344725

URL: http://svn.apache.org/viewvc?rev=1344725&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53115
Allow "catalina.bat run" to work even if %TEMP% contains spaces.
Note that
- It affects "run" command only.
For all other commands that code is skipped, thanks to [if not ""%1"" == 
""run""] jump.
- Single doublequotes are already used in "%TEMP%\%~nx0.run". The %TEMP% value 
cannot be quoted.

Modified:
tomcat/trunk/bin/catalina.bat

Modified: tomcat/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.bat?rev=1344725&r1=1344724&r2=1344725&view=diff
==
--- tomcat/trunk/bin/catalina.bat (original)
+++ tomcat/trunk/bin/catalina.bat Thu May 31 13:59:13 2012
@@ -98,7 +98,7 @@ rem 
 
 rem Suppress Terminate batch job on CTRL+C
 if not ""%1"" == ""run"" goto mainEntry
-if ""%TEMP%"" ==  goto mainEntry
+if "%TEMP%" == "" goto mainEntry
 if exist "%TEMP%\%~nx0.run" goto mainEntry
 echo Y>"%TEMP%\%~nx0.run"
 if not exist "%TEMP%\%~nx0.run" goto mainEntry



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat Connectors 1.2.37

2012-05-31 Thread Jim Jagielski

On May 29, 2012, at 5:23 AM, Mladen Turk wrote:

> Hi,
> 
> Apache Tomcat Connectors 1.2.37 release candidate is ready
> for vote at [1]. This version solves regression(s)
> found in released version 1.2.36 which can crash web server
> if configured in certain way.
> 
> 
> The VOTE will remain open for at least 48 hours.
> 
> The Apache Tomcat Connectors 1.2.37 is
> [+1] Stable, go ahead and release


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344732 - in /tomcat/tc7.0.x/trunk: ./ bin/catalina.bat webapps/docs/changelog.xml

2012-05-31 Thread kkolinko
Author: kkolinko
Date: Thu May 31 14:08:02 2012
New Revision: 1344732

URL: http://svn.apache.org/viewvc?rev=1344732&view=rev
Log:
Merged revision 1344725 from tomcat/trunk:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53115
Allow "catalina.bat run" to work even if %TEMP% contains spaces.
Note that it affects "run" command only.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/bin/catalina.bat
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1344725

Modified: tomcat/tc7.0.x/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/bin/catalina.bat?rev=1344732&r1=1344731&r2=1344732&view=diff
==
--- tomcat/tc7.0.x/trunk/bin/catalina.bat (original)
+++ tomcat/tc7.0.x/trunk/bin/catalina.bat Thu May 31 14:08:02 2012
@@ -98,7 +98,7 @@ rem 
 
 rem Suppress Terminate batch job on CTRL+C
 if not ""%1"" == ""run"" goto mainEntry
-if ""%TEMP%"" ==  goto mainEntry
+if "%TEMP%" == "" goto mainEntry
 if exist "%TEMP%\%~nx0.run" goto mainEntry
 echo Y>"%TEMP%\%~nx0.run"
 if not exist "%TEMP%\%~nx0.run" goto mainEntry

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1344732&r1=1344731&r2=1344732&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu May 31 14:08:02 2012
@@ -280,6 +280,10 @@
 Properly mention jsp_2_2.xsd in the main LICENSE and
 INSTALLLICENSE files. (kkolinko)
   
+  
+53115: Fix using the command "catalina.bat run"
+when the value of %TEMP% contains spaces. (kkolinko)
+  
 
   
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53115] catalina.bat run does not work is TEMP contains spaces

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53115

Konstantin Kolinko  changed:

   What|Removed |Added

 Resolution|WONTFIX |FIXED

--- Comment #10 from Konstantin Kolinko  ---
Fixed in trunk and 7.0 by r1344725 and r1344732 and will be in 7.0.28.

Note that
- The issue only affects the "run" command. All other command skip that code.
- The issue affects 7.0.x only. Earlier versions do not have that code in
catalina.bat.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53115] catalina.bat run does not work if TEMP contains spaces

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53115

Konstantin Kolinko  changed:

   What|Removed |Added

Summary|catalina.bat run does not   |catalina.bat run does not
   |work is TEMP contains   |work if TEMP contains
   |spaces  |spaces

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344742 - /tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml

2012-05-31 Thread kkolinko
Author: kkolinko
Date: Thu May 31 14:28:29 2012
New Revision: 1344742

URL: http://svn.apache.org/viewvc?rev=1344742&view=rev
Log:
Correct typos

Modified:
tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml?rev=1344742&r1=1344741&r2=1344742&view=diff
==
--- tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/jk/trunk/xdocs/miscellaneous/changelog.xml Thu May 31 14:28:29 2012
@@ -46,10 +46,10 @@
 
   
 Fix regression which can crash webserver in case worker is
-defined both as member of load balancer and as standlaone worker. 
(mturk)
+defined both as member of load balancer and as standalone worker. 
(mturk)
   
   
-Fix core if debug log level is specifed and there is no
+Fix core if debug log level is specified and there is no
 session identifier present. (mturk)
   
 
@@ -61,7 +61,7 @@
 
   
 Use named shared memory objects so that we preserve runtime configured
-   data instead reseting on each child ceation. (mturk)
+data instead of resetting on each child creation. (mturk)
   
   
 Fix dead-lock caused by not releasing mutex on close. (mturk)



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53321] worker name cannot be used in worker list if also used in loadbalancer. throws 503 error

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53321

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
Version|1.2.36  |unspecified
 Resolution|--- |FIXED
Summary|worker name cannot be used  |worker name cannot be used
   |in work er list if also |in worker list if also used
   |used in loadbalancer.   |in loadbalancer. throws 503
   |throws 503 error|error

--- Comment #2 from Konstantin Kolinko  ---
Fixed in 1.2.37.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot failure in ASF Buildbot on tomcat-7-trunk

2012-05-31 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-7-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-7-trunk/builds/604

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1344732
Blamelist: kkolinko

BUILD FAILED: failed compile_1

sincerely,
 -The Buildbot




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53115] catalina.bat run does not work if TEMP contains spaces

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53115

--- Comment #11 from Sebb  ---
(In reply to comment #9)
> (In reply to comment #3)

...

> You naturally do not use quotes when you configure values through GUI.
> The syntax for SET command is less intuitive. For reference:
> 
> SET "TEMP=value"
>

On WinXP, the command:
SET TEMP1=a b c
is the same as
SET "TEMP2=a b c"

Neither adds quotes to the value of X.
However, the following command does add quotes:

SET TEMP3="a b c"

The result of the above is:

TEMP1=a b c
TEMP2=a b c
TEMP3="a b c"

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53115] catalina.bat run does not work if TEMP contains spaces

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53115

--- Comment #12 from Sebb  ---
AFAICT, the TEMP directory is being used for two purposes:

1) for a file containing "Y"
2) as a marker to stop a recursive call of catalina.bat

The first use is trivial to eliminate; just ship Tomcat with a suitable file

The second use can also be eliminated.

If you can assume that Command Extensions are enabled, the following will work:

rem Suppress Terminate batch job on CTRL+C
if not ""%1"" == ""run"" goto mainEntry
if ""%TEMP%"" ==  goto mainEntry
rem Assumes Y.DAT exists
call :mainEntry %* 

[Bug 53337] New: IllegalStateException when trying to render a JSP after startAsync

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53337

  Priority: P2
Bug ID: 53337
  Assignee: dev@tomcat.apache.org
   Summary: IllegalStateException when trying to render a JSP
after startAsync
  Severity: normal
Classification: Unclassified
OS: Linux
  Reporter: rstoyanc...@yahoo.com
  Hardware: PC
Status: NEW
   Version: 7.0.27
 Component: Catalina
   Product: Tomcat 7

The scenario involves:

1. ServletA forwards to Servlet B
2. ServletB calls request.startAsync and starts thread
3. New thread attempts to render a JSP

I've tried JSP rendering via asyncContext.dispatch("") and via
request.getRequestDispatcher("") plus forward or include.

When using a RequestDispatcher, calling ServletA fails while calling ServletB
directly succeeds. 

When using AsyncContext.dispatch, both ServletA and ServletB fail.

The exception is always the same (while attempting to render the JSP):

java.lang.IllegalStateException: Cannot create a session after the response has
been committed

I've created a project at:
https://github.com/rstoyanchev/dispatch-test

The project page contains instructions and attached is a .war although you
might want to check the source out in order to try a couple of variations.

Beyond the specifics of the bug, the more general question is whether it is ok
to use request.getRequestDispatcher from an async thread? That seems to be the
case in Tomcat, aside from this bug, but in other containers (Jetty in
particular) it's clearly not recommended. 

Servlet Spec discussion on this question: 
http://java.net/projects/servlet-spec/lists/users/archive/2012-05/message/10.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53337] IllegalStateException when trying to render a JSP after startAsync

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53337

--- Comment #1 from rstoyanc...@yahoo.com ---
Created attachment 28866
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28866&action=edit
.war demonstrating the issue

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53338] New: mod_jk 1.2.36 doesn't work in windows

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53338

  Priority: P2
Bug ID: 53338
  Assignee: dev@tomcat.apache.org
   Summary: mod_jk 1.2.36 doesn't work in windows
  Severity: blocker
Classification: Unclassified
  Reporter: wes...@gmail.com
  Hardware: PC
Status: NEW
   Version: 1.2.36
 Component: mod_jk
   Product: Tomcat Connectors

I recently tried upgrading from mod_jk 1.2.35 to 1.2.36 with Apache 2.2.22 on
Windows and it doesn't seem to work.  I googled the issue and I see many other
people complaining about the same problem but I didn't see any bugs submitted. 
I didn't test on Linux but all the other reports I saw when I googled had to do
with Windows.  

The error in the mod_jk.log is...
[Thu May 31 11:02:02.047 2012] [11884:8432] [error]
ajp_send_request::jk_ajp_common.c (1629): (app) connecting to backend failed.
Tomcat is probably not started or is listening on the wrong port (errno=47)
[Thu May 31 11:02:02.047 2012] [11884:8432] [error]
ajp_service::jk_ajp_common.c (2642): (app) connecting to tomcat failed.

And one thing of note is that on the JK Status Manager it shows "0.0.0.0" next
to localhost under Address:Port as opposed to "127.0.0.1:8009" like it does
with 1.2.35.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53339] New: ClassNotFoundException when using WebSocketServlet

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53339

  Priority: P2
Bug ID: 53339
  Assignee: dev@tomcat.apache.org
   Summary: ClassNotFoundException when using WebSocketServlet
  Severity: normal
Classification: Unclassified
OS: Windows XP
  Reporter: ajkran...@gmail.com
  Hardware: PC
Status: NEW
   Version: 7.0.27
 Component: Catalina
   Product: Tomcat 7

I'm trying to do a JNDI lookup inside the "onOpen" method of my StreamInbound
class, but it gives me the exception below.  The code works if I move my JNP
JARs to the server lib instead of the webapp lib.  The code also works fine
from anywhere else, like in the "doGet" method.


ERROR http-bio-8080-exec-3 Test 
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interfaces.NamingContextFactory [Root exception is
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:197)
at Test$TestStreamInbound.onOpen(Test.java:103)
at
org.apache.catalina.websocket.StreamInbound.onUpgradeComplete(StreamInbound.java:180)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
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:662)

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53339] ClassNotFoundException when using WebSocketServlet

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53339

--- Comment #1 from Mark Thomas  ---
I suspect we need to set the TCCL correctly for web socket calls.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53257] getLastModified() of compilation context returns negative number

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53257

--- Comment #4 from Mark Thomas  ---
(In reply to comment #3)
> Conversion of string -> URL is performed via a call to
> ServletContext.getResource(path).
> 
> I have some trouble understanding whether ServletContext API operates on
> urlencoded on non-urlencoded paths.
> 
> My point of view is that argument of ServletContext.getResource() and the
> paths returned by ServletContext.getResourcePaths() are just file system
> paths and they should not be urlencoded.

Having looked at the Javadoc for ServletContext.getResource() I have the
opposite view. Since the URL returned is meant to be independent of where the
resource is located, then it can't be a file system path. It is a URL and as
such needs to be encoded. It could easily be using the http scheme. I haven't
yet checked the rest of the spec for language that supports or undermines that
view. That job is next.

> From the above it follows that method
> o.a.catalina.core.ApplicationContext#getResource(String) that returns
> 
> return new URL
> ("jndi", "", 0, getJNDIUri(hostName, fullPath),
>  new DirContextURLStreamHandler(resources));
> 
> is responsible to perform urlencoding of the path. The docs for java.net.URL
> say that "The URL class does not itself encode or decode any URL components
> according to the escaping mechanism defined in RFC2396." So it should
> urlencode the path before constructing the URL. 
> Maybe use new URI(.,.,.,.,.,.,).toURL(); here, as URI class handles encoding.

That I do agree with, although I worry about what it might break.

> I think that JspCompilationContext methods such as #getResource(String),
> #getLastModified(String) should also operate on non-urlencoded strings, like
> ServletContext does. (That is what they already do today. I am just
> clarifying my point of view).

Not sure on this one. I suspect that these may also need to be encoded to
handle all the edge cases.

> There is method DirContextURLConnection#list(). I do not see it called
> anywhere besides o.a.c.startup.ContextConfig#processAnnotationsJndi(), so it
> is like our internal API. It returns url-encoded paths (as modified by
> 1152593). It looks OK with the only place where it is used (and this API is
> not related to ServletContext.getResourcePaths()), but needs to be
> documented.

Whatever is decided, more documentation is almost certain to be helpful to
those looking at this code in a few years time.

> (- BTW, in JspContext#getResource(String) there is
> 306   result = context.getResource(canonicalURI(res));
> 
> The "canonicalURI(res)" call does not hurt, but it seems excessive because
> ApplicationContext#getResource(String) will call RequestUtil.normalize() on
> its argument, which does effectively the same.
> )

Then lets remove that bit.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344868 - in /tomcat/trunk/test: org/apache/catalina/core/ webapp-3.0/bug53257/

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 19:10:17 2012
New Revision: 1344868

URL: http://svn.apache.org/viewvc?rev=1344868&view=rev
Log:
Add some tests inspired by BZ53257 that confirm that the ServletContext 
correctly handles getResource() calls for resources that used ';', '+', '&', 
and '#' in the file name

Added:
tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java   
(with props)
tomcat/trunk/test/webapp-3.0/bug53257/
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar
tomcat/trunk/test/webapp-3.0/bug53257/index.jsp   (with props)

Added: tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java?rev=1344868&view=auto
==
--- tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java 
(added)
+++ tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java Thu 
May 31 19:10:17 2012
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.catalina.core;
+
+import java.io.File;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import org.apache.catalina.startup.Tomcat;
+import org.apache.catalina.startup.TomcatBaseTest;
+import org.apache.tomcat.util.buf.ByteChunk;
+
+public class TestApplicationContext extends TomcatBaseTest {
+
+@Test
+public void testBug53257() throws Exception {
+Tomcat tomcat = getTomcatInstance();
+
+File appDir = new File("test/webapp-3.0");
+// app dir is relative to server home
+tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
+
+tomcat.start();
+
+ByteChunk res = getUrl("http://localhost:"; + getPort() +
+"/test/bug53257/index.jsp");
+
+String result = res.toString();
+String[] lines = result.split("\n");
+for (String line : lines) {
+if (line.startsWith("FAIL")) {
+Assert.fail(line);
+}
+}
+}
+}

Propchange: 
tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java
--
svn:eol-style = native

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo#bar
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%23bar?rev=1344868&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo#bar (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo#bar Thu May 31 19:10:17 2012
@@ -0,0 +1 @@
+OK
\ No newline at end of file

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo&bar
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%26bar?rev=1344868&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo&bar (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo&bar Thu May 31 19:10:17 2012
@@ -0,0 +1 @@
+OK
\ No newline at end of file

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo+bar
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%2Bbar?rev=1344868&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo+bar (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo+bar Thu May 31 19:10:17 2012
@@ -0,0 +1 @@
+OK
\ No newline at end of file

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo;bar
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%3Bbar?rev=1344868&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo;bar (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo;bar Thu May 31 19:10:17 2012
@@ -0,0 +1 @@
+OK
\ No newline at end of file

Added: tomcat/trunk/test/webapp-3.0/bug53257/index.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/index.jsp

svn commit: r1344890 - in /tomcat/trunk: java/org/apache/catalina/core/ java/org/apache/naming/resources/ res/checkstyle/ test/org/apache/jasper/compiler/ test/webapp-3.0/bug53257/

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 20:18:49 2012
New Revision: 1344890

URL: http://svn.apache.org/viewvc?rev=1344890&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53257
BZ 53257 is partially a regression caused by r1152593 (the fix for BZ 51584) 
and partially an existing issue that had always been present.
This patch:
- reverts r1152593
- extends the test cases to cover BZ 53257 & BZ 51584
- correctly fixes BZ 53257 & BZ 51584
- fixes the additional issues the unit tests uncovered

Added:
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.txt
  - copied unchanged from r1344868, 
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.txt
  - copied unchanged from r1344868, 
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar.txt
  - copied unchanged from r1344868, 
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar.txt
  - copied unchanged from r1344868, 
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar
Removed:
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar
Modified:
tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
tomcat/trunk/res/checkstyle/org-import-control.xml
tomcat/trunk/test/org/apache/jasper/compiler/TestCompiler.java
tomcat/trunk/test/webapp-3.0/bug53257/index.jsp

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=1344890&r1=1344889&r2=1344890&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Thu May 
31 20:18:49 2012
@@ -14,14 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.catalina.core;
 
-
 import java.io.InputStream;
 import java.lang.reflect.InvocationTargetException;
 import java.net.MalformedURLException;
+import java.net.URI;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -69,7 +67,6 @@ import org.apache.catalina.connector.Con
 import org.apache.catalina.deploy.FilterDef;
 import org.apache.catalina.util.ResourceSet;
 import org.apache.catalina.util.ServerInfo;
-import org.apache.naming.resources.DirContextURLStreamHandler;
 import org.apache.naming.resources.Resource;
 import org.apache.tomcat.util.ExceptionUtils;
 import org.apache.tomcat.util.buf.CharChunk;
@@ -520,9 +517,8 @@ public class ApplicationContext
 String hostName = context.getParent().getName();
 try {
 resources.lookup(normPath);
-return new URL
-("jndi", "", 0, getJNDIUri(hostName, fullPath),
- new DirContextURLStreamHandler(resources));
+return new URI("jndi",
+getJNDIUri(hostName, fullPath), null).toURL();
 } catch (NamingException e) {
 // Ignore
 } catch (Exception e) {

Modified: 
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java?rev=1344890&r1=1344889&r2=1344890&view=diff
==
--- tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
Thu May 31 20:18:49 2012
@@ -22,8 +22,6 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
 import java.net.URLConnection;
-import java.net.URLDecoder;
-import java.net.URLEncoder;
 import java.security.Permission;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -42,6 +40,7 @@ import javax.naming.directory.Attributes
 import javax.naming.directory.DirContext;
 
 import org.apache.naming.JndiPermission;
+import org.apache.tomcat.util.buf.UDecoder;
 import org.apache.tomcat.util.http.FastHttpDateFormat;
 
 /**
@@ -55,8 +54,9 @@ import org.apache.tomcat.util.http.FastH
  * @author mailto:r...@apache.org";>Remy Maucherat
  * @version $Revision$
  */
-public class DirContextURLConnection
-extends URLConnection {
+public class DirContextURLConnection extends URLConnection {
+
+private static final UDecoder URL_DECODER = new UDecoder();
 
 
 // --- Constructors
@@ -123,7 +123,6 @@ public class DirContextURLConnection
 

svn commit: r1344893 - in /tomcat/trunk/test/webapp-3.0/bug53257: foo#bar.jsp foo%bar.jsp foo%bar.txt foo&bar.jsp foo+bar.jsp foo; bar.jsp

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 20:23:21 2012
New Revision: 1344893

URL: http://svn.apache.org/viewvc?rev=1344893&view=rev
Log:
Add files missed in r1344890

Added:
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.jsp   (with props)
tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.jsp   (with props)
tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.txt   (with props)
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.jsp   (with props)
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar.jsp   (with props)
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar.jsp   (with props)

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%23bar.jsp?rev=1344893&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.jsp (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.jsp Thu May 31 20:23:21 2012
@@ -0,0 +1,21 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--%>
+
+  
+OK
+  
+
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.jsp
--
svn:eol-style = native

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%25bar.jsp?rev=1344893&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.jsp (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.jsp Thu May 31 20:23:21 2012
@@ -0,0 +1,21 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--%>
+
+  
+OK
+  
+
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.jsp
--
svn:eol-style = native

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.txt
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%25bar.txt?rev=1344893&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.txt (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.txt Thu May 31 20:23:21 2012
@@ -0,0 +1 @@
+OK
\ No newline at end of file

Propchange: tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.txt
--
svn:eol-style = native

Added: tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug53257/foo%26bar.jsp?rev=1344893&view=auto
==
--- tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.jsp (added)
+++ tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.jsp Thu May 31 20:23:21 2012
@@ -0,0 +1,21 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed u

svn commit: r1344896 - /tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 20:28:28 2012
New Revision: 1344896

URL: http://svn.apache.org/viewvc?rev=1344896&view=rev
Log:
Additional change should have been in r1344890

Modified:
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java

Modified: 
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java?rev=1344896&r1=1344895&r2=1344896&view=diff
==
--- tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
Thu May 31 20:28:28 2012
@@ -389,7 +389,8 @@ public class DirContextURLConnection ext
 
 // Reopen resource
 try {
-resource = (Resource) context.lookup(getURL().getFile());
+resource = (Resource) context.lookup(
+URL_DECODER.convert(getURL().getFile(), false));
 } catch (NamingException e) {
 // Ignore
 }



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344901 - in /tomcat/trunk: java/org/apache/naming/resources/DirContextURLConnection.java res/checkstyle/org-import-control.xml

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 20:41:02 2012
New Revision: 1344901

URL: http://svn.apache.org/viewvc?rev=1344901&view=rev
Log:
Additional fix missing from r1344890

Modified:
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
tomcat/trunk/res/checkstyle/org-import-control.xml

Modified: 
tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java?rev=1344901&r1=1344900&r2=1344901&view=diff
==
--- tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
(original)
+++ tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java 
Thu May 31 20:41:02 2012
@@ -41,6 +41,7 @@ import javax.naming.directory.DirContext
 
 import org.apache.naming.JndiPermission;
 import org.apache.tomcat.util.buf.UDecoder;
+import org.apache.tomcat.util.buf.UEncoder;
 import org.apache.tomcat.util.http.FastHttpDateFormat;
 
 /**
@@ -57,7 +58,11 @@ import org.apache.tomcat.util.http.FastH
 public class DirContextURLConnection extends URLConnection {
 
 private static final UDecoder URL_DECODER = new UDecoder();
+private static final UEncoder URL_ENCODER = new UEncoder();
 
+static{
+URL_ENCODER.addSafeCharacter('/');
+}
 
 // --- Constructors
 
@@ -456,7 +461,7 @@ public class DirContextURLConnection ext
 context.list(file.substring(start));
 while (enumeration.hasMoreElements()) {
 NameClassPair ncp = enumeration.nextElement();
-result.addElement(ncp.getName());
+result.addElement(URL_ENCODER.encodeURL(ncp.getName()));
 }
 } catch (NamingException e) {
 // Unexpected exception

Modified: tomcat/trunk/res/checkstyle/org-import-control.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/checkstyle/org-import-control.xml?rev=1344901&r1=1344900&r2=1344901&view=diff
==
--- tomcat/trunk/res/checkstyle/org-import-control.xml (original)
+++ tomcat/trunk/res/checkstyle/org-import-control.xml Thu May 31 20:41:02 2012
@@ -107,6 +107,7 @@
 
 
 
+
 
 
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1344902 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/ java/org/apache/naming/resources/ res/checkstyle/ test/org/apache/catalina/core/ test/org/apache/jasper/compiler/ tes

2012-05-31 Thread markt
Author: markt
Date: Thu May 31 20:42:38 2012
New Revision: 1344902

URL: http://svn.apache.org/viewvc?rev=1344902&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53257
BZ 53257 is partially a regression caused by r1152593 (the fix for BZ 51584) 
and partially an existing issue that had always been present.
This patch:
- reverts r1152593
- extends the test cases to cover BZ 53257 & BZ 51584
- correctly fixes BZ 53257 & BZ 51584
- fixes the additional issues the unit tests uncovered

Added:

tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestApplicationContext.java
  - copied unchanged from r1344868, 
tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/
  - copied from r1344868, tomcat/trunk/test/webapp-3.0/bug53257/
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo#bar.jsp
  - copied unchanged from r1344893, 
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.jsp
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo#bar.txt
  - copied unchanged from r1344890, 
tomcat/trunk/test/webapp-3.0/bug53257/foo#bar.txt
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo%bar.jsp
  - copied unchanged from r1344893, 
tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.jsp
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo%bar.txt
  - copied unchanged from r1344893, 
tomcat/trunk/test/webapp-3.0/bug53257/foo%bar.txt
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo&bar.jsp
  - copied unchanged from r1344893, 
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.jsp
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo&bar.txt
  - copied unchanged from r1344890, 
tomcat/trunk/test/webapp-3.0/bug53257/foo&bar.txt
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo+bar.jsp
  - copied unchanged from r1344893, 
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar.jsp
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo+bar.txt
  - copied unchanged from r1344890, 
tomcat/trunk/test/webapp-3.0/bug53257/foo+bar.txt
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo;bar.jsp
  - copied unchanged from r1344893, 
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar.jsp
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo;bar.txt
  - copied unchanged from r1344890, 
tomcat/trunk/test/webapp-3.0/bug53257/foo;bar.txt
Removed:
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo#bar
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo&bar
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo+bar
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/foo;bar
Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java

tomcat/tc7.0.x/trunk/java/org/apache/naming/resources/DirContextURLConnection.java
tomcat/tc7.0.x/trunk/res/checkstyle/org-import-control.xml
tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestCompiler.java
tomcat/tc7.0.x/trunk/test/webapp-3.0/bug53257/index.jsp
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1344868,1344890,1344893,1344896,1344901

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=1344902&r1=1344901&r2=1344902&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java 
Thu May 31 20:42:38 2012
@@ -14,14 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.catalina.core;
 
-
 import java.io.InputStream;
 import java.lang.reflect.InvocationTargetException;
 import java.net.MalformedURLException;
+import java.net.URI;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -69,7 +67,6 @@ import org.apache.catalina.connector.Con
 import org.apache.catalina.deploy.FilterDef;
 import org.apache.catalina.util.ResourceSet;
 import org.apache.catalina.util.ServerInfo;
-import org.apache.naming.resources.DirContextURLStreamHandler;
 import org.apache.naming.resources.Resource;
 import org.apache.tomcat.util.ExceptionUtils;
 import org.apache.tomcat.util.buf.CharChunk;
@@ -536,9 +533,8 @@ public class ApplicationContext
 String hostName = context.getParent().getName();
 try {
 resources.lookup(normPath);
-return new URL
-("jndi", "", 0, getJNDIUri(hostName, fullPath),
- new DirContextURLStreamHandler(resources));
+return new URI("jndi",
+getJNDIUri(hostName, f

[Bug 53257] getLastModified() of compilation context returns negative number

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53257

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Mark Thomas  ---
The original fix for bug 51584 has been reverted and a new fix applied that
fixes that issue and some additional issues new unit tests created for this bug
identified.

The fix has been applied to trunk and 7.0.x and will be included in 7.0.28
onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53340] New: Simplify catalina.bat ^C handling

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53340

  Priority: P2
Bug ID: 53340
  Assignee: dev@tomcat.apache.org
   Summary: Simplify catalina.bat ^C handling
  Severity: enhancement
Classification: Unclassified
OS: Windows XP
  Reporter: s...@apache.org
  Hardware: PC
Status: NEW
   Version: unspecified
 Component: Packaging
   Product: Tomcat 7

Created attachment 28867
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28867&action=edit
Patch as per bug description

As mentioned in Bug 53115, one way to avoid a recursive call to catalina.bat is
to split the batch file into 2 parts.

The first part, catalina.bat, performs the input redirection for the "run"
mode.

For all modes, it then transfers to the second part, which is named
_catalina_.bat.

The patch also includes the file Y.txt which is used to answer the "Terminate
batch" prompt.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53340] Simplify catalina.bat ^C handling

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53340

Sebb  changed:

   What|Removed |Added

  Attachment #28867|0   |1
   is patch||

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53340] Simplify catalina.bat ^C handling

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53340

Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #1 from Konstantin Kolinko  ---
Having more that 1 file to handle the debug-level feature of "catalina run" is
ridiculous. The patch makes it 3 files. ;(


There could be run.bat, like there is startup.bat. But even that seems too much
for a debug feature.

I like you idea of using "_RECURSE_" variable from your comment on bug 53115,
but it solves only small part of complexity.

I do not see a way to get rid of the temporary "Y" file. I tried several
variants of piping "echo Y | " into the recursively called batch file, but all
they do not work.  It gets rid of one "Terminate this batch?" confirmation, but
second one appears.


If there ever are noticeable concerns with the "^C" handling code in
catalina.bat, I think it all could be removed, reverting to the simple
catalina.bat of Tomcat 6.  The current code is a bit complicated, but I cannot
call it broken and worth of fixing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53337] IllegalStateException when trying to render a JSP after startAsync

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53337

--- Comment #2 from rstoyanc...@yahoo.com ---
By the way, in the description above I only meant to refer to the methods
asyncContext.dispatch and request.getRequestDispatcher. I am not actually
passing "". See the link to the source code for full details.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53340] Simplify catalina.bat ^C handling

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53340

--- Comment #2 from Sebb  ---
The point of this was to avoid any possible problems with the TEMP variable
setting.

It may require 2 extra files, but so what?
The result (in my view) is somewhat easier to understand.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53169] [patch] don't do chunking with Connection: close

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53169

--- Comment #2 from Philippe Marschall  ---
Thanks for cleaning up an applying.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 53341] New: Unable to build tomcat-connectors in centos 5.6

2012-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53341

  Priority: P2
Bug ID: 53341
  Assignee: dev@tomcat.apache.org
   Summary: Unable to build tomcat-connectors in centos 5.6
  Severity: normal
Classification: Unclassified
OS: Linux
  Reporter: sharonkai...@gmail.com
  Hardware: PC
Status: NEW
   Version: unspecified
 Component: mod_jk
   Product: Tomcat Connectors

Created attachment 28868
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28868&action=edit
The attachment is Build output

Kernel :Linux 2.6.18-308.el5.028stab099.3
GCC: gcc-4.1.2-52.el5_8.1
HTTPD : Server version: Apache/2.4.2 (Unix)
Server's Module Magic Number: 20120211:3
Server loaded:  APR 1.4.6, APR-UTIL 1.4.1
Compiled using: APR 1.4.6, APR-UTIL 1.4.1
Architecture:   32-bit
Server MPM: event
  threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/usr/local/apache"
 -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

==

JAVA : jdk1.6.0_32

Tomcat-connectors-1.2.37-sr

cd native/
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-apache=/usr/local/src/httpd-2.4.2
make
.

.
.
.
.
.
.
.
.

/usr/local/src/httpd-2.4.2/include/httpd.h:1746: error: expected ')' before '*'
token
/usr/local/src/httpd-2.4.2/include/httpd.h:1754: error: expected ')' before '*'
token
/usr/local/src/httpd-2.4.2/include/httpd.h:1769: error: expected ')' before '*'
token
/usr/local/src/httpd-2.4.2/include/httpd.h:1779: error: expected ')' before '*'
token
/usr/local/src/httpd-2.4.2/include/httpd.h:1794: error: expected ')' before '*'
token
/usr/local/src/httpd-2.4.2/include/httpd.h:1812: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'ap_pregsub_ex'
/usr/local/src/httpd-2.4.2/include/httpd.h:1861: error: expected ')' before '*' 
/usr/local/s
.
.
.
. 

Full Build output is attached with this bug report.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org