File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Exception for CGIServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Servlets
Bookmark "Exception for CGIServlet" Watch "Exception for CGIServlet" New topic

Exception for CGIServlet

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
What will be cause for this error:

I am using Tomcat..
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Just a guess, but are you either hot-deploying the application or modifying the code while it is running?

If so, requests coming through while the re-load is in progress can access the site in an intermediate (and unstable) state of loading. I have had Tomcat fail with all sorts of strange classes not found, including some of the core javax.servlet ones.
Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
No I am not hot deploying...
While starting the tom,cat itself, I am getting this error and one strange thing is it's coming wjile I am starting the tomcat thru' ecilpse.

For all the context root, this error coming.. for example:

If I am starting the tomcat thru' tomcat\bin>startup ..then I am not getting this error..

But I have given reload = true in the context file and also modifing some codes while running..but this error is not coming at that instance..only when I am starting.. and due to this error coming and starting of tomcat itself, the application is not deploying properly..
[ February 01, 2007: Message edited by: Mark Henryson ]
Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
Any help for my post..
I agree. Here's the link:
subject: Exception for CGIServlet