You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Toby Piper <tp...@CompCraft.com> on 2000/07/13 18:10:31 UTC

Tomcat contexts.

Hi All,

I have Tomcat sort of working but the only context that I can get served is
the examples that comes with Tomcat. I have tried adding other contexts in
the different config files. Nothing seems to work.

If I add my servlets to the examples directory they will run fine there but
not if in a different context. I can't even seem to get it to serve static
pages in a different context.

Looking at the Tomcat startup output it shows that it is loading the various
contexts but won't actually serve them.

There are a bunch of config files (*.conf, *.xml, *.properties) in the conf
directory that comes with the binary distribution. However some of them
appear to be either redundant or in conflict with each other. Which of these
files are actually needed?

I am using Tomcat on IIS 4.0.

Any thoughts would be appreciated.

Thanks in advance,
Toby

RE: Tomcat contexts.

Posted by Toby Piper <tp...@CompCraft.com>.
Tried that, didn't seem to help.

Thanks

> -----Original Message-----
> From: jesus sosa iglesias [mailto:jsosa@imp.mx]
> Sent: Friday, July 14, 2000 1:40 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Tomcat contexts.
>
>
> I ear someday in this list.  You have to stop and restart the IIS
> Administrator.
>
>
> Toby Piper wrote:
>
> > I figured it out. It seems that I have to re-boot to get (I guess) the ISAPI
> > filter to serve the contexts. Just stopping and just restarting IIS
> didn't seem
> > to do it. However when I reboot THEN all of the contexts that appear in the
> > Tomcat DOS window are served.
> >
> > Anybody know how to really kill the ISAPI DLL filter w/o having to
> reboot? I'm
> > assuming that NT isn't removing it from memory when IIS is stopping.
> > It might be something else that's sticking around in memory but
> that seems like
> > the most likely culprit to me.
> >
> >   -----Original Message-----
> >   From: Toby Piper [mailto:tpiper@CompCraft.com]
> >   Sent: Thursday, July 13, 2000 9:11 AM
> >   To: tomcat-user@jakarta.apache.org
> >   Subject: Tomcat contexts.
> >
> >   Hi All,
> >
> >   I have Tomcat sort of working but the only context that I can get
> served is
> > the examples that comes with Tomcat. I have tried adding other
> contexts in the
> > different config files. Nothing seems to work.
> >
> >   If I add my servlets to the examples directory they will run fine
> there but
> > not if in a different context. I can't even seem to get it to serve
> static pages
> > in a different context.
> >
> >   Looking at the Tomcat startup output it shows that it is loading
> the various
> > contexts but won't actually serve them.
> >
> >   There are a bunch of config files (*.conf, *.xml, *.properties)
> in the conf
> > directory that comes with the binary distribution. However some of
> them appear
> > to be either redundant or in conflict with each other. Which of
> these files are
> > actually needed?
> >
> >   I am using Tomcat on IIS 4.0.
> >
> >   Any thoughts would be appreciated.
> >
> >   Thanks in advance,
> >   Toby
>


Re: Tomcat contexts.

Posted by jesus sosa iglesias <js...@imp.mx>.
I ear someday in this list.  You have to stop and restart the IIS Administrator.


Toby Piper wrote:

> I figured it out. It seems that I have to re-boot to get (I guess) the ISAPI
> filter to serve the contexts. Just stopping and just restarting IIS didn't seem
> to do it. However when I reboot THEN all of the contexts that appear in the
> Tomcat DOS window are served.
>
> Anybody know how to really kill the ISAPI DLL filter w/o having to reboot? I'm
> assuming that NT isn't removing it from memory when IIS is stopping.
> It might be something else that's sticking around in memory but that seems like
> the most likely culprit to me.
>
>   -----Original Message-----
>   From: Toby Piper [mailto:tpiper@CompCraft.com]
>   Sent: Thursday, July 13, 2000 9:11 AM
>   To: tomcat-user@jakarta.apache.org
>   Subject: Tomcat contexts.
>
>   Hi All,
>
>   I have Tomcat sort of working but the only context that I can get served is
> the examples that comes with Tomcat. I have tried adding other contexts in the
> different config files. Nothing seems to work.
>
>   If I add my servlets to the examples directory they will run fine there but
> not if in a different context. I can't even seem to get it to serve static pages
> in a different context.
>
>   Looking at the Tomcat startup output it shows that it is loading the various
> contexts but won't actually serve them.
>
>   There are a bunch of config files (*.conf, *.xml, *.properties) in the conf
> directory that comes with the binary distribution. However some of them appear
> to be either redundant or in conflict with each other. Which of these files are
> actually needed?
>
>   I am using Tomcat on IIS 4.0.
>
>   Any thoughts would be appreciated.
>
>   Thanks in advance,
>   Toby

RE: Tomcat contexts.

Posted by Toby Piper <tp...@CompCraft.com>.
I figured it out. It seems that I have to re-boot to get (I guess) the ISAPI
filter to serve the contexts. Just stopping and just restarting IIS didn't seem
to do it. However when I reboot THEN all of the contexts that appear in the
Tomcat DOS window are served.

Anybody know how to really kill the ISAPI DLL filter w/o having to reboot? I'm
assuming that NT isn't removing it from memory when IIS is stopping.
It might be something else that's sticking around in memory but that seems like
the most likely culprit to me.


  -----Original Message-----
  From: Toby Piper [mailto:tpiper@CompCraft.com]
  Sent: Thursday, July 13, 2000 9:11 AM
  To: tomcat-user@jakarta.apache.org
  Subject: Tomcat contexts.


  Hi All,

  I have Tomcat sort of working but the only context that I can get served is
the examples that comes with Tomcat. I have tried adding other contexts in the
different config files. Nothing seems to work.

  If I add my servlets to the examples directory they will run fine there but
not if in a different context. I can't even seem to get it to serve static pages
in a different context.

  Looking at the Tomcat startup output it shows that it is loading the various
contexts but won't actually serve them.

  There are a bunch of config files (*.conf, *.xml, *.properties) in the conf
directory that comes with the binary distribution. However some of them appear
to be either redundant or in conflict with each other. Which of these files are
actually needed?

  I am using Tomcat on IIS 4.0.

  Any thoughts would be appreciated.

  Thanks in advance,
  Toby


RE: Tomcat contexts.

Posted by "Rob S." <rs...@home.com>.
Would you be able to paste the relevant portion(s) of your server.xml and
httpd.conf files?

Have you checked the $TOMCAT_HOME/logs directory?  Specifically the
tomcat.log file - it tells you which Context(s) are being loaded.

You should also be using Tomcat 3.2 beta.  Fixes lots of stuff.

- r
  -----Original Message-----
  From: Toby Piper [mailto:tpiper@CompCraft.com]
  Sent: July 13, 2000 9:11 AM
  To: tomcat-user@jakarta.apache.org
  Subject: Tomcat contexts.


  Hi All,

  I have Tomcat sort of working but the only context that I can get served
is the examples that comes with Tomcat. I have tried adding other contexts
in the different config files. Nothing seems to work.

  If I add my servlets to the examples directory they will run fine there
but not if in a different context. I can't even seem to get it to serve
static pages in a different context.

  Looking at the Tomcat startup output it shows that it is loading the
various contexts but won't actually serve them.

  There are a bunch of config files (*.conf, *.xml, *.properties) in the
conf directory that comes with the binary distribution. However some of them
appear to be either redundant or in conflict with each other. Which of these
files are actually needed?

  I am using Tomcat on IIS 4.0.

  Any thoughts would be appreciated.

  Thanks in advance,
  Toby