tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vim m <vim6662...@yahoo.com>
Subject RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1
Date Thu, 23 Jan 2003 19:12:49 GMT
Hello again: John-I was able to start apache2.0.44
now. The required lib file was in a different
directory. Both Apache and Tomcat are running well as
stand alones now. 

After configuring for the mod_jk connectivity I am not
able to access tomcat via apache. I tried accessing
http://thedomainnam/examples. It says file not found.
In the error log of Apache I found this:
[Thu Jan 23 13:23:50 2003] [warn] Init: Session Cache
is not configured [hint: \SSLSessionCache]


I did the following for connecting the two:
1.Put mod_jk-2.0.43 in usr/local/apache2/modules.
2.Included the following in httpd.conf
Include
/usr/local/tomcat/jakarta-tomcat-4.1.18-LE-jdk14/conf/auto/mod_jk.conf
3.Changed Servername="thedomainname". This was
actually commented out by default.
4.Added the following to server.xml in tomcat/conf:
<Listener
className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="/usr/local/apache2/modules/mod_jk-2.0.43.so" />
<Listener
className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true" forwardAll="false"
modJk="/usr/local/apache2/modules/mod_jk-2.0.43.so" />
Changed localhost to "thedomainname".
5.Got the following in workers.properties file 
/////////////////
# BEGIN workers.properties
#
# Setup for apache system
#
# (optional) make this equal to CATALINA_HOME
workers.tomcat_home=/usr/local/tomcat/jakarta-tomcat-4.1.18-LE-jdk14
#
# (optional) make this equal to JAVA_HOME
workers.java_home=$(JAVA_HOME)
#
ps=/
worker.list=ajp13

# Definition for Ajp13 worker
#
worker.ajp13.port=8009

# change this line to match apache ServerName and Host
name in server.xml
worker.ajp13.host=thedomainname

worker.ajp13.type=ajp13
#
# END workers.properties
////////////////
And restarted both tomcat and apache. I could get the
mod_jk.conf in the auto folder of tomcat/conf.

Where could I have gone wrong? Any help is
appreciated.
Thanks a lot.





--- "Turner, John" <JTurner@AAS.com> wrote:
> 
> I would look for the RPM for 2.0.43 and install
> that.  If you go back a day
> or two in the list archives, I posted the URL for a
> 2.0.43 RPM in response
> to someone else's post.  Unfortunately, I just don't
> have the time right now
> to search for it myself.
> 
> John
> 
> 
> > -----Original Message-----
> > From: vim m [mailto:vim6662000@yahoo.com]
> > Sent: Wednesday, January 22, 2003 5:01 PM
> > To: Tomcat Users List
> > Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration
> on Linux 7.1
> > 
> > 
> > Thanks again. I downloaded httpd-2.0.44.tar.gz and
> > installed Apache.
> > Startup gives me this error, 
> > 
> > /usr/local/apache2/bin/httpd: error while loading
> > shared libraries: libgcc_s.so.1: cannot open
> shared
> > object file: No such file or directory
> > 
> > Where could I download this file? I did a google,
> but
> > could not find anything. Should I download an rpm
> for
> > this and build it? I am a newbie to linux and am
> still
> > on the learning curve.
> > Any help is appreciated. Thanks a lot.
> > 
> > 
> > 
> > --- "Turner, John" <JTurner@AAS.com> wrote:
> > > 
> > > Only if you have a Mac running Linux.
> > > 
> > > John
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: vim m [mailto:vim6662000@yahoo.com]
> > > > Sent: Wednesday, January 22, 2003 4:21 PM
> > > > To: Tomcat Users List
> > > > Subject: RE: Apache2.0.40 Tomcat4.1.18
> Integration
> > > on Linux 7.1
> > > > 
> > > > 
> > > > Dear John: Thanks. I have one more question, 
> > > Would
> > > > this file be the one I should download?
> > > > httpd-2.0.43-powerpc-unknown-linux-gnu.tar.gz.
> > > > 
> > > > Thanks a lot.
> > > > 
> > > > 
> > > > 
> > > > 
> > > > --- "Turner, John" <JTurner@AAS.com> wrote:
> > > > > 
> > > > > That error is about your version of Apache. 
> You
> > > > > need 2.0.42 (preferably
> > > > > 2.0.43) minimum to use that mod_jk.so.  Note
> > > that
> > > > > 2.0.44 was just released
> > > > > but is module-compatible with 2.0.43.
> > > > > 
> > > > > If you can't upgrade your Apache, you will
> have
> > > to
> > > > > roll your own mod_jk from
> > > > > the connector source distribution, available
> in
> > > the
> > > > > same tree as the binary
> > > > > you downloaded.
> > > > > 
> > > > > As far as I know, there is no binary
> available
> > > on
> > > > > the Jakarta site for
> > > > > 2.0.40.
> > > > > 
> > > > > John
> > > > > 
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: vim m [mailto:vim6662000@yahoo.com]
> > > > > > Sent: Wednesday, January 22, 2003 4:00 PM
> > > > > > To: tomcat-user@jakarta.apache.org
> > > > > > Subject: Apache2.0.40 Tomcat4.1.18
> Integration
> > > on
> > > > > Linux 7.1
> > > > > > 
> > > > > > 
> > > > > > Hi:
> > > > > > I would like to integrate Apache2.0.40 and
> > > > > > Tomcat4.1.18 on my computer running Linux
> 7.1.
> > > > > > I downloaded the latest version of mod_jk
> from
> > > > > >
> > > > >
> > > >
> > >
> >
>
here:http://jakarta.apache.org/builds/jakarta-tomcat-connector
> > > > > >
> > > > >
> > >
> s/jk/release/v1.2.2/bin/linux/i386/mod_jk-2.0.43.so
> > > > > > and put it in usr/local/apache2/modules/.
> > > > > > 
> > > > > > I followed all the steps for configuring
> > > > > > apache/tomcat.(Actuall followed John
> Turner's
> > > > > >
> > > > >
> > > >
> > >
> >
>
HowTo:http://www.johnturner.com/howto/apache2-tomcat404-howto.html
> > > > > > except the connectors build part)
> > > > > > 
> > > > > > Restarted tomcat and apache.
> > > > > > Apache gives me the following error.
> httpd:
> > > module
> > > > > > "mod_jk.c" is not compatible with this
> version
> > > of
> > > > > > Apache.
> > > > > > 
> > > > > > Is the error about the version of my
> mod_jk??
> > > I am
> > > > > not
> > > > > > sure if it is. If so, which file should I
> > > download
> > > > > to
> > > > > > /apache2/modules/? 
> > > > > > 
> > > > > > Thank you in advance.
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >
> > >
> __________________________________________________
> > > > > > Do you Yahoo!?
> > > > > > Yahoo! Mail Plus - Powerful. Affordable.
> Sign
> > > up
> > > > > now.
> > > > > > http://mailplus.yahoo.com
> > > > > > 
> > > > > > --
> > > > > > To unsubscribe, e-mail:   
> > > > >
> > >
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > > <mailto:tomcat-user-help@jakarta.apache.org>
> > > > > 
> > > > > --
> > > > > To unsubscribe, e-mail:  
> > > > >
> > >
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > > <mailto:tomcat-user-help@jakarta.apache.org>
> > > > > 
> > > > 
> > > > 
> > > >
> __________________________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Mail Plus - Powerful. Affordable. Sign
> up
> > > now.
> > > > http://mailplus.yahoo.com
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:   
> > >
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@jakarta.apache.org>
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


Mime
View raw message