svn commit: r793321 - /tomcat/current/tc5.5.x/STATUS.txt

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 10:44:44 2009
New Revision: 793321

URL: http://svn.apache.org/viewvc?rev=793321&view=rev
Log:
Propose fix for 39844

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=793321&r1=793320&r2=793321&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Sun Jul 12 10:44:44 2009
@@ -87,3 +87,9 @@
   https://issues.apache.org/bugzilla/attachment.cgi?id=23952
   +1: markt
   -1: 
+
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39844
+  Port r588477 (fix for #43668) by billbarker that corrected this for Tomcat 6
+  http://people.apache.org/~markt/patches/2009-07-11-bug39844.patch
+  +1: markt
+  -1: 



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



DO NOT REPLY [Bug 39844] non-HTTP forward will alway result NullPointerException

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39844


Mark Thomas  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW




--- Comment #3 from Mark Thomas   2009-07-12 03:45:35 PST ---
This was fixed for 6.0.x (bug 43668) in r588477 ( 
https://svn.apache.org/viewcvs.cgi?view=rev&rev=588477 ).

I have proposed a port of the same fix for 5.5.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 23698] command line option to specify the encoding of generated java files needed

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=23698


Konstantin Kolinko  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Konstantin Kolinko   2009-07-12 
05:29:16 PST ---
In JspC of the latest TC 4.1 the value of this option is always "UTF-8" and is
not configurable. It suits most of the cases and won't be changed in that
version.

In TC 5.5 and later this command line option is available and is called
"-javaEncoding".

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 38483] access log valve uses simpledateformat in tread-unsafe way

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=38483


Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #17 from Mark Thomas   2009-07-12 08:42:31 PST ---
This has been fixed in 5.5.x (along with a handful of related issues) and will
be included in 5.5.28 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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: r793369 - in /tomcat/trunk/bin: catalina.bat catalina.sh setclasspath.bat setclasspath.sh

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 16:07:58 2009
New Revision: 793369

URL: http://svn.apache.org/viewvc?rev=793369&view=rev
Log:
Revert r791331 that fixed 
https://issues.apache.org/bugzilla/show_bug.cgi?id=39194

Modified:
tomcat/trunk/bin/catalina.bat
tomcat/trunk/bin/catalina.sh
tomcat/trunk/bin/setclasspath.bat
tomcat/trunk/bin/setclasspath.sh

Modified: tomcat/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.bat?rev=793369&r1=793368&r2=793369&view=diff
==
--- tomcat/trunk/bin/catalina.bat (original)
+++ tomcat/trunk/bin/catalina.bat Sun Jul 12 16:07:58 2009
@@ -106,13 +106,8 @@
 call "%CATALINA_HOME%\bin\setclasspath.bat" %1
 if errorlevel 1 goto end
 
-if "%1" == "javac" shift
- 
 rem Add on extra jar files to CLASSPATH
-if "%CLASSPATH%" == "" goto emptyClasspath
-set CLASSPATH=%CLASSPATH%;
-:emptyClasspath
-set CLASSPATH=%CLASSPATH%%CATALINA_HOME%\bin\bootstrap.jar
+set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
 
 if not "%CATALINA_BASE%" == "" goto gotBase
 set CATALINA_BASE=%CATALINA_HOME%
@@ -177,10 +172,7 @@
 if ""%1"" == ""stop"" goto doStop
 if ""%1"" == ""version"" goto doVersion
 
-echo Usage:  catalina [javac] ( commands ... )
-echo optional arguments:
-echo   javac Adds tools.jar to the classpath so javac is available
-echo   as a compiler
+echo Usage:  catalina ( commands ... )
 echo commands:
 echo   debug Start Catalina in a debugger
 echo   debug -security   Debug Catalina with a security manager

Modified: tomcat/trunk/bin/catalina.sh
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?rev=793369&r1=793368&r2=793369&view=diff
==
--- tomcat/trunk/bin/catalina.sh (original)
+++ tomcat/trunk/bin/catalina.sh Sun Jul 12 16:07:58 2009
@@ -150,10 +150,7 @@
 fi
 
 # Add on extra jar files to CLASSPATH
-if [ ! -z "$CLASSPATH" ] ; then
-  CLASSPATH="$CLASSPATH":
-fi
-CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar
+CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar
 
 if [ -z "$CATALINA_BASE" ] ; then
   CATALINA_BASE="$CATALINA_HOME"
