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".
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.
An IDE is no substitute for an Intelligent Developer.