Apache Httpd 2.4.7 with GlassFish 3.1 on Centos 6.4
Fuente: http://tomcat.apache.org/download-connectors.cgi
Fuente: http://www.techblogistech.com/2012/03/installing-build-essentials-in-centos-make-gcc-gdb/
Fuente: http://kaoxito.wordpress.com/2011/02/03/configuracion-del-glassfish-con-apache/
Fuente: http://insanecrew.wordpress.com/2010/07/07/decidir-entre-mod_jk-mod_proxy_http-y-mod_proxy_ajp/
Fuente: http://docs.oracle.com/cd/E19798-01/821-1751/gixqw/index.html
Fuente*:https://weblogs.java.net/blog/amyroh/archive/2012/02/15/running-glassfish-312-apache-http-server
Instalar mod_jk
# yum groupinstall "Development Tools"
# cd /usr/local/
# wget http://ar2.php.net/distributions/php-5.5.6.tar.bz2
# tar -xvf tomcat-connectors-1.2.37-src.tar.gz
# cd /usr/local/tomcat-connectors-1.2.37-src/native
# ./configure --with-apxs=/usr/local/apache2.4.7/bin/apxs --with-apach=/usr/local/apache2.4.7/
# make
# make install
# vi /usr/local/apache2.4.7/conf/httpd.conf
LoadModule jk_module modules/mod_jk.so
# Configuracion de mod_jk
JkWorkersFile "/usr/local/apache2.4.7/conf/workers.properties"
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T %U %q"
# Send all jsp requests to GlassFish
JkMount /*.jsp worker1
# Send all /TestWeb/ requests to GlassFish
JkMount /hermes/* worker1
JkMount /hermes worker1
Fuente: http://www.techblogistech.com/2012/03/installing-build-essentials-in-centos-make-gcc-gdb/
Fuente: http://kaoxito.wordpress.com/2011/02/03/configuracion-del-glassfish-con-apache/
Fuente: http://insanecrew.wordpress.com/2010/07/07/decidir-entre-mod_jk-mod_proxy_http-y-mod_proxy_ajp/
Fuente: http://docs.oracle.com/cd/E19798-01/821-1751/gixqw/index.html
Fuente*:https://weblogs.java.net/blog/amyroh/archive/2012/02/15/running-glassfish-312-apache-http-server
Instalar mod_jk
# yum groupinstall "Development Tools"
# cd /usr/local/
# wget http://ar2.php.net/distributions/php-5.5.6.tar.bz2
# tar -xvf tomcat-connectors-1.2.37-src.tar.gz
# cd /usr/local/tomcat-connectors-1.2.37-src/native
# ./configure --with-apxs=/usr/local/apache2.4.7/bin/apxs --with-apach=/usr/local/apache2.4.7/
# make
# make install
# vi /usr/local/apache2.4.7/conf/httpd.conf
LoadModule jk_module modules/mod_jk.so
# Configuracion de mod_jk
JkWorkersFile "/usr/local/apache2.4.7/conf/workers.properties"
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T %U %q"
# Send all jsp requests to GlassFish
JkMount /*.jsp worker1
# Send all /TestWeb/ requests to GlassFish
JkMount /hermes/* worker1
JkMount /hermes worker1
# vi /usr/local/apache2.4.7/conf/workers.properties
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=srvapp.sistemcobro.com
worker.worker1.port=28080
# /usr/local/apache2.4.7/bin/./apachectl stop
# /usr/local/apache2.4.7/bin/./apachectl start
Comentarios
Publicar un comentario
Incluye información que aporte al tema