@@ -348,10 +345,7 @@
 
 else
 
-  echo "Usage: catalina.sh [javac] ( commands ... )"
-  echo "optional arguments:"
-  echo "  javac Adds tools.jar to the classpath so javac is"
-  echo "  available as a compiler"
+  echo "Usage: catalina.sh ( commands ... )"
   echo "commands:"
   if $os400; then
 echo "  debug Start Catalina in a debugger (not available on 
OS400)"

Modified: tomcat/trunk/bin/setclasspath.bat
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/setclasspath.bat?rev=793369&r1=793368&r2=793369&view=diff
==
--- tomcat/trunk/bin/setclasspath.bat (original)
+++ tomcat/trunk/bin/setclasspath.bat Sun Jul 12 16:07:58 2009
@@ -70,14 +70,9 @@
 rem Set standard CLASSPATH
 rem Note that there are no quotes as we do not want to introduce random
 rem quotes into the CLASSPATH
-if not exist "%JAVA_HOME%\lib\tools.jar" goto noJavac2
-if not ""%1"" == ""debug"" goto noJavac1
+if not exist "%JAVA_HOME%\lib\tools.jar" goto noJavac
 set CLASSPATH=%JAVA_HOME%\lib\tools.jar
-goto noJavac2
-:noJavac1
-if not ""%1"" == ""javac"" goto noJavac2
-set CLASSPATH=%JAVA_HOME%\lib\tools.jar
-:noJavac2
+:noJavac
 
 rem Set standard command for invoking Java.
 rem Note that NT requires a window name argument when using start.

Modified: tomcat/trunk/bin/setclasspath.sh
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/setclasspath.sh?rev=793369&r1=793368&r2=793369&view=diff
==
--- tomcat/trunk/bin/setclasspath.sh (original)
+++ tomcat/trunk/bin/setclasspath.sh Sun Jul 12 16:07:58 2009
@@ -112,9 +112,6 @@
 if [ "$1" = "debug" -o "$1" = "javac" ] ; then
   if [ -f "$JAVA_HOME"/lib/tools.jar ]; then
 CLASSPATH="$JAVA_HOME"/lib/tools.jar
-if [ "$1" = "javac" ] ; then
-  shift
-fi
   fi
 fi
 



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



svn commit: r793372 - in /tomcat/trunk/bin: catalina.bat catalina.sh setclasspath.bat setclasspath.sh

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 16:28:21 2009
New Revision: 793372

URL: http://svn.apache.org/viewvc?rev=793372&view=rev
Log:
Alternative fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=39194
Only add tools.jar to classpath when using debug option
Remove references to undocumented, half-implemented javac option
Remove unused environment variables

Modified:
tomcat/trunk/bin/catalina.bat
tomcat/trunk/bin/catalina.sh
tomcat/trunk/bin/setclasspath.bat
tomcat/trunk/bin/setclasspath.sh

Modified: tomcat/trunk/bin/catalina.bat
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.bat?rev=793372&r1=793371&r2=793372&view=diff
==
--- tomcat/trunk/bin/catalina.bat (original)
+++ tomcat/trunk/bin/catalina.bat Sun Jul 12 16:28:21 2009
@@ -106,8 +106,11 @@
 call "%CATALINA_HOME%\bin\setclasspath.bat" %1
 if errorlevel 1 goto end
 
-rem Add on extra jar files to CLASSPATH
-set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
+rem Add on extra jar file to CLASSPATH
+if "%CLASSPATH%" == "" goto emptyClasspath
+set CLASSPATH=%CLASSPATH%;
+:emptyClasspath
+set CLASSPATH=%CLASSPATH%%CATALINA_HOME%\bin\bootstrap.jar
 
 if not "%CATALINA_BASE%" == "" goto gotBase
 set CATALINA_BASE=%CATALINA_HOME%

Modified: tomcat/trunk/bin/catalina.sh
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?rev=793372&r1=793371&r2=793372&view=diff
==
--- tomcat/trunk/bin/catalina.sh (original)
+++ tomcat/trunk/bin/catalina.sh Sun Jul 12 16:28:21 2009
@@ -34,7 +34,7 @@
 #   $CATALINA_BASE/temp.
 #
 #   JAVA_HOME   Must point at your Java Development Kit installation.
-#   Required to run the with the "debug" or "javac" argument.
+#   Required to run the with the "debug" argument.
 #
 #   JRE_HOMEMust point at your Java Development Kit installation.
 #   Defaults to JAVA_HOME if empty.
