[jbosstools-issues] [JBoss JIRA] (JBIDE-24222) CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)

Martin Malina (JIRA) issues at jboss.org
Thu Aug 24 02:16:02 EDT 2017


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

Martin Malina edited comment on JBIDE-24222 at 8/24/17 2:15 AM:
----------------------------------------------------------------

{quote}
Hmm, that did not seem to work, but maybe I have to first close Eclipse before editing the XML and then re-start it. I tried to edit the XML while Eclipse was still running and that did not work. I will try again.
{quote}
Don't edit the XML, edit the launch config in Eclipse - let me rephrase what I said:
The workaround is to go to the launch config and change the PATH to something reasonable:
1. Open cdk server editor by double-clicking the CDK adapter in Servers view
2. In the server editor, click Open launch configuration (almost at the top)
3. In the launch config window, go to the Environment tab
4. Edit the PATH variable to something reasonable. Apply and close.

The XML takes the PATH value from the launch config in Eclipse. So once you change the launch config to a reasonable PATH value, you should be fine.
And yes, in the launch config the PATH is initially determined by some calls in the code which obviously return rubbish sometimes. So we need to figure out why - that will be dealt with in the other JIRA. In the meantime use the workaround.


was (Author: mmalina):
{quote}
Hmm, that did not seem to work, but maybe I have to first close Eclipse before editing the XML and then re-start it. I tried to edit the XML while Eclipse was still running and that did not work. I will try again.
{quote}
Don't edit the XML, edit the launch config in Eclipse - let me rephrase what I said:
The workaround is to go to the launch config and change the PATH to something reasonable:
1. Open cdk server editor by double-clicking the CDK adapter in Servers view
2. In the server editor, click Open launch configuration (almost at the top)
3. In the launch config window, go to the Environment tab
4. Edit the PATH variable to something reasonable. Apply and close.

The XML takes the PATH value from the launch config in Eclipse. So once you change the launch config to a reasonable PATH value, you should be fine.

> CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24222
>                 URL: https://issues.jboss.org/browse/JBIDE-24222
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.4.4.AM2
>         Environment: macos
> xhyve supervisor
> cdk3 beta3
>            Reporter: Andre Dietisheim
>            Assignee: Martin Malina
>            Priority: Critical
>              Labels: help_wanted
>             Fix For: 4.5.x
>
>         Attachments: Screenshot 2017-04-18 16.37.44.png, image-2017-04-04-15-48-59-677.png, server-adapter-error.tiff
>
>




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list