cancel
Showing results for 
Search instead for 
Did you mean: 

Ftp connection getting closed when uploading multiple files concurrently to alfresco

abhinav
Champ on-the-rise
Champ on-the-rise
Hi All,

I am doing load testing on Alfresco. I am trying to upload multiple files to alfresco via FTP. I am using JMeter for load testing.
When i am executing the test case with multiple concurrent requests alfresco is closing the connection.

I am my case i am providing a directory uri to JMeter, where there are more than 200+ directories and 5000+ files. JMeter will recursively traverse the inputs and upload them to Alfresco. And in this case many threads will try to upload the same file or folder to alfresco at same time.

I analysed the log in alfresco and found that it is throwing an exception (org.alfresco.jlan.server.filesys.FileExistsException) frequently, and after that connection is getting closed form alfresco side.
See the attached log for details.

What could be the reason here ? Please help. We are in the middle of the test and not able to figure out the exact reason.

We are using alfresco-5.0.a community version. And we are using Amazon S3 mount as repository. i.e. alf_data is pointing to S3 Mount.

Alfresco Log:

04:00:22,421 ERROR [org.alfresco.fileserver] [Sess_FTP70_206.208.106.20] Error from JLAN
org.alfresco.jlan.server.filesys.FileExistsException
at org.alfresco.jlan.server.filesys.cache.FileStateCache.grantFileAccess(FileStateCache.java:680)
at org.alfresco.filesys.repo.LegacyFileStateDriver.createFile(LegacyFileStateDriver.java:107)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.createFile(BufferedContentDiskDriver.java:468)
at org.alfresco.jlan.ftp.FTPSrvSession.procStoreFile(FTPSrvSession.java:2317)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5092)
at java.lang.Thread.run(Thread.java:745)
04:00:22,778 ERROR [org.alfresco.fileserver] [Sess_FTP74_206.208.106.20] Error from JLAN
java.lang.NullPointerException
at org.alfresco.repo.model.filefolder.ExtendedFileFolderServiceImpl.create(ExtendedFileFolderServiceImpl.java:36)
at sun.reflect.GeneratedMethodAccessor918.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke(MLTranslationInterceptor.java:268)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.module.org_alfresco_module_rm.security.RMMethodSecurityInterceptor.invoke(RMMethodSecurityInterceptor.java:326)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:248)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:208)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:163)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:254)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy73.create(Unknown Source)
at org.alfresco.filesys.repo.CifsHelper.createNode(CifsHelper.java:525)
at org.alfresco.filesys.repo.ContentDiskDriver2.createDirectory(ContentDiskDriver2.java:1043)
at sun.reflect.GeneratedMethodAccessor964.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice$1.execute(FilesystemTransactionAdvice.java:71)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:342)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy291.createDirectory(Unknown Source)
at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.createDirectory(NonTransactionalRuleContentDiskDriver.java:195)
at org.alfresco.filesys.repo.LegacyFileStateDriver.createDirectory(LegacyFileStateDriver.java:551)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.createDirectory(BufferedContentDiskDriver.java:461)
at org.alfresco.jlan.ftp.FTPSrvSession.procCreateDirectory(FTPSrvSession.java:2920)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5156)
at java.lang.Thread.run(Thread.java:745)
04:00:22,778 ERROR [org.alfresco.fileserver] [Sess_FTP72_206.208.106.20] Error from JLAN
java.lang.NullPointerException
at org.alfresco.repo.model.filefolder.ExtendedFileFolderServiceImpl.create(ExtendedFileFolderServiceImpl.java:36)
at sun.reflect.GeneratedMethodAccessor918.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke(MLTranslationInterceptor.java:268)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.module.org_alfresco_module_rm.security.RMMethodSecurityInterceptor.invoke(RMMethodSecurityInterceptor.java:326)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:248)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:208)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:163)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:254)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy73.create(Unknown Source)
at org.alfresco.filesys.repo.CifsHelper.createNode(CifsHelper.java:525)
at org.alfresco.filesys.repo.ContentDiskDriver2.createDirectory(ContentDiskDriver2.java:1043)
at sun.reflect.GeneratedMethodAccessor964.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice$1.execute(FilesystemTransactionAdvice.java:71)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:342)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy291.createDirectory(Unknown Source)
at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.createDirectory(NonTransactionalRuleContentDiskDriver.java:195)
at org.alfresco.filesys.repo.LegacyFileStateDriver.createDirectory(LegacyFileStateDriver.java:551)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.createDirectory(BufferedContentDiskDriver.java:461)
at org.alfresco.jlan.ftp.FTPSrvSession.procCreateDirectory(FTPSrvSession.java:2920)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5156)
at java.lang.Thread.run(Thread.java:745)
04:00:22,778 ERROR [org.alfresco.fileserver] [Sess_FTP73_206.208.106.20] Error from JLAN
java.lang.NullPointerException
at org.alfresco.repo.model.filefolder.ExtendedFileFolderServiceImpl.create(ExtendedFileFolderServiceImpl.java:36)
at sun.reflect.GeneratedMethodAccessor918.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke(MLTranslationInterceptor.java:268)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.module.org_alfresco_module_rm.security.RMMethodSecurityInterceptor.invoke(RMMethodSecurityInterceptor.java:326)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:248)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:208)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:163)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:254)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy73.create(Unknown Source)
at org.alfresco.filesys.repo.CifsHelper.createNode(CifsHelper.java:525)
at org.alfresco.filesys.repo.ContentDiskDriver2.createDirectory(ContentDiskDriver2.java:1043)
at sun.reflect.GeneratedMethodAccessor964.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice$1.execute(FilesystemTransactionAdvice.java:71)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:342)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy291.createDirectory(Unknown Source)
at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.createDirectory(NonTransactionalRuleContentDiskDriver.java:195)
at org.alfresco.filesys.repo.LegacyFileStateDriver.createDirectory(LegacyFileStateDriver.java:551)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.createDirectory(BufferedContentDiskDriver.java:461)
at org.alfresco.jlan.ftp.FTPSrvSession.procCreateDirectory(FTPSrvSession.java:2920)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5156)
at java.lang.Thread.run(Thread.java:745)
04:00:22,779 ERROR [org.alfresco.fileserver] [Sess_FTP70_206.208.106.20] Error from JLAN
java.lang.NullPointerException
at org.alfresco.repo.model.filefolder.ExtendedFileFolderServiceImpl.create(ExtendedFileFolderServiceImpl.java:36)
at sun.reflect.GeneratedMethodAccessor918.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke(MLTranslationInterceptor.java:268)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.module.org_alfresco_module_rm.security.RMMethodSecurityInterceptor.invoke(RMMethodSecurityInterceptor.java:326)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:248)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:208)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:163)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:254)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy73.create(Unknown Source)
at org.alfresco.filesys.repo.CifsHelper.createNode(CifsHelper.java:525)
at org.alfresco.filesys.repo.ContentDiskDriver2.createDirectory(ContentDiskDriver2.java:1043)
at sun.reflect.GeneratedMethodAccessor964.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice$1.execute(FilesystemTransactionAdvice.java:71)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:342)
at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy291.createDirectory(Unknown Source)
at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.createDirectory(NonTransactionalRuleContentDiskDriver.java:195)
at org.alfresco.filesys.repo.LegacyFileStateDriver.createDirectory(LegacyFileStateDriver.java:551)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.createDirectory(BufferedContentDiskDriver.java:461)
at org.alfresco.jlan.ftp.FTPSrvSession.procCreateDirectory(FTPSrvSession.java:2920)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5156)
at java.lang.Thread.run(Thread.java:745)
04:09:27,847 ERROR [org.alfresco.fileserver] [Sess_FTP78_206.208.106.20] Error from JLAN
org.alfresco.jlan.server.filesys.FileExistsException
at org.alfresco.jlan.server.filesys.cache.FileStateCache.grantFileAccess(FileStateCache.java:680)
at org.alfresco.filesys.repo.LegacyFileStateDriver.createFile(LegacyFileStateDriver.java:107)
at org.alfresco.filesys.repo.BufferedContentDiskDriver.createFile(BufferedContentDiskDriver.java:468)
at org.alfresco.jlan.ftp.FTPSrvSession.procStoreFile(FTPSrvSession.java:2317)
at org.alfresco.jlan.ftp.FTPSrvSession.run(FTPSrvSession.java:5092)
at java.lang.Thread.run(Thread.java:745)

Log in JMeter:

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:894)
at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:633)
at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:624)
at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1976)
at com.jmeter.alfresco.utils.FtpUtils.uploadFile(FtpUtils.java:205)
at com.jmeter.alfresco.utils.FtpUtils.uploadDirectory(FtpUtils.java:158)
at com.jmeter.alfresco.utils.FtpUtils.uploadDirectory(FtpUtils.java:181)
at com.jmeter.alfresco.utils.FtpUtils.uploadDirectoryOrFile(FtpUtils.java:92)
at com.jmeter.alfresco.ftp.upload.UploadDocumentTestFtp.runTest(UploadDocumentTestFtp.java:93)
at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:191)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Unknown Source)
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
There look to be several problems here that need to be identified.  Some of the errors are due to trying to create files and folders that already exist so it may be an error in the JMeter test.   Concurrent errors can be rather hard to tie down.    

If any issues can be narrowed down to bugs in the code then please raise them in JIRA.

mrogers
Star Contributor
Star Contributor
And you have some sort of Null Pointer exception from I think RM.   Looks like some initialization is not quite correct.