[jbosstools-issues] [JBoss JIRA] (JBIDE-18737) Server's XML configuration does not contain Ports in Servers view

Rob Stryker (JIRA) issues at jboss.org
Thu Dec 4 09:09:39 EST 2014


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

Rob Stryker commented on JBIDE-18737:
-------------------------------------

The fix should already be in mars, but it won't make it into our maintenance until Luna SR2.  So if this is still replicatable in Mars, then that workaround isn't the issue.  I'm assuming these are for servers in local+fs profile and all have runtimes? As far as I can tell, jboss.71.default.ports.properties  exists in the built plugin, (as.core) which is the file responsible for creating the xpaths when a new server is added. This is the same plugin that declares the server types, so there's really no chance this plugin is somehow missing from your environment. 

When a new server is added, my listener first checks the server has a runtime, and then fires a job to create all the xpaths.  The job is scheduled with no delay, but of course there can always be a small delay based on when Eclipse decides to execute the job. 

Have you tried debugging your automated tests to make sure the listener is reached? You could set a breakpoint in org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel  class  on the serverAdded(etc) method. 

> Server's XML configuration does not contain Ports in Servers view
> -----------------------------------------------------------------
>
>                 Key: JBIDE-18737
>                 URL: https://issues.jboss.org/browse/JBIDE-18737
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Final
>            Reporter: Lucia Jelinkova
>            Priority: Minor
>         Attachments: createServer.png
>
>
> In my automated tests, I often run on the issue on the Servers view, that the server does not have anyting under the XML configuration (no Ports). It happens 1 out of 3 times. See screenshot attached. The Ports do not appear even if I collapse the server's tree and expand it again. 
> I was not able to reproduce this manually. Do you have any idea where the problem could be? Is thare anything special about the Ports that could cause this issue?



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list