We Provide Linux cPanel Hosting, Windows Plesk Hosting, Reseller Hosting, OpenVz VPS, XEN VPS, Cloud VPS and Dedicated Server in Affordable Cost. ![]() Hostripples is one of the top Cheapest Web Hosting Company in USA, Canada, France, UK and Europe. JUST MAKE SURE THAT YOU WILL TAKE THE BACKUP OF SETENV.SH FILE BEFORE EDITING IT. In order to increase the heap memory, edit setenv.sh file and paste below code in it.Įxport CATALINA_OPTS=”$CATALINA_OPTS -Xms512m”Įxport CATALINA_OPTS=”$CATALINA_OPTS -Xmx8192m”Īnd if you want to increase the heap memory to 1 GB then paste below code in setenv.sh file.Įxport CATALINA_OPTS=”$CATALINA_OPTS -Xms1g”Įxport CATALINA_OPTS=”$CATALINA_OPTS -Xmx1g” We can set the heap memory for User in setenv.sh file and location of setenv.sh file is /home/CPANEL-USER/ea-tomcat85/bin/setenv.sh “10001” is connector AJP port which we found in server.xml fileĨ) Now you need to rebuild the HTTPD, so use the below commandĪnd now restart the HTTPD by using the below command: Now go to following location: /etc/apache2/conf.d/userdata/ssl/2/cPanel-user/your-domain-nameįinally, save it. Login to WHM Panel > Software > EasyApache 4 > Then click on “Customize” button present in front of “Currently Installed Packages” > Then Click on “Additional Packages” option present at left hand side > Select Tomcat and click next > Then at Review Page, plz check carefully which packages going to be installed, which packages going to be removed and then only click on “Provision” button.īefore deploying the war file, we need to do some IMP settings on the server like enabling the JAVA support in CloudLinux.ġ} We need to add more heap memory in Tomcat which can be done in /opt/cpanel/ea-tomcat85/bin/catalina.shĮxport CATALINA_OPTS=”-Xms512M -Xmx1024M” ![]() We can install tomcat on cPanel server easily from easyapache 4. INSTALLING TOMCAT ON CPANEL SERVER PART A
0 Comments
Leave a Reply. |