Name
|
Values
|
Default Value
|
Explanation
|
global.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/pls/myDAD/!scott.my_pkg.my_proc?x=a&y=b&x=c
four parameter will be passed, like theses:
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
|
Name
|
Values
|
Default Value
|
Explanation
|
global.webmaster
|
Any string with an email address
|
webmaster@yourdomain.com
|
Email which is displayed on an error page
|
Name
|
Values
|
Default Value
|
Explanation
|
global.lang,global.country
|
String to specify JVM country and language
|
JVM defaults
|
These parameters overrides the JVM country and language seeting, note that if you
changes these parameters, it will override the JVM default setting affecting
other servlet container and in many case this operation is not allowed.
Changing these settings affects JDBC conversions such as NLS_NUMERIC setting.
|
Name
|
Values
|
Default Value
|
Explanation
|
global.behavior
|
0,1,2
|
0
|
Choose behavior of getServletPath() and getPathInfo() function.
This depends on your system, change it if DB Prism doesn't work.
This value affect how to DB Prism gets a DAD string, for example the url:
http://server:port/servlets/test/pkg.proc?arg1=1&arg2=2
With a value 0 in an Apache Web Server with Jserv 1.1 gets test
as DAD string.
|
Name
|
Values
|
Default Value
|
Explanation
|
global.producerparameter
|
deprecated
|
deprecated
|
deprecated.
|
Name
|
Values
|
Default Value
|
Explanation
|
global.cacheprocedure
|
true or false
|
true
|
Caching procedures description will increase speed, but can cause problems
when procedure description changes, for example, during development proces.
|
Name
|
Values
|
Default Value
|
Explanation
|
global.compatlist
|
Blank separated strings
|
7x 8i lite java
|
Modes of compatibilty supported by DB Prism. This parameter is according to the list
of adapters implemented in DB Prism, also refects how many kind of databases are suported.
|
Name
|
Values
|
Default Value
|
Explanation
|
factory. dbmode
|
A class name
|
No default value
|
Factory Classes which implements creation objects for each compat modes.
If you don't write a new adapter do not modify this lines.
|
Name
|
Values
|
Default Value
|
Explanation
|
jdbcDriver. dbmode
|
A class name
|
No default value
|
JDBC Driver for each compat modes.
If you don't write a new adapter do not modify this lines.
|
Name
|
Values
|
Default Value
|
Explanation
|
global.contenttype
|
A valid Content type string for an HTTP response
|
text/html
|
Default content type of servlet output.
If you want to display non-ascii characters set proper charset here, examples:
text/html; charset=iso-8859-2
text/html; charset=utf-8
|
Name
|
Values
|
Default Value
|
Explanation
|
global.UnauthorizedText
|
A well formed HTML text
|
You must be enter DB username and password to access at the system
|
Text to be sent after SC_UNAUTHORIZED response
Tips: to redirect to another page use HTML tag META as showing below
Remember used well formed XML tags under Cocoon.
|
 |  |  |
 |
global.UnauthorizedText=<HTML>\
<HEAD>\
<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=/unauthorized.html">\
</META>\
</HEAD>\
<BODY bgcolor="c0c0c0">You must be enter DB username
and password to access at the system</BODY>\
</HTML>\
<!-- Author: Marcelo F. Ochoa (mochoa@ieee.org) -->
|  |
 |  |  |
Name
|
Values
|
Default Value
|
Explanation
|
global.alias
|
Blank separated strings
|
No Default value
|
Connection alias to be recognize, for Oracle Web Server Users is same as PL/SQL agent virtual path
For example, in Apache Web Server with Jserv or Tomcat the urls:
http://server:port/servlets/plsql/pkg.proc
http://server:port/servlets/xml/pkg.proc
Sets plsql and xml as dad string, then this values must be exists
in the global.alias sring.
Work with multiple zones definition in servlet engine.
The servlet zones argument must be point to the same properties files and Servlets class
See servlet.properties for more details, here an example for the url showed.
The second example is routed to the Cocoon main entry point, then Cocoon recognize the
producer parameter value and route the request to the DB Prism producer.
|
 |  |  |
 |
Apache Web server servlets.properties file
servlet.plsql.code=com.prism.ServletWrapper
servlet.xml.code=org.apache.cocoon.Cocoon
servlet.plsql.initArgs=properties=/usr/local/prism/conf/prism.properties
servlet.xml.initArgs=properties=/usr/local/prism/conf/cocoon.properties
|  |
 |  |  |
|
|
|
|