Re: connection refused, localhost not found
i disagree with you, since the root context works fine he's got a server up and running listenning on port 8080 but his app does create an error/interaction with it (hope i got this correct for the original email) Unfortunately i haven't got a clue what is wrongDoes your app handle some network code that could cause it to crash when loaded via te url : http://localhost:8080/myapp/ ? - Original Message - From: Patrick Ale [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:41 PM Subject: RE: connection refused, localhost not found 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:[EMAIL PROTECTED] 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? Tx Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
one idea that jumps in my head after re-reading your original post is : did you configure well the entry for your app in the web.xml file? just an idea (as you said you were looking for wild guesses ;) ) - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:28 PM Subject: 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? Tx Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configure tomcat for LDAP
Hi, i want to use LDAP to athenticate my users on a JSP application and would like to know how to configure TOMCAT so that i can acces the login of the current user through a jsp ? for now, i have it all set on apache, in the virtual host using ath_ldap . my problem is that the request.getRemoteUser() method always returns null in my jsp application... but apache writes the login of the user in the acces.log so i guess it is a conf problem with tomcat... Does anyone have an idea, or a url that could halp ?? thanks in advance --- le présent message (ainsi que ses éventuelles pièces jointes) peut contenir des informations confidentielles. Etant établi à l'intention de ses destinataires, son utilisation ou diffusion non autorisée est interdite. Tout message électronique étant susceptible d'altération, Prisma Presse décline toute responsabilité au titre dudit message en cas de falsification. Ce message a été traité par un anti virus et aucun virus connu n'a été détecté. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
LDAP connection problem through JSP
hi list, I am trying to get the login for the user authentificated through LDAP in a JSP... I tryed : request.getRemoteUser(); but that returns always null... I am sure it can be done but am unable to find how... Any help would be greatly appreciated ;) Thanks in advance Damien Pacaud --- le présent message (ainsi que ses éventuelles pièces jointes) peut contenir des informations confidentielles. Etant établi à l'intention de ses destinataires, son utilisation ou diffusion non autorisée est interdite. Tout message électronique étant susceptible d'altération, Prisma Presse décline toute responsabilité au titre dudit message en cas de falsification. Ce message a été traité par un anti virus et aucun virus connu n'a été détecté.
Re: LDAP connection problem through JSP
yes that's what i tried but the id String is always null i am getting confused here... do you get the LDAP login of the current user whith this script ?? - Original Message - From: Dean Searle [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 01, 2003 3:31 PM Subject: RE: LDAP connection problem through JSP This is the simple jsp I used to test my JNDI Connection with: % String id = request.getRemoteUser(); out.write(User: + id); % See if that helps any. Dean -Original Message- From: Damien Pacaud [mailto:[EMAIL PROTECTED] Sent: Mon 12/1/2003 06:00 To: [EMAIL PROTECTED] Cc: Subject: LDAP connection problem through JSP hi list, I am trying to get the login for the user authentificated through LDAP in a JSP... I tryed : request.getRemoteUser(); but that returns always null... I am sure it can be done but am unable to find how... Any help would be greatly appreciated ;) Thanks in advance Damien Pacaud --- le prsent message (ainsi que ses ventuelles pices jointes) peut contenir des informations confidentielles. Etant tabli l'intention de ses destinataires, son utilisation ou diffusion non autorise est interdite. Tout message lectronique tant susceptible d'altration, Prisma Presse dcline toute responsabilit au titre dudit message en cas de falsification. Ce message a t trait par un anti virus et aucun virus connu n'a t dtect. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- le prsent message (ainsi que ses ventuelles pices jointes) peut contenir des informations confidentielles. Etant tabli l'intention de ses destinataires, son utilisation ou diffusion non autorise est interdite. Tout message lectronique tant susceptible d'altration, Prisma Presse dcline toute responsabilit au titre dudit message en cas de falsification. Ce message a t trait par un anti virus et aucun virus connu n'a t dtect. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]