Run your webapp jar package in the package below
nohup the Java -jar jar & **.
Nohup: do not hang up the execution command, ignore all the hang up signal. Finally, add the command to run the background &
In nohup.out jar directory will generate a file, the default log output to here.