Re: Time to organise svn - Take 4

2007-11-06 Thread Mark Thomas
Rémy Maucherat wrote:
> On Sun, 2007-11-04 at 16:10 +, Mark Thomas wrote:
>> Do the (unless there is a pressing need - eg a major security issue) final
>> stable release of 6.0.x.
>> Freeze development of the 6.0.x branch.
> 
> -1. Branches should continue to be open as long as committers want to
> propose patches and make releases.

I see where you are coming from. I still don't think there will be much (or
indeed any) work on 6.0.x once 6.2.x is stable but you are right, we don't
 need to freeze 6.0.x and we will see what happens.

In the absence of any other comments, I intend to implement Stage 1 (with
appropriate updates to the svn page on the web site) some time tomorrow
evening GMT.

Mark


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



Re: Time to organise svn - Take 4

2007-11-06 Thread Rémy Maucherat
On Sun, 2007-11-04 at 16:10 +, Mark Thomas wrote:
> Do the (unless there is a pressing need - eg a major security issue) final
> stable release of 6.0.x.
> Freeze development of the 6.0.x branch.

-1. Branches should continue to be open as long as committers want to
propose patches and make releases.

Rémy



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



Re: [VOTE] Release build 6.0.15

2007-11-06 Thread Filip Hanik - Dev Lists

I'm having problems with the cookie parsing

Cookie: $Version="1"; name1="value1"; $Path="/testcookies"; 
$Domain="localhost"


Specifically
Cookies.java - line 490
if( bytes[valueStart] =='1' && valueEnd == valueStart) {

since the version is one character, then valueEnd should be 
valueStart+1, valueEnd==valueStart would mean 0 bytes


patch would be
Index: java/org/apache/tomcat/util/http/Cookies.java
===
--- java/org/apache/tomcat/util/http/Cookies.java(revision 589807)
+++ java/org/apache/tomcat/util/http/Cookies.java(working copy)
@@ -487,7 +487,7 @@
if (equals( "Version", bytes, nameStart, nameEnd) &&
sc == null) {
// Set version
-if( bytes[valueStart] =='1' && valueEnd == 
valueStart) {
+if( bytes[valueStart] =='1' && valueEnd == 
(valueStart+1)) {

version=1;
} else {
// unknown version (Versioning is not very strict)


This bug would break the TCK
Filip



Rémy Maucherat wrote:

The candidates binaries are available here:
http://people.apache.org/~remm/tomcat-6/v6.0.15/

According to the release process, the 6.0.15 tag is:
[X] Broken
[ ] Alpha
[ ] Beta
[ ] Stable

Rémy



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



  



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



DO NOT REPLY [Bug 43800] - Severe error with native dll and SSL

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2007-11-06 15:25 ---
The configuration for an HTTPS Connector when using APR is different from the
configuration when APR is not used. This is explained in the docs for APR.
If something remains unclear after reading the docs, post your question to the
Tomcat Users mailing list.

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

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



DO NOT REPLY [Bug 43801] New: - Incorrect compilation of empty span tags in JSPX

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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

   Summary: Incorrect compilation of empty span tags in JSPX
   Product: Tomcat 5
   Version: 5.5.24
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: minor
  Priority: P3
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


With the following markup in a JSPX:


...

Jasper compiles it into:


...


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

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



DO NOT REPLY [Bug 43800] New: - Severe error with native dll and SSL

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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

   Summary: Severe error with native dll and SSL
   Product: Tomcat 6
   Version: 6.0.14
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:Integration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I have configuration where where Tomcat loads the SSL connector correctly when
the native library is not installed, but has an error when the native library is
added to the classpath.

Configuration is a fresh install with this added to server.xml:


Error is:

7/11/2007 10:07:07 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded Apache Tomcat Native library 1.1.10.
7/11/2007 10:07:07 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false],
random [true].
7/11/2007 10:07:08 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
7/11/2007 10:07:08 org.apache.coyote.http11.Http11AprProtocol init
SEVERE: Error initializing endpoint
java.lang.Exception: No Certificate file specified
at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:684)
at 
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:121)
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
7/11/2007 10:07:08 org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.lang.Exception: No Certificate file specified
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
7/11/2007 10:07:08 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1864 ms
7/11/2007 10:07:08 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
7/11/2007 10:07:08 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
7/11/2007 10:07:10 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
7/11/2007 10:07:10 org.apache.coyote.http11.Http11AprProtocol start
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket
address (protocol/network address/port) is normally permitted.  
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:717)
at 
org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:151)
at org.apache.catalina.connector.Connector.start(Connector.java:1132)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:531)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun

DO NOT REPLY [Bug 41227] - When the jasper compiler fails to compile a JSP, it doesn't print the name of the file

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

URL||/smol_explorer/login/html/in
   ||dex_html.jsp




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

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



DO NOT REPLY [Bug 42419] - Options for changing jsessionid cookie name

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

URL||/smol_explorer/login/html/in
   ||dex_html.jsp




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

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



svn commit: r592478 - /tomcat/site/trunk/docs/

2007-11-06 Thread yoavs
Author: yoavs
Date: Tue Nov  6 08:22:09 2007
New Revision: 592478

