Thanks for the tip, however, "This is not recommended for a production
server." defeats the reason I want to get mod_jk working, for a
production server.  Also mod_jk2 is deprecated, so I'll keep punching
away at mod_jk until I make it work.

--- In [email protected], Cary Newfeldt <[EMAIL PROTECTED]> wrote:
> you might want to try mod_jk2 if your using apache2. I have that working
> with an installation of flex on a freebsd box.
> 
> freebsd install - your mileage may vary -- Yeah I know, not Linux,
sorry :)
> 
> Install mod_jk2
> 
>     # cd /usr/ports/www/mod_jk2
>     # make install clean
> 
> Configured Mod_jk2
> 
> Uncommented the following to the httpd.conf file for apache2 to load
> mod_jk2.
> 
>     # LoadModule jk2_module libexec/apache2/mod_jk2.so
> 
> Added the following to the httpd.conf file for apache2 to access the
workers2.properties file.
> 
>     <IfModule mod_jk2.c>
>        JkSet config:file /usr/local/etc/apache2/workers2.properties
>     </IfModule>
> 
> Created the workers2.properties file
> /usr/local/etc/apache2/workers2.properties
> 
>     [logger]
>     level=DEBUG
> 
>     [config:]
>     file=${serverRoot}/etc/apache2/workers2.properties
>     debug=0
>     debugEnv=0
> 
>     [shm:]
>     info=Scoreboard. Required for reconfiguration and status with
>     multiprocess servers
>     file=/var/log/jk2.shm
>     size=1000000
>     debug=0
>     disabled=0
> 
>     [lb:lb]
> 
>     [channel.socket:yourServerAddress:8009]
>     port=8009
>     host=yourServerAddress
> 
>     [ajp13:yourServerAddress:8009]
>     channel=channel.socket:yourServerAddress:8009
>     group=lb
> 
>     [uri:/jsp-examples/*]
>     group=lb
> 
> *Installing Flex *
> 
> [1] Copy flex-15-lin.bin file to server unzip -d flex flex-15-lin.bin
> 
> [2] copied flex.war.zip to /usr/local/jakarta-tomcat5.0/webapps/flex
> 
> [3] copied samples.war.zip to
/usr/local/jakarta-tomcat5.0/webapps/samples
> 
> [4] unzipped each in to the folders above.
> 
> [5] added samples and flex to workers2.properties file.
> 
> vi /usr/local/etc/apache2/workers2.properties
> 
>     [uri:/flex/*]
>     group=lb
> 
>     [uri:/samples/*]
>     group=lb
> 
> [6] restarted tomcat server
> 
>    # cd /usr/local/etc/rc.d/
>    # ./020.jakarta-tomcat50.sh stop
>    # ./020.jakarta-tomcat50.sh start
> 
> Hope this works; been a while since I last did this. The server
works great, 
> but I find that is sometime craps on out me and I have to restart
the tomcat 
> server from time to time. This is not recommended for a production
server. 
> 
> cheers, 
> 
> Cary. 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to