>
> Have u checked ur web.xml configuration?
> The error sounds like Tomcat facing problem finding ur servlet class
> file...
>
I have. The servlets I am trying to deploy (err, map?) do not have a package
associated with them. My class files live in the
${catalina.home}/webapps/servlet/WEB-INF/classes directory.
My ${catalina.home}/webapps/servlet/WEB-INF/web.xml looks like this (minus
the xml identifier and DOCTYPE tags at the top) -
<web-app>
<servlet>
<servlet-name>FLCUpEvDisplayServlet</servlet-name>
<servlet-class>FLCUpEvDisplayServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FLCUpEvDisplayServlet</servlet-name>
<url-pattern>/FLCUpEvDisplayServlet</url-pattern>
</servlet-mapping>
</web-app>
-----Original Message-----
From: foo shyn [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 8:52 PM
To: Tomcat Users List
Subject: Re: (newb) Tomcat servlet mapping problem
Have u checked ur web.xml configuration?
The error sounds like Tomcat facing problem finding ur servlet class file...
----- Original Message -----
From: "Darren Hall" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[email protected]>; <[EMAIL PROTECTED]>
Sent: Monday, January 23, 2006 9:43 AM
Subject: RE: (newb) Tomcat servlet mapping problem
>
> Have you tried accessing the servlet directly via tomcat yet?
> If going through tomcat itself gives an error then work on fixing that >
> error first before worrying
> about mod_jk.
>
> -Steve O.
>
I had not, but that was an excellent idea (kinda upset I didn't think of
that one myself =P).
I get the same error when trying to execute the servlet directly through
Tomcat. The same information is repeated in the log files. Unfortunately, I
don't have great logging (I may have it configured wrong - everything goes
to localhost.log and catalina.log, nothing goes to stdout.log or stderr.log
at all) so it makes fixing this problem that much more fun/challenging!
-----Original Message-----
From: Steve Ochani [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 8:37 PM
To: Darren Hall; 'Tomcat Users List'
Subject: RE: (newb) Tomcat servlet mapping problem
Date sent: Sun, 22 Jan 2006 19:55:36 -0500
From: Darren Hall <[EMAIL PROTECTED]>
Subject: RE: (newb) Tomcat servlet mapping problem
To: 'Tomcat Users List' <[email protected]>
Send reply to: Tomcat Users List <[email protected]>
>
> So, I've made some progress (I think), but now I'm getting a new error
> -
>
> 2006-01-22 19:21:01 StandardWrapperValve[FLCUpEvDisplayServlet]:
> Allocate exception for servlet FLCUpEvDisplayServlet
> javax.servlet.ServletException: Wrapper cannot find servlet class
> FLCUpEvDisplayServlet or a class it depends on
>
> So.... did I hit my servlet, or did the classloader fail to locate
> it??
Have you tried accessing the servlet directly via tomcat yet?
If going through tomcat itself gives an error then work on fixing that error
first before worrying
about mod_jk.
-Steve O.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]