i installed tomcat few days ago and want to completely remove it now?
Can somebody help with this?
cPanel.net Support Ticket Number:
i installed tomcat few days ago and want to completely remove it now?
Can somebody help with this?
cPanel.net Support Ticket Number:
May I ask you why do you want to delete TomCat? It doesn't wokr properly?
Thanks.
cPanel.net Support Ticket Number:
There's a howto at forum.cpanelhosts.com
cPanel.net Support Ticket Number:
I found this info: It does work To delete Tomcat, follow the below.
First, if you already have another version of Tomcat on your server, clean it out. Delete these files:
in /usr/local
jakarta
in /
jsp-install-4 (or whatever version you have)
Then edit httpd.conf and remove all instances of
<IfModule mod_jk.c>
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
</IfModule>
</VirtualHost>
You're missing the following:Originally posted by hostit1
I found this info: It does work To delete Tomcat, follow the below.
First, if you already have another version of Tomcat on your server, clean it out. Delete these files:
in /usr/local
jakarta
in /
jsp-install-4 (or whatever version you have)
Then edit httpd.conf and remove all instances of
<IfModule mod_jk.c>
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
</IfModule>
</VirtualHost>
cd /etc/init.d
./chkservd stop
cd /etc/chkserv.d
rm tomcat
cd /var/run/chkservd
rm tomcat
cd /etc/init.d
./chkservd start
vi or pico /etc/rc.d/rc.local
remove /usr/sbin/starttomcat
Thanks for the extras!
Better remove these lines from httpd.conf as well or Apace will most likely fail.
AddModule mod_jk.c
Include "/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/conf/auto/mod_jk.conf"
AddType text/html .jsp
AddHandler jakarta-servlet .jsp
You may have one or all of these lines depending on your setup
Vision Plateau Web Services - Total Control Hosting
http://www.visionplateau.com