Uploaded image for project: 'PUBLIC - Liferay Sync'
  1. PUBLIC - Liferay Sync
  2. SYNC-1033

"Disconnected" status doesn't go away

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0 B1
    • Fix Version/s: 1.1.1 GA1
    • Component/s: General
    • Labels:
      None

      Description

      Sometimes Sync changes to a "Disconnected" state and it doesn't connect back.
      See the screenshots, the icon is in light gray and the menu says "Disconnected".

      Restarting Sync fixes the issue.

      I haven't been able to reproduce it consistently yet, it may be related to SYNC-1025, not sure. The logs are a bit different though, I'm getting it every 5 seconds:

      03 Sep 2013 12:55:24,338 TRACE [RemoteFileSystemMonitorTask:35] Checking for updates 1378125944000
      03 Sep 2013 12:55:24,338 ERROR [RemoteFileSystemMonitorTask:46]
      java.util.concurrent.RejectedExecutionException
      at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1774)
      at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:768)
      at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:215)
      at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:397)
      at java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:470)
      at com.liferay.sync.modules.documentlibrary.server.manager.RemoteFileSystemManager._processEvent(RemoteFileSystemManager.java:314)
      at com.liferay.sync.modules.documentlibrary.server.manager.RemoteFileSystemManager.getDLSyncUpdate(RemoteFileSystemManager.java:59)
      at com.liferay.sync.modules.documentlibrary.server.remote.RemoteFileSystemMonitorTask.run(RemoteFileSystemMonitorTask.java:40)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:680)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 10 weeks, 3 days ago

                Packages

                Version Package
                1.1.1 GA1