Auto Start Tomcat When Reboot Linux PC [Easier Method]

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
User avatar
KentC
Posts: 108
Joined: Fri Dec 09, 2011 2:27 pm
Location: rw-rw-rw-

Auto Start Tomcat When Reboot Linux PC [Easier Method]

Post by KentC »

1. Brekeke Product Name and Version:
Brekeke SIP Server , Version 3.0.7.0

2. Java version:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
java version "1.6.0_26"

3. OS type and the version:
CentOS release 5.8 (Final)

4. UA (phone), gateway or other hardware/software involved:
Dell Poweredge 400SC

5. Your problem:

This is in response to the following brekeke wiki article:
wiki brekeke com/wiki/Auto-Start-Tomcat-when-reboot-Linux

Note: This setup may not work on all linux.
<- Taken from Wiki
^

On the CentOS version I'm using listed in my post, I couldn't get that to start even when I modified the settings to show catalina working in chkconfig.

For CentOS Linux users, here's an easier way to Auto-Start Brekeke Sip Server on Linux PC Reboot.

Step 1.

Type "locate startup.sh"
[This will list in results the "exact" directory path to your brekeke sip server startup script]

Step 2.

echo "/PATH/FROM/LOCATE/CMD/startup.sh" >> /etc/rc.local

Step 3.

Now Reboot [Type "init 6", and your system should auto startup Brekeke Sip Server for CentOS Linux!


Feel free to add this to the wiki as this should work for other versions of Linux.

Kent C.
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Kent, thank you for sharing the useful information.
Post Reply