The issue is likely with how your frontend .war
file is structured — from your jar tf
output, it lacks a WEB-INF/
directory, which is required for Open Liberty to recognize it as a valid web application. Without it, Liberty defaults to its welcome page, which is why you're only seeing the logo or a 404. To fix it, create a WEB-INF/
folder, add a minimal web.xml
(even empty), and repackage the WAR like this: mkdir -p webapp/WEB-INF && cp -r dist/* webapp/ && touch webapp/WEB-INF/web.xml && cd webapp && jar -cvf ../web-app.war *
. Then, make sure your server.xml
in Liberty sets the correct contextRoot
(e.g., /
or /WebApp
) and that your OpenShift route points to the right service and port (usually 9080
). Your backend .war
looks fine, so once the frontend is structured properly, it should start displaying correctly.