• 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

Doubt on Invoker Servlet

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys ,i am new to servlets, started yesterday.
Well , while configuring ,when i enabled the 'invoker servlet' in 'install_dir/conf/web.xml' , the server did not start after i finished up.
Also, if i keep it disabled (invoker servlet) , then jsp's and html files are running BUT servlets are not running.
I was using 'http:/localhost/servlet/ServletName' URL.
I am using Tomcat version 6.0.35.
Kindly guide!
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Are there any errors in your Tomcat logs?
 
gawacs Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how should i know that?
I mean there are certain .txt files in it.
 
gawacs Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry.
yeah, there are errors in .txt files .
How they occured and are they related to the problems i mentioned?

Thanks
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

when i enabled the 'invoker servlet' in 'install_dir/conf/web.xml' , the server did not start after i finished up.



Probably you made an error in editing web.xml - incorrect syntax will cause a parsing error preventing the server from starting.

Exactly how did you install tomcat - as a service or as an application?

Exactly how are you starting Tomcat?

Bill
 
gawacs Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As of now server is getting started , but as i said , sevlets are not running on it and i am getting 'http status 404' error.
Everything else is working fine.i mean i am quite able to run jsp's .Servlets are not running .
Is there anything related to 'invoker servlet' enabling?
 
gawacs Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are errors in .txt files in 'logs'. Is that a possible cause for the mentioned problem?
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's impossible to say without knowing what those errors are.
 
Rob Spoor
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And without seeing the servlet and servlet-mapping elements of your web.xml file.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Reading the Invoker servlet FAQ would be a good idea.

Bill
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic