Contained Within
Find More Documentation
Featured Support Resources
| Descargar este libro en PDF (551 KB)
Appendix E Tokens for Surveys and Polls Portlet
The Surveys and Polls portlets include the following tokens in the PortalServer-base/portletapps/surveys/tokens.properties file:
-
%DERBY_LIB_DIR%
-
Specifies the library where Java DB class files derbyclient.jar are located.
-
%DERBY_HOST%
-
Specifies the host server that host the Java DB.
-
%DERBY_PORT%
-
Specifies the port that the Java DB server host listens to for database
requests.
-
%PORTAL_ID%
-
Specifies the Portal's ID.
The Surveys and Polls portlets tokens.properties file in
the PortalServer-DataDir/portals/portal-ID/portletapps/surveys directory includes the following
tokens layered in 3 sections:
- Tokens for src/conf/common.dbadmin
-
Tokens in this section include:
-
DB_ADMIN_DRIVER_CLASS and DB_ADMIN_DRIVER_CLASSPATH
-
Java DB class file and classpath.
-
DB_ADMIN_URL
-
Java DB host name and domain, and the port on which derby server instance
is listening.
-
DB_ADMIN_USER and DB_ADMIN_PASSWORD
-
Java DB administrator name and password.
- Tokens for src/conf/surveydb.datasource and web/WEB-INF/sun-web.xml
-
Tokens in this section include:
-
DB_JNDI_NAME
-
Specifies the JNDI resource name used by the survey web application
to lookup connection to the Java DB supporting the database back end.
-
DB_URL=jdbc:derby://%DERBY_HOST%:%DERBY_PORT%/surveydb_%PORTAL_ID%
-
Java DB host name and domain, the port on which the Java DB server
instance is listening, and portal ID (for example, myPortal).
-
DB_DRIVER_CLASS, DB_USER, DB_PASSWORD, DB_MAX_ACTIVE, DB_MAX_IDLE, DB_MAX_WAIT, DB_DATASOURCE, and DB_DATASOURCE_IBMWAS5
-
Tokens for src/conf/server.classpath.
- Tokens for src/conf/server.classpath
-
Token for this section include DB_DRIVER_JAR.
-
APPLICATION_TYPE
-
Specifies the type of application. By default, this is set to SURVEY.
|