ここからは Apache 側の設定です。 Apache2.2 系の場合は mod_proxy_ajp を利用しますので、まず mod_proxy と mod_proxy_ajp のモジュールを読み込むように変更します。
ApacheとTomcatの連携ができたら、次は冗長化を行ってみる。 とりあえず実現したい内容は、APサーバーへの負荷分散とフェールオーバー。 それと、APサーバー同士でのセッションレプリケーション。 構築環境は相変わらす、Apache2.2.8とTomcat6.0.16。 まずApache側の設定。http.conf内の #LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so の2行をコメント解除する。 もし、上記2行がない場合は、Apacheを再インストール(./configure時に上記2つの追加を忘れないように。)、もしくは、apxsにてモジュールを追加しよう。 前回、 <Location /> ProxyPass aj
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く