This section have general DBPrism parameters and also default values for DBPrism DADs
| Name | Values | Default | Explanation |
|---|---|---|---|
| webmaster | any email | webmaster@yourdomain.com | Email which is displayed on the error page with error level set to 2 |
| flexibleRequest | old,compact | old |
Defines which funcionality uses DBPrism for flexible parameter pasing
"old" functionality is compatible with Oracle Web Server 4.x that is, for an url like this: http://www.acme.com/dpls/sample/!scott.my_pkg.my_proc?x=a&y=b&x=c four parameter will be passed: num_entries ==> 3 name_array ==> (`x', `y', `x') value_array ==> (`a', `b', `c') reserved ==> (reserved) "compact" functionality is compatible with Oracle mod_plsql for the above url example, the encoded argument will be: name_array ==> (`x', `y', `x') value_array ==> (`a', `b', `c') Note that two arguments of type array will be passed |
| lang,country | JVM locale values | en,us | Locale setting, which affects NLS_NUMERIC_CHARACTERS and NLS_DATE_FORMAT. lang and country are used in java Locale(lang,country) object. Default values are extracted from the JVM default Locale. Due to this change could affect other sensitivy JVM components I recomend to use JVM default setting. lang codes are the lower-case two-letter codes as defined by ISO-639. You can find a full list of these codes at a number of sites, such as: http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt |
| behavior | 0,1,2 | 0 | Choose behavior of getServletPath() and getPathInfo() function This depends on your system, change it if DBPrism can't find your DAD properly |
| cacheprocedure | true,false | true | Caching of procedures description will increase speed, but can cause problems when procedure description changes (e.g. during development proces) |
| compatlist | list of adapters implemented | 7x 8i lite java 9ijava 9iplsql | Modes of compatibilty supported by DBPrism See sections factory and jdbcDriver. Each compatibility mode requires entries into these sections. 9iplsql is similar to 8i compatibilty but using Oracle 9i/10g system views, 9ijava is similar to java compatibilty but using Oracle 9i/10g system views |
| contenttype | content type returned into HTPP header | text/html | Default content type of Servlet output If you want to display non-ascii characters set proper charset here. For example: text/html; charset=utf-8 |
| UnauthorizedText | any text/xhtml string | You must be enter DB username and password to access at the system | UnauthorizedText Sent after SC_UNAUTHORIZED response. Tips: to redirect to another page use HTML tag META. Remember used well formed XML tags under Cocoon |
| alias | space separated list of DADs | empty string |
Connection alias, same as mod_plsql agent virtual path, for example:
sample => for virtual dir /dpls/sample demo => for virtual dir /dpls/demo DADs defines in this parameter must be defined also into your web.xml file associated to DBPrism ServletWrapper. |
| default DAD parameters | a list of DAD default parameter values | none |
Remember that DAD default parameters can be defined into this
section. Here an example:
<property name="dbusername" value="${cms.user}"/>
<property name="dbpassword" value="${cms.pass}"/>
<property name="connectString" value="${cms.db}"/>
<property name="errorLevel" value="0"/>
<property name="errorPage" value="/404.html"/>
<property name="dbcharset" value="iso-8859-1"/>
<property name="clientcharset" value="iso-8859-1"/>
<property name="dynamicLoginRealm" value="DBPrism CMS Login"/>
<property name="MinLimit" value="0"/>
<property name="MaxLimit" value="20"/>
<property name="LoginTimeout" value="10"/>
<property name="CacheScheme" value="FixedWait"/>
<property name="compat" value="9ijava"/>
<property name="documentTable" value="wpg_document"/>
<property name="StateLess" value="false"/>
|
This section defines the factories implemented into DBPrism code, these are rarely modified by end user because are for DBPrism developers. These properties must be a complete list defined into the Global parameter compatlist
| property | Value | Explanation |
|---|---|---|
| 7x | com.prism.oracle.DB7xFactory | Factory for Oracle 7.x version |
| 8i | com.prism.oracle.DB8iFactory | Factory for Oracle 8.x version, mod_plsql support |
| lite | com.prism.oracle.DBLiteFactory | Factory for Oracle Lite 10g |
| java | com.prism.oracle.DBJavaFactory | Factory for Oracle 8.x Java Stored procedure support |
| 9iplsql | com.prism.oracle.DB8iFactory | Factory for Oracle 9i/10g mod_plsql support |
| 9ijava | com.prism.oracle.DBJavaFactory | Factory for Oracle 9i/10g Java Stored procedure support |
This section defines the JDBC Drivers used for each compatibility mode, these are rarely modified by end user because are for DBPrism developers. These properties must be a complete list defined into the Global parameter compatlist
| property | Value | Explanation |
|---|---|---|
| 7x | oracle.jdbc.driver.OracleDriver | Oracle default JDBC driver |
| 8i | oracle.jdbc.driver.OracleDriver | Oracle default JDBC driver |
| java | oracle.jdbc.driver.OracleDriver | Oracle default JDBC driver |
| lite | oracle.lite.poljdbc.POLJDBCDriver | Oracle Lite default JDBC driver |
| 9ijava | oracle.jdbc.driver.OracleDriver | Oracle default JDBC driver |
| 9iplsql | oracle.jdbc.driver.OracleDriver | Oracle default JDBC driver |


