File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Doubt on Invoker Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Doubt on Invoker Servlet " Watch "Doubt on Invoker Servlet " New topic
Author

Doubt on Invoker Servlet

gawacs Kumar
Greenhorn

Joined: Feb 26, 2012
Posts: 5
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

Joined: Oct 27, 2005
Posts: 19722
    
  20

Welcome to the Ranch!

Are there any errors in your Tomcat logs?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
gawacs Kumar
Greenhorn

Joined: Feb 26, 2012
Posts: 5
how should i know that?
I mean there are certain .txt files in it.
gawacs Kumar
Greenhorn

Joined: Feb 26, 2012
Posts: 5
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

Joined: Mar 22, 2000
Posts: 12806
    
    5
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

Joined: Feb 26, 2012
Posts: 5
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

Joined: Feb 26, 2012
Posts: 5
There are errors in .txt files in 'logs'. Is that a possible cause for the mentioned problem?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
That's impossible to say without knowing what those errors are.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19722
    
  20

And without seeing the servlet and servlet-mapping elements of your web.xml file.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
Reading the Invoker servlet FAQ would be a good idea.

Bill
 
Don't get me started about those stupid light bulbs.
 
subject: Doubt on Invoker Servlet