30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
classcontents

web.xml

Styleclass
ClasstopLink

top ページトップ

The web.xml file provides configuration and deployment information for the Yellowfin application. The Yellowfin web.xml file is located in the directory:xmlファイルには、Yellowfinアプリケーションの設定および展開に関する情報が含まれています。Yellowfinのweb.xmlファイルは次のディレクトリに格納されています。
Yellowfin\appserver\webapps\ROOT\WEB-INF
A number of installation-specific settings are stored in web.xml when Yellowfin is installed. These settings are critical to Yellowfin starting and running successfully.

Included JSPs

Yellowfinのインストール時に、数多くのインストール固有設定がweb.xmlに保存されます。これらの設定は、Yellowfinの正常な起動および実行に際して非常に重要な意味を持ちます。

JSPを含める

ファイル先頭近くの<ENTITY>行では、次のようにYellowfinのパスをURLとして正確に指定する必要があります。The <ENTITY> line near the top of the file must correctly specify the Yellowfin path as a URL:
<!ENTITY jsps SYSTEM "file:/C:/Program Files/Yellowfin/appserver/webapps/ROOT/WEB-INF/web-jsps.xml">
Or または
<!ENTITY jsps SYSTEM "file:/usr/Yellowfin/appserver/webapps/ROOT/WEB-INF/web-jsps.xml">

Configuration Database parameters

The connection parameters for the Yellowfin configuration database must be set correctly in web.xml for Yellowfin to function. These settings are within the <servlet> section named InitConnectionPool. The connection parameters are:

JDBCDriverClass

The name of the JDBC Driver class

Required

JDBCUrl

The JDBC URL to connect to the database

Required

JDBCUser

The username used to connect

Required

JDBCPassword

The password used to connect

Required

JDBCPasswordEncrypted

Whether or not the password in JDBCPassword is encrypted. (true/false)

Optional (Defaults to false)

JDBCMinCount

The minimum number of connections to open to the database

Required

JDBCMaxCount

The maximum number of connections to open to the database

Required

JDBCTimeout

How long a connection may be in use for before being closed (in seconds)

Optional (Defaults to 300)

PSCacheSize

How many Prepared Statements to cache per connection (maximum). Setting this to zero disables Prepared Statement caching.

Optional (Defaults to 20)

構成データベースのパラメーター

Yellowfin構成データベースの接続パラメーターは、Yellowfinが動作するためにweb.xml内で正しく設定する必要があります。これらの設定は、InitConnectionPoolという名前の<servlet>セクションに存在します。接続パラメーターは以下のとおりです。

JDBCDriverClass

JDBCドライバークラス

必須

JDBCUrl

データベースに接続するためのJDBC URL

必須

JDBCUser

接続に使用するユーザー名

必須

JDBCPassword

接続に使用するパスワード

必須

JDBCPasswordEncrypted

JDBCPassword内のパスワードが暗号化されるかどうか(true/false)

オプション(デフォルトはfalse)

JDBCMinCount

データベースに対して開かれる最少接続数

必須

JDBCMaxCount

データベースに対して開かれる最大接続数

必須

JDBCTimeout

接続が閉じられるまで接続が使用中である時間(秒単位)。

オプション(デフォルトは300)

PSCacheSize

1接続あたりにキャッシュされるプリペアドステートメントの数(最大)。ゼロに設定すると、プリペアドステートメントのキャッシュが無効化されます。

オプション(デフォルトは20)

詳細については、Yellowfinフォーラムの次の投稿を参照してください。 For more information, see the Yellowfin Forum post: http://www.yellowfinbi.com/YFForum-Connecting-to-the-Yellowfin-Repository-DB-?thread=105090Image Removed

General Yellowfin startup parameters

There are a number of general startup parameters that affect various parts of Yellowfin. These settings are within the <servlet> section named MIStartup. The parameters are:

ReportCacheSize

Number of result sets to store in the report result cache

Optional (Defaults to 20)

ReportCacheMaxAge

The maximum age of result sets in the report result cache (in milliseconds)

Optional (Defaults to 24 hours)

BIRTPath

The path to the BIRT support files

Optional

ScanJarFiles

Whether or not to scan for JDBC drivers at startup (true/false)

Optional (Defaults to true)

JDBCDrivers

JDBC driver class names to search for at startup, separated by commas. If ScanJarFiles is false, use this to specify the available drivers.

Optional

...

全般的なYellowfin起動パラメーター

さまざまなYellowfinの構成要素に影響する数多くの全般的な起動パラメーターがあります。これらの設定は、MIStartupという名前の<servlet>セクションに存在します。パラメーターは以下のとおりです。

ReportCacheSize

レポート結果キャッシュに格納する結果セット数

オプション(デフォルトは20)

ReportCacheMaxAge

レポート結果キャッシュ内の結果セットの最長保存期間(ミリ秒単位)

オプション(デフォルトは24時間)

BIRTPath

BIRTサポートファイルへのパス

オプション

ScanJarFiles

