• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with tomcat settings

 
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24965

A known, and unfortunately, "won't fix" bug.
 
Veena Pointi
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike,
Please read the following discussion.
https://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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic