A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Servlet problems thru mod_jk...
Joined: Jun 26, 2002
Aug 23, 2002 15:47:00
I'm having a problem with some
that I've got running. If I view them thru
, they are served properly:
however, if I run them thru mod_jk, apache returns a 404, saying that LMF.Connect does not exist:
I've got the following in the web.xml file for my LMS webapp:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>LMS</servlet-name> <servlet-class>LMS</servlet-class> </servlet> <servlet-mapping> <servlet-name>LMS</servlet-name> <url-pattern>/LMS/servlet/*</url-pattern> </servlet-mapping> <filter> <filter-name>Require102Filter</filter-name> <filter-class>filters.valid102UserFilter</filter-class> </filter> <filter-mapping> <filter-name>Require102Filter</filter-name> <url-pattern>/servlet/*</url-pattern> </filter-mapping> </web-app>
The webapp is set up outside of the $CATALINA_HOME/webapps.
Clearly, I'm missing something, but I don't know what it is. Can anyone be of assistance? Do I need to provide more information?
I agree. Here's the link:
subject: Servlet problems thru mod_jk...
Requested resource not available error
web.xml within tomcat
HTTP Status 404 when trying to reach a servlet
Servlet not showing up in Browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015