@@ -150,7 +150,10 @@
 fi
 
 # Add on extra jar files to CLASSPATH
-CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar
+if [ ! -z "$CLASSPATH" ] ; then
+  CLASSPATH="$CLASSPATH":
+fi
+CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar
 
 if [ -z "$CATALINA_BASE" ] ; then
   CATALINA_BASE="$CATALINA_HOME"
@@ -201,7 +204,7 @@
   echo "Using CATALINA_BASE:   $CATALINA_BASE"
   echo "Using CATALINA_HOME:   $CATALINA_HOME"
   echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
-  if [ "$1" = "debug" -o "$1" = "javac" ] ; then
+  if [ "$1" = "debug" ] ; then
 echo "Using JAVA_HOME:   $JAVA_HOME"
   else
 echo "Using JRE_HOME:$JRE_HOME"

Modified: tomcat/trunk/bin/setclasspath.bat
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/setclasspath.bat?rev=793372&r1=793371&r2=793372&view=diff
==
--- tomcat/trunk/bin/setclasspath.bat (original)
+++ tomcat/trunk/bin/setclasspath.bat Sun Jul 12 16:28:21 2009
@@ -71,6 +71,7 @@
 rem Note that there are no quotes as we do not want to introduce random
 rem quotes into the CLASSPATH
 if not exist "%JAVA_HOME%\lib\tools.jar" goto noJavac
+if not ""%1"" == ""debug"" goto noJavac
 set CLASSPATH=%JAVA_HOME%\lib\tools.jar
 :noJavac
 
@@ -78,9 +79,7 @@
 rem Note that NT requires a window name argument when using start.
 rem Also note the quoting as JAVA_HOME may contain spaces.
 set _RUNJAVA="%JRE_HOME%\bin\java"
-set _RUNJAVAW="%JRE_HOME%\bin\javaw"
 set _RUNJDB="%JAVA_HOME%\bin\jdb"
-set _RUNJAVAC="%JAVA_HOME%\bin\javac"
 
 goto end
 

Modified: tomcat/trunk/bin/setclasspath.sh
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/bin/setclasspath.sh?rev=793372&r1=793371&r2=793372&view=diff
==
--- tomcat/trunk/bin/setclasspath.sh (original)
+++ tomcat/trunk/bin/setclasspath.sh Sun Jul 12 16:28:21 2009
@@ -59,7 +59,7 @@
 fi
 
 # If we're running under jdb, we need a full jdk.
-if [ "$1" = "debug" -o "$1" = "javac" ] ; then
+if [ "$1" = "debug" ] ; then
   if [ "$os400" = "true" ]; then
 if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then
   echo "The JAVA_HOME environment variable is not defined correctly"
@@ -102,14 +102,7 @@
 fi
 
 # Set standard CLASSPATH
-if [ "$1" = "javac" ] ; then
-  if [ ! -f "$JAVA_HOME"/lib/tools.jar ]; then
-echo "Can't find tools.jar in JAVA_HOME"
-echo "Need a JDK to run javac"
-exit 1
-  fi
-fi
-if [ "$1" = "debug" -o "$1" = "javac" ] ; then
+if [ "$1" = "debug" ] ; then
   if [ -f "$JAVA_HOME"/lib/tools.jar ]; then
 CLASSPATH="$JAVA_HOME"/lib/tools.jar
   fi
@@ -131,4 +124,3 @@
 if [ "$os400" != "true" ]; then
   _RUNJDB="$JAVA_HOME"/bin/jdb
 fi
-_RUNJAVAC="$JAVA_HOME"/bin/javac



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

svn commit: r793374 - in /tomcat: current/tc5.5.x/STATUS.txt tc6.0.x/trunk/STATUS.txt

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 16:32:25 2009
New Revision: 793374

URL: http://svn.apache.org/viewvc?rev=793374&view=rev
Log:
Propose new patch for 

Modified:
tomcat/current/tc5.5.x/STATUS.txt
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=793374&r1=793373&r2=793374&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Sun Jul 12 16:32:25 2009
@@ -33,46 +33,10 @@
0: fhanik - big step for an old branch, could be risky, I'd wait until 
after next release if we consider it
   -1: 
 
