bugzilla | 1 Oct 2010 06:31
Picon
Favicon

DO NOT REPLY [Bug 49998] ParserController.hasJspRoot() does not detect JSP as using XML syntax if <jsp:root> namespace declaration uses ' delimiters instead of "

https://issues.apache.org/bugzilla/show_bug.cgi?id=49998

--- Comment #1 from brian.weisleder <at> gmail.com 2010-10-01 00:30:53 EDT ---
Created an attachment (id=26109)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26109)
Patch to allow single quotes to be used in jsp namespace declarations

This patch allows users to use single quotes rather than, or in addition to,
double quotes when declaring JSP namespaces with XML syntax

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 1 Oct 2010 06:36
Picon
Favicon

DO NOT REPLY [Bug 49998] ParserController.hasJspRoot() does not detect JSP as using XML syntax if <jsp:root> namespace declaration uses ' delimiters instead of "

https://issues.apache.org/bugzilla/show_bug.cgi?id=49998

brian.weisleder <at> gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brian.weisleder <at> gmail.com

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 1 Oct 2010 10:06
Picon
Favicon

DO NOT REPLY [Bug 49985] Lazy initialization without any synchronization - data race in AstInteger, AstFloatingPoint, AstString

https://issues.apache.org/bugzilla/show_bug.cgi?id=49985

Sergey Vorobyev <sergeyvorobyev <at> google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Sergey Vorobyev <sergeyvorobyev <at> google.com> 2010-10-01 04:06:16 EDT ---
First and most obviously, two or more Long/BigInteger objects could be
allocated. It's not dangerous, but not good.

Second consider following:

Thread1:
protected Number getInteger() {
        if (this.number == null) {
            try {
->              this.number = new Long(this.image); // this.number isn't null,
but not fully complete.

Thread2:
protected Number getInteger() {
        if (this.number == null) { // break, because this.number isn't null
already.
            ...
        }
->      return number; // publish not fully complete object link.
    }
(Continue reading)

bugzilla | 1 Oct 2010 11:19
Picon
Favicon

DO NOT REPLY [Bug 49667] JdbcLeakPrevention class can register unregistered JCBC Driver

https://issues.apache.org/bugzilla/show_bug.cgi?id=49667

Arjen Knibbe <ArjenCornelis.Knibbe <at> Getronics.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #5 from Arjen Knibbe <ArjenCornelis.Knibbe <at> Getronics.com> 2010-10-01 05:19:17 EDT ---
I added attachments and a description how to repoduce the bugs as requested by
Mark Thomas (comment 2). See comments 3 and 4. Tested with Tomcat 7.0.2 and jdk
6.0.21 on a Solaris machine.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
markt | 1 Oct 2010 12:21
Picon
Favicon
Gravatar

svn commit: r1003461 - in /tomcat/trunk: java/org/apache/coyote/http11/filters/ChunkedInputFilter.java test/org/apache/coyote/http11/filters/ test/org/apache/coyote/http11/filters/TestChunkedInputFilter.java webapps/docs/changelog.xml

Author: markt
Date: Fri Oct  1 10:21:58 2010
New Revision: 1003461

URL: http://svn.apache.org/viewvc?rev=1003461&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49860
Add support for trailing headers

Added:
    tomcat/trunk/test/org/apache/coyote/http11/filters/
    tomcat/trunk/test/org/apache/coyote/http11/filters/TestChunkedInputFilter.java   (with props)
Modified:
    tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java?rev=1003461&r1=1003460&r2=1003461&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java Fri Oct  1
10:21:58 2010
 <at>  <at>  -17,6 +17,7  <at>  <at> 

 package org.apache.coyote.http11.filters;

+import java.io.EOFException;
 import java.io.IOException;

 import org.apache.coyote.InputBuffer;
(Continue reading)

bugzilla | 1 Oct 2010 12:25
Picon
Favicon

DO NOT REPLY [Bug 50035] New: StandardContext.getDocBase() returns incorrect values after the context with antiResourceLocking="true" failed to start

https://issues.apache.org/bugzilla/show_bug.cgi?id=50035

           Summary: StandardContext.getDocBase() returns incorrect values
                    after the context with antiResourceLocking="true"
                    failed to start
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev <at> tomcat.apache.org
        ReportedBy: igor.mukhin <at> gmx.de

To reproduce:

1) install clean tomcat

2) create /conf/Catalina/localhost/test1.xml with 
     <Context antiResourceLocking="true"></Context>

3) install a sample application to /webapps/test1 that for instance
   has a context listener that throws an exception during start of the
   application

