]
Fred Bricon updated JBIDE-10930:
--------------------------------
Attachment: non.default.context.root.zip
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: