[jbosstools-issues] [JBoss JIRA] (JBIDE-10930) For EAR projects, Run As > Run on Server should open the 1st webapp using the context root in application.xml

Fred Bricon (JIRA) jira-events at lists.jboss.org
Thu Feb 16 05:02:36 EST 2012


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

Fred Bricon commented on JBIDE-10930:
-------------------------------------

if no application.xml is found, it should fallback on the deployed filename of the war (minus the .war extension)
                
> For EAR projects, Run As > Run on Server should open the 1st webapp using the context root in application.xml
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10930
>                 URL: https://issues.jboss.org/browse/JBIDE-10930
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 3.3.0.M5
>            Reporter: Fred Bricon
>            Assignee: Rob Stryker
>         Attachments: non.default.context.root.zip
>
>
> For EAR projects, Run As > Run on Server opens the webapp url using the context root defined on the webapp project, not the value of the context root in application.xml, which obviously leads to a 404 error page.
> {quote}
> (09:53:24) rawbdor: fbricon,  EarArtifactAdapter
> (09:53:36) rawbdor: takes the first web project in the ear
> (09:53:48) rawbdor: and simply returns whatever the web artifact adapter would do for that app
> {quote}
> When lauching, we could maybe use a IModuleArtifact decorator that provides the correct url to be opened in the browser?

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