[ 
https://issues.apache.org/jira/browse/JCR-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962395#comment-15962395
 ] 

Shashank commented on JCR-4125:
-------------------------------

[~baedke] Thanks for this valuable piece of information. Yes, the maximum size 
is 2 GB, but it fails even when I upload a roughly 2 GB file. My file is 
exactly 1,898,889,216 Bytes which is slightly less than 2 GB. Does it not fall 
below the maximum size limit?

> 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)

Reply via email to