-* Various script improvements (free free to vote for them individually)
-  http://svn.apache.org/viewvc?rev=791331&view=rev (align platforms / bug 
39194)
-  +1: markt, rjung
-  -1: kkolinko
-It introduces the "javac" optional command, that was not there before.
-(The "javac" command was not documented, and I think it was not working
-at all, because of missing "shift" command.
-It was introduced in http://svn.apache.org/viewvc?view=rev&revision=303625
-)
-How this "javac" is supposed to be used? One has to modify
-startup.[sh|bat] and shutdown.[sh|bat]?
-We switch between JDK and JRE based on env.variables (e.g. introduced
-through setenv.[sh|bat]). Why not to add tools.jar always when JDK is
-used?
-  rjung: It looks to me like "javac" as an argument was possible before the 
patch
-(even already in tc4.1) but wasn't actually changing anything except for
-additional checks. A _RUNJAVAC was set but never used.
-After the patch javac is meant to do something, namely adding tools.jar to
-the classpath. The shift seems to be in
-
http://svn.apache.org/viewvc/tomcat/trunk/bin/setclasspath.sh?r1=791331&r2=791330&pathrev=791331
-I don't like adding tools.jar whenever a JDK is used. The JDK contains 
additional
-tools relative to the JRE, so I always prefer people to install the JDK 
even
-when they only use the JDT compiler for Tomcat.
-  kkolinko:
-It isn't there in 4.1
-
http://svn.apache.org/repos/asf/tomcat/archive/tc4.1.x/trunk/container/catalina/src/bin/
-> The shift seems to be in ...
-Yes, that is the shift I am referring to. It is a part of the proposed
-patch. It isn't there in the current 5.5 and 6.0 *.sh files.
-> I don't like adding tools.jar whenever a JDK is used.
-OK, I understand this.
-My position is that to add or not to add tools.jar is a configuration
-choice. Thus it is better to have it controllable via setenv.sh
-(well, even now one can set CLASSPATH there, or add tools.jar to
-common.loader of catalina.properties - haven't tried the latter)
-Though we already have a switch that controlls configuration: "-security".
-  markt:
-How about an alternative approach that removes the javac command completely
-rather than trying to fix it? As has been pointed out, setenv can be used 
to
-achieve the same end and is more consistent with how we do things now,
+* Script improvement - alternative patch
+  http://svn.apache.org/viewvc?rev=793372&view=rev (align platforms / bug 
39194)
+  +1: markt
+  -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39231
   http://svn.apache.org/viewvc?rev=791900&view=rev

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=793374&r1=793373&r2=793374&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Sun Jul 12 16:32:25 2009
@@ -132,10 +132,10 @@
   +1: markt, kkolinko
   -1:
 
-* Script improvement
-  http://svn.apache.org/viewvc?rev=791331&view=rev (align platforms / bug 
39194)
-  +1: markt, rjung
-  -1: kkolinko: See tc5.5 status file for discussion.
+* Script improvement - alternative patch
+  http://svn.apache.org/viewvc?rev=793372&view=rev (align platforms / bug 
39194)
+  +1: markt
+  -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47478
   https://svn.apache.org/viewcvs.cgi?view=rev&rev=791524



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



DO NOT REPLY [Bug 39194] classpath inconsistent between Windows and Unix for tools.jar

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39194





--- Comment #5 from Mark Thomas   2009-07-12 09:32:33 PST ---
The fixes for the niggles have been applied and will be in 5.5.28 and 6.0.21.

The main fix was veto'd due to the incomplete implementation of the javac
option and lack of documentation about what it was supposed to do. A new patch
has been proposed which removes the javac option. tools.jar can be added to the
classpath using the setenv script.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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: r793402 - /tomcat/current/tc5.5.x/STATUS.txt

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 20:17:01 2009
New Revision: 793402

URL: http://svn.apache.org/viewvc?rev=793402&view=rev
Log:
Propose fix for 43327

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=793402&r1=793401&r2=793402&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Sun Jul 12 20:17:01 2009
@@ -57,3 +57,10 @@
   http://people.apache.org/~markt/patches/2009-07-11-bug39844.patch
   +1: markt
   -1: 
+
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43327
+  Port from 6.0.x
+  Required to investigate 39997
+  http://people.apache.org/~markt/patches/2009-07-12-apr-ipv6.patch
+  +1: markt
+  -1: 



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



DO NOT REPLY [Bug 39997] JSVC and APR do not work together for HTTPS connector

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39997


Mark Thomas  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
Version|5.5.17  |5.5.27




