[jbosstools-issues] [JBoss JIRA] (JBIDE-15502) Internal browser is using wrong URL if launched for already deployed ear-app via Servers tab

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Oct 31 05:05:01 EDT 2013


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

Rob Stryker commented on JBIDE-15502:
-------------------------------------

The "Show in web browser" action was originally a "Show Welcome Page" action, and had since been converted. This action was not originally designed to show modules, just the server's welcome page. It seems adding the ability to open a specific module was added later, and it seems to have inefficiently duplicated code done elsewhere. 

The patch is to use the ILaunchAdapter types which underly the "Run On Server" action, which has the effect of re-using most of the code from run-on-server. 

I'll be submitting a PR shortly, once my DNS returns. UGH.
                
> Internal browser is using wrong URL if launched for already deployed ear-app via Servers tab
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15502
>                 URL: https://issues.jboss.org/browse/JBIDE-15502
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>            Reporter: Tomas Repel
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Alpha1
>
>
> I am using JBDS 7.0.0.GA with Integration Stack, EAP 6.1.0 is configured in Servers tab. When importing JDF example ejb-in-ear [1], then right-click on jboss-ejb-in-ear-ear -> Run As -> Run on Server, the example is deployed and the internal browser window is opened automatically using following URL: http://localhost:8080/jboss-ejb-in-ear/greeter.jsf (this is correct behavior).
> If you go to Servers tab, expand the EAP 6.1 Server, right-click on deployed jboss-ejb-in-ear-ear, use Show in menu item and then click Web Browser, the internal browser is opened with wrong URL (http://localhost:8080/jboss-ejb-in-ear-web/).
> It seems the configuration in application.xml file is ignored for some reason.
> [1] http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/ejb-in-ear/

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