Rest API endpoint returns 404 after redeployRest API endpoint returns 404 after redeployhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1182721952024-03-29T15:13:12Z2024-03-29T15:13:12ZRE: Rest API endpoint returns 404 after redeployJan Tošovskýhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1182791902020-01-15T12:48:53Z2020-01-15T12:48:53ZA stupid mistake. It turned to be caused by having two components with same value of JaxrsWhiteboardConstants.JAX_RS_APPLICATION_BASE + "=/myappname". As written here <a href="https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html">https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html</a><br /><br /> If two applications are registered with the same base uri then the lower ranked service is failed with a cause of <a href="https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html#org.osgi.service.jaxrs.runtime.dto.DTOConstants.FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE">DTOConstants.FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE</a>Jan Tošovský2020-01-15T12:48:53ZRest API endpoint returns 404 after redeployJan Tošovskýhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1182721942020-01-13T21:01:57Z2020-01-13T21:01:57ZI have basic REST API OSGi based module with single method returning JSON data (utilizing JAX-RS). After deploying, even with Active status in GoGo Shell, I had to restart the server to be able to access my newly created endpoint. However, once the module is redeployed, the request again returns 404. It gets fixed after restarting the server. There are no entries in the server log. Any idea what to c