aspose file tools*
The moose likes Tomcat and the fly likes problem with tomcat settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with tomcat settings" Watch "problem with tomcat settings" New topic
Author

problem with tomcat settings

Veena Pointi
Ranch Hand

Joined: Jun 20, 2002
Posts: 442
In core Serclets and JSP by marty hall 2nd edition book it is given ,to uncomment line servlet-mapping element in web.xml file in order to enable invoker servlet.But when I do that and verify by running command catalina run from c:\tomcat\bin directory I am getting the following error.
SEVERE: Parse error in default web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name invoker
Please Can anybody help me out?
Veena


SCJP1.4
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
*Winston Churchill
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24965

A known, and unfortunately, "won't fix" bug.
Veena Pointi
Ranch Hand

Joined: Jun 20, 2002
Posts: 442
Hello Mike,
Thanks for the reply.Does this mean we can't use Tomcat5.0 yet?Which version of Tomcat do u suggest to run Servlet2.4 and Jsp2.0 applications?
Thank you very much again.
Veena
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I suggest 5.0.16, but I also *Strongly* suggest you ignore the advice to enable the invoker servlet.

There is a FAQ on this site (and on Tomcat's FAQ) detailing why the invoker is a bad idea.
http://test.javaranch.com/wiki/view?InvokerServlet

You will need to then modify any examples in the book or tutorial you're using to use a servlet mapping, rather than the invoker mapping.

I'm also moving this to Apache/Tomcat
Veena Pointi
Ranch Hand

Joined: Jun 20, 2002
Posts: 442
Mike,
Please read the following discussion.
http://www.coderanch.com/t/167247/java-Web-Component-SCWCD/certification/page-not-found-error
It is working now after making further changes to web.xml
Veena
[ January 06, 2004: Message edited by: Veena Point ]
[ January 06, 2004: Message edited by: Veena Point ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem with tomcat settings