You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gregor Schneider <rc...@googlemail.com> on 2009/01/08 10:23:44 UTC
Tomcat 6, APR, native wrapper and shutdown-port
Hi there,
I know, asking a lot of questions furing the past few days, here's one more:
I've installed Tomcat 6 at Debian Etch, using Sun's JDK 1.6.
Everything is working fine, however, one thing is puzzling me.
In server.xml I have the following entry:
<Server port="8005" shutdown="somePassword">
So I was expecting an open port 8005 listening on localhost.
However, when I do a "netstat -lnp", I do not see this port:
========= [ snip ] ==============
tomcat@compass:/usr/local/tomcat/conf$ netstat -lnp
(No info could be read for "-p": geteuid()=8080 but you should be root.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:9102 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
udp 0 0 0.0.0.0:161 0.0.0.0:* -
udp 0 0 xx.xx.xxx.xxx:123 0.0.0.0:* -
udp 0 0 127.0.0.1:123 0.0.0.0:* -
udp 0 0 0.0.0.0:123 0.0.0.0:* -
udp6 0 0 xxxx::xxx:xxxx:xxx:123 :::* -
udp6 0 0 ::1:123 :::* -
udp6 0 0 :::123 :::* -
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program
name Path
unix 2 [ ACC ] STREAM LISTENING 3994 -
/var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 6230 -
/var/run/nscd/socket
unix 2 [ ACC ] STREAM LISTENING 11472 -
/var/run/mysqld/mysqld.sock
========= [ snap ] ==============
I'm running Tomcat using the APR and the native wrapper jsvc so that
Tomcat runs on privileged port 80. Could somebody please be so kind to
explain to me why there's no port 8005 listening on localhost?
TIA
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6, APR, native wrapper and shutdown-port
Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
Gregor Schneider:
> I'm running Tomcat using the APR and the native wrapper jsvc so that
> Tomcat runs on privileged port 80. Could somebody please be so kind to
> explain to me why there's no port 8005 listening on localhost?
That's the way it's intended to be when you start Tomcat via jsvc. If
you start the same Tomcat installation with the shell scripts, you'll
see Tomcat listening on port 8005.
Regards
mks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org