起動時にJDBCドライバーをスキャンするかどうか(true/false)

オプション(デフォルトはtrue)

JDBCDrivers

起動時の検索対象JDBCドライバークラスの名前(カンマ区切りで表記)。ScanJarFilesがfalseである場合、このパラメーターを使用して使用可能なドライバーを指定します。

オプション

クラスタリング

Styleclass
ClasstopLink

top

ページトップ

クラスタリングによって、同一のデータベースに対してYellowfinを複数のサーバー上で実行することが可能になります。Yellowfinをクラスタ化するには、以下の内容に各自のWebサービス情報を反映させてweb.xmlファイルに追加する必要があります。Clustering allows Yellowfin to be run on multiple servers off the same database. In order to cluster Yellowfin, the following will need to be added into the web.xml file, with your web services information filled in.

Code Block
xml
xml
<!-- Cluster Management -->
  <servlet>
    <servlet-name>ClusterManagement</servlet-name>  
    <servlet-class>com.hof.mi.servlet.ClusterManagement</servlet-class>  
    <init-param>
      <param-name>ServiceUser</param-name>
      <param-value>admin@yellowfin.com.au</param-value>
    </init-param>
    <init-param>
      <param-name>ServicePassword</param-name>
      <param-value>test</param-value>
    </init-param>
     <init-param>
      <param-name>ServiceAddress</param-name>
      <param-value>/services/AdministrationService</param-value>
    </init-param>
    <init-param>
      <param-name>ServicePort</param-name>
      <param-value>80</param-value>
    </init-param>
    <init-param>
      <param-name>ClusterHosts</param-name>
      <param-value>
         192.168.4.196
      </param-value>
    </init-param>
    <load-on-startup>11</load-on-startup>  
  </servlet>

Clustering will make sure that:

クラスタリングにより、以下の動作が確約されます。

  1. 1つのサーバー上で参照コードに変更を加えた場合、その他のすべてのサーバーはそれぞれの参照コードを再読み込みします。
  2. ビューを変更した場合、古いバージョンはすべてのサーバーのキャッシュから削除されます。
  3. 新しいライセンスがアップロードされると、すべてのサーバーが更新されます。
    注意:特別なライセンスも必要となります。これを入手するにはYellowfinに連絡する必要があります(
  4. If changes are made to ref codes on one server, all other servers reload their ref codes.
  5. If a view is changed, the old version will be removed from the cache of all servers.
  6. If a new licence is uploaded, all servers are updated.
    Note: You will also need a special licence, which you will have to contact Yellowfin for (support@yellowfin.com.au). )。

...

パフォーマンスの調整

Styleclass
ClasstopLink

top

Other than increasing hardware capacity, e.g. faster CPU and memory allocation, there are a number of ways that Yellowfin can be performance tuned. For more information on capacity and configuration settings please refer to the server capacity white paper.

Web Server connections

The Tomcat WebServer default and maximum connections can be adjusted to enable more concurrent connections although the default settings should handle up to 100 users.

ページトップ

高速なCPUやメモリの割り当てなどのハードウェア性能の強化以外に、Yellowfinのパフォーマンスを調整するためのさまざまな方法があります。性能および構成の設定の詳細については、サーバー性能に関するホワイトペーパーを参照してください。

Webサーバー接続

Tomcat Webサーバーのデフォルト設定では、最大100ユーザーを扱いますが、このデフォルトや最大接続数を調整して、より多くの同時接続を可能にします。

これらのパラメーターは、$INSTALLThese parameters can be set in the $INSTALL_DIRECTORY \appserver\webapps\ROOT\WEB-INF\web.xml file.

The context in the file is against the servlet 'InitConnectionPool'.

Yellowfin Database connections

The Yellowfin Application server requires a connection to the Yellowfin database server to access the report repository and meta-data. This connection can be tuned to allow more through-put depending on the number of concurrent users expected in your installation.

xmlファイルで設定できます。

このファイル内での対象コンテキストは、サーブレット「InitConnectionPool」に対するものです。

Yellowfinデータベース接続

Yellowfinアプリケーションサーバーは、レポートリポジトリおよびメタデータにアクセスするためにYellowfinデータベースサーバーへの接続が必要です。この接続数を調整して、それぞれのインストールで予想される同時ユーザー数に応じたより高いスループットを得ることができます。

データベース接続数のデフォルトと最大は、The database connection default and maximums can be changed in $INSTALL_DIRECTORY\appserver\webapps\ROOT\WEB-INF\web.xml file.

The current defaults are 2 (minimum) and 5 (maximum). Amending this connection limit would help performance.

Note: if Yellowfin performance in an issue then changing the connection parameters may assist. However, you will also have to consider your hardware configuration to ensure that it is setup to support the number of concurrent users you have. Please refer to the server capacity white paper for more information.

Java Virtual Machine (JVM) Heap Size

