# cd /usr/local/src
# tar xvzf tomcat-connectors-1.2.40-src.tar.gz
# cd tomcat-connectors-1.2.40-src/native/
# ./buildconf.sh
# ./configure --with-apxs=/usr/local/httpd/bin/apxs
# make
# cp /usr/local/src/tomcat-connectors-1.2.40-src/native/apache-2.0/mod_jk.so /usr/local/httpd/modules/
# vim /usr/local/httpd/conf/extra/httpd-mod-jk.conf
# mod_jk.conf <IfModule mod_jk.c> JkWorkersFile /usr/local/httpd/conf/extra/workers.properties JkMount /* worker1 JkLogFile /var/log/httpd/mod_jk_log JkLogLevel debug JkLogStampFormat "[%Y-%m-%d %a %H:%M:%S]" </IfModule>
# vim /usr/local/httpd/conf/extra/workers.properties
# workers.properties worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=127.0.0.1 worker.worker1.port=8282
# vim /usr/local/httpd/conf/httpd.conf
LoadModule jk_module modules/mod_jk.so Include conf/extra/httpd-mod-jk.conf
# vim /usr/local/httpd/conf/extra/httpd-ssl.conf
<VirtualHost _default_:443> JkMountCopy On . . . </VirtualHost>
# service httpd restart
$ asadmin create-network-listener --protocol http-listener-1 --listenerport 8282 --jkenabled true jk-connector
Command create-network-listener executed successfully.
$ asadmin set server-config.network-config.network-listeners.network-listener.jk-connector.jk-configuration-file=domain-dir/config/glassfish-jk.properties
Command set executed successfully.
ブラウザに下記URLを貼ってくる。
https://back.jutakutenjijo.com/JutenClient/
確認項目
以上。