URL: http://svn.apache.org/viewvc?rev=592478&view=rev
Log:
Regenerate Tomcat site files with updated left-hand nav.

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/contact.html
tomcat/site/trunk/docs/download-33.html
tomcat/site/trunk/docs/download-41.html
tomcat/site/trunk/docs/download-55.html
tomcat/site/trunk/docs/download-60.html
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/docs/findhelp.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/docs/heritage.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/irc.html
tomcat/site/trunk/docs/legal.html
tomcat/site/trunk/docs/migration.html
tomcat/site/trunk/docs/resources.html
tomcat/site/trunk/docs/security-3.html
tomcat/site/trunk/docs/security-4.html
tomcat/site/trunk/docs/security-5.html
tomcat/site/trunk/docs/security-6.html
tomcat/site/trunk/docs/security-impact.html
tomcat/site/trunk/docs/security-jk.html
tomcat/site/trunk/docs/security.html
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/docs/whichversion.html

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/bugreport.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Tue Nov  6 08:22:09 2007
@@ -166,6 +166,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/contact.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Tue Nov  6 08:22:09 2007
@@ -164,6 +164,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trunk/docs/download-33.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-33.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/download-33.html (original)
+++ tomcat/site/trunk/docs/download-33.html Tue Nov  6 08:22:09 2007
@@ -164,6 +164,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trunk/docs/download-41.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-41.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/download-41.html (original)
+++ tomcat/site/trunk/docs/download-41.html Tue Nov  6 08:22:09 2007
@@ -164,6 +164,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trunk/docs/download-55.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-55.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Tue Nov  6 08:22:09 2007
@@ -164,6 +164,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trunk/docs/download-60.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/download-60.html (original)
+++ tomcat/site/trunk/docs/download-60.html Tue Nov  6 08:22:09 2007
@@ -164,6 +164,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=592478&r1=592477&r2=592478&view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Tue Nov  6 08:22:09 2007
@@ -164,6 +164,12 @@
 
 Legal
 
+
+http://www.apache.org/foundation/sponsorship.html";>Sponsorship
+
+
+http://www.apache.org/foundation/thanks.html";>Thanks
+
 
 
 

Modified: tomcat/site/trun

DO NOT REPLY [Bug 31198] - Non-ASCII Passwords Converted to UTF-8

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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





--- Additional Comments From [EMAIL PROTECTED]  2007-11-06 05:18 ---
The encoding used to interpret the login request can be forced (in TC5 at least)
using the characterEncoding attribute of the
org.apache.catalina.authenticator.FormAuthenticator valve -
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html

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

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



DO NOT REPLY [Bug 42934] - sessionDidActivate() called before contextInitialized()

2007-11-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

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





--- Additional Comments From [EMAIL PROTECTED]  2007-11-06 04:37 ---
I really vote for this. 

My own web application needs the same functionality. I use a spring
WebApplicationContext and some of my Session Vales need beans from this context.
So I store them transient in the session values and fetch them at
sessionDidActivate. But I can not do this if my context is not up and running.

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

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



Re: [VOTE] Release build 6.0.15

2007-11-06 Thread Mladen Turk


According to the release process, the 6.0.15 tag is:
[ ] Broken
[ ] Alpha
[ ] Beta
[X] Stable



Thumbs up for Linux, win32 and win64!

Regards,
Mladen

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



XSD file problems in servlet-api.jar and jsp-api.jar

2007-11-06 Thread Alexander Kiel
Hello List,

this is my first post to this list. 

I decided to write to the dev list, because it is half a bug report - half a 
suggestion to solve the problem.

My motivation is to get XML Validation working in Tomcat 6 with SUN JDK 6. So 
I followed the error output at startup and saw the problems in the jars. But 
at the end I give up. There are so much other problems with XML Validation. I 
do not know if its a problem with correct entity resolution or if its a 
Xerces Problem. The only web app in the Tomcat 6 instance is a 2.4 one which 
is fully valid.



Please have a look into the servlet-jsp.jar from the binary distribution of 
tomcat-6.0.14.

Problems in web-app_2_4.xsd:
 - Apache 2.0 License comment block before the XML declaration
 - Missing jsp_2_0.xsd
 
Problems in web-app_2_5.xsd:
 - Apache 2.0 License comment block before the XML declaration
 - Missing javaee_5.xsd
 - Missing jsp_2_1.xsd
 - Encoding problems in line 476, 482, 483, ...
 - Missing javaee_web_services_client_1_2.xsd (needed by javaee_5.xsd)

Solution:
 - Remove Apace 2.0 License block from web-app_2_4.xsd
 - Add jsp_2_0.xsd from jsp-api.jar
 - Take web-app_2_5.xsd from http://java.sun.com/xml/ns/javaee/
 - Add javaee_5.xsd from http://java.sun.com/xml/ns/javaee/ 
 - Add jsp_2_1.xsd from jsp-api.jar 
 - Add javaee_web_services_client_1_2.xsd from 
http://java.sun.com/xml/ns/javaee/ 

Remaining Problems:
 - Missing symbols in j2ee_web_services_client_1_1.xsd and 
javaee_web_services_client_1_2.xsd

XSD Problems in jsp-api.jar from the binary distribution of tomcat-6.0.14.

Problems in jsp_2_0.xsd:
 - Missing j2ee_1_4.xsd

Problems in jsp_2_1.xsd:
 - Missing javaee_5.xsd
 - Missing javaee_web_services_client_1_2.xsd (needed by javaee_5.xsd)

Solution:
 - Add j2ee_1_4.xsd from servlet-api.jar
 - Add javaee_5.xsd from http://java.sun.com/xml/ns/javaee/ 
 - Add javaee_web_services_client_1_2.xsd from 
http://java.sun.com/xml/ns/javaee/ 

Remaining Problems:
 - Missing symbols in javaee_web_services_client_1_2.xsd

---

Alexander Kiel


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



Re: [VOTE] Release build 6.0.15

2007-11-06 Thread Henri Gomez
[x ] Stable

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