--- Comment #3 from Mark Thomas   2009-07-12 14:07:30 PST ---
This appears to be related to the entropy source selected by OpenSSL. I can
reproduce similar behaviour with and without the use of jsvc.

I have ported the SSLRandomSeed configuration option from 6.0.x and that fixes
this for me with and without jsvc. I'll attach a patch shortly.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 39997] JSVC and APR do not work together for HTTPS connector

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39997





--- Comment #4 from Mark Thomas   2009-07-12 14:08:07 PST ---
Created an attachment (id=23962)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23962)
Patch that fixes this bug

The attached patch has been proposed for 5.5.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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: r793408 - /tomcat/current/tc5.5.x/STATUS.txt

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 21:09:44 2009
New Revision: 793408

URL: http://svn.apache.org/viewvc?rev=793408&view=rev
Log:
Propose fix for 39997

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=793408&r1=793407&r2=793408&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Sun Jul 12 21:09:44 2009
@@ -64,3 +64,12 @@
   http://people.apache.org/~markt/patches/2009-07-12-apr-ipv6.patch
   +1: markt
   -1: 
+
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39997
+  Port of http://svn.apache.org/viewvc?view=rev&revision=637867
+  Add SSLRandomSeed option to APR to enable faster starts on development 
systems
+  https://issues.apache.org/bugzilla/attachment.cgi?id=23962
+  +1: markt
+  -1: 
+
+  
\ No newline at end of file



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



DO NOT REPLY [Bug 40042] When mcastBindAddress is set and disabling/enabling interface on Win get infinite NoRouteToHostException

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40042


Mark Thomas  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||FIXED




--- Comment #4 from Mark Thomas   2009-07-12 14:15:35 PST ---
No feedback so assume Peter's backport did indeed work.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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: r793412 - /tomcat/container/tc5.5.x/webapps/docs/changelog.xml

2009-07-12 Thread markt
Author: markt
Date: Sun Jul 12 21:20:04 2009
New Revision: 793412

URL: http://svn.apache.org/viewvc?rev=793412&view=rev
Log:
Use standard format. Keep bug ids sequential within section

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

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=793412&r1=793411&r2=793412&view=diff
==
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sun Jul 12 21:20:04 2009
@@ -64,14 +64,14 @@
 It contains a fix for issue 41538 (mturk)
   
   
-47464: Some class files were accidentally included into the
-source distributions of TC 5.5.27. (kkolinko)
+47149: Explicitly specify encoding when performing filtering
+during copy, fixcrlf or replace operations in build scripts. Don't add
+blank lines to files when fixing line endings. Explicitly specify
+encoding when compiling. (kkolinko)
   
   
-Build scripts: Explicitly specify encoding when performing filtering
-during copy, fixcrlf or replace operations. Don't add blank lines to
-files when fixing line endings. Explicitly specify encoding when
-compiling (issue 47149). (kkolinko)
+47464: Some class files were accidentally included into the
+source distributions of TC 5.5.27. (kkolinko)
   
   
 Document that building Tomcat requires Ant 1.6.2 or later. (kkolinko)



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



DO NOT REPLY [Bug 47512] Binding java.lang.reflect.Proxy to JNDI directory raises java.lang.ClassCastException

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47512





--- Comment #2 from MartinS   2009-07-12 18:34:01 PST ---
Created an attachment (id=23963)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23963)
added the patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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



DO NOT REPLY [Bug 47264] Replication's BUG

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47264


Ryuichi Yoshihara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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 report for Tomcat 6 [2009/07/12]

