I am desperate for help in getting Tomcat to run my servlet.  I have read
all of the documentation and tried to follow the rules, but Tomcat just does
not run the servlet.

Under 4.0.3 I get the following log entries:

2002-03-17 14:52:33 StandardHost[localhost]: Installing web application at
context path /Census from URL
jar:file:D:\jakarta-tomcat-4.0.3\webapps\Census.war!/
2002-03-17 14:52:34 WebappLoader[/Census]: Deploying class repositories to
work directory D:\jakarta-tomcat-4.0.3\work\localhost\Census
2002-03-17 14:52:34 StandardManager[/Census]: Seeding random number
generator class java.security.SecureRandom
2002-03-17 14:52:34 StandardManager[/Census]: Seeding of random number
generator has been completed
2002-03-17 14:52:34 StandardWrapper[/Census:default]: Loading container
servlet default
2002-03-17 14:52:34 default: init
2002-03-17 14:52:34 StandardWrapper[/Census:invoker]: Loading container
servlet invoker
2002-03-17 14:52:34 invoker: init
2002-03-17 14:52:34 jsp: init
2002-03-17 14:52:55
StandardWrapper[:org.apache.catalina.INVOKER.Census.CensusQuery]: Marking
servlet org.apache.catalina.INVOKER.Census.CensusQuery as unavailable
2002-03-17 14:52:55 invoker: Cannot allocate servlet instance for path
/servlet/Census.CensusQuery
javax.servlet.ServletException: Wrapper cannot find servlet class
Census.CensusQuery or a class it depends on

Tomcat expands my Census.war file as I expect so my class file is at:
D:\jakarta-tomcat-4.0.3\webapps\Census\WEB-INF\classes\Census\CensusQuery.cl
ass

so why can't Tomcat find the class?  Based upon the time stamps I believe
that the problem was not detected until I actually tried to access the
servlet.  I believe my init method was not invoked because it generates log
entries which do not appear in the file.

Jim Cobban   [EMAIL PROTECTED]
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to