On Sat, 6 Jul 2002, karthikeyan wrote: > Hi, > > I believe I have successfully integrated Apache with Tomcat. But > when I type the following url I am getting 404 message > > http://www.gihs.com/date.jsp > > What could be the problem here.
First, you might get better response on the tomcat-users list (available at jakarta.apache.org). Now, the 404 you are getting, is it from Apache or Tomcat? Are there any other relevant messages in any of the logs, apache, tomcat, or mod_jk? What are the complete messages in them related to the request? I don't see anything offhand obviously wrong with what you have below. But looking at those log messages might be revealing. Is tomcat running, and on the right port (8009, as you have in your jk workers file)? > Here's what I put in httpd.conf > > --------------------------- > # Tomcat Configuration starts here > > LoadModule jk_module libexec/mod_jk-3.3-ap13-eapi.so > > JkWorkersFile /usr/local/jakarta-tomcat-4.0.4/conf/workers.properties > JkLogFile /usr/local/apache/logs/mod_jk.log > JkLogLevel error > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > > > # Tomcat Configuration ends here > > #START_gihs.com > <VirtualHost www.gihs.com> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /home/gihs.com/public_html > ServerName gihs.com > > JkMount /*.jsp ajp13 > JkMount /servlet/* ajp13 > > ErrorLog /home/gihs.com/logs/error_log > CustomLog /home/gihs.com/logs/access_log combined > ScriptAlias /cgi-bin/ /home/gihs.com/cgi-bin/ > Alias /icons/ "/usr/local/apache/icons/" > </VirtualHost> > #END_gihs.com > --------------------------- > > Here's the content of my workers.properties > > ---------------------------- > workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4/ > workers.java_home=/usr/local/jdk1.3.1_04 > ps=\ > worker.list=ajp13 > worker.ajp13.port=8009 > worker.ajp13.host=localhost > worker.ajp13.type=ajp13 > ---------------------------- Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
