サイレンのドキュメントで説明されているように、にあるファイルtomcat/conf/Catalina/localhost
はwarファイルのパスを設定する必要があります。絶対パスを試してみましたが、サイレンを使うのは私だけではないので、相対パスを使いたかったのです。
siren.xml
<Context docBase="/../../../webapps/siren" debug="0" crossContext="true" >
<Environment name="siren/home" type="java.lang.String" value="/../../../webapps/siren" override="true" />
</Context>
しかし、Tomcatを実行すると、次のエラーが発生します。
GRAVE: Error running static resources
java.lang.IllegalArgumentException: Document /webapps/siren does not exist or is not a readable directory
この構成をどのように設定できますか?
前もって感謝します