Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22188

Creating an Openshift3 server adapter on Windows causes rsync failures

XMLWordPrintable

      I am on a W10 machine with the cwrsync (https://www.itefix.net/cwrsync) rsync client.
      When I create the server adapter, I always got rync error with the message:

      rsync: failed to modify permissions on "/cygdrive/c/work/runtime-JBossTools/.metadata/.plugins/org.jboss.ide.eclipse.as.core/eap-app_at_OpenShift_3_(10.2.2.2)/deploy/ROOT.war": Permission denied (13)
      rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [generator=3.1.2]
      error: exit status 23
      

      Full stack trace:

      org.eclipse.equinox.launcher.Main at localhost:55022 (Suspended)
      Daemon System Thread [Attach Listener] (Suspended)
      Daemon System Thread [Signal Dispatcher] (Suspended)
      Daemon System Thread [Finalizer] (Suspended)
      waiting for: ReferenceQueue$Lock (id=661)
      Object.wait(long) line: not available [native method]	
      ReferenceQueue.remove(long) line: 143
      ReferenceQueue.remove() line: 164
      Finalizer$FinalizerThread.run() line: 209
      Daemon System Thread [Reference Handler] (Suspended)
      waiting for: Reference$Lock (id=662)
      Object.wait(long) line: not available [native method]	
      Reference$Lock(Object).wait() line: 502
      Reference.tryHandlePending(boolean) line: 191
      Reference$ReferenceHandler.run() line: 153
      Thread [main] (Suspended)
      OS.WaitMessage() line: not available
      Display.sleep() line: 4739
      IDEWorkbenchAdvisor(WorkbenchAdvisor).eventLoopIdle(Display) line: 368
      IDEWorkbenchAdvisor.eventLoopIdle(Display) line: 864
      Workbench$3.eventLoopIdle(Display) line: 520
      PartRenderingEngine$4.run() line: 1123
      Realm.runWithDefault(Realm, Runnable) line: 336
      PartRenderingEngine.run(MApplicationElement, IEclipseContext) line: 1019
      E4Workbench.createAndRunUI(MApplicationElement) line: 157
      Workbench$5.run() line: 691
      Realm.runWithDefault(Realm, Runnable) line: 336
      Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 604
      PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 150
      IDEApplication.start(IApplicationContext) line: 138
      EclipseAppHandle.run(Object) line: 196
      EclipseAppLauncher.runApplication(Object) line: 134
      EclipseAppLauncher.start(Object) line: 104
      EclipseStarter.run(Object) line: 388
      EclipseStarter.run(String[], Runnable) line: 243
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62
      DelegatingMethodAccessorImpl.__invoke(Object, Object[]) line: 43
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: 498
      Main.invokeFramework(String[], URL[]) line: 670
      Main.basicRun(String[]) line: 609
      Main.run(String[]) line: 1516
      Main.main(String[]) line: 1489
      Daemon Thread [GroupPoller] (Suspended)
      waiting for: TaskQueue (id=653)
      Object.wait(long) line: not available [native method]	
      TimerThread.mainLoop() line: 552
      TimerThread.run() line: 505
      Thread [Active Thread: Equinox Container: c0c5ea0f-4705-0016-1225-a081794d26c1] (Suspended)
      Unsafe.park(boolean, long) line: not available [native method]	
      LockSupport.parkNanos(Object, long) line: 215
      AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) line: 2078
      ScheduledThreadPoolExecutor$DelayedWorkQueue.take() line: 1093
      ScheduledThreadPoolExecutor$DelayedWorkQueue.take() line: 809
      ScheduledThreadPoolExecutor(ThreadPoolExecutor).getTask() line: 1067
      ScheduledThreadPoolExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) line: 1127
      ThreadPoolExecutor$Worker.run() line: 617
      Thread.run() line: 745
      Daemon Thread [Framework Event Dispatcher: org.eclipse.osgi.internal.framework.EquinoxEventPublisher@76b642aa] (Suspended)
      waiting for: EventManager$EventThread (id=399)
      Object.wait(long) line: not available [native method]	
      EventManager$EventThread(Object).wait() line: 502
      EventManager$EventThread.getNextEvent() line: 400
      EventManager$EventThread.run() line: 336
      Daemon Thread [Start Level: Equinox Container: c0c5ea0f-4705-0016-1225-a081794d26c1] (Suspended)
      waiting for: EventManager$EventThread (id=401)
      Object.wait(long) line: not available [native method]	
      EventManager$EventThread(Object).wait() line: 502
      EventManager$EventThread.getNextEvent() line: 400
      EventManager$EventThread.run() line: 336
      Daemon Thread [[Timer] - Main Queue Handler] (Suspended)
      waiting for: Object (id=660)
      Object.wait(long) line: not available [native method]	
      TimerImpl.run() line: 141
      Thread.run() line: 745
      Daemon Thread [Bundle File Closer] (Suspended)
      waiting for: EventManager$EventThread (id=406)
      Object.wait(long) line: not available [native method]	
      EventManager$EventThread(Object).wait() line: 502
      EventManager$EventThread.getNextEvent() line: 400
      EventManager$EventThread.run() line: 336
      Thread [Worker-JM] (Suspended)
      waiting for: ArrayList (id=659)
      Object.wait(long) line: not available [native method]	
      InternalWorker.run() line: 59
      Daemon Thread [JRebel plugin.xml scanner] (Suspended)
      Thread.sleep(long) line: not available [native method]	
      PluginXmlScanner.run() line: 89
      Thread.run() line: 745
      Daemon Thread [EMF Reference Cleaner] (Suspended)
      waiting for: ReferenceQueue$Lock (id=657)
      Object.wait(long) line: not available [native method]	
      ReferenceQueue.remove(long) line: 143
      ReferenceQueue.remove() line: 164
      CommonUtil$1ReferenceClearingQueuePollingThread.run() line: 70
      Daemon Thread [Java indexing] (Suspended)
      waiting for: IndexManager (id=654)
      Object.wait(long) line: not available [native method]	
      IndexManager(Object).wait() line: 502
      IndexManager(JobManager).run() line: 371
      Thread.run() line: 745
      Daemon Thread [[ThreadPool Manager] - Idle Thread] (Suspended)
      waiting for: Executor (id=421)
      Object.wait(long) line: not available [native method]	
      Executor(Object).wait() line: 502
      Executor.run() line: 106
      Thread [Worker-3] (Suspended)
      waiting for: Object (id=658)
      Object.wait(long) line: not available [native method]	
      Object.wait() line: 502
      ThreadJob.waitForRun(ThreadJob, IProgressMonitor, InternalJob, Thread) line: 270
      ThreadJob.joinRun(ThreadJob, IProgressMonitor) line: 197
      ImplicitJobs.begin(ISchedulingRule, IProgressMonitor, boolean) line: 92
      JobManager.beginRule(ISchedulingRule, IProgressMonitor) line: 307
      StringPoolJob.run(IProgressMonitor) line: 98
      Worker.run() line: 55
      Daemon Thread [EventAdmin Async Event Dispatcher Thread] (Suspended)
      waiting for: EventManager$EventThread (id=436)
      Object.wait(long) line: not available [native method]	
      EventManager$EventThread(Object).wait() line: 502
      EventManager$EventThread.getNextEvent() line: 400
      EventManager$EventThread.run() line: 336
      Daemon Thread [JavaScript indexing] (Suspended)
      waiting for: IndexManager (id=656)
      Object.wait(long) line: not available [native method]	
      IndexManager(Object).wait() line: 502
      IndexManager(JobManager).run() line: 370
      Thread.run() line: 745
      Thread [Worker-4] (Suspended (breakpoint at line 73 in RSync$1))
      RSync$1.runOCBinary(MultiStatus) line: 73
      RSync$1(OCBinaryOperation).run(MultiStatus) line: 34
      RSync.syncPodsToDirectory(File, MultiStatus, IServerConsoleWriter) line: 78
      OpenShiftPublishController.publishStart(IProgressMonitor) line: 65
      OpenShiftServerBehaviour(CachedPublisherProfileBehavior).publishStart(IProgressMonitor) line: 47
      OpenShiftServerBehaviour(ServerBehaviourDelegate).publish(int, IProgressMonitor) line: 942
      OpenShiftServerBehaviour(ServerBehaviourDelegate).publish(int, List<IModule[]>, IProgressMonitor, IAdaptable) line: 774
      Server.publishImpl(int, List<IModule[]>, IAdaptable, IProgressMonitor) line: 3172
      Server$PublishJob.run(IProgressMonitor) line: 345
      Worker.run() line: 55
      Thread [Worker-8] (Suspended)
      waiting for: Object (id=658)
      Object.wait(long) line: not available [native method]	
      Object.wait() line: 502
      ThreadJob.waitForRun(ThreadJob, IProgressMonitor, InternalJob, Thread) line: 270
      ThreadJob.joinRun(ThreadJob, IProgressMonitor) line: 197
      ImplicitJobs.begin(ISchedulingRule, IProgressMonitor, boolean) line: 92
      JobManager.beginRule(ISchedulingRule, IProgressMonitor) line: 307
      Server$PublishJob.run(IProgressMonitor) line: 344
      Worker.run() line: 55
      Daemon System Thread [Java2D Disposer] (Suspended)
      waiting for: ReferenceQueue$Lock (id=663)
      Object.wait(long) line: not available [native method]	
      ReferenceQueue.remove(long) line: 143
      ReferenceQueue.remove() line: 164
      Disposer.run() line: 148
      Thread.run() line: 745
      Daemon System Thread [AWT-Windows] (Suspended)
      WToolkit.eventLoop() line: not available
      WToolkit.run() line: 306
      Thread.run() line: 745
      Thread [Worker-11] (Suspended)
      waiting for: WorkerPool (id=655)
      Object.wait(long) line: not available [native method]	
      WorkerPool.sleep(long) line: 188
      WorkerPool.startJob(Worker) line: 220
      Worker.run() line: 52
      Thread [Worker-13] (Suspended)
      waiting for: WorkerPool (id=655)
      Object.wait(long) line: not available [native method]	
      WorkerPool.sleep(long) line: 188
      WorkerPool.startJob(Worker) line: 220
      Worker.run() line: 52
      Thread [Worker-14] (Suspended)
      waiting for: WorkerPool (id=655)
      Object.wait(long) line: not available [native method]	
      WorkerPool.sleep(long) line: 188
      WorkerPool.startJob(Worker) line: 220
      Worker.run() line: 52
      

              adietish@redhat.com André Dietisheim
              jmaury@redhat.com Jeff MAURY
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: