ページの先頭行へ戻る
Interstage Business Application Server オープンJavaフレームワークユーザーズガイド
FUJITSU Software

15.3.2 ファイルパスの修正

■Javaのビルドパスの修正

ブランクプロジェクトでは、Interstageを“C:\Interstage”にインストールされたものとして、あらかじめJavaのビルドパスを設定してあります。また、バグ修正などによりご使用の環境においてライブラリのバージョンが変更され、ファイル名が変更になっている場合があります。
ビルドパスのエラーが発生している場合は、上記観点によりJavaのビルドバスを修正してください。

■ワークマネージャのバインディングファイルのパスの修正

ブランクプロジェクトでは、Interstageを“C:\Interstage”にインストールされたものとして、あらかじめワークマネージャのバインディングファイルのパスを設定してあります。
Interstageを“C:\Interstage”以外のディレクトリにインストールした場合は、バインディングファイルのパスを修正します。

修正するファイルを、次に示します。

次の赤字の部分を、Interstageをインストールしたディレクトリに修正します。

  <bean id="jndiTemplateForWorkManager" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
      <props>
        <prop key="java.naming.factory.initial">com.fujitsu.interstage.j2ee.util.work.RefFSContextFactoryWrapper</prop>
        <prop key="java.naming.provider.url">file:///C:/Interstage/BAS/terasoluna/var/commonj</prop>
      </props>
    </property>
  </bean>

次の赤字の部分になるように、修正します。

  <bean id="jndiTemplateForWorkManager" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
      <props>
        <prop key="java.naming.factory.initial">com.fujitsu.interstage.j2ee.util.work.RefFSContextFactoryWrapper</prop>
        <prop key="java.naming.provider.url">file:/opt/FJSVibs/var/terasoluna/commonj/</prop>
      </props>
    </property>
  </bean>