You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Niranjan Babu Bommu <ni...@gmail.com> on 2023/10/12 13:39:21 UTC

getting 404 after migrating app to rpm based tomcat install

Can some please help me out with this?. recently we have started migrating
our application from Tomcat 8.5.49 (tar file)  to the RPM-installed Tomcat
8.5.89. We encountered a 404 error after the migration

tomcat 8.5.49 tar file installation:

TOMCAT_HOME: /deploy/software/tomcat

TOMCAT_BASE:  /deploy/software/tomcat

                             webapps:

                                      ROOT -> <war path>

the above config is the current one where we have running apps in dev ,stg
and prod.

tomcat 8.5.89 rpm installation

TOMCAT_HOME: /usr/share/tomcat8

            ( maintaining same conf dir/files including web.xml what we
have with ver 8.5.49)

TOMCAT_BASE:  /usr/share/tomcat8

                             webapps:

                                      ROOT -> <war path>


no errors in catalina.out and app is coming up fine and able to connect
both ports 8080 and 8443, but I do get 404 when I hit the page

*Description* The origin server did not find a current representation for
the target resource or is not willing to disclose that one exists.
-- 
*Thanks*
*Niranjan*