web.xml:
    <listener>
        <listener-class>org.acme.AlwaysFailContextListener</listener-class>
    </listener>
(Continue reading)

bugzilla | 1 Oct 2010 12:35
Picon
Favicon

DO NOT REPLY [Bug 50035] StandardContext.getDocBase() returns incorrect values after the context with antiResourceLocking="true" failed to start

https://issues.apache.org/bugzilla/show_bug.cgi?id=50035

Mark Thomas <markt <at> apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <markt <at> apache.org> 2010-10-01 06:35:11 EDT ---
That is working as designed.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
markt | 1 Oct 2010 12:36
Picon
Favicon
Gravatar

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

Author: markt
Date: Fri Oct  1 10:36:53 2010
New Revision: 1003468

URL: http://svn.apache.org/viewvc?rev=1003468&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=1003468&r1=1003467&r2=1003468&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Oct  1 10:36:53 2010
 <at>  <at>  -225,3 +225,10  <at>  <at>  PATCHES PROPOSED TO BACKPORT:
   http://people.apache.org/~markt/patches/2010-09-30-bug49856-tc6.patch
   +1: markt
   -1:
+
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49860
+  Add support for trailing headers
+  http://svn.apache.org/viewvc?rev=1003461&view=rev
+  Note: Don't change return type for parseEndChunk(), just return true.
+  +1: markt
+  -1:
bugzilla | 1 Oct 2010 12:47
Picon
Favicon

DO NOT REPLY [Bug 49667] JdbcLeakPrevention class can register unregistered JCBC Driver

https://issues.apache.org/bugzilla/show_bug.cgi?id=49667

--- Comment #6 from Mark Thomas <markt <at> apache.org> 2010-10-01 06:47:44 EDT ---
Thanks for the sample apps. I can now reproduce this. Looking at a fix now...

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
markt | 1 Oct 2010 13:10
Picon
Favicon
Gravatar

svn commit: r1003481 - in /tomcat/trunk: java/org/apache/catalina/loader/JdbcLeakPrevention.java webapps/docs/changelog.xml

Author: markt
Date: Fri Oct  1 11:10:51 2010
New Revision: 1003481

URL: http://svn.apache.org/viewvc?rev=1003481&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49667
Ensure JDBC leak prevention code doesn't trigger the very memory leak it is meant to be fixing.

Modified:
    tomcat/trunk/java/org/apache/catalina/loader/JdbcLeakPrevention.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/loader/JdbcLeakPrevention.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/JdbcLeakPrevention.java?rev=1003481&r1=1003480&r2=1003481&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/loader/JdbcLeakPrevention.java (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/JdbcLeakPrevention.java Fri Oct  1 11:10:51 2010
 <at>  <at>  -23,6 +23,7  <at>  <at>  import java.sql.DriverManager;
 import java.sql.SQLException;
 import java.util.ArrayList;
 import java.util.Enumeration;
+import java.util.HashSet;
 import java.util.List;

 /**
 <at>  <at>  -41,16 +42,33  <at>  <at>  public class JdbcLeakPrevention {
     public List<String> clearJdbcDriverRegistrations() throws SQLException {
         List<String> driverNames = new ArrayList<String>();

(Continue reading)


Gmane