Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4125

Not able to upload a large file (2 GB) via Jackrabbit to an MS SQL Server 2014 Database.

    XMLWordPrintableJSON

Details

    • Important

    Description

      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]

      Unknown macro: {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]

      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]

      Unknown macro: {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)

      Is there any limitation on the size of uploaded binary artifact?

      Attachments

        Activity

          People

            Unassigned Unassigned
            shashank.ssriva Shashank
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: