例
この例では、Publisherのコンテキストをxmlpserver
から/sales/xmlpserver
に変更するために必要な更新について詳細に説明します。
次のタスクを実行します。
xmlpserver META-INF/application.xmlファイルの更新
META-INF/application.xmlファイルのコンテキスト・ルートを更新します。
-
xmlpserver.earファイルを解凍します。
-
xmlpserver WARの下にあるMETA-INF/application.xmlにナビゲートします。
-
コンテキスト・ルートを更新して、新しいコンテキストに合せます。この例では、コンテキスト・ルートは/sales/xmlpserverに更新されます。
<web> <web-uri>xmlpserver.war</web-uri> <context-root>/sales/xmlpserver</context-root> </web>
xmlpserver WAR/WEB-INF/web.xmlファイルの更新
xmplserver WAR/WEB-INFフォルダの下にあるweb.xmlファイルを更新します。
-
WAR/WEB-INF/web.xmlファイルにナビゲートします。
-
次のパラメータをファイル内で更新します。
<init-param> <!-- This is the root webdir for the xmlpserver application. Modify this if xmlpserver.ear is not deployed to its standard location. --> <param-name>xmlp-online-web-dir</param-name> <param-value>/sales/xmlpserver</param-value> </init-param> <init-param> <!-- Path to the ServiceGateway SOAP end point. Most likely this will be the path for services deployed with Axis. --> <param-name>service-endpoint</param-name> <param-value>/sales/xmlpserver/services/ServiceGateway</param-value> </init-param> <init-param> <!-- Path to report service web directory. --> <param-name>web-dir</param-name> <param-value>/sales/xmlpserver/report_service</param-value> </init-param>
xmlpserver WAR/WEB-INF/weblogic.xmlファイルの更新
xmplserver WAR/WEB-INFフォルダの下にあるweblogic.xmlファイルを更新します。
-
WAR/WEB-INF/weblogic.xmlファイルにナビゲートします。
-
Cookieパスおよびコンテキスト・ルートをファイル内で更新します。
<wls:session-descriptor> <wls:cookie-path>/sales/xmlpserver</wls:cookie-path> </wls:session-descriptor> <wls:context-root>sales/xmlpserver</wls:context-root>
xmlp-server-config.xmlファイルの更新
xmlp-server-config.xmlファイル内の要素を更新します。
-
次の場所に移動します。
Oracle_Home/user_projects/domains/bi/config/fmwconfig/biconfig/bipublisher/Admin/Configuration/xmlp-server-config.xml
-
ファイル内の次の要素を更新します。
<property name="SAW_URL_SUFFIX" value="sales/analytics/saw.dll"/>
analytics META-INF/application.xmlファイルの更新
コンテキスト・ルートに一致するようにファイル内の要素を更新します。
-
analytics.earファイルを解凍します。
-
META-INF/application.xmlファイルにナビゲートします。
-
次の要素を更新し、コンテキスト・ルートに合せます。
<display-name>analytics</display-name> <module> <web> <web-uri>analytics.war</web-uri> <context-root>sales/analytics</context-root> </web> </module> <module> <web> <web-uri>analytics-ws.war</web-uri> <context-root>sales/analytics-ws</context-root> </web> </module> <module> <web> <web-uri>analytics.war</web-uri> <context-root>sales/analytics-bi-adf</context-root> </web> </module>
instanceconfig.xmlファイルの更新
instanceconfig.xmlファイルの更新
-
次の場所のinstanceconfig.xmlにナビゲートします
[ORACLE_INSTANCE]\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfig.xml
-
次のファイルの<AdvancedReporting>の下にある<ServerBasedURL>および<WebURL>要素を更新します。
<AdvancedReporting> <ServerBaseURL>/sales/xmlpserver</ServerBaseURL> <WebURL>/sales/xmlpserver</WebURL> </AdvancedReporting>
WebLogic Serverでのbipublisherおよびanalyticsアプリケーションの更新
Oracle WebLogic Server管理コンソールで、bipublisherおよびanalyticsアプリケーションを更新します。
-
xmplserver.earファイルを再パッケージ化します。
-
analytics.earファイルを再パッケージ化します。
-
Oracle WebLogic Serverの管理コンソールを開きます。
-
管理コンソールの「チェンジ・センター」で、「ロックして編集」をクリックします。
-
コンソールの左のペインで 「デプロイメント」を選択します。すべてのデプロイ済のエンタープライズ・アプリケーションとアプリケーション・モジュールを示す表が右ペインに表示されます。
-
表からbipublisherアプリケーションを選択します。
-
「更新」をクリックします。
-
「終了」をクリックします(ソース・パスを変更しないでください)。
-
analyticsアプリケーションで、ステップ6からステップ8を繰り返します。
-
管理コンソールの「チェンジ・センター」で、「変更のアクティブ化」、「構成の解放」の順にクリックします。