I don't necessarily think this is a DNS problem.  Typically you get a
404 error or 500 error when this occurs, which implies that the request
is getting to the server, it's just not mapping the localhost context.

Ed
On Fri, 2003-01-24 at 05:03, Tomislav Miladinovic wrote:
> I can't figure out who has posted this question but it seems to me that
> configuration of the TCP/IP stack is not proper. If DNS functionality is not
> enabled then TCP/IP driver can't read 'hosts' file and resolve localhost
> name. So go to Settings>Networks>TCP/IP and enable DNS.
> 
> Tomislav
> 
> 
> ----- Original Message -----
> From: "vim m" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, January 23, 2003 1:42 PM
> 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
> > > > > on Linux 7.1
> > > > > >
> > > > > >
> > > > > > Do you have to include Context in server.xml?
> > > Let
> > > > > me
> > > > > > get this straight first - Is this required
> > > when
> > > > > tomcat
> > > > > > runs as a standalone? If so, I have never
> > > included
> > > > > > anything in server.xml. Both for tomcat on win
> > > and
> > > > > > linux. And they have been working fine for me.
> > > > > Also I
> > > > > > have integrated apache and tomcat on windows
> > > > > without
> > > > > > making any Context additions to server.xml.
> > > > > >
> > > > > > Another thing is, even examples dont work for
> > > me,
> > > > > and
> > > > > > the context for that is already in the xml
> > > file.
> > > > > And
> > > > > > there is the error in my apache's log file to
> > > be
> > > > > > explained. IT doesnt seem to point to a
> > > context
> > > > > > problem does it?
> > > > > >
> > > > > > Thank you.
> > > > > >
> > > > > >
> > > > > >
> > > > > > --- "Turner, John" <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Where are the Contexts in server.xml for all
> > > of
> > > > > your
> > > > > > > applications??
> > > > > > >
> > > > > > > For each "/someDir" in a URL you need a
> > > Context.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: vim m [mailto:[EMAIL PROTECTED]]
> > > > > > > > Sent: Thursday, January 23, 2003 2:56 PM
> > > > > > > > To: Tomcat Users List
> > > > > > > > Subject: RE: Apache2.0.40 Tomcat4.1.18
> > > > > Integration
> > > > > > > on Linux 7.1
> > > > > > > >
> > > > > > > >
> > > > > > > > Oh ok. I thouht inline would be easier. I
> > > have
> > > > > > > > attached the files this time.
> > > > > > > > Thank you.
> > > > > > > >
> > > > > > > > --- "Turner, John" <[EMAIL PROTECTED]>
> > > wrote:
> > > > > > > > >
> > > > > > > > > 2.0.44 is module compatible with 2.0.43.
> > >
> > > > > > > Everything
> > > > > > > > > looks OK, but it would
> > > > > > > > > probably be easier if you posted the
> > > files:
> > > > > > > > > server.xml, mod_jk.conf,
> > > > > > > > > workers.properties.  It's hard to
> > > diagnose
> > > > > when
> > > > > > > > > things are copied inline, at
> > > > > > > > > least for me.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: vim m
> > > [mailto:[EMAIL PROTECTED]]
> > > > > > > > > > Sent: Thursday, January 23, 2003 2:38
> > > PM
> > > > > > > > > > To: Tomcat Users List
> > > > > > > > > > Subject: RE: Apache2.0.40 Tomcat4.1.18
> > > > > > > Integration
> > > > > > > > > on Linux 7.1
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Yes I did. Does apache2.0.44 work with
> > > > > > > > > > mod_jk2.0.43.so? Has anybody done this
> > > > > before?
> > > > > > > Or
> > > > > > > > > > maybe I should just stick to ur
> > > suggestion
> > > > > and
> > > > > > > get
> > > > > > > > > > apache2.0.43 on my system?
> > > > > > > > > >
> > > > > > > > > > Thank you.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > >
> > === 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]>
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to