We are in the process of upgrading from Tomcat 8.0.36 to Tomcat 9.0.37 for the 
samesite cookie issue.  We found very few differences in the version except for
a context (static)  in server.xml for static content now gives a 404 in tomcat. 
 I have checked the logs and it is getting past apache 2.4 to tomcat.
I have tried adding crossContext="true" to all applications including static 
but it did not help.

The only change made to server.xml is secretRequired="false"


I have seen a number of posts where other people have the same issue but I have 
not found any replies to the question.


Tomcat logs
172.24.30.28 - - [07/Oct/2020:09:59:13 -0400] "GET 
/static/bp_images/5013678_RH.gif HTTP/1.1" 404 790
172.24.30.28 - - [07/Oct/2020:09:59:13 -0400] "GET 
/static/bp_images/5013682_RH.gif HTTP/1.1" 404 790
172.24.30.28 - - [07/Oct/2020:09:59:13 -0400] "GET 
/static/bp_images/5013936_RH.gif HTTP/1.1" 404 790


From server.xml

     <Host name="localhost"  appBase="webapps" unpackWARs="true" 
autoDeploy="false" deployOnStartUp="true" >
                                <Context docBase="i:/" path="/static" />
                                <Valve 
className="org.apache.catalina.valves.AccessLogValve" directory="logs"
                                              prefix="localhost_access_log" 
suffix=".txt"
                              pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>











[cid:image001.jpg@01D2D558.FDC218C0]

Linda Haddix
Senior Developer
Blue Bird Corporation
3920 Arkwright Road, Suite 200, Macon, GA 31210
Phone 478.822.2327 | Cell 478.737.8567
linda.had...@blue-bird.com<mailto:linda.had...@blue-bird.com>





This e-mail transmission, including any attachments, contains information of 
Blue Bird Corporation and may be confidential, proprietary, copyrighted and/or 
legally privileged. This electronic transmission is for the sole and exclusive 
use of the named individual or entity to which it is directed and may not be 
transmitted to or received by anyone other than the named addressee (or a 
person authorized to deliver it to the named addressee). Access to this email 
by anyone else is unauthorized. If you are not an intended recipient, you must 
not read, use or disseminate the information contained in the email. If you 
have received this message in error, please immediately return this by e-mail 
and delete it.
Any views expressed in this transmission are those of the individual sender and 
not the Company, unless the sender is an authorized agent of Blue Bird 
Corporation and is expressly speaking on its behalf.

Reply via email to