2009-07-12 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|39661|Opn|Enh|2006-05-25|Please document JULI FileHandler configuration pro|
|41093|Ver|Enh|2006-11-30|publish 6.0.2 beta jars in a maven repository |
|41128|Inf|Enh|2006-12-07|Reference to java Thread name from RequestProcesso|
|41530|Ver|Nor|2007-02-02|stopping a connector produces intermittent SocketE|
|41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat|
|41791|New|Enh|2007-03-07|Tomcat behaves inconsistently concerning flush-pac|
|41797|Ver|Maj|2007-03-09|CNFE/NPE thrown from function mapper when external|
|41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific|
|41944|New|Enh|2007-03-25|Start running the RAT tool to see where we're miss|
|41992|New|Enh|2007-03-30|Need ability to set OS process title  |
|42463|New|Enh|2007-05-20|"crossContext" and classloader issues - pls amend |
|42996|Opn|Nor|2007-07-29|POST with nio connector results in missing variabl|
|43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant|
|43003|New|Enh|2007-07-30|Separate dependent component download and build ta|
|43154|New|Enh|2007-08-17|forward port from 5.5.x to 6.x about AccessLogValv|
|43400|New|Enh|2007-09-14|enum support for tag libs |
|43497|New|Enh|2007-09-26|Add ability to escape rendered output of JSP expre|
|43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml   |
|43642|New|Enh|2007-10-17|Add prestartminSpareThreads attribute for Executor|
|43682|New|Enh|2007-10-23|JULI: web-inf/classes/logging.properties to suppor|
|43742|New|Enh|2007-10-30|.tag compiles  performed one at a time -- extremel|
|43790|Ass|Enh|2007-11-03|concurrent access issue on TagHandlerPool |
|43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output |
|44047|New|Enh|2007-12-10|Provide a way for Tomcat to serve up error pages w|
|44106|New|Enh|2007-12-19|autodeploy configures directories which do not con|
|44199|New|Enh|2008-01-10|expose current backlog queue size |
|44225|New|Enh|2008-01-14|SSL connector tries to load the private keystore f|
|44264|New|Enh|2008-01-18|Clustering - Support for disabling multicasting an|
|44265|New|Enh|2008-01-18|Improve JspWriterImpl performance with "inline" su|
|44284|New|Enh|2008-01-23|Support java.lang.Iterable in c:forEach tag   |
|44294|New|Enh|2008-01-25|Support for EL functions with varargs |
|44299|New|Enh|2008-01-26|Provider manager app with a log out button|
|44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host|
|44409|New|Enh|2008-02-13|Tomcat does not support Windows-My Provider   |
|44598|New|Enh|2008-03-13|JAASRealm is suppressing Exceptions   |
|44645|New|Enh|2008-03-20|[Patch] JNDIRealm - Doesn't support JNDI "java.nam|
|44787|New|Enh|2008-04-09|provide more error context on "java.lang.IllegalSt|
|44818|New|Enh|2008-04-13|tomcat hangs with GET when content-length is defin|
|45014|New|Enh|2008-05-15|Request and Response classes should have wrappers |
|45255|New|Enh|2008-06-23|support disable jsessionid from url against sessio|
|45282|New|Enh|2008-06-25|NioReceiver doesn't close cleanly, leaving sockets|
|45283|Opn|Enh|2008-06-25|Allow multiple authenticators to be added to pipel|
|45403|New|Nor|2008-07-15|Tomcat does not reload application|
|45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete  |
|45654|New|Enh|2008-08-19|use static methods and attributes in a direct way!|
|45731|New|Enh|2008-09-02|Enhancement request : pluggable httpsession cache |
|45785|Opn|Nor|2008-09-11|ClassCastException if directory ending with .jar e|
|45794|New|Enh|2008-09-12|Patch causes JNDIRealm to bind with user entered c|
|45832|New|Enh|2008-09-18|add DIGEST authentication support to Ant tasks|
|45871|New|Enh|2008-09-23|Support for salted and digested patches in DataSou|
|45878|New|Enh|2008-09-24|Generated jars do not contain proper manifests or |
|45879|

Bug report for Tomcat 4 [2009/07/12]

