You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/24 21:39:24 UTC

DO NOT REPLY [Bug 4402] New: - XConnection.connect() fails on 2nd call when using same parameters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4402

XConnection.connect() fails on 2nd call when using same parameters

           Summary: XConnection.connect() fails on 2nd call when using same
                    parameters
           Product: XalanJ2
           Version: 2.2.x
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xalan.lib.sql
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: john.stewart@veridian.com


Multiplexing 2 transformations to different stylesheets using separate 
TransformerHandlers.  I make a call to sql:connect($db...) in both stylesheets 
with identical parameters, ie db, username, password.  The second connect() 
call fails.  If I change the username/password on the 2nd call they both 
succeed.  On line 544 of XConnection.java in 2.2.D10 you make a comparison on a 
member cpool, which should be m_ConnectionPool.  Thx.