Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-8111

CIFS file import crashes on mass upload

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.4.d Community
    • Fix Version/s: 3.4.d Community
    • Component/s: Installer
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Client: Windows XP SP3
      Server: Alfresco 3.4d Community on CentOS 5.5 with PostgreSQL 9.0.3, JDK 1.6.0_24
    • Resolution Time Custom Field:
      2 days, 23 hours, 8 minutes, 42 seconds

      Description

      Attempted to import some 10k files via mapped CIFS drive. Import runs fine for several hours, but repeatedly breaks after uploading some 29000 files

      See attached alfresco.log for evidence, here is the first logged exception:

      17:02:56,094 ERROR [org.alfresco.repo.transaction.AlfrescoTransactionSupport] After completion (committed) listener exception:
      listener: org.alfresco.repo.action.ActionTrackingServiceImpl$1@6b2672c8
      org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];
      — The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml.
      — The error occurred while applying a result map.
      — Check the alfresco.node.result_NodeProperty.
      — Check the result mapping for the 'value.serializableValue' property.
      — Cause: org.alfresco.ibatis.SerializableTypeHandlerCallback$DeserializationException: java.io.StreamCorruptedException: invalid stream header: BB656430; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
      — The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml.
      — The error occurred while applying a result map.
      — Check the alfresco.node.result_NodeProperty.
      — Check the result mapping for the 'value.serializableValue' property.
      — Cause: org.alfresco.ibatis.SerializableTypeHandlerCallback$DeserializationException: java.io.StreamCorruptedException: invalid stream header: BB656430
      at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
      at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
      at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
      at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:203)
      at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:293)
      at org.alfresco.repo.domain.node.ibatis.NodeDAOImpl.selectNodeProperties(NodeDAOImpl.java:473)
      at org.alfresco.repo.domain.node.ibatis.NodeDAOImpl.selectNodeProperties(NodeDAOImpl.java:450)
      ...
      at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:452)
      at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
      at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:455)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
      — The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml.
      — The error occurred while applying a result map.
      — Check the alfresco.node.result_NodeProperty.
      — Check the result mapping for the 'value.serializableValue' property.
      — Cause: org.alfresco.ibatis.SerializableTypeHandlerCallback$DeserializationException: java.io.StreamCorruptedException: invalid stream header: BB656430
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:204)
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139)
      at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567)
      at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
      at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
      at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:295)
      at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:1)
      at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
      ... 80 more
      Caused by: org.alfresco.ibatis.SerializableTypeHandlerCallback$DeserializationException: java.io.StreamCorruptedException: invalid stream header: BB656430
      at org.alfresco.ibatis.SerializableTypeHandlerCallback.getResult(SerializableTypeHandlerCallback.java:82)
      at com.ibatis.sqlmap.engine.type.CustomTypeHandler.getResult(CustomTypeHandler.java:52)
      at com.ibatis.sqlmap.engine.mapping.result.ResultMap.getPrimitiveResultMappingValue(ResultMap.java:619)
      at com.ibatis.sqlmap.engine.mapping.result.ResultMap.getResults(ResultMap.java:345)
      at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.java:428)
      at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults(SqlExecutor.java:344)
      at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:233)
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221)
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189)
      ... 87 more
      Caused by: java.io.StreamCorruptedException: invalid stream header: BB656430
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:782)
      at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
      at org.alfresco.ibatis.SerializableTypeHandlerCallback.getResult(SerializableTypeHandlerCallback.java:75)
      ... 95 more
      17:02:56,094 ERROR [org.alfresco.fileserver] org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];
      — The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml.
      — The error occurred while applying a result map.
      — Check the alfresco.node.result_NodeProperty.
      — Check the result mapping for the 'value.serializableValue' property.
      — Cause: org.alfresco.ibatis.SerializableTypeHandlerCallback$DeserializationException: java.io.StreamCorruptedException: invalid stream header: BB656430; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
      — The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml.
      — The error occurred while applying a result map.
      ....

      Corresponding error message from Windows client is "

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                gyro.gearless Andreas Wollschlaeger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: