[jbosstools-issues] [JBoss JIRA] (JBIDE-25916) OpenShift Server Adapter: Error in Log after "Restart in Debug"

Andre Dietisheim (JIRA) issues at jboss.org
Tue Apr 17 04:57:00 EDT 2018


    [ https://issues.jboss.org/browse/JBIDE-25916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562181#comment-13562181 ] 

Andre Dietisheim commented on JBIDE-25916:
------------------------------------------

I can reproduce an error, even though it's not the very same. here's my error:
 !error-launching-server.png!

{code}
org.eclipse.core.runtime.CoreException: Could not modify launch config for server eap-app (Service) at OpenShift 3 (api.engint.openshift.com)
	at org.jboss.tools.openshift.core.server.OpenShiftServerUtils.toCoreException(OpenShiftServerUtils.java:697)
	at org.jboss.tools.openshift.core.server.OpenShiftServerUtils.toCoreException(OpenShiftServerUtils.java:701)
	at org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController.attachRemoteDebugger(OpenShiftLaunchController.java:402)
	at org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController.access$1(OpenShiftLaunchController.java:390)
	at org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController$2.onDebugChange(OpenShiftLaunchController.java:272)
	at org.jboss.tools.openshift.internal.core.server.debug.OpenShiftDebugMode.toggleDebugger(OpenShiftDebugMode.java:238)
	at org.jboss.tools.openshift.internal.core.server.debug.OpenShiftDebugMode.execute(OpenShiftDebugMode.java:174)
	at org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController.launch(OpenShiftLaunchController.java:100)
	at org.jboss.ide.eclipse.as.wtp.core.server.launch.ControllableServerLaunchConfiguration.launch(ControllableServerLaunchConfiguration.java:52)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
	at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3566)
	at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3502)
	at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:377)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
!SUBENTRY 1 org.jboss.tools.openshift.core 4 0 2018-04-17 10:39:56.149
!MESSAGE Could not modify launch config for server eap-app (Service) at OpenShift 3 (api.engint.openshift.com)
{code}

The error goes away if I wait some more time and try again though.
[~jkopriva] looks familiar or is this something completely distinct from what you experience? 

> OpenShift Server Adapter: Error in Log after "Restart in Debug"
> ---------------------------------------------------------------
>
>                 Key: JBIDE-25916
>                 URL: https://issues.jboss.org/browse/JBIDE-25916
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.5.3.Final
>         Environment: F28 + Red Hat JBoss Developer Studio Build id: GA-v20180410-1152-B2341
>            Reporter: Josef Kopriva
>            Priority: Critical
>         Attachments: error-launching-server.png
>
>
> An error occurs when restarting server adapter in debug:
> {code:java}
> eclipse.buildId=11.3.0.GA-v20180410-1152-B2341
> java.version=1.8.0_162
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product
> Command-line arguments:  -data file:/home/jkopriva/devstudio_B2341/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.jboss.tools.openshift.core
> Warning
> Wed Apr 11 18:09:03 CEST 2018
> Error while publishing server eap-app (Service) at OpenShift 3 (api.engint.openshift.com).  Could not sync all pods to folder /home/jkopriva/devstudio_B2341/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/oc2 at eap-app/deploy
> org.eclipse.core.runtime.CoreException: Error while publishing server eap-app (Service) at OpenShift 3 (api.engint.openshift.com).  Could not sync all pods to folder /home/jkopriva/devstudio_B2341/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/oc2 at eap-app/deploy
> 	at org.jboss.tools.openshift.core.server.behavior.OpenShiftPublishController.handleSyncDownFailure(OpenShiftPublishController.java:92)
> 	at org.jboss.tools.openshift.core.server.behavior.OpenShiftPublishController.publishStart(OpenShiftPublishController.java:61)
> 	at org.jboss.ide.eclipse.as.wtp.core.server.behavior.CachedPublisherProfileBehavior.publishStart(CachedPublisherProfileBehavior.java:47)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:942)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
> 	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
> 	at org.eclipse.wst.server.core.internal.Server.publish(Server.java:1340)
> 	at org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController$1.run(OpenShiftLaunchController.java:261)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> Contains: Syncing com.openshift.restclient.capability.resources.IRSyncable$PodPeer at e159132 to com.openshift.restclient.capability.resources.IRSyncable$LocalPeer at e822802 failed: could not make way for new regular file: ROOT.war
> rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1659) [generator=3.1.3]
> error: exit status 23
> {code}
> {code:java}
> eclipse.buildId=11.3.0.GA-v20180410-1152-B2341
> java.version=1.8.0_162
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product
> Command-line arguments:  -data file:/home/jkopriva/devstudio_B2341/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.jboss.tools.openshift.core
> Error
> Wed Apr 11 18:09:03 CEST 2018
> Error while publishing server eap-app (Service) at OpenShift 3 (api.engint.openshift.com).  Could not sync all pods to folder /home/jkopriva/devstudio_B2341/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/oc2 at eap-app/deploy
> {code}
> {code:java}
> eclipse.buildId=11.3.0.GA-v20180410-1152-B2341
> java.version=1.8.0_162
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product
> Command-line arguments:  -data file:/home/jkopriva/devstudio_B2341/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.jboss.tools.openshift.core
> Error
> Wed Apr 11 18:09:03 CEST 2018
> Syncing com.openshift.restclient.capability.resources.IRSyncable$PodPeer at e159132 to com.openshift.restclient.capability.resources.IRSyncable$LocalPeer at e822802 failed: could not make way for new regular file: ROOT.war
> rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1659) [generator=3.1.3]
> error: exit status 23
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list