[JBoss JIRA] (JBIDE-22188) Creating an Openshift3 server adapter on Windows causes rsync failures
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22188?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-22188:
-------------------------------------
Have you tried with rsync bundled in the devstudio/cdk installer?
> Creating an Openshift3 server adapter on Windows causes rsync failures
> ----------------------------------------------------------------------
>
> Key: JBIDE-22188
> URL: https://issues.jboss.org/browse/JBIDE-22188
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Jeff MAURY
> Labels: openshift_v3
>
> 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:
> {code}
> 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
> {code}
> Full stack trace:
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (JBIDE-22191) Support list of application creation with JSON
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22191?page=com.atlassian.jira.plugi... ]
Fred Bricon updated JBIDE-22191:
--------------------------------
Fix Version/s: 4.4.x
> Support list of application creation with JSON
> ----------------------------------------------
>
> Key: JBIDE-22191
> URL: https://issues.jboss.org/browse/JBIDE-22191
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Aurélien Pupier
> Fix For: 4.4.x
>
> Attachments: screenshot-1.png
>
>
> Currently, if we provide a Local template, which is a list of templates, there is a popup with an error.
> {noformat}
> java.lang.ClassCastException: com.openshift.internal.restclient.model.List cannot be cast to com.openshift.restclient.model.template.ITemplate
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.getLocalTemplate(NewApplicationWizardModel.java:107)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.updateSelectedTemplate(NewApplicationWizardModel.java:86)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.update(NewApplicationWizardModel.java:78)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.setLocalTemplateFileName(NewApplicationWizardModel.java:315)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.setLocalTemplate(TemplateListPage.java:511)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.access$6(TemplateListPage.java:506)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage$14.widgetSelected(TemplateListPage.java:696)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:279)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> {noformat}
> You can use the template used by Fuse to reproduce: https://raw.githubusercontent.com/jboss-fuse/application-templates/master...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (JBIDE-22191) Support list of application creation with JSON
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22191?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-22191:
-------------------------------------
Image Streams != Templates, so it's not expected to work. JBIDE-20937 should address this issue.
What we can improve though is the error message, saying the referenced file is not a template.
Still, even if it actually contained several templates (not image streams), we'd have a problem as we wouldn't know which one to choose to create the app. I'm curious to see how CLI reacts in that situation. [~jcantrill]?
> Support list of application creation with JSON
> ----------------------------------------------
>
> Key: JBIDE-22191
> URL: https://issues.jboss.org/browse/JBIDE-22191
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Aurélien Pupier
> Attachments: screenshot-1.png
>
>
> Currently, if we provide a Local template, which is a list of templates, there is a popup with an error.
> {noformat}
> java.lang.ClassCastException: com.openshift.internal.restclient.model.List cannot be cast to com.openshift.restclient.model.template.ITemplate
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.getLocalTemplate(NewApplicationWizardModel.java:107)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.updateSelectedTemplate(NewApplicationWizardModel.java:86)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.update(NewApplicationWizardModel.java:78)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.setLocalTemplateFileName(NewApplicationWizardModel.java:315)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.setLocalTemplate(TemplateListPage.java:511)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.access$6(TemplateListPage.java:506)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage$14.widgetSelected(TemplateListPage.java:696)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:279)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> {noformat}
> You can use the template used by Fuse to reproduce: https://raw.githubusercontent.com/jboss-fuse/application-templates/master...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (JBDS-3806) Installer - reduce footer height to reveal more content
by Joshua Wilson (JIRA)
[ https://issues.jboss.org/browse/JBDS-3806?page=com.atlassian.jira.plugin.... ]
Joshua Wilson commented on JBDS-3806:
-------------------------------------
[~joqian], I do not know why [~jrichter1] is seeing it that way. If you 2 agree this is a Blocker then we will talk with the team to see if we can fix it. Otherwise it will wait.
> Installer - reduce footer height to reveal more content
> -------------------------------------------------------
>
> Key: JBDS-3806
> URL: https://issues.jboss.org/browse/JBDS-3806
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: installer
> Affects Versions: 9.1.0.Beta2
> Reporter: Joshua Wilson
> Assignee: Joshua Wilson
> Priority: Blocker
> Labels: havoc, ui
> Attachments: confirm.png
>
>
> The footer on the confirm page would look better if it cut into the display of one of the components to be installed. Also, remove the transparency.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (JBDS-3806) Installer - reduce footer height to reveal more content
by Josephine Qian (JIRA)
[ https://issues.jboss.org/browse/JBDS-3806?page=com.atlassian.jira.plugin.... ]
Josephine Qian commented on JBDS-3806:
--------------------------------------
Thanks for the info [~jrichter1] I don't know why you are seeing this. [~jowilson] Do you have any idea?
If we can't figure out why, I would suggest giving the entire footer some transparency, as an intermediate solution for this release, if we still have time. (are we still working on this April 19th release?)
> Installer - reduce footer height to reveal more content
> -------------------------------------------------------
>
> Key: JBDS-3806
> URL: https://issues.jboss.org/browse/JBDS-3806
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: installer
> Affects Versions: 9.1.0.Beta2
> Reporter: Joshua Wilson
> Assignee: Joshua Wilson
> Priority: Blocker
> Labels: havoc, ui
> Attachments: confirm.png
>
>
> The footer on the confirm page would look better if it cut into the display of one of the components to be installed. Also, remove the transparency.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months