Is the "tomcat" your worker name in tomcat's worker file? <br><br><pre>JKMount /student tomcat<br><br>JKMount /student/* tomcat</pre> <br>Sarkhan Elkhanzade<br><br><div class="gmail_quote">On Thu, Jan 7, 2010 at 6:52 PM, Josh More <span dir="ltr"><<a href="mailto:morej@alliancetechnologies.net">morej@alliancetechnologies.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yep. I worked with Tomcat about four years ago.<br>
<br>
Then I stopped.<br>
<br>
I was happier then.<br>
<br>
More seriously, when I used it, I just did proxies to the other port.<br>
It may not scale as well, but it was a lot simpler. I think I get my<br>
hands on a similar configuration that I did for JBoss, if you want to<br>
look at doing it that way.<br>
<br>
<br>
<br>
<br>
<br>
<br>
-Josh More, RHCE, CISSP, NCLP, GIAC<br>
<a href="mailto:morej@alliancetechnologies.net">morej@alliancetechnologies.net</a><br>
515-245-7701<br>
<br>
>>> "Mathew R. Phillips" <<a href="mailto:mathew.phillips@wartburg.edu">mathew.phillips@wartburg.edu</a>> 01/07/10 6:39 PM<br>
<div class="im">>>><br>
<br>
Does anyone on here have experience running tomcat through the httpd<br>
server? I've been banging my head against the wall all day trying to get<br>
it to work and I'm getting a 404 resource not found error from tomcat on<br>
my page so I know its talking to httpd. The jsp page im trying to load<br>
is in the autoloaded webapps folder in my tomcat install dir. My<br>
virtualhost file looks like:<br>
<br>
<VirtualHost *:80><br>
DocumentRoot /var/www/hosp<br>
ServerName hospital<br>
<br>
</div><div class="im"> Options FollowSymLinks +Indexes<br>
AllowOverride None<br>
<br>
</div><div class="im"> Alias /student/ /usr/local/tomcat/webapps/examples/<br>
<br>
JKMount /student tomcat<br>
JKMount /student/* tomcat<br>
<br>
# Possible values include: debug, info, notice, warn, error,<br>
crit,<br>
# alert, emerg.<br>
LogLevel debug<br>
ErrorLog /var/log/apache2/hosp_error.log<br>
CustomLog /var/log/apache2/hosp_access.log combined<br>
<br>
<br>
</div><div class="im">I'm just trying to get the sample jsp's that come with tomcat to be<br>
served with httpd before I try and get my webapps working. I feel like<br>
im really close and I'm just missing something silly.<br>
<br>
Note: when i use <a href="http://hospital:8080/examples/" target="_blank">http://hospital:8080/examples/</a> it works just fine<br>
because the tomcat server is running on that port so I know the files<br>
can be served.<br>
<br>
Matt<br>
<br>
</div>_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
</blockquote></div><br>