Apache NetBeans 20: Apache Tomcat service doesn't stop when I try to stop it from the IDE #7159
Unanswered
leandrocaplan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The issue is this one:
I've configured in the IDE both the "Catalina Home" and "Catalina Base" directories to setup the Apache Tomcat Server on NetBeans 20.
I've previously set my "/etc/tomcat9/tomcat-users.xml" like this:
Since I was having a permission trouble, because the IDE wasn't able to write the logs and other stuff on the proper directory, I solved that by doing:
sudo chmod 777 -R /var/lib/tomcat9
I could then properly connect to the database by doing:
Being the whole URL:
jdbc:mysql://localhost:3306/mercado
Despite the application worked fine, it doesn't stop the Tomcat server when I click the "Stop" (Red square) at the IDE, so I had to manually kill the process by using "htop". So on, that process deleted me some folders at "/var/log", and broke both my "apache2" and "mongodb" services, so I had to reinstall them to make them work properly again.
The screenshots of my Apache Tomcat config are these ones:
And the libraries configuration in my project is this one:
I can't reproduce again the faliure, since it may break my Apache and MongoDB installations again, or even more things.
Any idea of what can be going wrong? If there's any more information needed, please tell me.
Beta Was this translation helpful? Give feedback.
All reactions