After deploy dubbo-admin-2.5.4.war into EAP 6.4, the html page didn't display correctly.

Solution Verified - Updated -

Issue

Dubbo is a distributed, high performance RPC framework created by Alibaba, it can be deployed on Tomcat, JBoss, ect.
Customer found dubbo-admin-2.5.4.war can be deployed in EAP 6.4, however when visit http://127.0.0.1:8080/dubbo-admin-2.5.4/, the page lost format and pics just remains links and text, the page source shows:

<link type="text/css" href="$rootContextPath.getURI("css/comm.css")" rel="stylesheet" />

The correct code should be:

<link type="text/css" href="/dubbo-admin-2.5.4/css/comm.css" rel="stylesheet" />

And this war works fine in Tomcat.

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.4.0

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