I'm using Tomcat 4.1 with Axis on a RH9 to develop a simple web service, and I'm trying to improve securety starting Tomcat with xinetd supervision.
I set up my xinetd.conf like this:
# # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/
defaults { instances = 15 log_type = FILE /var/log/servicelog 100K 200K log_on_success = HOST PID USERID DURATION EXIT log_on_failure = HOST USERID cps = 25 30 only_from = localhost per_source = 5 disabled = servers services xadmin }
includedir /etc/xinetd.d
but I'd still need a bit of information: how set up my tomcat service?.
I've decided to not use the port redirection, and use only my local net to start. Moreover I have assigned $CATALINA_HOME directory to my personal account, so my tomcat file in xinet.d directory results:
service tomcat
{
socket_type = stream
protocol = tcp
user = root
wait = no
port = 8080
server = /usr/local/jakarta-tomcat-4.1.30/bin/startup.sh
disable = no
access_time = 9:00-20:00
# only_from = my remote address
only_from = 127.0.0.1
}
There could be a problem because when I restart xinetd Tomcat doesn't start (It starts well by hand).
Maybe the problem is in the server specification?
I've searched the net for help about tomcat & xinetd but I didn't find anything, so I wonder if u could just tell me something.
Many thanks
Gianni Pucciani
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
