Shashank created JCR-4125: ----------------------------- Summary: 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 Environment: Ubuntu 4.4.0-63-generic Reporter: Shashank Fix For: 2.0
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. 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) -- This message was sent by Atlassian JIRA (v6.3.15#6346)