• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on Invoker Servlet

 
gawacs Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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!
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
There are errors in .txt files in 'logs'. Is that a possible cause for the mentioned problem?
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's impossible to say without knowing what those errors are.
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reading the Invoker servlet FAQ would be a good idea.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic