LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi,

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/catalina.sh 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 tomcat.sh script that can be put in /etc/init.d for
starting/stopping tomcat, based on the script tomcat/bin/jsvc-
src/native/Tomcat5.sh, 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...

Tim
 
  


Reply



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 05:54 PM
mysql entry in catalina.policy when using security option gschrade Linux - Software 5 03-23-2004 11:23 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Basic JSP/Tomcat question. CodeWarrior Programming 1 07-06-2003 09:15 AM
Tomcat(catalina) + Apache ?? Robert0380 Linux - Software 1 12-09-2002 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 AM.

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