AnsweredAssumed Answered

CIFS fails on transfer of many or large files

Question asked by nickitmgr on Jul 23, 2009
Latest reply on Jul 24, 2009 by nickitmgr
My company is trying to adopt Alfresco as a Document Management System.  I've installed Alfresco Labs 3 Stable (Current version 3.0.0 (Stable 1526)) and configured it to use CIFS and NTLM authentication.  NTLM is working fine.  I'm running into errors with copying large files or multiple files to an Alfresco directory using CIFS.

Here is what startup looks like:


Jul 23, 2009 10:43:13 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 23, 2009 10:43:13 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 378 ms
Jul 23, 2009 10:43:13 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 23, 2009 10:43:13 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jul 23, 2009 10:43:13 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jul 23, 2009 10:43:14 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has b
een ignored.
10:43:25,496  WARN  [jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.
10:43:26,214  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.proper
ties]
10:43:33,055  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.DerbyDialect.
10:43:33,070  INFO  [domain.schema.SchemaBootstrap] Alfresco is using the Apache Derby default database. Please only use this while evaluating Alfr
esco, it is NOT recommended for production or deployment!
10:43:34,570  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
10:43:36,709 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: M:\Alfresco\alf_data
10:43:37,115 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
10:43:37,240 User:System INFO  [admin.patch.PatchExecuter] No patches were required.
10:43:37,240 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
10:43:37,787 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_11-b03; maximum heap size 493.063MB
10:43:37,787 User:System WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB is less than recommended
512MB
10:43:37,787 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - In
stalled version 3.0.0 (Stable 1526) schema 1002
Jul 23, 2009 10:43:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
10:43:49,563  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Jul 23, 2009 10:43:49 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
10:43:50,922  INFO  [web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
10:43:50,922  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 234.93498ms)
10:44:51,769  INFO  [web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
10:44:51,769  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 60863.766ms)
10:44:51,800  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Jul 23, 2009 10:44:51 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 23, 2009 10:44:51 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 98999 ms

When I try to transfer large files or multiple files/folders into a directory inside of the Alfresco Repository, these are the different outcomes:
1) The files will transfer fine.
2) Halfway through copying the files, I get an "Error Copying File or Folder" with "Cannot copy filename: The specified network name is no longer available.", and some of the files don't get copied and 1 or 2 of them show content with 0kb.

11:08:56,862  ERROR [transaction.SpringAwareUserTransaction.trace] Detected first UserTransaction which is being garbage collected without a commit
() or rollback()
11:08:56,862  ERROR [transaction.SpringAwareUserTransaction.trace] Logging of transaction call stack is now enabled and will affect performance

I have other errors such as "A lock could not be obtained within the time requested" that also show up.


As previously stated, my office is trying to go paperless with Alfresco, but this CIFS error is preventing its use since we can't upload more than a couple of files at a time.

I'm more than happy to post any other log files and config files.  However, I am a novice, so please detail which ones or what steps I need to take.

Thank you,

Nick

Outcomes