tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "joe" <joe....@sgweb.net>
Subject Thanks to John and Geralyn
Date Sun, 01 Jun 2003 06:53:23 GMT
Hi john and geralyn, thanks for the warmly and prompt reply. I think now at
least i know what is going on.However, i'm still unsure of the following
things:

1) Based on John wonderful's Howto, i think you are using both mod_jk.so and
mod_jk-2.0.43.so. I was wondering is it a typo or this should be the way.
Kind of confused here when i saw version appearing on it.

2) I had tried downloading mod_jk2 source connector from jakarta website but
i have problem building the connectors. I tried to build by first modifying
the workers.properties to suits my configuration and then followed by
invoking 'ant' command on it. It gave me this error, saying
/usr/local/tomcat-jk2-connector/coyote/.... not found. My check with the
folder is that there isn't such a folder named coyote. What should be the
proper way to build mod-jk2? or can i just use the binary version available
on apache website which is meant for apache 2.0.42, wherelse i'm using
2.0.46?

Regards,
Joe


----- Original Message ----- 
From: "Geralyn M Hollerman" <gmh2441@louisiana.edu>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, May 30, 2003 8:56 PM
Subject: Re: Need Help in clearing my doubts


> Joe wrote:
> > According to one of the mail which I have received, I saw him putting
> > this in apache : httpd.conf:
> >
> > ========================================================================
> > ====
> >   JkWorkersFile
> > /home/gmh2441/uPortal/Tomcat_4-0-4/conf/workers.properties
> >   JkLogFile /home/gmh2441/uPortal/Tomcat_4-0-4/logs/mod_jk.log
> >   JkLogLevel debug
> >   JkOptions +ForwardDirectories
> >   Alias /examples /home/gmh2441/uPortal/Tomcat_4-0-4/webapps/examples
> >   <Directory "/home/gmh2441/uPortal/Tomcat_4-0-4/webapps/examples">
> >         Options Indexes FollowSymLinks
> >   </Directory>
> >   <Location "/examples/WEB-INF/">
> >     AllowOverride None
> >     deny from all
> >   </Location>
> > ========================================================================
> > ====
> >
> > I tried putting the same thing into my httpd.conf, and now accessing the
> > example folder on port 80 works!.
>
> Joe,
> 'gmh2441' is me! That was an effort of mine, based on something I'd read
> - I've been to John Turner's site and tried his HOW-TO, but since we
> weren't using the exact same versions, I wasn't sure whether it would
> work or not. What I have read since, in an Apache-Tomcat book at a local
> bookstore, was that I needed that <Directory> entry in there. It works
> for you? That's GREAT! It didn't for me - but then again, there may've
> been something else unintended in there - I'll have to look again. I can
> get static files to display, but I can't get .jsps or .class files to
> execute - I see from my apache log that every request gets a 400 (bad
> request) response.
>
>
> > My question is :
> >
> > 1) Based on the above config, it is asking apache to 're-direct' this
> > folder to the tomcat container and thus run on it. In that case, is
> > apache pushing all the jobs to tomcat instead?. What if some of the
> > files in this folder contains some html and is tomcat or apache
> > processing it??
>
> I think there was a "JkMount" directive after all that - I believe that
> would decide which files go to Apache and which to Tomcat.
>
> > 2) Secondly, if I were to have more folders which I need to publish on
> > the web, does it mean that I have to add or of it on this config file in
> > order for it to work?
>
> Try this URL for the answer to this - it's a sample mod_jk.conf file
> from John Turner.
>
> http://www.johnturner.come/howto/mod_jk_conf.html
>
> Basically, if I understand your question right, the answer is yes.
>
> > 3) I would appreciate if there are some kind soul could give me some URL
> > on how to utilize apache tomcat to process both static and jsp content.
>
> Well, for starters, John Turner's site (http://www.johnturner.com) was
> excellent; there were some answers at the apache site
> (http://jakarta.apache.org/tomcat/); some more good advice at
> http://www.serverwatch.com/tutorials; and at
> http://www.oreillynet.com/pub/a/onjava/2002/11/20/tomcat.html. There was
> also something I found useful, about mod_jk2, at
> http://www.pubbitch.org/jboss/mod_jk2.html. But the main thing I found
> was that about every site I went to, I had to REALLY look around to find
> what I needed - and more often than not, I had to settle for a partial
> answer to any question I had.
>
> HTH!
>
> -- 
> Lynn Hollerman.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message