apacheとtomcatの連携
wpでapache2.2とtomcat5の連携を行いたいのですが
apacheを再起動すると下記のエラーが出ます。
何が悪いですか?
httpd.confの最後の行を削除すると起動ができるようになります。
#Include conf/extra/httpd-proxy.conf
apacheのエラーログ:
[Wed Sep 16 06:09:13 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 16 06:09:13 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations
[Wed Sep 16 06:09:13 2009] [notice] Server built: Aug 6 2009 15:50:50
[Wed Sep 16 06:09:13 2009] [notice] Parent: Created child process 1712
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName
[Wed Sep 16 06:09:13 2009] [notice] Child 1712: Child process is running
[Wed Sep 16 06:09:13 2009] [notice] Child 1712: Acquired the start mutex.
[Wed Sep 16 06:09:13 2009] [notice] Child 1712: Starting 64 worker threads.
[Wed Sep 16 06:09:13 2009] [notice] Child 1712: Starting thread to listen on port 80.
[Wed Sep 16 06:23:14 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Wed Sep 16 06:23:14 2009] [notice] Child 1712: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 487 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Syntax error on line 7 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/extra/httpd-proxy.conf: </Location> without matching <Location> section
[Wed Sep 16 06:23:14 2009] [warn] (OS 995)スレッドの終了またはアプリケーションの要求によって、I/O 処理は中止されました。 : winnt_accept: Asynchronous AcceptEx failed.
[Wed Sep 16 06:23:15 2009] [notice] Child 1712: Released the start mutex
[Wed Sep 16 06:23:16 2009] [notice] Child 1712: All worker threads have exited.
[Wed Sep 16 06:23:16 2009] [notice] Child 1712: Child process is exiting
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName
[Wed Sep 16 06:23:36 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 16 06:23:36 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations
[Wed Sep 16 06:23:36 2009] [notice] Server built: Aug 6 2009 15:50:50
[Wed Sep 16 06:23:36 2009] [notice] Parent: Created child process 1728
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName
[Wed Sep 16 06:23:36 2009] [notice] Child 1728: Child process is running
[Wed Sep 16 06:23:36 2009] [notice] Child 1728: Acquired the start mutex.
[Wed Sep 16 06:23:36 2009] [notice] Child 1728: Starting 64 worker threads.
[Wed Sep 16 06:23:36 2009] [notice] Child 1728: Starting thread to listen on port 80.
お礼
ありがとうございます サーバーネームにホスト名を設定すると警告がでなくなりました