[jbosstools-issues] [JBoss JIRA] (JBIDE-10756) Debug button attempts to start already running server, reports port in use

James Wilson (JIRA) jira-events at lists.jboss.org
Tue Jan 31 07:01:48 EST 2012


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

James Wilson commented on JBIDE-10756:
--------------------------------------

1) Sorry, I don't understand that. I believe in both (definitely in Indigo, I think in Ganymede though it was a while ago) to set up a server I right-clicked in the Servers view and clicked New->Server, then picked the appropriate version of JBoss AS from the JBoss Community branch. Is that not the right way to do it?

I've just tried to add a Generic Server in Ganymede and there are no entries in the Server combo box.

2) When the Debug button is pressed the server isn't stopped. I believe what's happening is it doesn't realise the server is already started so tries to do so again, discovers the port is in use, then when it is aborting it manages to terminate the already-running server. That's why the server is stopped in the screenshot, before the error it's running fine.
                
> Debug button attempts to start already running server, reports port in use
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-10756
>                 URL: https://issues.jboss.org/browse/JBIDE-10756
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 3.3.0.M5
>         Environment: Indigo (Win XP)
>            Reporter: James Wilson
>            Assignee: Rob Stryker
>            Priority: Optional
>         Attachments: JBIDE-10756-screenshot.png, JBIDE-10756-server_settings.png
>
>
> I've added a JBoss AS (4.2) server to the Servers view. I select it and then press the "Start the server in debug mode" button on the Servers view toolbar. When I want to run my application I usually click on the Debug button on the main Eclipse toolbar, which launches the last configuration run. In my Ganymede setup (so I think JBoss Tools 3.0) that didn't include starting the JBoss AS server, but in Indigo/JBoss Tools 3.3 (M5) it does. Thus the tooltip for the debug button becomes "Debug JBoss v4.2 at localhost (already running)", and if I click on it I get a message box stating:
> 'Launching JBoss v4.2 at localhost' has encountered a problem.
> Server port In Ue 80080-Http
> In the Servers view my JBoss 4.2 AS server then shows as stopped. I can start it again and it all works fine after that.

--
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