比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
# chown -R tomcat:tomcat /opt/shibboleth-idp/logs
# chgrp -R tomcat /opt/shibboleth-idp/conf
# chmod -R g+r /opt/shibboleth-idp/conf
# chgrp tomcat /opt/shibboleth-idp/metadata
# chmod g+w /opt/shibboleth-idp/metadata
# chmod +t /opt/shibboleth-idp/metadata

 

4. idp.war

...

の登録(★)

/opt/shibboleth-idp/war/idp.war ファイルを、${CATALINA_BASE}/webapps ディレクトリにコピーします。${CATALINA_BASE}/conf/Catalina/localhost/idp.xml という新規ファイルを以下の内容で作成し、idp.warをTomcatが認識できるようにします。

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
# cp

<Context docBase="/opt/shibboleth-idp/war/idp.war

${CATALINA_BASE}/webapps/

"
         privileged="true"
         antiResourceLocking="false"
         swallowOutput="true" />

 httpdとTomcatを再起動します。

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
# service tomcat7 stop
# service httpd restart
# service tomcat7 start

...

tomcat の停止方法

service tomcat7 stop
sh /usr/java/tomcat/bin/shutdown.sh (起動スクリプトを利用しない場合)

...