[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Tomcat 4.0.4 on RAQ4
- Subject: Re: [cobalt-developers] Tomcat 4.0.4 on RAQ4
- From: Michele Neylon -Blacknight Solutions <info@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu Jul 25 19:07:02 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
At 18.11 25/07/2002 -0700, you wrote:
Look in the archives for the post I made Tuesday, the 23rd. I pasted an
entire server.xml file and just about everything else needed to get
Tomcat up and running.
I do not use port 8080 or talk to Tomcat directly so that part is left
out. The only thing that is left is what is needed to work with Apache.
Since I mainly use Apache, and have it forward the java stuff to Tomcat
via mod_jk.
Check that out and let me know if you have further issues.
Thanks for the swift reply
I tried using your server.xml, but I'm still getting 404s when I shouldn't do.
I tarred the examples directory from Jakarta and put it into a virtual site
- most of it works, though not all.
A simple jsp file one level above the copied 'examples' directory does not
work - I get a Tomcat 404 error.
The only conclusion I can come up with is that tsomething leftover from the
previous installation of Tomcat is screwing things up (I had the Cobalt
version of Tomcat installed originally)
In httpd.conf I have:
<VirtualHost XXX.XXX.XXX.XX>
ServerName www.somedomain.com
ServerAdmin site2
DocumentRoot /home/sites/site2/web
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JKMount /servlet ajp13
JKMount /servlets/* ajp13
JkMount /examples/servlets/* ajp13
</VirtualHost>
and at the bottom:
JkWorkersFile "/home/java/jakarta-tomcat-4.0.4/conf/jk/workers.properties"
JkLogFile "/home/java/jakarta-tomcat-4.0.4/logs/mod_jk.log"
JkMount /*.jsp ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /cocoon ajp13
JkMount /cocoon/* ajp13
JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13
JkMount /webdav ajp13
JkMount /webdav/* ajp13
What am I missing? If Tomcat was not intercepting ANY of the jsp pages I'd
almost feel happier... because I'd know it was completely wrong
Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.