Server relative links are rewritten by JBoss WSRP producer on EPP 5.1

Solution Unverified - Updated -

Issue

When generating a href anchor to link to server relative resources, WSRP rewrites the url with producer host and port.

Example:
Following markup is created

<a href="/static/pdf/agreement.pdf">Agreement</a>

which is replaced by

<a href="http://prodhost:8082/static/pdf/agreement.pdf">Agreement</a>

prodhost hostname and port are not accessible since they are behind the frontend portal.

Environment

  • Red Hat JBoss Portal
    • 5.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content