Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-319

Seam Blog example atom feed links broken behind a load balancer

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.4.0.GA
    • Fix Version/s: 2.5.0.ER1
    • Component/s: Seam 2
    • Labels:
    • Environment:

      OpenShift online

    • Target Release:
    • Steps to Reproduce:
      Hide

      1. Deploy the Seam Blog example on OpenShift
      2. go to http://foo-bar.rhcloud.com/seam-blog/seam/index.xml
      3. notice the broken links

      Show
      1. Deploy the Seam Blog example on OpenShift 2. go to http://foo-bar.rhcloud.com/seam-blog/seam/index.xml 3. notice the broken links
    • Release Notes Docs Status:
      Not Required

      Description

      Blog example atom feed links are broken when the application is behind a load-balancer (e.g. on OpenShift)

      see blog-web/src/main/webapp/index.xml :

      <link href="http://#{request.localName}:#{request.localPort}#{request.contextPath}/entry/#{blogEntry.id}"/>
      

      which results in an useless internal links, such as
      http://127.7.111.1:8080/seam-blog/entry/seamtext

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                maschmid Marek Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: