Skip to content
Advertisement

Websphere liberty profile error: 404 SRVE0190E

What could be the reason for the error: Error 404: SRVE0190E: File not found: /SimpleServletPath

I am deploying in websphere liberty profile server.

I can’t reach my admin console login page

I can reach my welcome page on my websphere liberty profile server but can’t do so after creating a servlet. That’s when the above 404 error comes up.

There are similar posts online that advice to change com.ibm.ws.webcontainer.invokefilterscompatibility=true . I can’t find how to set this parameter because I can’t hit the websphere admin console login.

I installed websphere through eclipse marketplace.

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
    http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name>ServletExplore</display-name>
<welcome-file-list>
    <welcome-file>index.html</welcome-file>

</welcome-file-list>
    </web-app

Advertisement

Answer

By default, your app’s context root will default to the name of the application. You can change it (including setting it to /) by looking at the server on the Servers tab and editing its configuration. You can make changes in the GUI or directly in the server.xml.

If your app is called my app, I suspect localhost:9080/myapp/SimpleServletPath is where your servlet is currently living.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement