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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.