Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-23-2005, 08:37 AM   #1
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Tomcat 5: jsvc vs basic catalina


I'm installing Tomcat on a small webserver. The load will be quite low, so I don't want to install an Apache httpd as front-end webserver (unless there are good reasons to do so).

I already followed the following steps:
-download the latest JDK from Sun (1.5, as required for Tomcat 5)
-installed JDK in /usr/java/jdk1.5.0/
-download latest Tomcat 5 version
-unpacked tomcat (.tar.gz) in a separate directory.

Now, my problem is that there seem to be 2 ways of launching Tomcat:
-Copying the tomcat/bin/ script to /etc/init.d and then
using chkconfig to make it un at reboot.
-Using jsvc:
*compiling and installing jsvc from the src tarball included with Tomcat
(directory tomcat/bin/jsvc-src/)
*making a script that can be put in /etc/init.d for
starting/stopping tomcat, based on the script tomcat/bin/jsvc-
src/native/, as specified on the Tomcat homepage, in the docu
for Tomcat 5. Again, the script in /etc/init.d can be configured by chkconfig
to make it run at reboot.

My Linux is Fedora 3.

I was wondering what the difference is between both approaches. Both are included in the distro of Tomcat, so it's not clear to me which is best.
But then again, I'm just a newbie to Linux...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Turtle Beach Catalina 7.1 souled Linux - Hardware 3 11-17-2005 06:54 PM
mysql entry in catalina.policy when using security option gschrade Linux - Software 5 03-23-2004 12:23 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 02:31 AM
Basic JSP/Tomcat question. CodeWarrior Programming 1 07-06-2003 10:15 AM
Tomcat(catalina) + Apache ?? Robert0380 Linux - Software 1 12-09-2002 04:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration