[
https://issues.apache.org/jira/browse/JCR-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958417#comment-15958417
]
Julian Reschke commented on JCR-4125:
-------------------------------------
Might be a simple type overflow, a JDBC restriction, or a DB constraint.
> Not able to upload a large file (2 GB) via Jackrabbit to an MS SQL Server
> 2014 Database.
> ----------------------------------------------------------------------------------------
>
> Key: JCR-4125
> URL: https://issues.apache.org/jira/browse/JCR-4125
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.12.4
> Environment: Ubuntu 4.4.0-63-generic
> Reporter: Shashank
> Labels: microsoft, ms-sql
>
> I have configured my Jackrabbit to store repository on an MS SQL Server 2014
> Database. When I upload a large file (2+ GB), I receive below error.
> {quote}
> 2017-04-06 06:11:02.536 [qtp23218037-18] {username=admin} ERROR
> o.a.j.core.util.db.ConnectionHelper - Failed to execute SQL (stacktrace on
> DEBUG log level): com.microsoft.sqlserver.jdbc.SQLServerException: The length
> -2,090,401,792 is not valid.
> 2017-04-06 06:11:02.640 [qtp23218037-18] {username=admin} ERROR
> o.a.j.core.util.db.ConnectionHelper - Failed to execute SQL (stacktrace on
> DEBUG log level): com.microsoft.sqlserver.jdbc.SQLServerException: The length
> -2,090,401,792 is not valid.
> 2017-04-06 06:11:03.292 [qtp23218037-18] {username=admin} WARN
> o.a.j.core.data.db.DbDataStore - Can not insert new record
> com.microsoft.sqlserver.jdbc.SQLServerException: The length -2,090,401,792 is
> not valid.
> at
> com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:191)
> {quote}
> Is there any limitation on the size of uploaded binary artifact?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)