tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: cannot reuse port
Date Fri, 03 Aug 2001 18:06:28 GMT
> -----Original Message-----
> From: Pier P. Fumagalli [mailto:pier@betaversion.org]
> Sent: Friday, August 03, 2001 1:08 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: cannot reuse port
> 
> 
> Yu Ye Zhou at yuyezhou@yahoo.com wrote:
> 
> > Hi:
> >    I installed tomcat in linux. When ever I start up
> > tomcat, I cannot use the port number that I use
> > before. If I use 8080 to start up tomcat, then shut
> > dowon and start up again, it says address in used. I
> > have to change to any other ports that I didn't use
> > before in order to start tomcat successfully. In
> > addition, even after the use shutdown.sh, tomcat is
> > not really shutting down. The port is still in used. I
> > can access the page from other computer using all the
> > ports that I used before.
> 
> Simple... It seems that tomcat is not shutting down :( What 
> version are you
> using? (I never had a problem like it so far). Can you use that tomcat
> instance just for one request or several? (There's a bug in 
> Linux preventing
> successful unbinding of server sockets until a connection is 
> made to that
> port).
> 
>     Pier

	Also what JVM are you using?  The Kaffe JVM that comes with some
(Red Hat, perhaps?) distributions by default doesn't correctly release the
ports, thus preventing shutdown.

	Randy

Mime
View raw message