This group contains database-specific properties. Currently, the Sybase database, with the ASA data pool, is supported. Alternatively, you can use the Adaptive Server data pool.
Property name |
Default value |
Description |
---|---|---|
DatabaseImpl value = “sybase-javaprocs” |
Sybase database implementation: |
Sybase database implementation, with ASA data pool (op_portal_asa). The data pool is identified for each of the data services – home, auth, tools, and uwp. |
|
||
Data pool value = op_portal_asa, or op_portal_ase |
ASA or Adaptive Server data pool implementation: |
The default data pool implementation for Unwired Accelerator is op_portal_asa (Adaptive Server Anywhere). Alternatively, you can use Adaptive Server Enterprise by changing all instances of “op_portal_asa” to “op_portal_ase,” and configuring the op_portal_ase data pool. Do not change the names of the data pools. Use “op_portal_asa” or “op_portal_ase” only or users will receive a NullPointerException when they save an application in Mobile Web Studio. |
|
||
|
||
class |
DbConnectionBroker |
The Java class used to manage database connections. The full class name is: com.onepage.db.DbConnectionBroker |
driver |
SybDriver |
JDBC driver used to connect to the database. The default driver connects to the portal database. The full name is: com.sybase.jdbc2.jdbc.SybDriver |
url |
ASA: localhost:4747 Adaptive Server: localhost:5000 |
Identifies the JDBC connection URL used to connect to the database. The default URL connects to the portal database. The full name is: jdbc:sybase:Tds:localhost:4747 |
user |
ASA: dba Adaptive Server: sa |
The user name for the database. |
password |
ASA:SQL ASE: " " (no password) |
The password for the database. |
password_encrypted |
false |
(true/false) Indicates whether to encrypt the database password, based on the password provided.
|
minConnections |
1 |
Minimum database connections allowed. |
maxConnections |
50 |
Maximum database connections allowed. You may need to increase this value if you see errors in the datamanager.log file saying there are no more connections. The file is located in the default log file directory, typically, x:\tmp\logs. |
unusedtimer |
360 |
This property is not used for Unwired Accelerator; accept the default. |
checkouttimer |
60 |
Indicates how long in seconds to keep a connection open in the connection pool when it has not been used. This value enables a mechanism for shrinking the connection pool after a busy period. |
reuse |
30 |
This property is not used for Unwired Accelerator; accept the default. |
debug |
ASA: true Adaptive Server: false |
(true/false) Indicates whether to enable debugging. When set to false, debugging is turned off. Set this value to false in a production system. |
Copyright © 2005. Sybase Inc. All rights reserved. |