You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ji...@apache.org on 2004/06/06 23:29:58 UTC
[jira] Closed: (JAMES-56) setBytes call in JDBCMailRepository enforced artificial limit on header length on Oracle systems
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JAMES-56
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JAMES-56
Summary: setBytes call in JDBCMailRepository enforced artificial limit on header length on Oracle systems
Type: Bug
Status: Closed
Resolution: FIXED
Project: James
Components:
MailStore & MailRepository
Versions:
2.0a3
Assignee:
Reporter: Peter M. Goldstein
Created: Fri, 13 Sep 2002 3:56 PM
Updated: Sun, 6 Jun 2004 2:27 PM
Environment: Operating System: All
Platform: All
Description:
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
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org