Lame!
It turned out that I have
@WebServlet(name = "AdsTxt", urlPatterns = {"/ads.txt"})
LOL!!!!
On Fri, Apr 24, 2020 at 4:48 PM Mladen Adamović <[email protected]>
wrote:
> I've changed ads.txt did upload ROOT.war file and it now contains new
> version which is 18892 bytes old, checked files in the filesystem:
>
> root@condor1796 /home/glassfish/apache-tomcat-8.5.5 # find . | grep
> "ads.txt" | xargs ls -l
> -rw-r----- 1 glassfish nogroup 18892 Apr 24 2020
> ./appBaseLivingCost/ROOT/ads.txt
> -rw-r----- 1 glassfish nogroup 18892 Apr 24 2020
> ./appBaseNonWwwNumbeo/ROOT/ads.txt
> root@condor1796 /home/glassfish/apache-tomcat-8.5.5 # unzip -v
> appBaseNonWwwNumbeo/ROOT.war | grep "ads.txt"
> 18892 Stored 18892 0% 2020-04-24 16:13 dae45795 ads.txt
>
> Fine, all files are 18892 bytes.
>
> From server.xml:
> <Host name="numbeo.com" appBase="appBaseNonWwwNumbeo"
> unpackWARs="true" autoDeploy="true">
> <Alias>numbeo.com</Alias>
>
> I did remove work, kill Catalina and Started it again.
>
> It's still serving old file! Checked with curl and browser (with delete
> cache and reload).
> apache-tomcat-8.5.5
>
> I'm totally confused. What is happening?
>
>
>
>