Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 54966 invoked from network); 16 Feb 2003 21:52:36 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Feb 2003 21:52:36 -0000 Received: (qmail 13313 invoked by uid 97); 16 Feb 2003 21:54:14 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 13306 invoked from network); 16 Feb 2003 21:54:13 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 Feb 2003 21:54:13 -0000 Received: (qmail 53545 invoked by uid 500); 16 Feb 2003 21:52:23 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 53534 invoked from network); 16 Feb 2003 21:52:23 -0000 Received: from ss02.mediatemple.net (209.132.243.3) by daedalus.apache.org with SMTP; 16 Feb 2003 21:52:23 -0000 Received: from michael (pool-162-84-138-157.ny5030.east.verizon.net [162.84.138.157]) by ss02.mediatemple.net (8.11.1/8.11.1) with SMTP id h1GLqSJ18625 for ; Sun, 16 Feb 2003 13:52:29 -0800 Message-ID: <00ca01c2d605$beabb5e0$6401a8c0@office> From: "Michael Harrison" To: "Tomcat Users List" References: Subject: Re: A problem with Tomcat and port 8080 Date: Sun, 16 Feb 2003 16:52:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I deleted my old Tomcat install, and I moved the new installation into the old one's place. I made sure there were no 'java' processes running, and that Apache wasn't running either. Then I ran bin/startup.sh. But I got nothing at localhost:8080, and logs/catalina.out recorded this error: Catalina.start: LifecycleException: null.open: java.net.BindException: Address already in use:8080 LifecycleException: null.open: java.net.BindException: Address already in use:8080 at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.ja va:1130) Thanks for the suggestion, Jake, but there's something else at work here. Maybe I should just reinstall Apache and Tomcat, again. Michael ----- Original Message ----- From: "Jake Robb" To: "Tomcat Users List" Sent: Sunday, February 16, 2003 4:33 PM Subject: Re: A problem with Tomcat and port 8080 > To me, the obvious answer is that your old version of Tomcat is still > running. > > To kill a process that won't die, use `kill -9 [PID]`. -9 is the > "strongest" kill signal you can send. The kernel won't let the process > ignore or catch the signal. > > What I would do, though, is remove your old Tomcat installation entirely, > and move the new one into the old one's location. It can't run if it's not > there. :-) > > -Jake > > > Michael Harrison wrote: > > > I'm running (or trying to) Tomcat 4.0.6 on RedHat 8.0 for PC. I installed > > Tomcat from a binary (ie. I just unpacked it and moved it into /usr/local. I > > ultimately hope to run it connected to Apache (2.0.44) through an ajp13 > > connector, but for now I just want the server to run by itself on port 8080. > > > > When I startup Tomcat, it writes an error to logs/catalina.out about a > > BindException: address already in use:8080. To try to shut off whatever might > > be listening on 8080, I've made sure to kill the 'java' process for Tomcat and > > Apache (which starts automatically when rebooting). But I still get the same > > error. > > > > Another strange thing: despite the BindException, the 'java' process keeps > > running. Executing shutdown.sh produces the four "Using..." lines of output > > and then hangs--I have to use Ctrl-C to get a prompt back, and the 'java' > > process continues to run. > > > > Also: a bit of history. I had Tomcat working OK on 8080 a few days ago. Then I > > began working to set up the connector: I complied a mod_jk and set up > > httpd.conf with the proper directives. Something I did must have offended > > Tomcat, because it stopped responding on 8080. To get a fresh start, I > > downloaded a new copy of Tomcat this morning and installed it in a separate > > directory under /usr/local. It's this new copy that has been returning the > > BindException. > > > > The sysadmin assures me that port 8080 is not being blocked on the machine, > > either. > > > > Thanks, > > > > Michael > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org