・Oracleが入っている場合
Oracleがインストールされ かつ 起動していると、ポート8080が使われてしまうため、
Tomcatが起動できやしない(腹立たしい気持ちでいっぱいです。
なので tomcat6.0/conf/server.xml を編集する必要がある。
以下、server.xml
編集前
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
編集後
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8888" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8888" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
テキストエディタの置換機能を利用して、
8080→8888にしただけ。
8888じゃなくても他の何かと競合してなけりゃ何でもおk?
Apacheが入ってると80が使われるので注意。
このページへのコメント
B2kkLa Great, thanks for sharing this article.Really thank you!
aLJ70X Thank you for your post.Really thank you! Cool.
hgYJCh <a href="http://vrqnaggivolj.com/">vrqnaggivolj</a>, [url=http://rieznquplpek.com/]rieznquplpek[/url], [link=http://sguxizpdvbbn.com/]sguxizpdvbbn[/link], http://dguioavnqefw.com/
W8KXqJ <a href="http://hokikfezfrjl.com/">hokikfezfrjl</a>, [url=http://ectewgtkjmbl.com/]ectewgtkjmbl[/url], [link=http://qheiggtixnij.com/]qheiggtixnij[/link], http://kgbjuwnpystx.com/