Some Java projects in the Linux system steps disappeared without cause. It turned out that the Java process was closed. Why does this happen? It may be that the system automatically clears the redundant process, or other programs turn off the Java project. What should I do at this time?
Solution:
1. disk is full, the problem is relatively simple, as long as the clean up disks on it.
2. When the tomcat is closed or restarted, the background process is often not closed. Need to use ps aux|
Grep java This command checks, turn off the redundant process, and then start startup.sh
3. This situation is rare, in the case of system resources is missing, the system automatically DOWN, or It was killed by other software.
In fact, I am here, this still has not been resolved, the process is still inexplicable will hang itself, the log did not give any error. Later, open the tomcat-users.xml file in the subdirectory conf under the tomcat home directory. The user configuration is as follows:
<tomcat-users>
<user name=“tomcat&rdquo ; password=“tomcat” roles=“tomcat” />
<user name=“role1” password=“tomcat” roles=“role1” />
<user name=“both” password=“tomcat” roles=“tomcat,role1” />
</tomcat-users>
.
The above is the solution for the Java process under Linux system to disappear without any reason. The above three methods always have a problem that can solve Linux, so we can safely deploy the Java project under Linux system. .
Many users who like to use the chmod command are still not very clear about the mea
When doing Linux command operations, sometimes many directories are searched for, and these director
When you are working on a Linux system, the mount hard disk appears mount:Structure needs cleaning e
Git is a distributed version control system, and GitHub is a Git-based website that
Ubuntu vi using the arrow keys error how to solve?
How to use clam antivirus antivirus in Linux
How do old computers install open source Linux systems?
Linux shutdown selinux security subsystem skills
Ubuntu compile and install Hypertable method
How to fix the program error prompted by Ubuntu system?
Steps for installing Tecplot under Linux
Linux system xinetd service can not start how to do?
What should I do if libpng fails to compile after Gentoo upgrade?
Detailed usage of nl commands under Linux
When prompted to start the vi editor in Linux, prompt E325: What should ATTENTION do?
Microsoft Windows 8 touch gesture + stylus patent exposure
Win7 system JPG picture can not open how to solve?
Win10 is the newest game compatibility system
How to fix Win10 wallpaper loading failure? Win10 desktop wallpaper does not show how to deal with?
Win7 system wifi appears garbled links not how to do?
How do famine novice players make it longer to survive
How is Win7 Mobile Center open and closed?
The difference between CPU standard voltage and low voltage in notebook win7 system