[jbosstools-issues] [JBoss JIRA] (JBIDE-21744) cdk-created docker connection can have wrong name if you have multiple cdk server adapters

Martin Malina (JIRA) issues at jboss.org
Thu Mar 10 07:09:00 EST 2016


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

Martin Malina commented on JBIDE-21744:
---------------------------------------

I noticed another thing. It turns out that the name is not the only thing that's wrong. Probably the certificate path can be wrong, too.
Because when I start e.g. raw cdk and it works, then stop cdk, start hardy's cdk and the docker connection is broken. If I stop cdk, remove docker connection and start again, the new docker connection will work.

You said that docker connection does not have a setName method. So I doubt there is a setCertPath method or similar either, right? So how is it supposed to work?

> cdk-created docker connection can have wrong name if you have multiple cdk server adapters
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21744
>                 URL: https://issues.jboss.org/browse/JBIDE-21744
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.3.1.CR1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.4.0.Alpha1
>
>
> I noticed that if I have two cdk server adapters, start the first one, stop it, start the second, then docker explorer will only show a connection of the first server name, not the second.
> This is probably because the connection will stay there after the first server start and on second server start, the tooling only checks if the docker host url matches. If it does, it will just reuse it.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list