[jbosstools-issues] [JBoss JIRA] (JBIDE-16865) Bad server created when you hit Finish on the first page of New Server dialog

Rob Stryker (JIRA) issues at jboss.org
Thu Mar 27 14:36:13 EDT 2014


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

Rob Stryker commented on JBIDE-16865:
-------------------------------------

I am unable to replicate this. 

Here are my steps:
1) New workspace
2) open server view, create new jboss-as-7.1.1 server
3) use local profile
4) press next, fill in runtime details
5) complete server wizard
6) in server view, right click, new server
7) select same server type (jboss-as-7.1.1)
8) notice that runtime is pre-selected
9) finish wizard

At this point we now have 2 servers created and 1 runtime created, as expected. So, let's see if they both have runtimes or not. 

1) double-click server named JBoss AS 7.1
2) Note that there is no runtime visible in this editor
3) double-click server named JBoss AS 7.1 (1)
4) Note that there is no runtime visible in this editor

The reason no runtimes are visible is due to a UI bug in upstream, which I've had fixed, but I have not yet re-added the runtime combo. So... how do we know if these runtimes *actually* have runtimes, but we're just missing the UI?

1) in server's view, right-click JBoss AS 7.1 server, select "Properties", click button that says "Switch Location"
2) in server's view, right-click JBoss AS 7.1 (1) server, select "Properties", click button that says "Switch Location"
3) Note that your workspace now has a folder that reads "Servers" with 2 files under it
4) Expand project "Servers"
5) Right-click on JBoss AS 7.1, open with -> text editor
6) verify the file includes the text 
{code} runtime-id="JBoss 7.1 Runtime" {code}
7) Right-click on JBoss AS 7.1 (1), open with -> text editor
8) verify the file includes the text 
{code} runtime-id="JBoss 7.1 Runtime" {code}

As far as I can tell, both servers have a runtime. Both servers have THE SAME runtime. Your workspace has only 1 runtime. You can verify this by selecting Window -> Preferences,  browsing to "Runtime Environments", and you can see only 1 runtime. 

As far as I can tell, this is working 100% appropriately, though we are missing the UI with the runtime combo in the server editor, which is already a known issue. 
                
> Bad server created when you hit Finish on the first page of New Server dialog
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-16865
>                 URL: https://issues.jboss.org/browse/JBIDE-16865
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta1
>         Environment: JBDS 8.0.0.Beta1 B78
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>            Priority: Critical
>              Labels: respin-a
>             Fix For: 4.2.0.Beta1
>
>
> When you go to server view -> New Server, select a type of which you already have a server+runtime and hit Finish, a server is created, but this server does not have any runtime set up and cannot be selected when e.g. creating a new html5 project.
> This probably has to do with all the changes in the server tooling, but it worked in the past. So either it should still work, or we should disable the Finish button.
> (Credits go to [~rawagner] for discovering this issue.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list