2009-07-12 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 3839|Opn|Enh|2001-09-26|Problem bookmarking login page|
| 4227|Opn|Enh|2001-10-17|Invalid CGI path  |
| 5329|New|Enh|2001-12-08|NT Service exits startup before Tomcat is finished|
| 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob|
| 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi|
| 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio|
| 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI|
| 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam|
| 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty|
| 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store   |
| 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output|
| 7676|New|Enh|2002-04-02|Allow name property to use match experssions in  without className in server.xml produces N|
|11129|New|Enh|2002-07-24|New valve for putting the sessionIDs in the reques|
|11248|New|Enh|2002-07-29|DefaultServlet doesn't send expires header|
|11754|Opn|Enh|2002-08-15|Synchronous shutdown script - shutdown.sh should w|
|12069|New|Enh|2002-08-27|Creation of more HttpSession objects for one previ|
|12428|Opn|Enh|2002-09-09|request.getUserPrincipal(): Misinterpretation of s|
|12658|New|Enh|2002-09-15|a proxy host and port at the  element level |
|12766|New|Enh|2002-09-18|Tomcat should use tld files in /WEB-INF/ over vers|
|13309|Opn|Enh|2002-10-04|Catalina calls System.exit()  |
|13634|New|Enh|2002-10-15|Allowing system properties to be substituted in co|
|13689|Opn|Enh|2002-10-16|Classloader paths for 'Common' classes and librari|
|13731|New|Enh|2002-10-17|Final request, response, session and other variabl|
|13941|New|Enh|2002-10-24|reload is VERY slow   |
|13965|New|Enh|2002-10-25|Catalina.sh correction request for Tru64 Unix |
|14097|New|Enh|2002-10-30|hardcoded registry value for vm lets tomcat servic|
|14416|New|Enh|2002-11-10|blank tag name in TLD cause NullPointerException  |
|14635|New|Enh|2002-11-18|Should be possible not to have -MM-DD in log f|
|14766|New|Enh|2002-11-22|Redirect Vavle|
|14993|New|Enh|2002-12-02|Possible obselete synchronized declaration|
|15115|New|Enh|2002-12-05|correct docs... XML parser *cannot* be overridden |
|15417|Opn|Enh|2002-12-16|Add port for forced compilation of JSP pages  |
|15688|New|Enh|2002-12-27|full-qualified names instead of imports   |
|15941|New|Enh|2003-01-10|Expose rootCause exceptions at deeper levels  |
|16294|New|Enh|2003-01-21|Configurable URL Decoding.|
|16357|New|Enh|2003-01-23|"connection timeout reached"  |
|16531|New|Enh|2003-01-29|Updating already deployed ".war" files in a single|
|16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to|
|16596|New|Enh|2003-01-30|option for disabling log rotation |
|17070|New|Enh|2003-02-14|The Catalina Ant tasks do not allow for 'reusable'|
|17146|New|Enh|2003-02-18|Simplify build.xml using 

Bug report for Tomcat 5 [2009/07/12]

