When you create a J2EE WEP Application using JBuilder9, JB will automatically create a server 8080.xml file in the Tomcat directory of the source. This file is regenerated each time after starting Tomcat, and the Tomcat is automatically disappeared. Therefore, it is useless to configure the connection pool, etc. Looking at the Note of the second line of Server8080.xml: XML Version = "1.0" Encoding = "UTF-8"?>
If you want to manually configure server8080.xml, you can delete the second line, I can delete it, the result is closed, I have disappeared, search for N multi-page online, have to change Tomcat launch parameters, I tried It's still not. I saw Tomcat / conf / server8080.xml that I did before. I tried to change the server8080.xml below my example, add a line
Maybe this problem is too simple in the eyes of other netizens, I have not found a better way, and I will remember so much. I will find a better way in the future.
XML Version = "1.0" encoding = "UTF-8"?>