Thanks Robert, at last, a clear and working explanation.

Dragan

----- Original Message -----
From: "Robert L Sowders" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 17, 2002 9:03 PM
Subject: Re: How to Apache2, Tomcat4.1.2, JK2 ?


> Haven't tested with the latest, (I will later today), but this should get
> you going in the right direction.
>
> ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.zip
>
> Let me know.
>
> rls
>
>
>
>
>
>
> "yoom nguyen" <[EMAIL PROTECTED]>
> 10/17/2002 11:13 AM
> Please respond to "Tomcat Users List"
>
>
>         To:     [EMAIL PROTECTED]
>         cc:
>         Subject:        How to Apache2, Tomcat4.1.2, JK2 ?
>
> Does any one get this combination of Apache2.0.43, Tomcat4.1.2 and
> JK2.2.0.2 to work and documented?  Would you share.
>
>
>
> My apaches 2.0.43 doesn't seems to communicate with tomcat 4.1.2. I am
> using jk2 (2.2.0.1)as the web connector. Apache2 in run on server #1
> and Tomcat4.1.2 run on server #2.
>
> I am wondering if my setting are correct? Please let me
> know if I miss something here.
>
>
> Are these setting correct??
>
> *** on server #1, start of workers2.properties file ***
> # Shared memory handling. Needs to be set.
> [shm]
> file=/etc/httpd/logs/shm.file
> size=1048576
>
> # A List of tomcat workers
> #worker.list=tomcat1
>
> # Example socket channel, explicitly set port and host.
> [channel.socket:209.104.159.91:8009]
> port=8009
> host=209.104.159.91
>
> # define the worker
> [ajp13:209.104.159.91:8009]
> channel=channel.socket:209.104.159.91:8009
>
> # Uri mapping
> [uri:/examples/*]
> [uri:/*.jsp]
> worker=ajp13:209.104.159.91:8009
>
> # Announce a "status" worker
> [status:status]
>
> [uri:/jkstatus/*]
> worker=status:status
> **** end of workers2.properties ***
>
>
>
>
> *** on server, #1 start of httpd.conf file *******
> LoadModule jk2_module modules/mod_jk2.so
> AddModule mod_jk2.c
> JkWorkersFile /etc/httpd/conf/workers2.properties
> JkLogFile /etc/httpd/logs/mod_jk.log
> JkLogLevel info
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>
> #First Virtual Host access through port 80.
> <VirtualHost 209.104.159.90:80>
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /var/www/dev
> ServerName www.test.com
> ServerAlias gratiotonline.com
> ErrorLog /var/www/dev/logs/error_log
> </VirtualHost>
> #
> #First Virtual Host access through port 443.
> <VirtualHost 209.104.259.90:443>
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /var/www/dev
> ServerName www.dev.com
> SSLEngine On
> ErrorLog /var/www/dev/logs/error_log
> </VirtualHost>
> ********** end of httpd.conf file *******
>
>
> **** on server #2, start of jk2.properties *****
> handler.list=apr,channelSocket,channelUnix,request
> channelSocket.port=8009
> serverRoot=/etc/httpd
> apr.jniModeSo=/etc/httpd/modules/mod_jk2.s
> ************* end of jk2.properties ********
>
>
> thanks, Yoom
>
>
>
> --
> 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>

Reply via email to