[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 Nov 13 06:39:30 EST 2014
[ https://issues.jboss.org/browse/JBIDE-18737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019673#comment-13019673 ]
Rob Stryker commented on JBIDE-18737:
-------------------------------------
When a server is added to the workspace, a server lifecycle listener (XPathModel) sees this, and fires a job to add the xml configurations needed: categories (ports) and specific xpaths. You may consider adding a job listener to make sure the workspace has no jobs running before expanding the tree.
If that doesn't fix it, there have, in the past, been issues with our UnitedServerListener, a quick utility class we have in ASTools to make it easier to add listeners for specific server events. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=437351
This specific bug was "patched" but was not actually added to any of the wtp builds (an error on their side). We also have a workaround in our astools code which I never removed, but which is not 100%. The effect of this bug is that sometimes, it's possible a specific listener does not get added to the servertools framework. Our workaround has a high chance of working around this, but again, not 100%. But I somehow doubt this is the issue.
Can you detail what TP you're using?
> 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