Sorry, I had been so used to doing it that I forgot the context of it -
uriworkermap.properties is required if you are using Tomcat with IIS - see
the Tomcat IIS How To for documentation..  So I assume that if you are
running Tomcat stand alone you would not need to touch this file..

Regarding your other problem (web.xml):

     <servlet>
        <servlet-name>
          HockeyStats
      </servlet-name>
      <servlet-class>
          HockeyStats.Default
      </servlet-class>
    </servlet>

Make sure that you have your fully qualified server class name - 

    <servlet>
        <servlet-name>MyServlet</servlet-name>
          <servlet-class>com.myurl.packagelist.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/Hockey</url-pattern>
    </servlet-mapping>

And the .class file is located:

../webapps/myapp/WEB-INF/classes/com/myurl/packagelist/MyServlet.class

Whether or not this is completely necessary I don't know, but it works for
me :)

Good luck!
Steve

-----Original Message-----
From: Joe Emenaker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 4:02 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I add another webapp?


> Are you sure about this??  This is the first mention I've ever heard of
> uriworkermap.properties in all the mailing list discussions about adding
new
> contexts and servlets.  Where is this documented??

I'm a little suspicious as well. Mine is being auto-generated somehow from
other config files and it's not in XML.... so my guess is that there's some
internal tomcat service that hasn't been taught XML yet and still uses an
old file format. Somewhere, there seems to be something that translates your
server.xml and other files into a uriworkermap.properties that has what it
needs.

I searched google for uriworkermap.properties and found only 200+ hits and
most of those were posts from people who were listing their directory
contents....

- Joe

Reply via email to