<?xml version="1.0" encoding="Shift_JIS"?> 
<document url="./installation-ip.xml">
<properties>
<author>Stanley Santiago</author> 
<title>The Struts Framework Project - Installation - iPlanet</title>
<translator>加藤 雄治</translator>
</properties>
<body>
<primary>
<section name="Installing Struts with your servlet container" href="Containers">
</section>
</primary>
<section name="Strutsをサーブレットコンテナにインストールする" href="Containers"> 
<h3><a name="ipws42">iPlanet Application Server 6.0</a></h3>
<primary>
<p>Service Pack 2 is recommended.</p>
</primary>
<p>Service Pack 2が推奨されます。</p>
<primary>
<p>NOTE: At present, the Struts example application still uses a non-Serializable 
servlet context attribute, and will not run in an environment that requires them, 
like iPlanet Application Server.</p>
</primary>
<p>注意: 現在のところ、Strutsのサンプルアプリケーションでは、
java.io.Serializableを実装していないオブジェクトを
Servletコンテキスト属性として取り扱っており、iPlanet Application Serverのような
java.io.Serializableの実装を必要とする環境では動作しないでしょう。</p>
<h3><a name="ipws42">iPlanet Web Server 4.2</a></h3>
<primary>
<p>Here are the issues I ran into while moving my struts based application from 
  Tomcat (supports WebApps and WAR) to iWS 4.1 (does <b>NOT</b> support Webapps 
  and WAR). </p>
</primary>
<p>Tomcat(WebappsとWARをサポートする)から
iWS4.1(WebappsとWARを<b>サポートしない</b>)へStrutsをベースにしたアプリケーションを移行する際に発生した問題を示します。</p>
<primary>
<p>Webapps and WAR will be supported in iWS 5.0, as mentioned in iWS5.0 roadmap.</p>
</primary>
<p>WebappsとWARはiWS5.0のロードマップに述べられているように、iWS5.0でサポートされるでしょう</p>
<primary>
<h4>Classpath issues.</h4>
</primary>
<h4>クラスパスの問題</h4>
<primary>
<p>This s pretty straightforward. Since there is no notion of <code>WEB-INF/lib</code> and 
  <code>WEB-INF/classes</code> the classpath has to be explicitly set in 
  <code>$SERVER_ROOT/config/jvm12.conf</code>.</p>
</primary>
<p>これはかなりわかりやすいです。
<code>WEB-INF/lib</code>や<code>WEB-INF/classes</code>
といった概念はないため，クラスパスは、<code>$SERVER_ROOT/config/jvm12.conf</code>に
明示的に設定されなければなりません</p>
<primary>
<h4>Context relative paths</h4>
</primary>
<h4>コンテキスト関連のパス</h4>
<primary>
<p>All URLs should be visible from the document root. In my case I just created 
  a symbolic link from <code>$DOCROOT/myapp</code> to <code>webapps/myapp</code>.</p>
</primary>
<p>全てのURLはドキュメント・ルートから参照できる（場所である）必要があります。
私の場合はsymbolic linkを<code>$DOCROOT/myapp</code>から<code>webapps/myapp</code>へ作りました。</p>
<primary>
<h4>Extension mapping</h4>
</primary>
<h4>拡張子マッピング</h4>
<primary>
<p>The config file <code>$SERVER_ROOT/config/rules.properties</code> has a similar mechanism 
  as in web.xml.</p>
</primary>
<p>設定ファイル<code>$SERVER_ROOT/config/rules.properties</code>には、web.xmlに類似した機能持っています。</p>
<primary>
<p>I have this in my <code>rules.properties</code> which forwards all urls ending with "do" 
  to the servlet whose logical name is action.</p>
</primary>
<p>私は、<code>rules.properties</code>の中で"do"で終わる全てのURLを、論理名がaction
であるサーブレットへ転送するように設定しています。</p>
<pre>####
    @.*[.]do$=action
####</pre>
<hr/>
<ul>
<primary>
  <li>Author: Stanley Santiago</li>
</primary>
  <li>著者: Stanley Santiago</li>
</ul>
<hr/>
<primary>
<p>Back to <a href="installation.html#Containers">Installation</a></p>
</primary>
<p><a href="installation.html#Containers">インストール</a>へ戻る</p></section> 
</body>
</document>
