[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
Tue May 8 18:44:17 EDT 2012


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

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

Rob, I added a small fix to not add an extra "/" if context root starts with "/" already. I didn't create a new JIRA since the fix version for this one is 3.3.0.CR1 ... and I'm too lazy too :-)
                
> 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
>            Priority: Minor
>             Fix For: 3.3.0.CR1
>
>         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