I'm currently using NetBeans 16.1 and Tomcat 10 with Java 17 and trying to run a web application.
When I try to run it, it appears this message:
In-place deployment at /home/henriquedelben/Documentos/WebApplication1/build/web Deployment is in progress... deploy?config=file%3A%2Ftmp%2Fcontext2029074434843372881.xml&path=/WebApplication1 FAIL - Failed to deploy application at context path [/WebApplication1] /home/henriquedelben/Documentos/WebApplication1/nbproject/build-impl.xml:1030: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 0 seconds)
I know that on Arch Linux's version, Tomcat's default deploy location is /var/lib/tomcat8/webapps. Is it because it's not deploying on the right place or something?
The connection to Tomcat 10 is made with a user with all manager-* permissions and using by default port 8080
Here is the log file in /var/log/tomcat10/localhost.2023-04-26.log
obs.: As far as arch linux documentation goes, I don't know about any other server log files (besides catalina.err and catalina.out)
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 -
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/ HTTP/1.1" 200 38
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 -
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/ HTTP/1.1" 200 38
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 -
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/ HTTP/1.1" 200 38
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "HEAD /netbeans-tomcat-status-test HTTP/1.1" 404 -
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/ HTTP/1.1" 200 38
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "GET /manager/text/list HTTP/1.1" 401 2499
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/list HTTP/1.1" 200 196
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "GET /manager/text/list HTTP/1.1" 401 2499
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/list HTTP/1.1" 200 196
127.0.0.1 - - [26/Apr/2023:10:48:26 -0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext2029074434843372881.xml&path=/WebApplication1 HTTP/1.1" 401 2499
127.0.0.1 - root [26/Apr/2023:10:48:26 -0300] "GET /manager/text/deploy?config=file%3A%2Ftmp%2Fcontext2029074434843372881.xml&path=/WebApplication1 HTTP/1.1" 200 82
When I set up the web server, i went to Tools>Servers and added "Apache Tomcat or TomEE" and both catalina home and base and set to: "/usr/share/tomcat8" which is the main folder on arch linux's installation using pacman