10.12.3.1. In case file input/output error occurs during Linux environment WAR file deployment¶
- Causes and actions when IOException, FileNotFoundException and so on occurred during war file deployment in Linux environment are described.
10.12.3.1.1. Check Web Application Server error log¶
- If the number of files that can use Web Application Server process is limited by OS, IOException or FileNotFoundException may be output in the error log and deployment may fail.
- Error contents reference source by Web Application Server
Web Application Server
Reference source of error contents
Resin
WebSphere Application Server 8.5.5
Oracle WebLogic Server 12c (12.1.1)
Console information when starting
%WEBSPHERE_ROOT%/profiles/AppSrv01/logs/server1/SystemErr.log
%WEBLOGIC_ROOT%/%USER_PROJECT%/domains/base_domain/servers/AdminServer/logs/AdminServer.log
10.12.3.1.2. Change the limit of file descriptors¶
Number of OS file descriptors which are set in /etc/system/limits.conf or /etc/security/limits.conf can be circumventedby adding the following numbers for the environment. Please change them to the appropriate value.* soft nofile 32768 * hard nofile 32768 root soft nofile 32768 root hard nofile 32768[*] Users and the values are samples. Please set appropriate values according to the environment.
Note
Current setting value of file descripter can be confirmed
ulimit -nas shown above.