2009-07-12 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|27122|Opn|Enh|2004-02-20|IE plugins cannot access components through Tomcat|
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|29160|Ver|Enh|2004-05-23|precompile problem: _jspx_meth_* (javax.servlet.js|
|29494|Inf|Enh|2004-06-10|No way to set PATH when running as a service on Wi|
|30241|Ver|Enh|2004-07-21|Enhance build script to use branch argument when c|
|33262|Inf|Enh|2005-01-27|Service Manager autostart should check for adminis|
|33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps|
|33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na|
|34801|New|Enh|2005-05-08|PATCH: CGIServlet does not terminate child after a|
|34805|Ass|Enh|2005-05-08|warn about invalid security constraint url pattern|
|34868|Ass|Enh|2005-05-11|allow to register a trust store for a session that|
|35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc|
|36133|Inf|Enh|2005-08-10|Support JSS SSL implementation|
|36362|New|Enh|2005-08-25|missing check for Java reserved keywords in tag fi|
|36569|Inf|Enh|2005-09-09|Redirects produce illegal URL's   |
|36837|Inf|Enh|2005-09-28|Looking for ProxyHandler implementation of Http re|
|36922|Inf|Enh|2005-10-04|setup.sh file mis-advertised and missing  |
|37018|Ass|Enh|2005-10-11|Document how to use tomcat-SSL with a pkcs11 token|
|37334|Inf|Enh|2005-11-02|Realm digest property not aligned with the adminis|
|37449|Opn|Enh|2005-11-10|Two UserDatabaseRealm break manager user  |
|37485|Inf|Enh|2005-11-14|I'd like to run init SQL after JDBC Connection cre|
|37847|Ass|Enh|2005-12-09|Allow User To Optionally Specify Catalina Output F|
|38216|Inf|Enh|2006-01-10|Extend Jmxproxy to allow call of MBean Operations |
|38217|Ver|Enh|2006-01-10|mention that private key password and keystore pas|
|38268|Inf|Enh|2006-01-13|User friendly: Need submit button on adding/deleti|
|38360|Inf|Enh|2006-01-24|Domain for session cookies|
|38546|Inf|Enh|2006-02-07|Google bot sends invalid If-Modifed-Since Header, |
|38577|Inf|Enh|2006-02-08|Enhance logging of security failures  |
|38743|New|Min|2006-02-21|when using APR, JKS options are silently ignored  |
|38916|Inf|Enh|2006-03-10|HttpServletRequest cannot handle multipart request|
|39053|Inf|Enh|2006-03-21|include Tomcat embedded sample|
|39194|New|Nor|2006-04-04|classpath inconsistent between Windows and Unix fo|
|39231|New|Nor|2006-04-06|The JAAS contract for LoginModule is broken   |
|39309|Opn|Enh|2006-04-14|tomcat can't compile big jsp, hitting a compiler l|
|39637|Opn|Nor|2006-05-23|AJP13 connector does not handle chain of SSL clien|
|39740|New|Enh|2006-06-07|semi-colon ; isn't allowed as a query argument sep|
|39832|Inf|Enh|2006-06-17|HTML Manager improvements |
|39844|New|Nor|2006-06-20|non-HTTP forward will alway result NullPointerExce|
|39862|Inf|Enh|2006-06-22|provide support for protocol-independent GenericSe|
|39997|New|Maj|2006-07-10|JSVC and APR do not work together for HTTPS connec|
|40001|Inf|Enh|2006-07-10|HTML pages should not use GET to restart web-apps.|
|40162|Inf|Nor|2006-08-02|JNDI Environment is null within subthreads in Serv|
|40211|Inf|Enh|2006-08-08|Compiled JSP don't indent HTML code   |
|40218|New|Enh|2006-08-08|JNDI realm - recursive group/role matching|
|40222|Inf|Enh|2006-08-09|Default Tomcat configuration alows easy session hi|
|40380|Inf|Nor|2006-08-31|Potential syncro problem in StandardSession.expire|
|40402|New|Enh|2006-09-03|Manager should display Exceptions |
|40510|New|Enh|2006-09-14|installer does not create shortcuts for all users |
|40551|Opn|Maj|2006-09-20|Sticky sessions using PersistentManager enter inde|
|40712|New|Enh|2006-10-10|Realm admin error.|
|40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes  |
|40766|

DO NOT REPLY [Bug 47515] New: Tomcat can't replicate session when it is started.

2009-07-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47515

   Summary: Tomcat can't replicate session when it is started.
   Product: Tomcat 6
   Version: 6.0.18
  Platform: PC
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Cluster
AssignedTo: dev@tomcat.apache.org
ReportedBy: yoshihara.ryu...@oss.ntt.co.jp
CC: yoshihara.ryu...@oss.ntt.co.jp


System
  two Tomcat Server(AP1,AP2)
  Tomcat's version is 6.0.18.
  Replication method is Delta Manager

 I stopped Tomcat of AP1.
 Then, I restarted Tomcat of AP1.
 Then, for AP1, Tomcat's log is as follows.

  Jul 2, 2009 4:51:04 PM
  org.apache.catalina.ha.session.DeltaManager getAllClusterSessions
  WARNING: Manager [/tpcw]: Drop message SESSION-DELTA
  inside GET_ALL_SESSIONS sync phase start date 7/2/09 4:51 PM message date
1/1/70 9:00 AM

  Jul 2, 2009 4:51:04 PM
  org.apache.catalina.ha.session.DeltaManager getAllClusterSessions
  WARNING: Manager [/tpcw]: Drop message SESSION-ACCESSED
  inside GET_ALL_SESSIONS sync phase start date 7/2/09 4:51 PM message date
1/1/70 9:00 AM

 TimeStamp is incorrect when SESSION-DELTA or SESSION-ACCESSED because "1/1/70
9:00 AM" isn't created time of session.
 In this case, AP1's Tomcat may drop all session data.
 As a result, AP1's Tomcat can't replicate session.
 If TimeStamp is updated when update last replicated time, it goes well.

 I made patch.

 DeltaManager's patch.

Index: java/org/apache/catalina/ha/session/DeltaManager.java
===
--- java/org/apache/catalina/ha/session/DeltaManager.java(revision 792004 ( 
https://svn.apache.org/viewcvs.cgi?view=rev&rev=792004 ))
+++ java/org/apache/catalina/ha/session/DeltaManager.java(working copy)
@@ -1162,7 +1162,10 @@
 }

 //update last replicated time
-if (msg != null)
session.setLastTimeReplicated(System.currentTimeMillis());
+if (msg != null){
+session.setLastTimeReplicated(System.currentTimeMillis());
+msg.setTimestamp(session.getLastTimeReplicated());
+}
 return msg;
 } catch (IOException x) {

log.error(sm.getString("deltaManager.createMessage.unableCreateDeltaRequest",sessionId),
x);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- 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