AW: mod_jk interference with ErrorDocument/Alias on HEAD request

2022-02-15 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Stefan, by spec / RFC, a HEAD request is not allowed to return any body. Greetings, Thomas -Ursprüngliche Nachricht- Von: Stefan Mayr Gesendet: Montag, 14. Februar 2022 23:07 An: users@tomcat.apache.org Betreff: Re: mod_jk interference with ErrorDocument/Alias on HEAD request

AW: mod_jk interference with ErrorDocument/Alias on HEAD request

2022-02-15 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Stefan, Now I got it. Thanks for the clarification :) -Ursprüngliche Nachricht- Von: Stefan Mayr Gesendet: Dienstag, 15. Februar 2022 14:26 An: users@tomcat.apache.org Betreff: Re: mod_jk interference with ErrorDocument/Alias on HEAD request Hello Thomas, Am 15.02.2022 um 11:38

Re: mod_jk interference with ErrorDocument/Alias on HEAD request

2022-02-15 Thread Stefan Mayr
Hello Thomas, Am 15.02.2022 um 11:38 schrieb Thomas Hoffmann (Speed4Trade GmbH): Hello Stefan, by spec / RFC, a HEAD request is not allowed to return any body. Greetings, Thomas This is true and that is why i'm writing to this list. In the described case mod_jk returns a response body

Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
Greetings, I have been running tomcat for more than ten years. Today, I tried to change VPS providers. I created a Ubuntu server, added Java 8, and installed tomcat 9.0.58. I made no configuration or other changes. I simply unzipped tomcat and started it up. I have no firewall running and I

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
Thanks, Neil, Catalina.out shows a normal startup with no errors. It's the default config. I am not adding, changing, or deleting any files from the normal tomcat distro. Also, I am doing everything as root. I didn't try connecting locally mainly because I'm on a server. No GUI. The fact

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
Use something like lynx or curl from the command line to try to connect to the Tomcat instance. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! -

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
# netstat -plunet Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp0 0 127.0.0.53:53 0.0.0.0:* LISTEN 10119387

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
> I cannot connect to tomcat (port 8080) externally Can you connect to it from the local machine? If that is the case, it may be only listening for local connections. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses!

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
Maybe better to back up one more step: Are you sure Tomcat started up correctly? Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! - To

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
Thanks, Neil, I started up tomcat and ran: curl http://localhost:8080 It returned the page. Great. I then ran: ./shutdown.sh It stopped just fine. I checked with ps. I then did ./startup.sh again. This time the curl command just hung and ./shutdown.sh gave me "Connection refused" error.

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
Looks like tomcat is dying or getting killed. That is strange. I am running tomcat on a VPS with no problems. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses!

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
I have been using this config on a few VPS vendors for more than 10 years without anything like this. I tried the exact same setup on AWS today and it worked right away. I feel pretty sure that the VPS vendor I am trying has some sort of problem. I am working with them to solve it. Thanks!

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Christopher Schultz
Blake, On 2/15/22 16:58, Blake McBride wrote: # netstat -plunet Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp0 0 127.0.0.53:53 0.0.0.0:*