Yellowfin has hard memory limits that are set in configuration files. The application will never allocate more memory once it reaches these limits, even if the server has more free memory. In some cases this can cause errors if Yellowfin needs more memory.
Instructions for increasing the JVM Max Memory depend on how Yellowfin is started.

Windows Service

ファイルで変更できます。

現在のデフォルトは、2(最少)および5(最大)です。この接続制限を変更すると、パフォーマンスが向上する可能性があります。

注意:Yellowfinのパフォーマンスに問題がある場合、接続パラメーターの変更が解決に役立つ場合があります。ただし、ハードウェア構成を検討して、それぞれの環境で必要な同時ユーザー数をサポートするように設定する必要があります。詳細については、サーバー性能に関するホワイトペーパーを参照してください。

Java仮想マシン(JVM)ヒープサイズ

Yellowfinには、構成ファイルで設定される絶対的なメモリ制限があります。サーバーに空きメモリがある場合でも、アプリケーションはこの制限を超えてメモリを割り当てることはありません。この制限によって、Yellowfinがより多くのメモリを必要とする場合にエラーが発生する可能性があります。
JVM最大メモリを増加する方法は、Yellowfinの起動方法によって異なります。

Windowsサービス

Yellowfinサービスを初めてインストールするとき、メモリ制限がYellowfinWhen the Yellowfin service is first installed, the memory limits are taken from the Yellowfin\appserver\bin\service.bat file. This file can be modified to provide different defaults, but this will only be read when the service is installed. To modify the memory limits for an existing service, follow this process:batファイルから参照されます。このファイルを変更して異なるデフォルト値を指定できますが、このファイルはサービスのインストール時のみに読み取られます。既存のサービスのメモリ制限を変更するには、以下の手順に従います。

  1. コマンドプロンプトを開いて、Yellowfinインストールディレクトリ下のappserver\binディレクトリに移動します。
  2. 次のコマンドを実行します:
  3. Open the Command Prompt and change to the appserver\bin directory under the Yellowfin installation directory.
  4. Run the command: tomcat5w.exe //ES//Yellowfin

    This will run the service manager for the Yellowfin service. Go to the "Java" tab, and change the "Initial memory pool" and "Maximum memory pool" values:
    Image Removed
  5. Restart the Yellowfin service to pick up the changes.

Windows Start Menu

If you start the Yellowfin server from the Windows Start Menu, the memory limits are in the startup batch files.

  1. このコマンドはYellowfinサービスのサービスマネージャーを実行します。「Java」タブに移動して、「Initial memory pool」(メモリ初期使用量)および「Maximum memory pool」(メモリ最大使用量)の値を変更します。
    Image Added
  2. Yellowfinサービスを再起動して変更を反映します。

Windows「スタート」メニュー

YellowfinサーバーをWindows「スタート」メニューから起動する場合、メモリ制限は起動バッチファイルで参照されます。

  1. Yellowfinを終了します。
  2. Shut down Yellowfin
  3. Edit the file Yellowfin\appserver\bin\catalina.batbatファイルを編集します。
  4. 次のセクションを見つけます: Find the section:
    Code Block
    none
    none
    rem Memory limits.
    rem Use these options to set the Java memory limits.
    rem -Xms128m sets the initial Java heap size to 128Mb
    rem -Xmx512m sets the maximum Java heap size to 512Mb
    rem To set memory limits uncomment the following line:
    rem set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
    
  5. Remove the "rem" from the start of the last line, and change the Xmx option to your desired max memory setting.
  6. 最後の行の先頭にある「rem」を削除して、Xmxオプションを必要な最大メモリ設定に変更します。
  7. Yellowfinを再起動して変更を反映します。Restart Yellowfin to pick up the changes.

Linux/Unix/Mac OSX

If you run Yellowfin on LinuxYellowfinをLinux/Unix/Mac OSX, the memory limits are in the startup scripts.OSXで実行する場合、メモリ制限は起動スクリプトで参照されます。

  1. Yellowfinを終了します。
  2. Shut down Yellowfin
  3. Edit the file Yellowfin/appserver/bin/catalina.shshファイルを編集します。
  4. 次のセクションを見つけます: Find the section:
    Code Block
    none
    none
    # Memory limits.
    # Use these options to set the Java memory limits.
    # -Xms64m sets the initial Java heap size to 64Mb
    # -Xmx256m sets the maximum Java heap size to 256Mb
    #JAVA_OPTS="$JAVA_OPTS -Xms64m -Xmx256m"
    
  5. Uncomment the last line, and change the Xmx option to your desired max memory setting.
  6. Restart Yellowfin to pick up the changes.
  7. 最後の行のコメントを無効にし、Xmxオプションを必要な最大メモリ設定に変更します。
  8. Yellowfinを再起動して変更を反映します。

パフォーマンスの詳細については、Yellowfinフォーラムの次の投稿を参照してください: For more information on Performance, see the Yellowfin Forum post: http://www.yellowfinbi.com/YFForum-General-questions-on-performance-?thread=104626Image Removed



horizontalrule
Styleclass
ClasstopLink

top ページトップ