Hi, I am havig a bit of trouble in  the conversion from jserve + gnujsp to tomcat with
libapache-mod-jk. 

Apache seems to be working fie, the tomcat examples are working fine, but I can't 
access .jsp pages
from my apache virtualhosts. 

For example if I had host admin.warpspeed.net.au set up as follows 

<VirtualHost 203.45.208.18:80>
ServerName admin.warpspeed.net.au
  DocumentRoot /home/users/admin/www/public_html
  ErrorLog /home/users/admin/www/logs/error.log
  TransferLog /home/users/admin/www/logs/access.log
  ScriptAlias /cgi-bin/ "/home/users/admin/www/cgi-bin/"
  JkMount /*.jsp ajp13
  JkMount /servlet/* ajp13
  JkMount /*.xml ajp13
  AddType text/xml .xml
</VirtualHost>

LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so

<IfModule mod_jk.c>
JkWorkersFile /etc/apache/mod_jk/workers.properties
Include /etc/apache/mod_jk/tomcat-auto
</IfModule>


which is how I have it configured, and I had a test.jsp page under
/home/users/admin/www/public_html/test.jsp 

then shouldn't I be able to browse to http://admin.warpspeed.net.au/test.jsp 

note: I can get to http://admin.warpspeed.net.au/index.html with no worries. 

When I browse to my test.jsp page I get an apache 500 error "internal server error". 

I checked the logs in /var/log/apache/error.log /home/users/admin/www/logs/error.log 
and
/var/log/tomcat/* and there didn't seem to be any reason why I'd be getting such an 
error. 

Just some system info:
I am running a Debian Linux system, kernel 2.4.4, and the following packages.
ii  apache         1.3.19-1       Versatile, high-performance HTTP server
ii  apache-common  1.3.19-1       Support files for all Apache webservers
ii  java-common    0.7            Base of all Java packages
ii  libxerces-java 1.3.1-1        Validating XML parser for Java
ii  tomcat         3.2.1-1        Java Servlet 2.2 engine with JSP 1.1 support
ii  libapache-mod-jk 3.2.1-1        Apache connector for Tomcat servlet engine
ii  j2sdk1.3       1.3.0-2        Blackdown Java(TM) 2 SDK, Standard Edition
ii  jikes          1.12.20010116- Fast Java compiler adhering to language and 


I basicly want any *.jsp page under any apache virtualhost to be processed by tomcat.

What might I have done wrong in my config get this 500 error?


-- 
Mitchell Smith

Blitz Technology

[EMAIL PROTECTED]



Experience is that marvelous thing that enables you to recognize a
mistake when you make it again.  -- F. P. Jones

Reply via email to