Have you tried waiting five to ten seconds after shutdown?
I'm running RedHat 7.1 with JSDK 1.3.1 and I have to count to five before
I restart Tomcat.
> I'm using the default JVM. I download the JDK1.2.2 and
> set that as the JAVA_HOME.
> Thanks
> Yu Ye Zhou
> --- Randy Layman <[EMAIL PROTECTED]> wrote:
> > > -----Original Message-----
> > > From: Pier P. Fumagalli
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, August 03, 2001 1:08 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: cannot reuse port
> > >
> > >
> > > Yu Ye Zhou at [EMAIL PROTECTED] 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
--
D. Jay Newman ! // The worst possible legal hashCode
[EMAIL PROTECTED] ! public int hashCode() { return 42;}
http://www.sprucegrove.com/~jay/ ! -- _Effective Java_