Re: Nothing but 404 errors

2024-09-05 Thread Mark Thomas
On 05/09/2024 16:24, David Rush wrote: Doh! I have resolved it. When creating my CATALINA_BASE/conf, server.xml was the only file that I copied into it (in my defense it's the only file explicitly mentioned as going into the conf directory under the CATALINA_BASE section on running multiple tom

Re: Nothing but 404 errors

2024-09-05 Thread Christopher Schultz
David, On 9/5/24 11:40, David Rush wrote: Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and l

Re: Nothing but 404 errors

2024-09-05 Thread Mark Eggers
On 9/5/2024 8:40 AM, David Rush wrote: Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and loggi

Re: Nothing but 404 errors

2024-09-05 Thread Konstantin Kolinko
pplication directory > [/var/opt/tomcat9/webapps/examples] > > I'm seeing nothing but 404 errors in my > /var/opt/tomcat9/logs/localhost_access_log.2024-09-05.txt > > Trying http://localhost:8080/ and http://localhost:8080/index.jsp and > http://localhost:8080/examples/ a

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and logging.properties). David On Thu, Sep 5, 20

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
Doh! I have resolved it. When creating my CATALINA_BASE/conf, server.xml was the only file that I copied into it (in my defense it's the only file explicitly mentioned as going into the conf directory under the CATALINA_BASE section on running multiple tomcat instances in the RUNNING.txt file).

Re: Nothing but 404 errors

2024-09-05 Thread Darryl Baker
My method for updating Tomcat is that it lives behind a symbolic link. /opt/tomcat/latest points to the version I want to run. /opt/tomcat/apache-tomcat-9.0.XX when I want to upgrade I untar the latest version, stop the running version, copy over the needed files to the new version, repoint the

Re: Nothing but 404 errors

2024-09-05 Thread Sebastian Trost
David, On 05.09.2024 16:13, David Rush wrote: My CATALINA_HOME is /opt/tomcat9/home (which is a symlink to /opt/tomcat9/apache-tomcat-9.0.93) My CATALINA_BASE is /var/opt/tomcat9 Why are you setting the CATALINA_BASE-variable? If you're running just one Tomcat instance, this variable is not nee

Nothing but 404 errors

2024-09-05 Thread David Rush
Directory INFO: Deployment of web application directory [/var/opt/tomcat9/webapps/ROOT] has finished in [251] ms Same for the examples webapp: Sep 05, 2024 2:18:53 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory [/var/opt/tomcat9/webapps/examples] I