tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Puchta <gpuc...@sonicblue.com>
Subject RE: MOD_JK2 installation question
Date Fri, 11 Oct 2002 16:23:24 GMT
... and you need to compile mod_jk on Solaris with

cd ./jk
${ANT_HOME}/bin/ant native


-Georg


-----Original Message-----
From: Georg Puchta [mailto:gpuchta@sonicblue.com]
Sent: Friday, October 11, 2002 9:20 AM
To: 'Tomcat Users List'
Subject: RE: MOD_JK2 installation question


I did not need to use any .jar file. Here is how I got it to work.
Apache needs to know about Tomcat. That's done through the mod_jk.so 
module (Note: Apache needs to be compiled with mod_so.c).
Apache needs to be configured so it can forward requests to Tomcat.
That's done by a file called worker.properties and a second file
I named tomcat-apache.conf.manual. Both files reside in 
${TOMCAT_HOME}/conf (see further down). Also append the following line
to the Apache configuration file httpd.conf:

Include /usr/local/tomcat/conf/tomcat-apache.conf.manual


Sample:
	worker.properties

         # Setup for Solaris system
         #
         workers.tomcat_home=/usr/local/tomcat
         workers.java_home=/usr/java
         ps=/
         worker.list=ajp12, ajp13
         
         # Definition for Ajp13 worker
         #
         worker.ajp13.port=8009
         worker.ajp13.host=eng-02
         worker.ajp13.type=ajp13
         
         worker.ajp13.socket_keepalive=0

	tomcat-apache.conf.manual

         # Directory settings
         Alias /ichannel /path/to/webapp/web
         <Directory /path/to/webapp/web>
             Allow from all
         </Directory>
         
         # MOD_JK settings
         LoadModule jk_module libexec/mod_jk.so
         AddModule mod_jk.c
         JkWorkersFile /usr/local/tomcat/conf/workers.properties
         JkLogFile /path/to/logs/mod_jk.log
         JkLogLevel info
         JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
         
         # WEB application mapping
         JkMount /webapp ajp13
         JkMount /webapp/* ajp13
         JkMount /webapp/servlet/* ajp13


Hope that helps

-Georg



-----Original Message-----
From: Fabio Marsilio [mailto:fmarsilio@veniceplaza.net]
Sent: Friday, October 11, 2002 9:07 AM
To: Tomcat Users List
Subject: R: MOD_JK2 installation question


Thank you Georg,
but what about the .jar files to put inside catalina home?



-----Messaggio originale-----
Da: Georg Puchta [mailto:gpuchta@sonicblue.com]
Inviato: venerdì 11 ottobre 2002 18.02
A: 'Tomcat Users List'
Oggetto: RE: MOD_JK2 installation question


Copy the file from e.g. ./jk/build/jk/apache13/mod_jk.so to
${APACHE_HOME}/libexec/mod_jk.so

-Georg

-----Original Message-----
From: Fabio Marsilio [mailto:fmarsilio@veniceplaza.net]
Sent: Friday, October 11, 2002 8:54 AM
To: Tomcat Users List
Subject: MOD_JK2 installation question


Hello, I' m new to mod_jk2 (at present I' using mod_webapp)

but I' trying to install it in order to try it.

I have apache 1.3.26 and tomcat 4.0.5 on Solaris 9.

I downloaded tomcat connectors source and successfully built

jk and jk2 modules with ant.

The question is quite stupid for an expert but it's the following:

which  files should be copied and where should they be copied on tomcat?

the readme file on jk connector souce say: run "ant install" and it will
copy the files in the right location.

but if I run it I get an error:

bash-2.05# /data/develop/jakarta-ant-1.5.1/bin/ant install
Buildfile: build.xml

BUILD FAILED
Target `install' does not exist in this project.

Total time: 4 seconds

so I don't know what copy and where to put it inside catalina home.

thank you for your help!

Fabio


--
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>

--
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>


Mime
View raw message