Try the IP address instead of the hostname in workers.properties. John
-----Original Message----- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:32 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 Yes. If I give the IP address it works. My problem is calling tomcat from apache. The connectivity works on the same system and not for remote systems. Thanks. --- Ed Robbins <[EMAIL PROTECTED]> wrote: > See my answer to the HTTP 500 - No Context > configured. > > Replace the name localhost with the actual IP > address like > > http://192.168.1.1:8080/examples > > I'm willing to bet that will work for you. > > Ed > > On Thu, 2003-01-23 at 22:16, vim m wrote: > > If it was a DNS problem, then shouldnt tomcat and > > apache have problems running as standalones too??? > I > > am assuming here, correct me if I am wrong. > > Anyway - http://thedomainname:8080/examples works > from > > remote systems and http://thedomainname/ too. > > Like I told you http://localhost:8080/examples > does > > not work from the same system. This seems strange. > > > > > Cheers. > > vim > > > > > > > > > > --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > > > > > If you can't get responses when checking from a > > > remote machine, you have a > > > name resolution/DNS problem that is preventing thedomainname from > > > resolving to a number. > > > > > > John > > > > > > > > > -----Original Message----- > > > From: vim m [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, January 23, 2003 4:42 PM > > > To: Tomcat Users List > > > Subject: RE: Apache2.0.40 Tomcat4.1.18 > Integration > > > on Linux 7.1 > > > > > > > > > John: I just checked this out. The connection is > > > working if I access the server from the same > > > machine. > > > Till now, I was checking this from a remote > machine. > > > But listen to this - maybe it would help. > > > It works for: > > > http://localhost - I see the default Apache > page. > > > But http://localhost:8080/ does not work. > > > > > > When I give > > > http://thedomainname:8080/ it works. > > > and http://thedomainname/examples works and so > do > > > all > > > my other applications. > > > All this happens in the same machine. It does > not > > > work > > > from remote machines. > > > > > > Would this be a problem with my servername in > > > http.conf and host in server.xml? I have checked > > > them > > > and they point to the same name. > > > This is so frustrating :( > > > > > > > > > > > > > > > > > > --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > > > > > > > Sorry, I'm stumped. Your config files look OK > to > > > > me. I'm assuming that > > > > wherever you have "thedomainname" in your > files, > > > > that you have an actual > > > > name that can be resolved to an IP address, > right? > > > > "thedomainname" is just > > > > a placeholder you're using when you post the > files > > > > to the net for us to see? > > > > > > > > > > > > John > > > > > > > > > > > > > -----Original Message----- > > > > > From: vim m [mailto:[EMAIL PROTECTED]] > > > > > Sent: Thursday, January 23, 2003 4:08 PM > > > > > To: Tomcat Users List > > > > > Subject: RE: Apache2.0.40 Tomcat4.1.18 > > > Integration > > > > on Linux 7.1 > > > > > > > > > > > > > > > Im sorry to have confused you. The error > message > > > i mentioned is > > > > > this: [Thu Jan 23 14:34:27 2003] [warn] > Init: > > > Session > > > > Cache > > > > > is not configured [hint: \SSLSessionCache] > > > > > Is this is to do with SSL?- I am not usind > SSL. > > > > > The error message that I get on my browser > is > > > > Filenot > > > > > found 404. > > > > > > > > > > Thank you > > > > > > > > > > > > > > > > > > > > --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Sorry, I'm pretty confused right now. I > > > thought > > > > you > > > > > > said the tomcat > > > > > > examples were working, but the other > > > > applications > > > > > > that you added weren't. > > > > > > > > > > > > What is the exact error message that you > get > > > > when > > > > > > you try to access > > > > > > http://your.domain.name/examples using > your > > > > existing > > > > > > configuration? I > > > > > > realize the examples are not your > application, > > > > but > > > > > > if you can get the > > > > > > examples to work, that proves that the > > > > configuration > > > > > > is ready for > > > > > > customization. > > > > > > > > > > > > I don't know what error message you mean. > Do > > > > you > > > > > > mean the one about the SSL > > > > > > message? Are you using SSL? It doesn't > look > > > > like > > > > > > it to me, but maybe I am > > > > > > wrong. > > > > > > > > > > > > Typically, for every "/someApp" in > > > http://some.server.com/someApp, > > > > > > you have a Context. In a default > > > installation, there is > > > > a > > > > > > Context for /examples, > > > > > > /admin, and /manager. If all 3 of those > work, > > > > you > > > > > > have a solid foundation > > > > > > for customization and tweaking. If those > > > three > > > > do > > > > > > not work, then making > > > > > > custom changes will just make things > worse. > > > > Even > > > > > > the ROOT is a Context. > > > > > > Tomcat has to have an entry point in order > to > > > > find > > > > > > everything else it needs > > > > > > to do its job. > > > > > > > > > > > > John > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: vim m > [mailto:[EMAIL PROTECTED]] > > > > > > > Sent: Thursday, January 23, 2003 3:16 PM > > > > > > > To: Tomcat Users List > > > > > > > Subject: RE: Apache2.0.40 Tomcat4.1.18 > > > > Integration > === message truncated === __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>