james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12622] New: - setBytes call in JDBCMailRepository enforced artificial limit on header length on Oracle systems
Date Fri, 13 Sep 2002 15:56:16 GMT
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=12622>.
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=12622

setBytes call in JDBCMailRepository enforced artificial limit on header length on Oracle systems

           Summary: setBytes call in JDBCMailRepository enforced artificial
                    limit on header length on Oracle systems
           Product: James
           Version: 2.0a3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: MailStore & MailRepository
        AssignedTo: james-dev@jakarta.apache.org
        ReportedBy: farsight@alum.mit.edu


Apparently the PreparedStatement setBytes call has a limitation in the Oracle 
JDBC driver.  A byte array submitted using this call can be at most 4023 bytes 
in length.  setBytes is called to store the message headers in 
JDBCMailRepository, which causes errors for messages with large headers.  
Addressing this is relatively easy, setBinaryStream must be substituted for 
setBytes

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message