Tomcat: How to install on Cpanel server

hr-ethadmin
Site Admin
Posts: 67
Joined: Fri May 31, 2013 1:04 pm

Tomcat: How to install on Cpanel server

Postby hr-ethadmin » Wed Oct 02, 2013 11:33 am

http://tomcat.apache.org/download-55.cgi

If Tomcat fails while installing it through WHM , means installation process hangs after license

Remove file installed tomcat :

cd /usr/local/cpanel/modules-install/tomcat-Linux-i686
./uninstall
rm -rf /usr/local/jdk1.5.0_02

Then install it manually using below steps:
cd /usr/local/cpanel/modules-install/tomcat-Linux-i686
./install

Copy and past tomcat root password.

Then compile manually jsvc since Cpanel Tomcat installer are bugged while trying to compile it.

cd /usr/local/jakarta/tomcat/bin
cd jsvc-src/
./configure
make
killall jsvc
cp jsvc ../

Make sure Tomcat is running and apache is restarted

/scripts/restartsrv tomcat
service httpd restart

Return to “Hostripples dedicated Servers (Linux/Windows)”

Who is online

Users browsing this forum: No registered users and 1 guest