IndianWebPortal.com

Something Different In Linux

Home » Tomcat » Some tomcat related command

Some tomcat related command

Posted by Rishikesh Vispute Categories: Tomcat

Some tomcat related command

1) How to check version of Tomcat
root@server []# cd /usr/local/jakarta/tomcat/bin
root@server []# sh version.sh

2] How to start and stop tomcat
root@server []#/usr/local/jakarta/tomcat/bin/./startup.sh  For Start
root@server []#/usr/local/jakarta/tomcat/bin/./shutdown.sh For Stop
root server[~]# /scripts/restartsrv tomcat

3] How to check tomcat error logs
/usr/local/jakarta/tomcat/logs/catalina.err
or
/usr/local/jakarta/tomcat/logs/catalina.out

4] Create symlinks for start and stop tomcat
ln -s /usr/local/jakarta/tomcat/bin/./startup.sh /etc/init.d/tomcatstart
and
ln -s /usr/local/jakarta/tomcat/bin/./shutdown.sh /etc/init.d/tomcatstop


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...