[jbosstools-issues] [JBoss JIRA] (JBIDE-10803) JBoss AS 7.0.2 server start not detected

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Apr 23 17:00:17 EDT 2012


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

Snjezana Peco commented on JBIDE-10803:
---------------------------------------

{quote}
snjezana - shouldn't these features just be listed as dependencies for the actual project examples instead of explicitly imported by central ?
{quote}

The issue happens because JBoss AS 7.x/EAP 6 is defined in org.jboss.ide.eclipse.as.core that doesn't depend on the org.jboss.ide.eclipse.as.management.as71 plugin. The JBoss Central plugin requires org.jboss.ide.eclipse.as.core indirectly (it requires the project.examples which requires seam.core and seam.core requires as.core).
Since JBoss Central doesn't require org.jboss.ide.eclipse.as.management.as71, it isn't  installed.
Adding the JBoss AS feature as a dependency to the central feature will resolve the issue related to JBoss Central, but some  other plugin that requires as.core only (Seam, for instance) will have the same problem.
Agree, a better solution would be to add these dependencies to the project.examples because the same problem can happen if the user installs the project.examples, but doesn't install JBoss Central.

The correct way would be 

- definning  the JBoss AS 7.x/EAP 6 servers/runtimes in as.management.* plugins (as.core could be installed without as.management.* plugins, but wouldn't include JBoss AS 7.x/EAP 6 servers/runtimes)
or
- adding the as.management.* plugins dependencies to the as.core plugin. This way, the as.core plugin couldn't be installed without as.management.* plugins 

{quote}
i.e. just like examples requiring drools, says it needs the drools plugin etc. ?
{quote}

This problem is not related to the project examples plugin fix/requirement. A project example can require that a Eclipse distribution includes some plugin (in order to be compiled correctly, the Jave EE Web project requires m2e and m2e-wtp, for instance). Those requirements aren't requirements between plugins.
                
> JBoss AS 7.0.2 server start not detected
> ----------------------------------------
>
>                 Key: JBIDE-10803
>                 URL: https://issues.jboss.org/browse/JBIDE-10803
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, JBossAS/Servers, updatesite
>    Affects Versions: 3.3.0.Beta1
>         Environment: Eclipse Java Indigo x86_64, installed only central,central community & dependencies
> JBoss Tools nightly build 3.3.0.v20120205-1417-H4165-Beta1
> Fedora 16, 64b
> JBoss AS 7.0.2
>            Reporter: Radim Hopp
>            Assignee: Nick Boldt
>             Fix For: 3.3.0.Beta3
>
>
> When trying to start JBoss AS server, the server is started correctly, but IDE won't recognize that it's already started (job "Starting <server name>" won't end).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list