I have the same problem. Interestingly, I can always start the server the
first time (e.g. after a reboot), after it runs for a long time (days), when
I shut it down, it won't restart, and the error message is "the port is used
by another process". The same thing happens with my Weblogic app server. I
also does not depend on which port I choose, I have tried 7001, 7003, 7004,
7005, 80, 8080. Also, sometimes I can restart, usually is when I haven't run
the server long enough. An immediate startup, shutdown, and restart always
works.
It acts as if I run the web server long enough it will induce something else
to use the same port it was using when I shut it down. Still no clue what's
going on. Is there any software out there we can detect what process is
using a certain port. BTW, I am certain I only have one instance of the web
server running, whether it's Tomcat or Weblogic. I am running the NT version
of them, on NT 4.0 Service Pack 4. I run them as apps not NT service. This
probably has something to do with my local setup, since it behaves the same
way with weblogic, just wonder if someone may have this experience before
with Tomcat or any other web servers.
James Ng
Technical Developer
Symphion, Inc. (formerly elitetek.com,inc.)
Telephone - 214.522.4000
Facsimile - 214.522.4009
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Duck-Jin Chun
Sent: Wednesday, May 03, 2000 4:51 PM
To: [EMAIL PROTECTED]
Subject: Re: tomcat startup problem
That error is most likely from some other process using the port that
tomcat want to bind to (8007 by default, I think).
Do you have more than one instance of tomcat running?
hope this helps,
-Duck
-----Original Message-----
From: j2ee4 d j2ee4 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 5:25 PM
To: [EMAIL PROTECTED]
Subject: tomcat startup problem
Hello
After unzip the file, I try to start the tomcat using this command
"bin/startup.sh".
There is a error message like this :
"FATAL:java.net.BindException : Address already in use"
why?
thanks
Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.com
________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html