Show TOC

Configuring Other PowerDesigner Web ParametersLocate this document in the navigation structure

An administrator can configure PowerDesigner Web by editing files on the host server.

Repository
The repository connection and configuration information is initially set by the installer. You can edit the most important parameters in the administration interface (see Connecting to the Database Server), and all parameters (including caching and logging parameters) can be edited in the file <portal_install_dir>/config/repository.xml:

Param Name

Description

databaseProfile

Specifies the connection profile used to connect to the repository database.

dbtype

Specifies the type of DBMS that hosts the repository.

connectionURL

Specifies the full connection URL for connecting to the repository database.

jdbcDriverClass Specifies the JDBC driver class used to connect to the repository database.
dbhost Specifies the name of the host machine for the repository database. In certain environments, a fully qualified domain name may be required.
dbport

Specifies the port number of the host machine through which the repository database is available.

dbname

Specifies the name of the repository database.

user

Specifies the database user name that the repository uses to access the DBMS.

password

Specifies the database password that the repository uses to access the DBMS. This must be entered normally, and will be encrypted as soon as the server connects to the database.

initialPoolSize

Specifies the initial number of connections in the connection pool. The default is 1.

minIdle

Specifies the minimum number of connections that can remain idle in the pool, without extra ones being created. Specify 0 to create none. The default is 1.

maxIdle

Specifies the maximum number of connections that can remain idle in the pool, without extra ones being released. Specify -1 for no limit. The default is 3.

maxWait

Specifies the maximum number of milliseconds that the pool will wait when there are no available connections for a connection to be returned before throwing an exception. Specify -1 to wait indefinitely. The default is 2.

maxActive

Specifies the maximum number of active connections that can be allocated from this pool at the same time. Specify -1 for no limit. The default is 10.

isolationLevel

Specifies the isolation level used to isolate transactions in a multi-user environment. By default, level 1 is used for ASA databases and level 2 for ASE. See your DBMS documentation for information about the behavior of each level in your environment.

maxBytesPerChar
For non-Oracle unicode or multi-byte character set databases, specify the bytes per character used by the database:
  • 1-byte - [default] For SBCS (Single-Byte Character Set)
  • 2-byte - For DBCS (Double-Byte Character Set)
  • 3-byte - For Unicode or MBCS (Multi-Byte Character Set)
Charset

[ASE only] Specifies the character set used by the database.

The general server settings control the behavior of the server:

Setting

Description

name

Specifies the name of the repository.

description

Describes the repository.

sessionTimeout

Specifies the amount of time that the browser session is permitted to be idle before it is automatically logged out.

changeMonitorInterval Specifies the amount of time between checking for changes in the repository database. Default 5 minutes.
maxUsers

Specifies the maximum number of users that may connect to PowerDesigner Portal at any one time.

Search Index parameters control how frequently the search index is refreshed and where it is stored:

Setting

Description

indexRebuildInterval

Specifies the interval between rebuilds of the search index in minutes. By default, the index is rebuilt every 120 minutes. Click the Start of the navigation path Menu Next navigation step Rebuild Index End of the navigation path button on the homepage to perform an immediate rebuild.

indexLocation

Specifies the location of the server index.

Diagram caching parameters control the caching of diagram thumbnails to speed the loading of the repository and workspace pages:

Setting

Description

disablePreload

Disables diagram thumbnail caching.

maxThreads

Specifies the maximum number of threads that can be dedicated to thumbnail caching.

The server logging settings are contained in the file <portal_install_dir>/config/repository.xml:

Setting

Description

logFileName

Specifies the name to give to the log file.

logLevel

Specifies the minimum level of importance for the messages to be written to the log file.

logFilePattern

Specifies how the log file should be rolled over. You can choose between:

  • Daily rolling – [default] the file rolls over after a certain time. Specify the duration and the format of the log file name in the date pattern field below.
  • File size rolling – the file rolls over when it reaches a certain size. Specify the maximum file size in the field below.
logDatePattern Specifies the format to give to dates in the log file.
logMaxFileSize Specifies the maximum size before the log file is truncated, in MB.
logTruncateLogFile

Specifies to create a new log file each time the server is restarted.

Default language parameters control the interface language that is presented by default:

Setting

Description

defaultLanguage

Specifies the default interface language. Users can select a different interface language on the log in and home page.

License

The license server parameters can be edited in the administration interface (see Connecting to a License Server) or in the file <portal_install_dir>/license/PowerDesigner.server.lic.

Client

The client information is contained in the file <portal_install_dir>/config/cmrclient.xml. The logging options are the same as for the server (see above).