@634

Apache Jakarta Cactus

Advertisement

Cactusとは。

CactusはWEBコンテナ上で動作するテスティングフレームワーク。サーバーサイドのJavaコード(Servlet, JSP, EJP等)のテストを行う。

利用

入手〜利用はオフィシャルサイトのドキュメントがすばらしいので、そちらを参照。

本家:http://jakarta.apache.org/cactus/
日本語:http://www.ingrid.org/jajakarta/cactus/

メモ:問題と原因

org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property [cactus.contextURL]
  • cactus.propertiesファイルを正しい場所に存在するか確認。
  • cactus.propertiesファイルにcactus.contextURLが定義されているか確認。
参考:設定 Howto

java.net.ConnectException: Connection refused: connect
  • コンテナが正常に動作していることを確認。

org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results at [url..]
  • cactus.propertiesファイルのcactus.contextURLが正しいか確認。
  • cactus.propertiesファイルのRedirectorが正しく定義されているか確認。
  • web.xmlファイルのRedirectorが正しく定義されているか確認。
参考:設定 Howto

Advertisement

ショートカット

634
634ブログ
このカテゴリのトップページに戻る
Incubator(Pukiwiki)
634ラボ
   UIコレクションギャラリー
   ZO-3ジェネレーター

サイト検索


Y!ログール