Sun Java System Portal Server 7.1 Update 1 Community Guide

Configuring Tokens for File Sharing Portlet

The file sharing portlet includes the following tokens in the PortalServer-DataDir/portals/portal-ID/portletapps/filesharing/tokens.properties file:

REPOSITORY_TYPE

Specifies the type of file repository. By default, file system and database are supported. The default value is Database.

FILE_SYSTEM_REPOSITORY_ROOT_DIR

Specifies the absolute directory for the file repository. By default, this is set to PortalServer-DataDir/portals/portal-ID/filesharing.

UPLOAD_FILES_TEMP_DIR

Specifies the absolute directory for file upload staging. By default, this is set to PortalServer-DataDirtmp.

UPLOAD_FILES_MAXSIZE

Specifies the maximum allowed upload size in bytes. By default, this is set to 5000000.

DELETE_COMMUNITY_REPOSITORY_ON_UNPROVISION

Indicates if the contents of a community repository should be deleted when the community is unprovisioned. The valid values are true or false and by default, this is set to false.

DB_ADMIN_DRIVER_CLASS, DB_ADMIN_DRIVER_CLASSPATH, DB_ADMIN_URL, DB_ADMIN_USER, DB_ADMIN_PASSWORD

Specifies tokens for src/conf/common.dbadmin.

DB_JNDI_NAME, DB_URL, DB_DRIVER_CLASS, DB_USER, DB_PASSWORD, DB_MAX_ACTIVE, DB_MAX_IDLE, DB_MAX_WAIT, DB_DATASOURCE, DB_DATASOURCE_IBMWAS5

Specifies tokens for src/conf/surveydb.datasource and web/WEB-INF/sun-web.xml used as configuration for database repository.

DB_DRIVER_JAR

Specifies tokens for src/conf/server.classpath file. By default, this is set to derby.lib.location/derbyclient.jar.

PORTAL_DATA_DIR

Specifies tokens used in web/WEB-INF/classes/log4j.properties file. By default, this is set to PortalServer-DataDir.

COMMUNITYMC_JNDI_NAME

Specifies tokens for community management API. By default, this is set to communitymc.