Padhu, Thank you for your help. My errors were cause due to the invoker servlet not being turned on. In the version of Tomcat that I use, it was not turned off by default, so I was not aware of that change. Since the invoker servlet is turned off by default, is there a security concern regarding it or is there a new means of starting servlets that Tomcat is trying to use?
Fawaz On Thu, 7 Nov 2002, Padhu Vinirs wrote: > 1. Do you have the invoker servlet on ? It is switched off by default. > The invoker servlet is used for accessing servlets using the URI of type > /YourWebApp/servlet/ClassName. If yes, then you should be able to access > using a url like http:///WebUrl/YourWebApp/servlet/ClassName. > > 2. If no to (1), then put a servlet definition and mapping in web.xml > for your servlet class. > > BTW, it works in the "example" webapp, because there is a filter and a > servlet mapping defined that maps /servlet/* to the invoker servlet. > Check the web.xml file in the examples webapp. > > > -- padhu > > > > Fawaz Ahmad wrote: > > >Milt, > > > >the actual path for the class files is WebOEAdmin/WEB-INF/classes > >I have a web.xml file. Aside from my servlet, i created a simple > >test servlet that prints hellow world. It works fine from the example > >folder, but not from my folder. I have the path set in server.xml as > >well. I have tried restarting it though the manager page as well as by > >restarting tomcat. I have not had any luck with either. What's also > >wierd is that my Tomcat Administration page doesn't work properly either. > >It displays the jsp stuff, but then when you click on anything it doesn't > >bring up the servlet, just a lot of errors. Tomcat finds the index.html > >file in my directory, but it doesn't seem bring up the servlet. I get the > >error: > > > > The requested resource (/WebOEAdmin/servlet/WebOEAdmin) is not available. > > > >each time. Any suggestions? > > > >Fawaz > > > > > >On Thu, 7 Nov 2002, Milt Epstein wrote: > > > > > > > >>On Thu, 7 Nov 2002, Fawaz Ahmad wrote: > >> > >> > >> > >>>Padhu, > >>> > >>>I do have a web.xml file in my directory. It actually has some > >>>parameters in it as well. My classes are in the /web-inf/classes > >>>folder. However, I still can not get it to run. > >>> > >>> > >>Is it really "web-inf", or "WEB-INF" -- because case matters. > >> > >>You posted very little information in your initial query, and if > >>you're going to expect people to give you decent suggestions, you're > >>going to need to post a lot more details. > >> > >> > >> > >> > >>>On Thu, 7 Nov 2002, Padhu Vinirs wrote: > >>> > >>> > >>> > >>>>Create a default web.xml in WEB-INF and put your class in > >>>>WEB-INF/classes. Reload the web app, either using the manager web app, > >>>>or restarting Tomcat. > >>>> > >>>>-- padhu > >>>> > >>>> > >>>> > >>>>Fawaz Ahmad wrote: > >>>> > >>>> > >>>> > >>>>>Hello, > >>>>> > >>>>>I am having major problems running servlets, and can not seem to solve! > >>>>>I am running Tomcat on Win2K. I have Tomcat installed and all the > >>>>>examples including the servlets running fine. Despite this, I can not get > >>>>>my servlet to run in my own directory. My servlet runs fine in the > >>>>>examples directory. However, it will not run in my directory. I have my > >>>>>directory defined in server.xml: > >>>>> > >>>>><Context path="/WebOEAdmin" docBase="WebOEAdmin" debug="0" > >>>>>reloadable="true" /> > >>>>> > >>>>>Does anyone know why I can not get the servlet to run? > >>>>> > >>>>>Thanks, > >>>>> > >>>>>Fawaz > >>>>> > >>>>>___________________________________________________________________________ > >>>>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >>>>>of the message "signoff SERVLET-INTEREST". > >>>>> > >>>>>Archives: http://archives.java.sun.com/archives/servlet-interest.html > >>>>>Resources: http://java.sun.com/products/servlet/external-resources.html > >>>>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>___________________________________________________________________________ > >>>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >>>>of the message "signoff SERVLET-INTEREST". > >>>> > >>>>Archives: http://archives.java.sun.com/archives/servlet-interest.html > >>>>Resources: http://java.sun.com/products/servlet/external-resources.html > >>>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > >>>> > >>>> > >>>> > >>>> > >>>___________________________________________________________________________ > >>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >>>of the message "signoff SERVLET-INTEREST". > >>> > >>>Archives: http://archives.java.sun.com/archives/servlet-interest.html > >>>Resources: http://java.sun.com/products/servlet/external-resources.html > >>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > >>> > >>> > >>> > >>Milt Epstein > >>Research Programmer > >>Integration and Software Engineering (ISE) > >>Campus Information Technologies and Educational Services (CITES) > >>University of Illinois at Urbana-Champaign (UIUC) > >>[EMAIL PROTECTED] > >> > >>___________________________________________________________________________ > >>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >>of the message "signoff SERVLET-INTEREST". > >> > >>Archives: http://archives.java.sun.com/archives/servlet-interest.html > >>Resources: http://java.sun.com/products/servlet/external-resources.html > >>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > >> > >> > >> > >> > > > >___________________________________________________________________________ > >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >of the message "signoff SERVLET-INTEREST". > > > >Archives: http://archives.java.sun.com/archives/servlet-interest.html > >Resources: http://java.sun.com/products/servlet/external-resources.html > >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > > > > > > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html