My current port number is 8089. I just stop tomcat and
use the netstat -an | grep 80 to see what happend to
the port 8089. It is still listening. Shutdown.sh
cannot close the port connection at all. Is there a
way I can mamually close the port?
--- Jeff Rancier <[EMAIL PROTECTED]> wrote:
> This was after stopping Tomcat? I would've expected
> the 8080 port to be in
> a TIME_WAIT or some FIN state? Anyone else help
> here? Also what about thoe
> 8081-809x ports, what are they?
>
> -----Original Message-----
> From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 03, 2001 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: RE: cannot reuse port
>
>
> I get the following:
>
> tcp 0 0 0.0.0.0:8035 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8036
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8037
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8007
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8080
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:80
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8017
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8081
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8082
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8083
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8084
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8085
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8089
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8091
> 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:8027
> 0.0.0.0:*
> LISTEN
> tcp 3 0 127.0.0.1:8036
> 127.0.0.1:1077 CLOSE_WAIT
> tcp 3 0 127.0.0.1:8027
> 127.0.0.1:1073 CLOSE_WAIT
> tcp 3 0 127.0.0.1:8007
> 127.0.0.1:1056 CLOSE_WAIT
>
> I also have apache running. Apache version is 1.3.19
> from the linux package. I'm not able to shut down
> the
> apache server also.
> More over, now, if I start up tomcat, the system
> kills
> my process and says "memory low".
>
> Yu Ye Zhou
> --- Jeff Rancier <[EMAIL PROTECTED]>
> wrote:
> > What do you get when you type:
> >
> > netstat -an | grep 80
> >
> > ?
> >
> > -----Original Message-----
> > From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, August 03, 2001 3:06 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: cannot reuse port
> >
> >
> > The version is 1.1
> > --- Jeff Rancier <[EMAIL PROTECTED]>
> > wrote:
> > > Type:
> > >
> > > java -version
> > >
> > > -----Original Message-----
> > > From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, August 03, 2001 3:02 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: cannot reuse port
> > >
> > >
> > > 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/
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> > with Yahoo! Messenger
> > http://phonecard.yahoo.com/
>
>
> __________________________________________________
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/