Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 42843 invoked from network); 8 Dec 2003 13:34:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Dec 2003 13:34:11 -0000 Received: (qmail 98259 invoked by uid 500); 8 Dec 2003 13:33:48 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 98239 invoked by uid 500); 8 Dec 2003 13:33:48 -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 98225 invoked from network); 8 Dec 2003 13:33:48 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.171) by daedalus.apache.org with SMTP; 8 Dec 2003 13:33:48 -0000 Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1ATLWG-00077b-00 for tomcat-user@jakarta.apache.org; Mon, 08 Dec 2003 14:33:48 +0100 Received: from [217.228.250.5] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1ATLWG-0004om-00 for tomcat-user@jakarta.apache.org; Mon, 08 Dec 2003 14:33:48 +0100 Message-ID: <3FD47D83.8020602@cyberspaceroad.com> Date: Mon, 08 Dec 2003 14:32:51 +0100 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031103 X-Accept-Language: en, en-us, de-de MIME-Version: 1.0 To: Tomcat Users List Subject: Re: connection refused, localhost not found References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7be52423742ce504c1b541fa1f258887 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I changed the web.xml and have now managed to get tomcat to generate a status 404. This is also what comes thro to telnet. Strange because the context appears in tomcat manager as running, with sessions. I'm thinking about upgrading to 5.0.16 on this machine but I wanted to solve this problem before tackling the upgrade. On 12/08/2003 02:19 PM Patrick Ale wrote: > what happens when you do: > > telnet localhost 8080 GET /myapp/ HTTP/1.1 host: > localhost > > > Patrick Ale System administrator Freeler B.V > > Email: patrick.ale@hq.freeler.nl Tel.: +31 320 267678 > > "Muda o mundo, come�e com voc� mesmo" > > > >> -----Oorspronkelijk bericht----- Van: Adam Hardy >> [mailto:ahardy.struts@cyberspaceroad.com] Verzonden: maandag 8 >> december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: >> connection refused, localhost not found >> >> >> The app is not running, yup, guess I can't argue with that. >> Unfortunately it's not logging any exceptions. I see that tomcat >> starts a session for the context, and it logs the request in >> localhost_access_log, but otherwise, it's dead as a dodo. >> >> It's definitely on 8080 - the other contexts are obviously on 8080 >> and still run fine. >> >> On 12/08/2003 01:41 PM Patrick Ale wrote: >> >>> Well, >>> >>> I got this problem with MLDonkey (not really java, I know >> >> but hey.. :P) >> >>> This simply means your program crashes on startup and that >> >> nothing listens on port 8080. >> >>> Now.. dunno what browser you use but I had this with Mozilla. I >>> tried to connect to http://localhost:4080/ it didnt find >> >> anything on that port so it >> >>> went on with resolving random/known by mozilla things, till >> >> it found localhost.net.au which >> >>> actually is an existing page. >>> >>> Motto of this story is: your app is not running or not on >> >> port 8080 :-) >> >>> Patrick Ale System administrator Freeler B.V >>> >>> "Muda o mundo, come�e com voc� mesmo" >>> >>> >>> >>> >>>> -----Oorspronkelijk bericht----- Van: Adam Hardy >>>> [mailto:ahardy.struts@cyberspaceroad.com] Verzonden: maandag 8 >>>> december 2003 13:29 Aan: Tomcat Users List Onderwerp: >>>> connection refused, localhost not found >>>> >>>> >>>> Hi Listers I'm sceptical whether anybody else has ever suffered >>>> this bizarre problem so I'm not expecting anybody to be able to >>>> help, >> >> but this is >> >>>> seriously damaging my enjoyment of Monday morning. >>>> >>>> I have tomcat 5.0.14 set up on one computer and it works >> >> fine mostly, >> >>>> i.e. root context, JSP examples, manager apps are working fine. >>>> >>>> >>>> The problem is with the app I'm developing. On Friday night >>>> last week I did loads of debugging to sort out the JNDI >>>> connection pool, e.g. configuring the app context, the web.xml >>>> etc. >>>> >>>> Now when I try to call up http://localhost:8080/myapp/ the >>>> browser zooms off to find http://www.localhost.net.au! When I >>>> try http://127.0.0.1:8080/myapp/ I get a 'connection refused' >>>> pop-up from >>>> the browsers - on my machine and on others. (root context still >>>> works as I said). >>>> >>>> Obviously I tried restarting tomcat, redeploying the app, >>>> taking out all the filters, changing the context name, checked >>>> server.xml. >>>> >>>> Anybody care to take a wild guess about what I need to do? --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org