Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10930

For EAR projects, Run As > Run on Server should open the 1st webapp using the context root in application.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.3.0.CR1
    • 3.3.0.M5
    • server
    • None
    • Hide
      Show
      import attached projects right-click on ear project, run as > run on server select an AS7 instance ASSERT http://localhost:8080/rawb is opened in the browser FAILED : http://localhost:8080/fuuuh was opened, so you get 404'ed

    Description

      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.

      (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

      When lauching, we could maybe use a IModuleArtifact decorator that provides the correct url to be opened in the browser?

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: