2007-11-27

Tomcat 6のdocBase指定

Tomcat6の設定をいじくってみた。
JSTL1.2と組み合わせたいがなかなかうまくいかなかった。

警告が出ている場合は正常に処理されない。
??? inside the host appBase has been specified, and will be ignored.

CATALINA_HOME/[engine name]/[server name/.xml


<Context path="/struts-example" reloadable="true" docBase="/struts-example">
...


webapps以下に本体が存在するのにdocBaseでさらに指定すると警告が出るらしい。
docBaseを削除するとよい。

<Context path="/struts-example" reloadable="true">
...

0 件のコメント: