File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run tomcat 5.5.17 as a services in FC6..?

 
prabhu pandurangan
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Members,

I have installed tomcat by extracting the files and have made the tomcat up, but i have to run it as a services. Please let me know the configuration settings to be made for running tomcat as a services in FC6 machine. For now im making tomcat up by "./startup.sh". Instead i have to run it as "service tomcat5 start".

Regards,
Prabhu.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17627
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Fedora/Red Hat services are defined as scripts in the /etc/init.d directory. They have a very specific design.

From time to time, someone does an RPM for tomcat that will include (and install) a service script. In the case of Red Hat Enterprise, it's part of the basic distribution. I don't believe that there's currently one for Fedora, but if you Google for "jpackage tomcat", you may find one. Over the years I've ended up writing my own init scripts as often as not.

The main reason why Fedora doesn't do this better is because Fedora doesn't include proprietary software, and the Sun JVM is proprietary. The GCJ Java that does come with recent Linux releases hasn't been sufficiently functional to use to run Tomcat. New open-source Java efforts are changing that, but I don't think they're there yet. They might also have had a problem with mixing the Apache software licenses with the Linux GPL licenses.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic