The default invoker servlet is disabled by default in 4.1.12. This comes up quite a bit, check the archives for yesterday, AFAIK it was answered then.
http://archives.real-time.com/pipermail/tomcat-users/2002-December/thread.ht ml#88025 John > -----Original Message----- > From: Gopi Mandava [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 12:51 PM > To: [EMAIL PROTECTED] > Subject: Problem running in Tomcat 4.1.2 - works fine in 4.0 > > > Hi, > > I'm trying to port my application to 4.1.2 from 4.0. I added > my application > context to the server.xml file. When I try to access any of > my servlets, I > get an error page with "The requested resource > /xpm/servlet/MyServlet not > available" message. > > I set up a simple application with just the "HelloWorld" > servlet and when I > try to access it, I get the same resource not available > exception. This > works fine in my Tomcat 4.0 setup. I use the same URL: > http://localhost:8080/test/servlet/Hello > > Here is the web.xml I used in both cases: > > ---------------------------- > <?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>My Web Application</display-name> > > <servlet> > <servlet-name>Hello</servlet-name> > <servlet-class>Hello</servlet-class> > </servlet> > </web-app> > --------------------- > > Do I have to add anything extra to web.xml in 4.1.2 to make it work? > > Thanks, > Gopi > > > > -- > 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]>
