org.apache.commons.vfs2.FileSystemException: Could not copy "file:///F:/srv2/OpenServer/domains/AQC_develop/app/controllers/AuditController.php" to "ftp://inspectionplatform.com/app/controllers/AuditController.php".

YouTrack | 2 months ago
  1. 0

    Trying to access remote host. Connection is good, but there is no files. Tried to access to server with the same credentials via Filezilla and everything works fine.

    YouTrack | 2 months ago
    org.apache.commons.vfs2.FileSystemException: Could not copy "file:///F:/srv2/OpenServer/domains/AQC_develop/app/controllers/AuditController.php" to "ftp://inspectionplatform.com/app/controllers/AuditController.php".
  2. 0

    Upload exception (ver 0.10.2)

    fullsync | 3 years ago | psyafter
    org.apache.commons.vfs2.FileSystemException: Could not write to "ftp://10.34.54.6/Create_Synchronicity-6.0_Setup.txt".
  3. 0

    I am trying to setup message archiving on a client site. I am getting this error on two channels: ERROR 2014-12-15 00:01:44,888 [pool-2-thread-558] com.mirth.connect.server.userutil.SerializerFactory: The getHL7Serializer() method is deprecated and will soon be removed. Please use the "Convert HL7 v2.x" templates from the References tab instead. Look at the tooltips to see the available property keys. The new method will strip namespaces by default unless the 'stripNamespaces' property is set to false. ERROR 2014-12-15 00:06:02,487 [Thread-564] com.mirth.connect.plugins.datapruner.DataPruner: Failed to prune messages for channel CDM to Mirth Results - OLD (c547bf4b-ccb2-4da9-a976-65a8653bcd52). Attempts remaining: 3. com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: com.mirth.connect.donkey.server.data.DonkeyDaoException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:553) at com.mirth.connect.plugins.datapruner.DataPruner.pruneChannel(DataPruner.java:429) at com.mirth.connect.plugins.datapruner.DataPruner.run(DataPruner.java:301) at java.lang.Thread.run(Thread.java:745) Caused by: com.mirth.connect.util.MessageExporter$MessageExportException: com.mirth.connect.donkey.server.data.DonkeyDaoException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:537) ... 3 more Caused by: com.mirth.connect.donkey.server.data.DonkeyDaoException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getMessageContent(JdbcDao.java:2031) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getConnectorMessageFromResultSet(JdbcDao.java:1993) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getConnectorMessages(JdbcDao.java:1452) at com.mirth.connect.plugins.datapruner.DataPruner.getMessagesForArchive(DataPruner.java:579) at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:515) ... 3 more Caused by: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1898) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:304) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getMessageContent(JdbcDao.java:2015) ... 7 more Caused by: java.lang.OutOfMemoryError: Java heap space ERROR 2014-12-15 00:09:20,166 [Thread-564] com.mirth.connect.plugins.datapruner.DataPruner: Failed to prune messages for channel CDM to Mirth Results - OLD (c547bf4b-ccb2-4da9-a976-65a8653bcd52). Attempts remaining: 2. com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:553) at com.mirth.connect.plugins.datapruner.DataPruner.pruneChannel(DataPruner.java:429) at com.mirth.connect.plugins.datapruner.DataPruner.run(DataPruner.java:301) at java.lang.Thread.run(Thread.java:745) Caused by: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:527) ... 3 more Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:457) at com.mirth.connect.util.messagewriter.MessageWriterVfs.write(MessageWriterVfs.java:142) at com.mirth.connect.util.messagewriter.MessageWriterArchive.write(MessageWriterArchive.java:52) at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:521) ... 3 more ERROR 2014-12-15 00:11:45,482 [Thread-564] com.mirth.connect.plugins.datapruner.DataPruner: Failed to prune messages for channel CDM to Mirth Results - OLD (c547bf4b-ccb2-4da9-a976-65a8653bcd52). Attempts remaining: 1. com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:553) at com.mirth.connect.plugins.datapruner.DataPruner.pruneChannel(DataPruner.java:429) at com.mirth.connect.plugins.datapruner.DataPruner.run(DataPruner.java:301) at java.lang.Thread.run(Thread.java:745) Caused by: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:527) ... 3 more Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:457) at com.mirth.connect.util.messagewriter.MessageWriterVfs.write(MessageWriterVfs.java:142) at com.mirth.connect.util.messagewriter.MessageWriterArchive.write(MessageWriterArchive.java:52) at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:521) ... 3 more

    Mirth Project | 2 years ago | Daniel Svanstedt
    com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am trying to setup message archiving on a client site. I am getting this error on two channels: ERROR 2014-12-15 00:01:44,888 [pool-2-thread-558] com.mirth.connect.server.userutil.SerializerFactory: The getHL7Serializer() method is deprecated and will soon be removed. Please use the "Convert HL7 v2.x" templates from the References tab instead. Look at the tooltips to see the available property keys. The new method will strip namespaces by default unless the 'stripNamespaces' property is set to false. ERROR 2014-12-15 00:06:02,487 [Thread-564] com.mirth.connect.plugins.datapruner.DataPruner: Failed to prune messages for channel CDM to Mirth Results - OLD (c547bf4b-ccb2-4da9-a976-65a8653bcd52). Attempts remaining: 3. com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: com.mirth.connect.donkey.server.data.DonkeyDaoException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:553) at com.mirth.connect.plugins.datapruner.DataPruner.pruneChannel(DataPruner.java:429) at com.mirth.connect.plugins.datapruner.DataPruner.run(DataPruner.java:301) at java.lang.Thread.run(Thread.java:745) Caused by: com.mirth.connect.util.MessageExporter$MessageExportException: com.mirth.connect.donkey.server.data.DonkeyDaoException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:537) ... 3 more Caused by: com.mirth.connect.donkey.server.data.DonkeyDaoException: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getMessageContent(JdbcDao.java:2031) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getConnectorMessageFromResultSet(JdbcDao.java:1993) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getConnectorMessages(JdbcDao.java:1452) at com.mirth.connect.plugins.datapruner.DataPruner.getMessagesForArchive(DataPruner.java:579) at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:515) ... 3 more Caused by: org.postgresql.util.PSQLException: Ran out of memory retrieving query results. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1898) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:304) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.getMessageContent(JdbcDao.java:2015) ... 7 more Caused by: java.lang.OutOfMemoryError: Java heap space ERROR 2014-12-15 00:09:20,166 [Thread-564] com.mirth.connect.plugins.datapruner.DataPruner: Failed to prune messages for channel CDM to Mirth Results - OLD (c547bf4b-ccb2-4da9-a976-65a8653bcd52). Attempts remaining: 2. com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:553) at com.mirth.connect.plugins.datapruner.DataPruner.pruneChannel(DataPruner.java:429) at com.mirth.connect.plugins.datapruner.DataPruner.run(DataPruner.java:301) at java.lang.Thread.run(Thread.java:745) Caused by: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:527) ... 3 more Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:457) at com.mirth.connect.util.messagewriter.MessageWriterVfs.write(MessageWriterVfs.java:142) at com.mirth.connect.util.messagewriter.MessageWriterArchive.write(MessageWriterArchive.java:52) at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:521) ... 3 more ERROR 2014-12-15 00:11:45,482 [Thread-564] com.mirth.connect.plugins.datapruner.DataPruner: Failed to prune messages for channel CDM to Mirth Results - OLD (c547bf4b-ccb2-4da9-a976-65a8653bcd52). Attempts remaining: 1. com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:553) at com.mirth.connect.plugins.datapruner.DataPruner.pruneChannel(DataPruner.java:429) at com.mirth.connect.plugins.datapruner.DataPruner.run(DataPruner.java:301) at java.lang.Thread.run(Thread.java:745) Caused by: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:527) ... 3 more Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use. at org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:457) at com.mirth.connect.util.messagewriter.MessageWriterVfs.write(MessageWriterVfs.java:142) at com.mirth.connect.util.messagewriter.MessageWriterArchive.write(MessageWriterArchive.java:52) at com.mirth.connect.plugins.datapruner.DataPruner.archiveAndGetIdsToPrune(DataPruner.java:521) ... 3 more

    Mirth Project | 2 years ago | Daniel Svanstedt
    com.mirth.connect.plugins.datapruner.DataPrunerException: com.mirth.connect.util.MessageExporter$MessageExportException: Failed to export message: Could not write to "file:///folders/archive/messages/2014-12-15-00-00-00/.c547bf4b-ccb2-4da9-a976-65a8653bcd52/2014-02-28 11:55:53.819.hl7" because it is currently in use.
  6. 0

    Upload exception (ver 0.10.2)

    fullsync | 3 years ago | psyafter
    org.apache.commons.vfs2.FileSystemException: Could not write to "ftp://10.34.54.6/Create_Synchronicity-6.0_Setup.txt".

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.vfs2.FileSystemException

      Could not create FTP directory "ftp://inspectionplatform.com/app".

      at org.apache.commons.vfs2.provider.ftp.FtpFileObject.doCreateFolder()
    2. Commons VFS Core
      DefaultFileContent.getOutputStream
      1. org.apache.commons.vfs2.provider.ftp.FtpFileObject.doCreateFolder(FtpFileObject.java:576)
      2. org.apache.commons.vfs2.provider.AbstractFileObject.createFolder(AbstractFileObject.java:415)
      3. org.apache.commons.vfs2.provider.AbstractFileObject.createFolder(AbstractFileObject.java:409)
      4. org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1372)
      5. org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:481)
      6. org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:459)
      6 frames
    3. JetBrains plugins
      RemoteHostTask.run
      1. com.jetbrains.plugins.webDeployment.FileTransferUtil.copyContent(FileTransferUtil.java:45)
      2. com.jetbrains.plugins.webDeployment.TransferOperation.copyFrom(TransferOperation.java:851)
      3. com.jetbrains.plugins.webDeployment.TransferOperation.copyFile(TransferOperation.java:736)
      4. com.jetbrains.plugins.webDeployment.TransferOperation.access$200(TransferOperation.java:28)
      5. com.jetbrains.plugins.webDeployment.TransferOperation$Copy.execute(TransferOperation.java:228)
      6. com.jetbrains.plugins.webDeployment.TransferTask.executeOperations(TransferTask.java:511)
      7. com.jetbrains.plugins.webDeployment.RemoteHostTask$5.compute(RemoteHostTask.java:235)
      8. com.jetbrains.plugins.webDeployment.RemoteHostTask$5.compute(RemoteHostTask.java:233)
      9. com.jetbrains.plugins.webDeployment.connections.RemoteConnection$2.compute(RemoteConnection.java:47)
      10. com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool$RemoteConnectionImpl.executeServerOperation(RemoteConnectionPool.java:107)
      11. com.jetbrains.plugins.webDeployment.connections.RemoteConnection.executeServerOperation(RemoteConnection.java:45)
      12. com.jetbrains.plugins.webDeployment.RemoteHostTask.doRun(RemoteHostTask.java:233)
      13. com.jetbrains.plugins.webDeployment.RemoteHostTask.run(RemoteHostTask.java:105)
      13 frames
    4. IDEA
      ApplicationImpl$8.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
      8. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
      8 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames