ok, this must be something to do with 4.1+ only, I didn't include any mappings in Tomcat 4.0.2 and everything worked fine - as I mentioned before I am in the process of upgrading from 4.0.2 to 4.1.18, and only now ran into this problem...
thanks again, Geoff -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 5:27 PM To: 'Tomcat Users List' Subject: RE: Can't find servlet Looks to me like you are missing all of your servlet mappings. A basic servlet entry in web.xml looks like this: <servlet> <servlet-name>SomeServlet</servlet-name> <servlet-class>SomeServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>SomeServlet</servlet-name> <url-pattern>/SomeURLPattern</url-pattern> </servlet-mapping> You have to do that for each and every servlet, unless you want to use the Invoker servlet, which is unwise because of the security implications. I'm more sys-admin than developer, so there's probably more to it that one of the real developers on this list can explain. John > -----Original Message----- > From: Geoff Peters [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 13, 2003 4:19 PM > To: Tomcat Users List > Subject: RE: Can't find servlet > > > John - You solved another one of my problems that I wasn't > even sure that I had! (did that make sense??) If I uncomment > that servlet-mapping block for the invoker my servlet works, > if not, my servlet throws the "servlet not available" error. > The funny thing is I have declared all of my servlets in my > application web.xml, do I need to define these in the > /conf/web.xml as well? > > Here is my application web.xml, am I missing anything? > > THANKS!!!!!!!!!!! > > Geoff > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > > <display-name>iFax Development</display-name> > <description> > iFax Development > </description> > > <servlet> > > <servlet-name>send</servlet-name> > <display-name>IfaxSend</display-name> > <servlet-class>IfaxSend</servlet-class> > <init-param> > <param-name>driver</param-name> > > <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> > </init-param> > <init-param> > <param-name>uploadDir</param-name> > > <param-value>d:\Work_Files\jakarta-tomcat-4.1.18\webapps\IfaxS > end\temp</param-value> > </init-param> > <init-param> > <param-name>odbc</param-name> > <param-value>jdbc:odbc:replixdb</param-value> > </init-param> > <init-param> > <param-name>dbUser</param-name> > <param-value>user</param-value> > </init-param> > <init-param> > <param-name>dbPass</param-name> > <param-value>pass</param-value> > </init-param> > > </servlet> -- 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]>